Thursday, 29 December 2011

42403EG ThinkPadT520

Method (_PS0, 0, NotSerialized)
{
If (ISOP ())
{
If (DGOS)
{
\VHYB (0x02, 0x00)
Sleep (0x64)
\VHYB (0x00, 0x01)
Sleep (0x0A)
Store (0x01, \_SB.PCI0.LPC.PCRS)
Store (0x01, \_SB.PCI0.LPC.PCRQ)
Sleep (0x64)
\VHYB (0x02, 0x01)
Sleep (0x01)
\VHYB (0x08, 0x01)
Store (0x0A, Local0)
Store (0x32, Local1)
While (Local1)
{
Sleep (Local0)
If (\LCHK (0x01))
{
Break
}

Decrement (Local1)
}

Store (0x00, \_SB.PCI0.LPC.PCRQ)
\VHYB (0x04, 0x00)
\SWTT (0x01)
Store (Zero, DGOS)
}
Else
{
If (LNotEqual (VSID, 0x21D117AA))
{
\VHYB (0x04, 0x00)
}
}

\VHYB (0x09, \_SB.PCI0.PEG.VID.HDAS)
}
}

Method (_PS1, 0, NotSerialized)
{
Noop
}

Method (_PS2, 0, NotSerialized)
{
Noop
}

Method (_PS3, 0, NotSerialized)
{
If (ISOP ())
{
If (LEqual (\_SB.PCI0.PEG.VID.OMPR, 0x03))
{
\SWTT (0x00)
\VHYB (0x08, 0x00)
Store (0x0A, Local0)
Store (0x32, Local1)
While (Local1)
{
Sleep (Local0)
If (\LCHK (0x00))
{
Break
}

Decrement (Local1)
}

\VHYB (0x02, 0x00)
Sleep (0x64)
\VHYB (0x00, 0x00)
Store (One, DGOS)
Store (0x02, \_SB.PCI0.PEG.VID.OMPR)
}
}
}