Contribute
Register

[help]Batter status show X

Status
Not open for further replies.
There seems to be a problem here
Please help me check for errors

Method (UPBI, 0, NotSerialized)
{
Acquire (BATM, 0xFFFF)
Store (Zero, Index (PBIF, Zero))
Multiply (B1B2(^^PCI0.LPCB.EC0.BFC0,^^PCI0.LPCB.EC0.BFC1), 0x0A, Index (PBIF, 0x02))
^^PCI0.LPCB.EC0.WAEC ()
Store (0x02, ^^PCI0.LPCB.EC0.HIID)
^^PCI0.LPCB.EC0.WADR ()
Multiply (B1B2(^^PCI0.LPCB.EC0.ICP0,^^PCI0.LPCB.EC0.ICP1), 0x0A, Local1)
Store (Local1, Index (PBIF, One))
Store (B1B2(^^PCI0.LPCB.EC0.IVO0,^^PCI0.LPCB.EC0.IVO1), Index (PBIF, 0x04))
^^PCI0.LPCB.EC0.CREC ()
Store (Divide (Local1, 0x0A, ), Index (PBIF, 0x05))
Store (Divide (Multiply (Local1, 0x02), 0x64, ), Index (PBIF, 0x06))
^^PCI0.LPCB.EC0.WAEC ()
Store (0x06, ^^PCI0.LPCB.EC0.HIID)
^^PCI0.LPCB.EC0.WADR ()
//Store (RECB(0xA0,128), Index (PBIF, 0x09))
Store (^^PCI0.LPCB.EC0.SBDN, Index (PBIF, 0x09))
^^PCI0.LPCB.EC0.CREC ()
Store ("LION", Index (PBIF, 0x0B))
^^PCI0.LPCB.EC0.WAEC ()
Store (0x05, ^^PCI0.LPCB.EC0.HIID)
^^PCI0.LPCB.EC0.WADR ()
//Store (RECB(0xA0,128), Index (PBIF, 0x0C))
Store (^^PCI0.LPCB.EC0.SBMN, Index (PBIF, 0x0C))
^^PCI0.LPCB.EC0.CREC ()
Release (BATM)
}
 
Fix Mutex has nothing to do with "OS Check Fix" patches.
Can work, this is the last change
Thanks RehabMan

Method (UPBI, 0, NotSerialized)
{
Acquire (BATM, 0xFFFF)
Store (Zero, Index (PBIF, Zero))
Multiply (B1B2(^^PCI0.LPCB.EC0.BFC0,^^PCI0.LPCB.EC0.BFC1), 0x0A, Index (PBIF, 0x02))
^^PCI0.LPCB.EC0.WAEC ()
Store (0x02, ^^PCI0.LPCB.EC0.HIID)
^^PCI0.LPCB.EC0.WADR ()
Multiply (B1B2(^^PCI0.LPCB.EC0.ICP0,^^PCI0.LPCB.EC0.ICP1), 0x0A, Local1)
Store (Local1, Index (PBIF, One))
Store (B1B2(^^PCI0.LPCB.EC0.IVO0,^^PCI0.LPCB.EC0.IVO1), Index (PBIF, 0x04))
^^PCI0.LPCB.EC0.CREC ()
Store (Divide (Local1, 0x0A, ), Index (PBIF, 0x05))
Store (Divide (Multiply (Local1, 0x02), 0x64, ), Index (PBIF, 0x06))
^^PCI0.LPCB.EC0.WAEC ()
Store (0x06, ^^PCI0.LPCB.EC0.HIID)
^^PCI0.LPCB.EC0.WADR ()
Store (^^PCI0.LPCB.EC0.RECB(0xA0,128), Index (PBIF, 0x09))
^^PCI0.LPCB.EC0.CREC ()
Store ("LION", Index (PBIF, 0x0B))
^^PCI0.LPCB.EC0.WAEC ()
Store (0x05, ^^PCI0.LPCB.EC0.HIID)
^^PCI0.LPCB.EC0.WADR ()
Store (^^PCI0.LPCB.EC0.RECB(0xA0,128), Index (PBIF, 0x0C))
^^PCI0.LPCB.EC0.CREC ()
Release (BATM)
}
 
Status
Not open for further replies.
Back
Top