10.10关机无法断电几秒后自动重启,求大神解决
本人新手,爬贴怀疑时这段代码有问题Method (_PTS, 1, NotSerialized)
{
Store (Zero, P80D)
P8XH (Zero, Arg0)
PTS (Arg0)
If (LEqual (ECNO, One))
{
ADBG ("EC Notify")
If (LEqual (BID, BHB))
{
\_SB.WTGP (0x58, One)
}
\_SB.PCI0.LPCB.H_EC.ECMD (0x2D)
ADBG ("EC Debug")
Store (Zero, \_SB.PCI0.LPCB.H_EC.DLED)
}
ADBG (Concatenate ("_PTS=", ToHexString (Arg0)))
If (And (ICNF, 0x10))
{
If (CondRefOf (\_SB.IAOE.PTSL))
{
Store (Arg0, \_SB.IAOE.PTSL)
}
}
If (LEqual (Arg0, 0x03))
{
If (LAnd (DTSE, LGreater (TCNT, One)))
{
TRAP (TRTD, 0x1E)
}
If (LEqual (ECON, One))
{
If (And (ICNF, One))
{
If (LAnd (And (ICNF, 0x10), LEqual (\_SB.IAOE.ITMR, Zero)))
{
If (LAnd (CondRefOf (\_SB.PCI0.LPCB.H_EC.AWT0), CondRefOf (\_SB.IAOE.ECTM)))
{
If (LGreater (\_SB.IAOE.ECTM, Zero))
{
Store (And (\_SB.IAOE.ECTM, 0xFF), \_SB.PCI0.LPCB.H_EC.AWT0)
Store (ShiftRight (And (\_SB.IAOE.ECTM, 0xFF00), 0x08), \_SB.PCI0.LPCB.H_EC.AWT1)
Store (ShiftRight (And (\_SB.IAOE.ECTM, 0x00FF0000), 0x10), \_SB.PCI0.LPCB.H_EC.AWT2)
Store (\_SB.PCI0.LPCB.H_EC.WTMS, Local0)
Store (Or (0x81, Local0), \_SB.PCI0.LPCB.H_EC.WTMS)
}
}
}
If (LAnd (And (ICNF, 0x10), CondRefOf (\_SB.IFFS.FFSS)))
{
If (And (\_SB.IFFS.FFSS, One))
{
Store (One, \_SB.IAOE.FFSE)
If (LAnd (CondRefOf (\_SB.PCI0.LPCB.H_EC.WTMS), LEqual (\_SB.IAOE.PTSL, 0x03)))
{
Store (\_SB.PCI0.LPCB.H_EC.WTMS, Local0)
Store (Or (0x02, Local0), \_SB.PCI0.LPCB.H_EC.WTMS)
}
}
Else
{
Store (Zero, \_SB.IAOE.FFSE)
}
}
}
}
}
If (CondRefOf (\_SB.TPM.PTS))
{
\_SB.TPM.PTS (Arg0)
}
If (LOr (LOr (LEqual (Arg0, 0x03), LEqual (Arg0, 0x04)), LEqual (
Arg0, 0x05)))
{
If (LEqual (PFLV, FDTP))
{
Store (One, GP27)
}
}
}
attach://
页:
[1]