← Back to team overview

hybrid-graphics-linux team mailing list archive

Re: Strange behaviour of Asus U30Jc

 

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