petrucci78, on Nov 15 2011, 08:07 PM, said:
Hello macinsane, the sleep is ok with the new update kext, when the screen is open the auto sleep o stop setting is ok, but when the screen is closed the sleep don't work, try to go in sleep but wake and try to go sleep and wake....repeat this circle...
is problem lid fix in DSDT???
where fix LID in DSDT????
can you help me???
Update On second thought: I believe your problem has nothing to do with the lid device, most likely the instant wakeup is caused by usb. So copy the usb sections of my dsdt into yours, that should do it (But you can't do anything wrong with the code in this post).
Change your lid device like this:
Device (LID0)
{
Name (_HID, EisaId ("PNP0C0D"))
Method (_PRW, 0, NotSerialized)
{
Return (Package (0x02)
{
0x0B,
0x04
})
}
Name (LIDS, One)
Method (_LID, 0, NotSerialized)
{
Store (^^PCI0.LPCB.EC0.KLID, LIDS)
XOr (LIDS, One, Local0)
If (Local0)
{
Notify (SLPB, 0x80)
}
Return (LIDS)
}
Method (_PSW, 1, NotSerialized)
{
If (ECON)
{
Store (Arg0, ^^PCI0.LPCB.EC0.LIDW)
}
Else
{
If (Arg0)
{
MBEC (0x72, 0xEF, 0x10)
}
Else
{
MBEC (0x72, 0xEF, Zero)
}
}
}
}
Maybe this is needed too but I'm not sure:
Device (PNLF)
{
Name (_HID, EisaId ("APP0002"))
Name (_CID, "backlight")
Name (_UID, 0x0A)
Name (_STA, 0x0B)
}