Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have mux-less Intel/ATI hybrid graphics. I can't install fglrx driver, because of it's compatibility with Xorg. So i want to have pernamently disabled discrete VGA.

I type that command after every start-up:

echo OFF > /sys/kernel/debug/vgaswitcheroo/switch

But it's boring, so i want to have this command automatically executed at during boot.

share|improve this question
    
If you are interested, I wrote a script that removes unused kernel modules. Removing them not only prevents loading unwanted modules like broken drivers or unused ports like yenta-socket, but it speeds up booting too. It may not exactly be on topic though. –  technosaurus Mar 14 '12 at 0:31

1 Answer 1

up vote 2 down vote accepted

There is a file boot.local in /etc/init.d. This file is used to execute local commands during start up. You can add your command to power off the discrete card to this file.

share|improve this answer
    
+1.Thanks. I've also blacklisted radeon, because of long udev processing and modprobed it there. –  Miro Jan 21 '12 at 16:49

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.