InfiniteMac OSx86  


Reply
 
Thread tools Display modes
  #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
  #2  
Old 01-29-2010, 11:52 PM
SaCleoCheater's Avatar
SaCleoCheater SaCleoCheater is offline
 
Join Date: Apr 2009
Location: Earth
Posts: 187
It's possible for a Smart battery patch, but I don't think the Patch above will work correctly.



💡 Deploy cloud instances seamlessly on DigitalOcean. Free credits ($100) for InfMac readers.


My Specs
System: Custom Built
Mobo: ASRock Z68 Extreme4 Gen3
OS:Mac OS X MountainLion 10.8.2 & Windows 7 Ultimate x64
CPU: Intel Core i7 2600k @ 4.2GHz
Memory: 16GB DDR3 XMS3 1600MHz
Graphics Card: AMD Radeon HD 6870 1GB

Email/Gtalk:
[email protected]
Reply With Quote
Reply