I have found function call in DSDT that works OOB and shutdown works before injection.But when graphics is injected via DSDT it gets ignored.Need help for DSDT experts...here is function call that shutdowns and Sleep and is working before graphics injection:
Method (_PTS, 1, NotSerialized) // Put To Sleep function
{
Store (Arg0, DBG8) // Get value form DBG8 o variable Arg0 which is 8
PTS (Arg0) // Call another function PTS with parameter Arg0 -- this is function that calls shutdown function that wee need to fix!!!
Store (Zero, Index (WAKP, Zero))
Store (Zero, Index (WAKP, One))
If (LAnd (LEqual (Arg0, 0x04), LEqual (OSFL (), 0x02))) // Sleep function that works!!!
{
Sleep (0x0BB8)
}
Store (ASSB, WSSB)
Store (AOTB, WOTB)
Store (AAXB, WAXB)
Store (Arg0, ASSB)
Store (OSFL (), AOTB)
Store (OSYS (), OSTP)
Store (Zero, AAXB)
}
Function that is called here is PTS here is it:
Method (PTS, 1, NotSerialized) // Shutdown function
{
If (Arg0)
{
If (LEqual (Arg0, 0x03))
{
\_SB.PCI0.IXVE.IGPU.DGOF ()
}
\_SB.PCI0.NPTS (Arg0)
\_SB.PCI0.LPCB.SPTS (Arg0)
OEMS (Arg0)
}
}
So i have testing and when i remove:
\_SB.PCI0.NPTS (Arg0)
\_SB.PCI0.LPCB.SPTS (Arg0)
OEMS (Arg0)
Shutdown does NOT work, but when i put this code back then Shutdown works
My problem is here when i inject graphics trought dsdt this code gets ignored.
I remember that in all forums people says that we need to put to _PTS function call to shutdown which is:
If (LEqual (Arg0, 0x05))
{
}
So i have put:
If (LEqual (Arg0, 0x05))
{
PTS (Arg0) // Call the function what does shutdown but no go

}
If some one has idea how to corretly call function it will be great to all K50 and K70 hackintoshes
