the method i found using rbwrite in windows(but i dont know how to edit this file):
Method(ECBE, 0, NotSerialized)
{
Acquire(MUEX, 0xFFFF)
Store("ECBE", Debug)
Store(^^PCI0.LPCB.EC0.XIF1, Index(PAK0, One))
Store(^^PCI0.LPCB.EC0.XIF2, Index(PAK0, 0x02))
Store(^^PCI0.LPCB.EC0.XIF3, Index(PAK0, 0x03))
Store(^^PCI0.LPCB.EC0.XIF4, Index(PAK0, 0x04))
Store(^^PCI0.LPCB.EC0.XIF7, Index(PAK0, 0x07))
Release(MUEX)
}
Method(_BIF, 0, NotSerialized)
{
If(ECON)
{
ECBE()
}
Else
{
Store(0xFFFFFFFF, Index(PAK0, One))
Store(0xFFFFFFFF, Index(PAK0, 0x02))
Store(0xFFFFFFFF, Index(PAK0, 0x04))
Store("Error", Index(PAK0, 0x09))
Store("00000", Index(PAK0, 0x0A))
Store("Error", Index(PAK0, 0x0B))
Store("Error", Index(PAK0, 0x0C))
}
Return(PAK0)
}
Name(BFB0, Package(4) {Zero, Zero, Zero, Zero})
Name(BCAP, 0xFFFF)
Method(_BST, 0, NotSerialized)
{
Acquire(MUEX, 0xFFFF)
Store("BST1 Start", Debug)
If(LEqual(^^PCI0.LPCB.EC0.BSOK, One))
{
Store(^^PCI0.LPCB.EC0.XST0, Index(BFB0, Zero))
Store(^^PCI0.LPCB.EC0.XST1, Index(BFB0, One))
If(LEqual(BCAP, 0xFFFF))
{
Store(^^PCI0.LPCB.EC0.XST2, BCAP)
}
Else
{
Store(Divide(Multiply(BCAP, 0x64), ^^PCI0.LPCB.EC0.XIF2, , ), Local0)
If(LGreater(Local0, 0x64))
{
Store(0x64, Local0)
}
If(LLess(Local0, Zero))
{
Store(Zero, Local0)
}
Store(Divide(Multiply(^^PCI0.LPCB.EC0.XST2, 0x64), ^^PCI0.LPCB.EC0.XIF2, , ), Local1)
If(LGreater(Local1, 0x64))
{
Store(0x64, Local1)
}
If(LLess(Local1, Zero))
{
Store(Zero, Local1)
}
Store(^^PCI0.LPCB.EC0.XST2, BCAP)
}
Store(BCAP, Index(BFB0, 0x02))
Store(^^PCI0.LPCB.EC0.XST3, Index(BFB0, 0x03))
Store("BST1 End", Debug)
}
Release(MUEX)
Return(BFB0)
}