0

A lot of time ago I've used a simple script in /etc/rc.local to disable discrete graphics during bootup. But now it's not allowed to do anything with /sys/kernel/debug/vgaswitcheroo/switch when you not logged in as root (I can use it only after "sudo su"), so the script can not do anything. Any ideas how to escalate privileges or simply how to make it work?

Thanx in advance.

1

I'm using

chmod -R 705 /sys/kernel/debug

chown -R $YOURUSERNAME:$YOURUSERNAME /sys/kernel/debug/vgaswitcheroo

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

in my rc.local and it works often for me (not always though).

  • seems to work randomly for me too, have you figured out why? – Ivan G. Jun 20 '12 at 19:26
  • no, sadly I have not. Are you using an AMD ATI card? – onse Jun 21 '12 at 8:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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