hybrid-graphics-linux team mailing list archive
-
hybrid-graphics-linux team
-
Mailing list archive
-
Message #01674
Re: Bumblebee test on PCI ID: 10de:0a75
On Thu, 28 Jul 2011 15:42:29 -0300
Joaquín Ignacio Aramendía <samsagax@xxxxxxxxx> wrote:
> >VGA-switcheroo is enabled but echo OFF says Permission denied (even
> with sudo).
> >
> > $ cat /sys/kernel/debug/vgaswitcheroo/switch
> > 0:+:Pwr:0000:00:02.0
> > 1: :Pwr:0000:01:00.0
>
> Try:
> $ su - (enter password)
> $ echo OFF /sys/kernel/debug/vgaswitcheroo/switch
>
> The su command is in a way "stronger" than sudo.
>
Alternatively, you can try:
$ sudo -s
This will give you a root shell without using su.
And do not forget the '>' character!
$ echo OFF >/sys/kernel/debug/vgaswitcheroo/switch
Follow ups
References