Device (LID)
{
Name (_HID, EisaId ("PNP0C0D"))
Name (LSTS, Zero)
Method (_LID, 0, NotSerialized)
{
If (ECON)
{
TRAP (0x49)
Sleep (0x64)
}
Else
{
Store (One, LSTS)
Store (One, LIDS)
}
If (LEqual (LIDS, Zero))
{
Store (Zero, ^^PCI0.GFX0.LBB)
Notify (SLPB, 0x80) //Added to make sleep on Lid close work
Return (Zero)
}
Else
{
Store (CM2B, ^^PCI0.GFX0.LBB)
Return (One)
}
}
}
OperationRegion (EXCO, SystemIO, 0x72, 0x02)
... etc etc etc