Contribute
Register

[Guide] How to patch DSDT for working battery status

The kext works equally on 10.10/10.11.

Problem is in your patches. Use the debug ACPIBatteryManager.kext to find out which method(s) are failing.

Hi rehabman, I've changed the kext to debug version. heres my ioreg and system.log for you to see whats wrong with the dsdt. Thank you very much :)
 

Attachments

  • Dv2000.ioreg
    4.2 MB · Views: 117
  • systemlog.zip
    46 KB · Views: 64
Hi rehabman, I've changed the kext to debug version. heres my ioreg and system.log for you to see whats wrong with the dsdt. Thank you very much :)

DSDT is not patched correctly. Both _BIF and _BST are failing (causing abort)...

see:
Code:
26/4/07 10:53:01.000 AM	kernel[0]	ACPIBatteryManager: getBatteryBIF called
26/4/07 10:53:01.000 AM	kernel[0]	ACPIBatteryManager: validateObject return 0x0
26/4/07 10:53:01.000 AM	kernel[0]	ACPIBatteryManager: evaluateObject error 0xe00002c2
26/4/07 10:53:01.000 AM	kernel[0]	ACPIBatteryManager: getBatteryBST called
26/4/07 10:53:01.000 AM	kernel[0]	ACPIBatteryManager: evaluateObject error 0xe00002c2
 
Hi Rehabman need help. El capitan and Yosemite don´t show the battery icon. if i enabled icon in preferences / economizer, the icon turns off in 1 sec aprox (does´t show battery). I applied the patch # battery_Sony-VAIO-SVE1511.txt
for my Sony Vaio laptop VPCEH2m0e and doesn´t give any error.
I attach the ioreg, DSDT orig, DSDT patch, log´s Kextloads and log´s ACPIbattery debug kext.

Could you Help me?

Thanks.
 

Attachments

  • files.zip
    434.3 KB · Views: 78
DSDT is not patched correctly. Both _BIF and _BST are failing (causing abort)...

see:
Code:
26/4/07 10:53:01.000 AM	kernel[0]	ACPIBatteryManager: getBatteryBIF called
26/4/07 10:53:01.000 AM	kernel[0]	ACPIBatteryManager: validateObject return 0x0
26/4/07 10:53:01.000 AM	kernel[0]	ACPIBatteryManager: evaluateObject error 0xe00002c2
26/4/07 10:53:01.000 AM	kernel[0]	ACPIBatteryManager: getBatteryBST called
26/4/07 10:53:01.000 AM	kernel[0]	ACPIBatteryManager: evaluateObject error 0xe00002c2

Hi Rehabman, can you help me with my patch? I really cannot think of anything to change. I tried to refer to your repo patch to gain some ideas to no avail. Im newbie regarding dsdt. Thank you very much :)
 
Hi Rehabman need help. El capitan and Yosemite don´t show the battery icon. if i enabled icon in preferences / economizer, the icon turns off in 1 sec aprox (does´t show battery). I applied the patch # battery_Sony-VAIO-SVE1511.txt
for my Sony Vaio laptop VPCEH2m0e and doesn´t give any error.
I attach the ioreg, DSDT orig, DSDT patch, log´s Kextloads and log´s ACPIbattery debug kext.

Could you Help me?

Thanks.

According to ioreg, battery status is working. Do a fresh install to an erased partition and compare results.

Note: You should use a laptop SMBIOS (MacPro3,1 is a desktop).
 
Hi Rehabman, can you help me with my patch? I really cannot think of anything to change. I tried to refer to your repo patch to gain some ideas to no avail. Im newbie regarding dsdt. Thank you very much :)

Read post #1 and work through the example. Then work on your own DSDT.

Post your DSDT if you need help.
 
HI.. Almost verything is working well on my HP with clover except the battery status.. This is what I found in my DSDT.. all of them are 16 bitStore (^^PCI0.LPCB.EC0.TA0R, Local2)Store (B0VL, Local0)Store (B0RC, Local0)Store (B0FC, Local0)Store (B0MD, Local0)Store (B0ST, Local0)Store (B0CC, Local0)Store (^^PCI0.LPCB.EC0.B0TM, Index (DerefOf (Index (Local0, 0x02)), One))Store (B1VL, Local0)Store (B1RC, Local0)Store (B1FC, Local0)Store (B1MD, Local0)Store (B1ST, Local0)Store (B1CC, Local0)Store (B0DC, Local0)Store (B0DV, Local0)Store (B0SN, Local0)Store (B1DC, Local0)Store (B1DV, Local0)Store (B1SN,Local0)Is there a patch in your repo that I can use? or I have to create my own?
 
HI.. Almost verything is working well on my HP with clover except the battery status.. This is what I found in my DSDT.. all of them are 16 bitStore (^^PCI0.LPCB.EC0.TA0R, Local2)Store (B0VL, Local0)Store (B0RC, Local0)Store (B0FC, Local0)Store (B0MD, Local0)Store (B0ST, Local0)Store (B0CC, Local0)Store (^^PCI0.LPCB.EC0.B0TM, Index (DerefOf (Index (Local0, 0x02)), One))Store (B1VL, Local0)Store (B1RC, Local0)Store (B1FC, Local0)Store (B1MD, Local0)Store (B1ST, Local0)Store (B1CC, Local0)Store (B0DC, Local0)Store (B0DV, Local0)Store (B0SN, Local0)Store (B1DC, Local0)Store (B1DV, Local0)Store (B1SN,Local0)Is there a patch in your repo that I can use? or I have to create my own?

You can examine/try some of the HP patches that are in the repo.
 
Hello !, Thanks for responding so quickly. Whenever I installed OS X battery has failed me. HWmonitor recognize battery but no icon.
I am attaching a small video where you can see how it turns the icon on the toolbar.
 

Attachments

  • Battery icon fails.zip
    424.4 KB · Views: 66
Hello !, Thanks for responding so quickly. Whenever I installed OS X battery has failed me. HWmonitor recognize battery but no icon.
I am attaching a small video where you can see how it turns the icon on the toolbar.

Look at ioreg for more information or use debug ACPIBatteryManager.kext logs to understand when/how the data is invalid.
 
Back
Top