Ярлыки

понедельник, 17 марта 2014 г.

Disable second video adapter every time your computer boots (Ubuntu)

The commands in rc.local are executed every time your computer boots.
So you just need to add the commands that power down the discrete adapter right before you chown the vgaswitcheroo/switch file
I turn off my radeon adapter every time I boot as well. My rc.local is very simple:
# [...]
# By default this script does nothing.

# turn off the discrete video adapter
echo OFF > /sys/kernel/debug/vgaswitcheroo/switch

exit 0
I don't bother with any other scripts, but if you do they should still work just fine. Just put the echo OFF before the chown or any of the other user scripts.
Ubuntu has hibernation turned off by default, but note that if you do turn it on this method doesn't get a chance to run when you come out of hibernation (not sleep) so both adapters will be powered up.

Комментариев нет:

Отправить комментарий