hybrid-graphics-linux team mailing list archive
-
hybrid-graphics-linux team
-
Mailing list archive
-
Message #02046
Re: Discrete-Power-Off on Acer Travelmate 8472TG doesn't work
I found the calls in the acpidump and could see on beforehand that it does
not work for
you since these kind of calls require additional treatment, namely saving
and restoring
the PCI configuration space.
Please confirm (with PM disabled, but keep cardo{n,ff} scripts) that the
following sequence
does work (after making sure that you no acpi calls have been performed
this session, i.e.
by rebooting)
# should not show FF FF FF ...
xxd -c4 /proc/bus/pci/01/00.0
cat /proc/bus/pci/01/00.0 > saved.txt
sudo tee /proc/acpi/call < /etc/bumblebee/cardoff
# should show FF FF FF ...
xxd -c4 /proc/bus/pci/01/00.0
sudo tee /proc/acpi/call < /etc/bumblebee/cardon
# should not show FF FF FF ...
xxd -c4 /proc/bus/pci/01/00.0
sudo tee /proc/bus/pci/01/00.0 < saved.txt
optirun glxgears
Please attach the output of the above commands.
Regards,
Lekensteyn
On Thu, Jan 5, 2012 at 11:16 PM, Wepmaschda <wepmaschda@xxxxxxx> wrote:
> 2012/1/4 Lekensteyn <lekensteyn@xxxxxxxxx>:
> > Those ON and OFF lines are code that can be inserted in
> > /etc/bumblebee/cardon
> > and /etc/bumblebee/cardoff which needs Bumblebee. See
> > https://github.com/Bumblebee-Project/Bumblebee/wiki/ACPI-Removed for
> how to
> > use those calls. Note that the card has to be on before suspending or the
> > card
> > won't be useable until the PCI configuration space is reinitialized.
> Sorry
> > for the
> > technical details, I just try to be complete.
>
> I'm not sure if I already understand it completely. ;-)
> Did you find those calls out from the acpidump? Should they already
> solve the problem?
>
> I created the files cardon and cardoff with the one-lines but "sudo
> make load" still doesn't work with the same error.
>
> Also I started Windows7 and used the nvidia card before I booted back
> into archlinux before I tested this. So the card should have been
> "on".
>
> Should it already work or can I help with some more information/testing?
>
>
> > I'll see if there is an automated way to detect this kind of methods and
> > integrate
> > it in bbswitch.
>
> If I can help with my hardware, just tell me.
>
Follow ups
References