
07-10-2011, 09:17 PM
|
Puma
|
|
Join Date: Nov 2009
Posts: 26
|
|
Shutdown is working via DSDT
Hey guys...i ime very happy....i have found solution how to fix shutdown in dsdt...
You just need to add this code into _PTS
If (LEqual (Arg0, 0x05))
{
Store (One, \_SB.PCI0.LPCB.S5CT)
}
Else
{
// Your existing CODE from original _PTS
}
//************
Function that we need is magiccly Store (One, \_SB.PCI0.LPCB.S5CT) This S5CT is response for Shutdown!!!
Here is complete code for asus notebook
open DSDT
search for _PTS
Method (_PTS, 1, NotSerialized)
{
If (LEqual (Arg0, 0x05))
{
Store (One, \_SB.PCI0.LPCB.S5CT)
}
Else
{
Store (Arg0, DBG8)
PTS (Arg0)
Store (Zero, Index (WAKP, Zero))
Store (Zero, Index (WAKP, One))
If (LAnd (LEqual (Arg0, 0x04), LEqual (OSFL (), 0x02)))
{
Sleep (0x0BB8)
}
Store (ASSB, WSSB)
Store (AOTB, WOTB)
Store (AAXB, WAXB)
Store (Arg0, ASSB)
Store (OSFL (), AOTB)
Store (OSYS (), OSTP)
Store (Zero, AAXB)
}
}
And Shutdown is workig, sleep is working...now i need to check restart if working...
Guys Asus K50 and K70IO is vanilla, it has very close DSDT fixes like gigabye...put my modification into your DSDT and post your results,you will have shutdown working without any kext.
|