InfiniteMac OSx86  


 
 
Thread tools Display modes
Prev Previous Post   Next Post Next
  #1  
Old 10-02-2009, 01:08 AM
chris7519 chris7519 is offline
Cheetah
 
Join Date: May 2009
Posts: 10
Battery Meter via DSDT...

I'm attempting to rid my system of the VoodooBattery.kext. I get KPs when plugging/unplugging the AC adapter if done more than twice while awake. DSDTSE suggests a patch but I can't seem to get it to function. Any suggestions???

Code:
Device (ACAD)//<---AC Adapter
        {
            Name (_HID, "ACPI0003")
            Name (_PRW, Package (0x02)  //<---Patch starts here
            {
               0x18,
               0x03
            })  //<---and ends here
            Name (_PCL, Package (0x01)
            {
                _SB
            })
            Name (ACP, Ones)
            Method (_PSR, 0, NotSerialized)
            {
                If (ECOK)
                {
                    And (One, ^^PCI0.LPC.EC0.SW2S, Local0)
                    Store (Local0, PWRS)
                    TRAP (TRTP, PSSS)
                    Return (Local0)
                }

                Store (ACPS, PWRS)
                Return (ACPS)
            }

            Method (_STA, 0, NotSerialized)
            {
                Return (0x0F)
            }
        }
Reply With Quote