Contribute
Register

[Guide] How to patch DSDT for working battery status

Patch for Miix 720, with lines append to battery_Lenovo-Ideapad-Y700 :)

Added new patch for "Lenovo Miix 720". Only change from Ideapad Y700 is BDN0 is 64 bits instead of 54. Your suggested changes missed that...

The other additional patches you added are not needed (the fields are not accessed).

Please test...
 
Hi,
I'm trying to make the battery manager work on my Tecra z40. I've attached the DSDT, and the patches I applied. Battery indicator still gives me zero charge, even tough the LED gives battery full, (and a Ubuntu Live boot also gives battery full).

Can someone check where I did go wrong with this? The console gives messages saying battery manager got zero from battery status charge level.

Thanks in advance
 

Attachments

  • tecraz40battery.zip
    92.5 KB · Views: 73
Hi,
I'm trying to make the battery manager work on my Tecra z40. I've attached the DSDT, and the patches I applied. Battery indicator still gives me zero charge, even tough the LED gives battery full, (and a Ubuntu Live boot also gives battery full).

Can someone check where I did go wrong with this? The console gives messages saying battery manager got zero from battery status charge level.

Thanks in advance

Read post #1, "Problem Reporting".
 
Thanks Rehabman,
Here you go
origin_repaired gsalem$ kextstat|grep -y acpiplat
13 1 0xffffff7f828f6000 0x60000 0x60000 com.apple.driver.AppleACPIPlatform (5.0) 65E05472-6AE7-3308-8CC8-FA6CB0DB2AEE <12 11 7 6 5 4 3 1>
origin_repaired gsalem$ kextstat|grep -y appleintelcpu
origin_repaired gsalem$ kextstat|grep -y applelpc

origin_repaired gsalem$ sudo touch /System/Library/Extensions && sudo kextcache -u /
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext ACPIBatteryManager.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext VoodooPS2Trackpad.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext VoodooPS2Keyboard.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext VoodooPS2Controller.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext Lilu.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext IntelMausiEthernet.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext IntelGraphicsFixup.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext IntelBacklight.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext HDAEnabler13.kext
kext-dev-mode allowing invalid signature -67013 0xFFFFFFFFFFFEFA3B for kext AppleMobileDevice.kext
kext-dev-mode allowing invalid signature -67030 0xFFFFFFFFFFFEFA2A for kext AppleHDAHardwareConfigDriver.kext
kext-dev-mode allowing invalid signature -67061 0xFFFFFFFFFFFEFA0B for kext AppleHDA.kext
KernelCache ID: EE48C8E9C4C178AA08DEF5D7C4946BAC

There maybe several issues with others parts of the config (e.g. still no wifi, due to intel card), but what I'm concentrating on currently is the battery status.

Thanks
 

Attachments

  • efi.tar.zip
    1.4 MB · Views: 84
  • ioreg.zip
    534.2 KB · Views: 83
  • tecrapatchamtic.zip
    65.7 KB · Views: 79
Thanks Rehabman,
Here you go
origin_repaired gsalem$ kextstat|grep -y acpiplat
13 1 0xffffff7f828f6000 0x60000 0x60000 com.apple.driver.AppleACPIPlatform (5.0) 65E05472-6AE7-3308-8CC8-FA6CB0DB2AEE <12 11 7 6 5 4 3 1>
origin_repaired gsalem$ kextstat|grep -y appleintelcpu
origin_repaired gsalem$ kextstat|grep -y applelpc

origin_repaired gsalem$ sudo touch /System/Library/Extensions && sudo kextcache -u /
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext ACPIBatteryManager.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext VoodooPS2Trackpad.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext VoodooPS2Keyboard.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext VoodooPS2Controller.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext Lilu.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext IntelMausiEthernet.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext IntelGraphicsFixup.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext IntelBacklight.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext HDAEnabler13.kext
kext-dev-mode allowing invalid signature -67013 0xFFFFFFFFFFFEFA3B for kext AppleMobileDevice.kext
kext-dev-mode allowing invalid signature -67030 0xFFFFFFFFFFFEFA2A for kext AppleHDAHardwareConfigDriver.kext
kext-dev-mode allowing invalid signature -67061 0xFFFFFFFFFFFEFA0B for kext AppleHDA.kext
KernelCache ID: EE48C8E9C4C178AA08DEF5D7C4946BAC

There maybe several issues with others parts of the config (e.g. still no wifi, due to intel card), but what I'm concentrating on currently is the battery status.

Thanks

No files in ACPI/origin (forgot to press F4 to extract in Clover).
Please read post #1, "Problem Reporting" again. Carefully.
 
No files in ACPI/origin (forgot to press F4 to extract in Clover).
Please read post #1, "Problem Reporting" again. Carefully.
Sorry Rehabman,
Here they are. I had them there before, and thought they still were there. Didn't check before zipping the CLOVER folder. My bad.

Thanks for your patience
 

Attachments

  • origin.tar.zip
    66.6 KB · Views: 72
Sorry Rehabman,
Here they are. I had them there before, and thought they still were there. Didn't check before zipping the CLOVER folder. My bad.

Thanks for your patience

Your ACPI/patched/DSDT.aml is out-of-sync with ACPI/origin/DSDT.aml
(SystemMemory addresses are different).
And the fields you patched do not need to be patched anyway... they are in SystemMemory not EmbeddedControl.
As per post #1, only multibyte fields in EmbeddedControl need to be patched.
 
Your ACPI/patched/DSDT.aml is out-of-sync with ACPI/origin/DSDT.aml
(SystemMemory addresses are different).
And the fields you patched do not need to be patched anyway... they are in SystemMemory not EmbeddedControl.
As per post #1, only multibyte fields in EmbeddedControl need to be patched.
Thanks for looking into it.
I did not find any EmbeddedControl in my DSDT (or any SSDT). Does that mean There's no need to patch this system for battery status?

Thanks
 
Thanks for looking into it.
I did not find any EmbeddedControl in my DSDT (or any SSDT). Does that mean There's no need to patch this system for battery status?

Thanks

Correct.
 
Ok,
thanks for the confirmation.
Any ideas on how to debug the kext to see why it is not working? I had this working on my installation, then my motherboard broke down and was replaced, still having the same disk. The DSDT and data I've sent are from the new board. I've reinstalled ACPIBatteryManager kext from your repository, No luck.

Regards
 
Back
Top