| Start a new topic Add Reply |
May 31 2011, 05:03 AM
Post #1
VoodooBattery partially works anyone else with this issue?
May 31 2011, 05:53 PM
Post #2
Same problem here (and everywhere, I guess)
It fails evaluating object _BIF (battery information)
CODE
kernel[0]: Voodoo[0xFFFFFF7F80882B6B] poll: 267: Let's message battery 1
kernel[0]: Voodoo[0xFFFFFF7F808879DA] message: 450: Battery 1: Type: 00092BA9 Provider: VoodooBatteryController
kernel[0]: Voodoo[0xFFFFFF7F8088745E] update: 474: Battery 1: First time initialization
kernel[0]: Voodoo[0xFFFFFF7F808874C2] update: 479: Battery 1: Full update of battery is requested
kernel[0]: Voodoo[0xFFFFFF7F80887552] update: 481: Battery 1: Device status is 1f
kernel[0]: Voodoo[0xFFFFFF7F80887640] update: 491: Battery 1: Connected
kernel[0]: Voodoo[0xFFFFFF7F80884FE4] information: 548: Battery 1: Information is updating
kernel[0]: Voodoo[0xFFFFFF7F80885BE9] information: 648: Battery 1: ERROR: No battery information present
kernel[0]: Voodoo[0xFFFFFF7F80886047] information: 675: Battery 1: Committing changes
kernel[0]: Voodoo[0xFFFFFF7F80882E8A] requestPoll: 235: Increasing poll status to 56
kernel[0]: Voodoo[0xFFFFFF7F808879DA] message: 450: Battery 1: Type: 00092BA9 Provider: VoodooBatteryController
kernel[0]: Voodoo[0xFFFFFF7F8088745E] update: 474: Battery 1: First time initialization
kernel[0]: Voodoo[0xFFFFFF7F808874C2] update: 479: Battery 1: Full update of battery is requested
kernel[0]: Voodoo[0xFFFFFF7F80887552] update: 481: Battery 1: Device status is 1f
kernel[0]: Voodoo[0xFFFFFF7F80887640] update: 491: Battery 1: Connected
kernel[0]: Voodoo[0xFFFFFF7F80884FE4] information: 548: Battery 1: Information is updating
kernel[0]: Voodoo[0xFFFFFF7F80885BE9] information: 648: Battery 1: ERROR: No battery information present
kernel[0]: Voodoo[0xFFFFFF7F80886047] information: 675: Battery 1: Committing changes
kernel[0]: Voodoo[0xFFFFFF7F80882E8A] requestPoll: 235: Increasing poll status to 56
It fails evaluating object _BIF (battery information)
CODE
if (kIOReturnSuccess == ACPIDevice->evaluateObject("_BIF", &acpi)) {
Jun 1 2011, 08:05 AM
Post #3
ACPIDevice->evaluateObject works for other methods?
_BIF presents in DSDT?
Does the kext work in Snow?
_BIF presents in DSDT?
Does the kext work in Snow?
Jun 1 2011, 12:16 PM
Post #4
ACPIDevice->evaluateObject works for other methods?
_BIF presents in DSDT?
Does the kext work in Snow?
_BIF presents in DSDT?
Does the kext work in Snow?
the kext is voodoobattery 1.3.3 and works well in snow .
Jun 1 2011, 02:41 PM
Post #5
ACPIDevice->evaluateObject works for other methods?
I don't think so, it's only called for _BIF and _BST.
ACPIDevice->evaluateInteger seems to work for _STA.
_BIF presents in DSDT?
Does the kext work in Snow?
Does the kext work in Snow?
Yes, the kext works in Snow and _BIF is inside device BAT0
CODE
Method (_BIF, 0, NotSerialized)
{
If (LNot (^^SBRG.EC0.BATP (Zero)))
{
Return (NBIF)
}
If (LEqual (^^SBRG.EC0.GBTT (Zero), 0xFF))
{
Return (NBIF)
}
BATO ()
BATS (Zero)
Store (^^SBRG.EC0.BIF9 (), Index (PBIF, 0x09))
Store (ONAM, Index (PBIF, 0x0C))
Store (^^SBRG.EC0.BIF0 (), Local0)
Store (^^SBRG.EC0.BIF1 (), Local1)
Store (^^SBRG.EC0.BIF2 (), Local2)
Store (^^SBRG.EC0.BIF3 (), Local3)
Store (^^SBRG.EC0.BIF4 (), Local4)
If (LNotEqual (Local0, Ones))
{
If (LNotEqual (Local1, Ones))
{
If (LNotEqual (Local2, Ones))
{
If (LNotEqual (Local3, Ones))
{
If (LNotEqual (Local4, Ones))
{
FBIF (Local0, Local1, Local2, Local3, Local4)
CBIF ()
}
}
}
}
}
If (LEqual (PUNT, Zero))
{
Multiply (Local2, 0x0A, Local2)
}
Store (Local2, LFCC)
BATR ()
Return (PBIF)
}
{
If (LNot (^^SBRG.EC0.BATP (Zero)))
{
Return (NBIF)
}
If (LEqual (^^SBRG.EC0.GBTT (Zero), 0xFF))
{
Return (NBIF)
}
BATO ()
BATS (Zero)
Store (^^SBRG.EC0.BIF9 (), Index (PBIF, 0x09))
Store (ONAM, Index (PBIF, 0x0C))
Store (^^SBRG.EC0.BIF0 (), Local0)
Store (^^SBRG.EC0.BIF1 (), Local1)
Store (^^SBRG.EC0.BIF2 (), Local2)
Store (^^SBRG.EC0.BIF3 (), Local3)
Store (^^SBRG.EC0.BIF4 (), Local4)
If (LNotEqual (Local0, Ones))
{
If (LNotEqual (Local1, Ones))
{
If (LNotEqual (Local2, Ones))
{
If (LNotEqual (Local3, Ones))
{
If (LNotEqual (Local4, Ones))
{
FBIF (Local0, Local1, Local2, Local3, Local4)
CBIF ()
}
}
}
}
}
If (LEqual (PUNT, Zero))
{
Multiply (Local2, 0x0A, Local2)
}
Store (Local2, LFCC)
BATR ()
Return (PBIF)
}
Jun 1 2011, 06:06 PM
Post #6
And what about this kext?
AppleACPIBatteryManager.kext.zip ( 31.14K )
Number of downloads: 118
I have no Lion to check. This one works in Snow.
AppleACPIBatteryManager.kext.zip ( 31.14K )
Number of downloads: 118I have no Lion to check. This one works in Snow.
Jun 1 2011, 06:30 PM
Post #7
Jun 1 2011, 06:40 PM
Post #8
Also in Snow, isn't it?
Jun 1 2011, 07:12 PM
Post #9
Also in Snow, isn't it?
No, in Snow it works.
I asked a friend who has Xcode for Lion to compile using 10.7 SDK, but it fails to load
(from http://netbook-installer.googlecode.com/sv...IBatteryManager)
CODE
/Users/oldnapalm/Downloads/AppleACPIBatteryManager.kext failed to load - (libkern/kext) link error; check the system/kernel logs for errors or try kextutil(8).
(kernel) kxld[com.apple.driver.AppleACPIBatteryManager]: The __ZTV22AppleACPIBatteryDevice is unpatchable because its class declares the method '__ZN22AppleACPIBatteryDevice13setPowerStateEmP9IOService' without providing an implementation.
(kernel) kxld[com.apple.driver.AppleACPIBatteryManager]: The __ZTV22AppleACPIBatteryDevice is unpatchable because its class declares the method '__ZN22AppleACPIBatteryDevice13setPowerStateEmP9IOService' without providing an implementation.
(kernel) Can't load kext com.apple.driver.AppleACPIBatteryManager - link failed.
(kernel) Failed to load executable for kext com.apple.driver.AppleACPIBatteryManager.
(kernel) Kext com.apple.driver.AppleACPIBatteryManager failed to load (0xdc008016).
(kernel) Failed to load kext com.apple.driver.AppleACPIBatteryManager (error 0xdc008016).
Failed to load AppleACPIBatteryManager.kext - (libkern/kext) link error.
Check library declarations for your kext with kextlibs(8).
For all architectures:
com.apple.iokit.IOACPIFamily = 1.4
com.apple.kpi.iokit = 11.0
com.apple.kpi.libkern = 11.0
For x86_64:
1 symbol not found in any library kext.
For i386:
1 symbol not found in any library kext.
(kernel) kxld[com.apple.driver.AppleACPIBatteryManager]: The __ZTV22AppleACPIBatteryDevice is unpatchable because its class declares the method '__ZN22AppleACPIBatteryDevice13setPowerStateEmP9IOService' without providing an implementation.
(kernel) kxld[com.apple.driver.AppleACPIBatteryManager]: The __ZTV22AppleACPIBatteryDevice is unpatchable because its class declares the method '__ZN22AppleACPIBatteryDevice13setPowerStateEmP9IOService' without providing an implementation.
(kernel) Can't load kext com.apple.driver.AppleACPIBatteryManager - link failed.
(kernel) Failed to load executable for kext com.apple.driver.AppleACPIBatteryManager.
(kernel) Kext com.apple.driver.AppleACPIBatteryManager failed to load (0xdc008016).
(kernel) Failed to load kext com.apple.driver.AppleACPIBatteryManager (error 0xdc008016).
Failed to load AppleACPIBatteryManager.kext - (libkern/kext) link error.
Check library declarations for your kext with kextlibs(8).
For all architectures:
com.apple.iokit.IOACPIFamily = 1.4
com.apple.kpi.iokit = 11.0
com.apple.kpi.libkern = 11.0
For x86_64:
1 symbol not found in any library kext.
For i386:
1 symbol not found in any library kext.
Jun 2 2011, 05:58 AM
Post #10
Check in Lion
Seems dependencies are differ.
CODE
bash-3.2# kextlibs /System/Library/Extensions/AppleACPIBatteryManager.kext/
For all architectures:
com.apple.iokit.IOACPIFamily = 1.3
com.apple.kpi.iokit = 10.7
com.apple.kpi.libkern = 10.7
bash-3.2#
For all architectures:
com.apple.iokit.IOACPIFamily = 1.3
com.apple.kpi.iokit = 10.7
com.apple.kpi.libkern = 10.7
bash-3.2#
Seems dependencies are differ.
Jun 2 2011, 04:32 PM
Post #11
Seems dependencies are differ.
Yes, the kextlibs output is in my previous post
CODE
For all architectures:
com.apple.iokit.IOACPIFamily = 1.4
com.apple.kpi.iokit = 11.0
com.apple.kpi.libkern = 11.0
For x86_64:
1 symbol not found in any library kext.
For i386:
1 symbol not found in any library kext.
com.apple.iokit.IOACPIFamily = 1.4
com.apple.kpi.iokit = 11.0
com.apple.kpi.libkern = 11.0
For x86_64:
1 symbol not found in any library kext.
For i386:
1 symbol not found in any library kext.
I found this guy with the same problem in Snow
http://www.insanelymac.com/forum/index.php...t&p=1449730
I did the same and now it loads and shows the battery icon. The estimated remaining time is realistic, but the percentage is zero
Captura_de_Tela_2011_06_02_a__768_s_13.10.55.png ( 28.64K )
Number of downloads: 138There's a positive value for CurrentCapacity in ioreg, but MaxCapacity is 0x0.
Compiled kext is attached if someone wants to test (compiled in Snow)
AppleACPIBatteryManager.kext.zip ( 34.03K )
Number of downloads: 73
Jun 2 2011, 07:28 PM
Post #12
And what about this kext?
AppleACPIBatteryManager.kext.zip ( 31.14K )
Number of downloads: 118
I have no Lion to check. This one works in Snow.
AppleACPIBatteryManager.kext.zip ( 31.14K )
Number of downloads: 118I have no Lion to check. This one works in Snow.
i have checked dont work in lion
ioreg and kernel.log for this kext
lion_ioreg_kernellog_appleacpibaterry.zip ( 11.52K )
Number of downloads: 32This post has been edited by artur-pt: Jun 2 2011, 07:29 PM
Jun 3 2011, 05:21 PM
Post #13
Yes, the kextlibs output is in my previous post
I found this guy with the same problem in Snow
http://www.insanelymac.com/forum/index.php...t&p=1449730
I did the same and now it loads and shows the battery icon. The estimated remaining time is realistic, but the percentage is zero
Captura_de_Tela_2011_06_02_a__768_s_13.10.55.png ( 28.64K )
Number of downloads: 138
There's a positive value for CurrentCapacity in ioreg, but MaxCapacity is 0x0.
Compiled kext is attached if someone wants to test (compiled in Snow)
AppleACPIBatteryManager.kext.zip ( 34.03K )
Number of downloads: 73
CODE
For all architectures:
com.apple.iokit.IOACPIFamily = 1.4
com.apple.kpi.iokit = 11.0
com.apple.kpi.libkern = 11.0
For x86_64:
1 symbol not found in any library kext.
For i386:
1 symbol not found in any library kext.
com.apple.iokit.IOACPIFamily = 1.4
com.apple.kpi.iokit = 11.0
com.apple.kpi.libkern = 11.0
For x86_64:
1 symbol not found in any library kext.
For i386:
1 symbol not found in any library kext.
I found this guy with the same problem in Snow
http://www.insanelymac.com/forum/index.php...t&p=1449730
I did the same and now it loads and shows the battery icon. The estimated remaining time is realistic, but the percentage is zero
Captura_de_Tela_2011_06_02_a__768_s_13.10.55.png ( 28.64K )
Number of downloads: 138There's a positive value for CurrentCapacity in ioreg, but MaxCapacity is 0x0.
Compiled kext is attached if someone wants to test (compiled in Snow)
AppleACPIBatteryManager.kext.zip ( 34.03K )
Number of downloads: 73I tested in Lion DP3 same result as voodoo thank you for the work (tested on Asus G51Jx i7 Nvidia GTS 360M)
Jun 8 2011, 03:53 PM
Post #14
On my U90 the same kext as in Snow Leopard works in Lion DP1.
AppleACPIBatteryManager.kext.zip ( 20.14K )
Number of downloads: 117
76%, 1:11 remaining
This post has been edited by гык-sse2: Jun 8 2011, 03:54 PM
AppleACPIBatteryManager.kext.zip ( 20.14K )
Number of downloads: 11776%, 1:11 remaining
This post has been edited by гык-sse2: Jun 8 2011, 03:54 PM
Jun 9 2011, 04:02 PM
Post #15
But this is only for arch i386?!
Nobody have x64 version?
CODE
AppleACPIBatteryManager.kext/Contents/MacOS/AppleACPIBatteryManager: Mach-O object i386
Nobody have x64 version?
Jun 9 2011, 05:31 PM
Post #16
VoodooBattery x86/64 Lion build
Tested: Don't Works!!!!
DOWNLOAD
Debug:
VoodooBattery_1.3.3_x86_x64_debug_20110609_miqlas.kext.zip ( 53.96K )
Number of downloads: 44
Release:
VoodooBattery_1.3.3_x86_x64_release_lion_20110609_miqlas.kext.zip ( 38.04K )
Number of downloads: 221
/ Link fixed
DOWNLOAD
Feel free to report back!
Update: Tested!
I got:
But: There is an x in the BatteryMeter icon, and it says there is "No Battery". Sometimes i got this in SL too (because i have crappy DSDT), please, test it, maybe you have more luck.
This post has been edited by drew: Jun 9 2011, 07:50 PM
Tested: Don't Works!!!!
QUOTE
Warings:
VoodooBattery/VoodooBattery.h
No previous prototype for 'UInt32 GetValueFromArray(OSArray*, UInt8)'
No previous prototype for 'OSSymbol* GetSymbolFromArray(OSArray*, UInt8)'
No previous prototype for 'UInt32 GetValueFromArray(OSArray*, UInt8)'
No previous prototype for 'OSSymbol* GetSymbolFromArray(OSArray*, UInt8)'
$kextlibs VoodooBattery.kext
For all architectures:
com.apple.iokit.IOACPIFamily = 1.4
com.apple.kpi.iokit = 11.0
com.apple.kpi.libkern = 11.0
com.apple.kpi.mach = 11.0
$file VoodooBattery.kext/Contents/MacOS/VoodooBattery
VoodooBattery: Mach-O universal binary with 2 architectures
VoodooBattery (for architecture x86_64): Mach-O 64-bit kext bundle x86_64
VoodooBattery (for architecture i386): Mach-O object i386
VoodooBattery/VoodooBattery.h
No previous prototype for 'UInt32 GetValueFromArray(OSArray*, UInt8)'
No previous prototype for 'OSSymbol* GetSymbolFromArray(OSArray*, UInt8)'
No previous prototype for 'UInt32 GetValueFromArray(OSArray*, UInt8)'
No previous prototype for 'OSSymbol* GetSymbolFromArray(OSArray*, UInt8)'
$kextlibs VoodooBattery.kext
For all architectures:
com.apple.iokit.IOACPIFamily = 1.4
com.apple.kpi.iokit = 11.0
com.apple.kpi.libkern = 11.0
com.apple.kpi.mach = 11.0
$file VoodooBattery.kext/Contents/MacOS/VoodooBattery
VoodooBattery: Mach-O universal binary with 2 architectures
VoodooBattery (for architecture x86_64): Mach-O 64-bit kext bundle x86_64
VoodooBattery (for architecture i386): Mach-O object i386
DOWNLOAD
Debug:
VoodooBattery_1.3.3_x86_x64_debug_20110609_miqlas.kext.zip ( 53.96K )
Number of downloads: 44Release:
VoodooBattery_1.3.3_x86_x64_release_lion_20110609_miqlas.kext.zip ( 38.04K )
Number of downloads: 221/ Link fixed
DOWNLOAD
Feel free to report back!
Update: Tested!
I got:
QUOTE
Voodoo[0xFFFFFF7F81721359] probe: 55: Score: 0 Provider: IOResources
Voodoo[0xFFFFFF7F817201F0] probe: 331: Score: 0 Provider: BAT0
VoodooBattery 1.3 © 2008-10 Superhai, All Rights Reserved. Jun 9 2011 19:23:19 DEBUG 64 bit
Voodoo[0xFFFFFF7F81722952] start: 81: Provider: IOResources
Voodoo[0xFFFFFF7F81721DB8] start: 350: Battery N/A: Provider: BAT0
Voodoo[0xFFFFFF7F81720C9B] batteryReport: 201: Battery 1 (0xffffff800ed38200) called in: VoodooBatteryDevice
Voodoo[0xFFFFFF7F81722064] start: 376: BAT0: Received battery index 1
Voodoo[0xFFFFFF7F8172210B] start: 380: BAT0: We create and attach our powersource
Voodoo[0xFFFFFF7F81722224] start: 384: BAT0: Powersource initialized
Voodoo[0xFFFFFF7F817222E4] start: 386: BAT0: Powersource attached
Voodoo[0xFFFFFF7F817223A4] start: 388: BAT0: Powersource started
Voodoo[0xFFFFFF7F817201F0] probe: 331: Score: 0 Provider: BAT0
VoodooBattery 1.3 © 2008-10 Superhai, All Rights Reserved. Jun 9 2011 19:23:19 DEBUG 64 bit
Voodoo[0xFFFFFF7F81722952] start: 81: Provider: IOResources
Voodoo[0xFFFFFF7F81721DB8] start: 350: Battery N/A: Provider: BAT0
Voodoo[0xFFFFFF7F81720C9B] batteryReport: 201: Battery 1 (0xffffff800ed38200) called in: VoodooBatteryDevice
Voodoo[0xFFFFFF7F81722064] start: 376: BAT0: Received battery index 1
Voodoo[0xFFFFFF7F8172210B] start: 380: BAT0: We create and attach our powersource
Voodoo[0xFFFFFF7F81722224] start: 384: BAT0: Powersource initialized
Voodoo[0xFFFFFF7F817222E4] start: 386: BAT0: Powersource attached
Voodoo[0xFFFFFF7F817223A4] start: 388: BAT0: Powersource started
But: There is an x in the BatteryMeter icon, and it says there is "No Battery". Sometimes i got this in SL too (because i have crappy DSDT), please, test it, maybe you have more luck.
This post has been edited by drew: Jun 9 2011, 07:50 PM
Jun 10 2011, 03:25 PM
Post #17
VoodooBattery x86/64 Lion build
Tested: Don't Works!!!!
DOWNLOAD
Debug:
VoodooBattery_1.3.3_x86_x64_debug_20110609_miqlas.kext.zip ( 53.96K )
Number of downloads: 44
Release:
VoodooBattery_1.3.3_x86_x64_release_lion_20110609_miqlas.kext.zip ( 38.04K )
Number of downloads: 221
/ Link fixed
DOWNLOAD
Feel free to report back!
Update: Tested!
I got:
But: There is an x in the BatteryMeter icon, and it says there is "No Battery". Sometimes i got this in SL too (because i have crappy DSDT), please, test it, maybe you have more luck.
Tested: Don't Works!!!!
DOWNLOAD
Debug:
VoodooBattery_1.3.3_x86_x64_debug_20110609_miqlas.kext.zip ( 53.96K )
Number of downloads: 44Release:
VoodooBattery_1.3.3_x86_x64_release_lion_20110609_miqlas.kext.zip ( 38.04K )
Number of downloads: 221/ Link fixed
DOWNLOAD
Feel free to report back!
Update: Tested!
I got:
But: There is an x in the BatteryMeter icon, and it says there is "No Battery". Sometimes i got this in SL too (because i have crappy DSDT), please, test it, maybe you have more luck.
Tested in Dp4 same result icon with "X" saying " no battery available " But thank you for your work
Jun 17 2011, 05:26 PM
Post #18
any news here?
Jun 18 2011, 12:35 PM
Post #19
AppleACPIBatteryManager (i386/x64 LION build)
NOT TESTED YET, PLEASE, REPORT BACK!
Binary:
AppleACPIBatteryManager_x86_x64_LION_20110618_miqlas.kext.zip ( 31.9K )
Number of downloads: 155
Sources:
AppleACPIBatteryManager_sources.zip ( 495.25K )
Number of downloads: 40
This post has been edited by drew: Jun 18 2011, 12:38 PM
NOT TESTED YET, PLEASE, REPORT BACK!
Binary:
AppleACPIBatteryManager_x86_x64_LION_20110618_miqlas.kext.zip ( 31.9K )
Number of downloads: 155Sources:
AppleACPIBatteryManager_sources.zip ( 495.25K )
Number of downloads: 40This post has been edited by drew: Jun 18 2011, 12:38 PM
Jun 18 2011, 04:45 PM
Post #20
Don't work on my lappy, but thanks for your contribution.
| Add Reply Start a new topic |
0 Members:










