hybrid-graphics-linux team mailing list archive
-
hybrid-graphics-linux team
-
Mailing list archive
-
Message #01692
Re: Strange behaviour of Asus U30Jc
I pulled the DSDT for the Asus U30JC, for suspend/resume, there are
two methods, _PS3 and _PS0:
echo '_SB.PCI0.PEG1.GFX0._PS0' > /proc/acpi/call
or
echo '_SB.PCI0.PEG1.GFX0._PS3' > /proc/acpi/call
Method (_PS0, 0, NotSerialized)
{
\DIAG (0x70)
Store (Zero, \_SB.PCI0.GFX0._PSC)
If (LNotEqual (\_SB.PCI0.GFX0.DGPS, 0x00))
{
\_SB.PCI0.PEG1.GFX0.DON ()
Store (Zero, \_SB.PCI0.GFX0.DGPS)
}
\DIAG (0x71)
}
Method (_PS3, 0, NotSerialized)
{
\DIAG (0x72)
If (LEqual (\_SB.PCI0.GFX0.P3MO, 0x01))
{
Store (0xC0, HPD)
\_SB.PCI0.PEG1.GFX0.DOFF ()
Store (0x03, \_SB.PCI0.GFX0._PSC)
Store (0x01, \_SB.PCI0.GFX0.DGPS)
}
Store (0x00, \_SB.PCI0.GFX0.P3MO)
\DIAG (0x73)
}
On Fri, Aug 5, 2011 at 9:17 AM, Albert Vilella <avilella@xxxxxxxxx> wrote:
> Some systems require extra commands to be sent before suspend/resume.
> See for example the snippet below, _PS0 and _PS3 make sure the correct
> sequence of methods are called before suspend/resume (this is for an
> Acer Aspire, you ACPI may differ):
>
> Method (_PS0, 0, NotSerialized)
> {
> If (DGOS)
> {
> GLSC ()
> \_SB.PCI0.PEG0.PEGP._ON ()
> GLSR ()
> Store (Zero, DGOS)
> Store (Zero, MLTF)
> Store (Zero, \_SB.PCI0.LPCB.EC0.DSPM)
> }
> }
>
> Method (_PS3, 0, NotSerialized)
> {
> If (LEqual (\_SB.PCI0.PEG0.PEGP.OMPR, 0x03))
> {
> GLSC ()
> \_SB.PCI0.PEG0.PEGP._OFF ()
> GLSR ()
> Store (One, DGOS)
> Store (0x02, \_SB.PCI0.PEG0.PEGP.OMPR)
> Store (One, \_SB.PCI0.LPCB.EC0.DSPM)
> }
> }
>
> On Thu, Jul 28, 2011 at 5:01 AM, Joaquín Ignacio Aramendía
> <samsagax@xxxxxxxxx> wrote:
>> Just add some bash script to turn the nvidia card back ON before any
>> shutdown/suspend/hibernate/restart operation.
>> --
>> Joaquín Ignacio Aramendía <samsagax@xxxxxxxxx>
>>
>> El vie, 22-07-2011 a las 05:38 +0000, Pedro A ARANDA escribió:
>>> Hi folks,
>>>
>>> I own an ASUS U30Jc. I'm currently using Ubuntu 10.10 i386 on it
>>> (thinking to move on to 10.10 x86_64 this weekend).
>>> It sometimes doesn't shutdown and when it doesn't I get a backtrace
>>> from XServer I have not been able to find. Anyhow,
>>> going to the attached file (dmesg output) I found a backtrace which
>>> apparently is linked to the nouveau and asus_switcheroo
>>> kernel modules.
>>>
>>> I let the experts talk...
>>>
>>> Cheers, /PA
>>>
>>>
>>> _______________________________________________
>>> Mailing list: https://launchpad.net/~hybrid-graphics-linux
>>> Post to : hybrid-graphics-linux@xxxxxxxxxxxxxxxxxxx
>>> Unsubscribe : https://launchpad.net/~hybrid-graphics-linux
>>> More help : https://help.launchpad.net/ListHelp
>>
>>
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~hybrid-graphics-linux
>> Post to : hybrid-graphics-linux@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~hybrid-graphics-linux
>> More help : https://help.launchpad.net/ListHelp
>>
>
Follow ups
References