Contribute
Register

[Guide] How to patch DSDT for working battery status

I was able to get a dump of the DSDT using the F4 method in clover I disassembled it using iasl from the terminal and then opened it using MaciAsl. When I searched for "Embeddedcontrol" I only found the following region. When I searched for ECOR I also only found the following field. They all are 8 bits, any idea on how I can get the battery status to work.

Thanks for any help everyone. And a big thanks to RehabMan!

Did you install ACPIBatteryManager.kext?
Did you patch ACPI per guide?

http://www.tonymacx86.com/threads/guide-patching-laptop-dsdt-ssdts.152573/
 
Looks like I need to work in my reading skills.

Just installed the kext and it works beautifully now!

Thanks RehabMan!
 
RehabMan,
I'm working on a toshiba C55-A5310 and all i am missing is the battery status but my DSDT does not have embedded controls.

 

Attachments

  • DSDT.aml
    33.2 KB · Views: 125
  • MacBook pro.ioreg
    1.6 MB · Views: 108
Read post #1, "Problem Reporting"
Here you go and Thanks for helping.

kextstat|grep -y acpiplat

13 1 0xffffff7f8268f000 0x66000 0x66000 com.apple.driver.AppleACPIPlatform (4.0) A29C7512-D3A8-3AED-9721-3A5FF1A32EB2 <12 11 7 6 5 4 3 1>



kextstat|grep -y appleintelcpu

22 0 0xffffff7f8230c000 0x2b000 0x2b000 com.apple.driver.AppleIntelCPUPowerManagement (218.0.0) 21E4FDDE-336B-3665-824B-A72C9DB45F31 <7 6 5 4 3 1>

28 0 0xffffff7f82307000 0x3000 0x3000 com.apple.driver.AppleIntelCPUPowerManagementClient (218.0.0) 99C8A694-575D-32C8-B319-1BB8F5518D97 <7 6 5 4 3 1>


kextstat|grep -y applelpc

89 0 0xffffff7f820f9000 0x3000 0x3000 com.apple.driver.AppleLPC (3.1) 32BDCF9F-0473-32D4-9DAE-F523EFB2D244 <85 12 5 4 3>


kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext VoodooPS2Trackpad.kext

kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext VoodooPS2Mouse.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 -67030 0xFFFFFFFFFFFEFA2A for kext AirPortAtheros40.kext

kext-dev-mode allowing invalid signature -67050 0xFFFFFFFFFFFEFA16 for kext GenericUSBXHCI.kext

kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext fakesmc.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

kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext ALXEthernet.kext
 

Attachments

  • extract.zip
    16.5 KB · Views: 75
  • MacBook pro.ioreg.zip
    408 KB · Views: 75
  • clover.zip
    3.4 MB · Views: 74
Here you go and Thanks for helping.

kextstat|grep -y acpiplat

13 1 0xffffff7f8268f000 0x66000 0x66000 com.apple.driver.AppleACPIPlatform (4.0) A29C7512-D3A8-3AED-9721-3A5FF1A32EB2 <12 11 7 6 5 4 3 1>



kextstat|grep -y appleintelcpu

22 0 0xffffff7f8230c000 0x2b000 0x2b000 com.apple.driver.AppleIntelCPUPowerManagement (218.0.0) 21E4FDDE-336B-3665-824B-A72C9DB45F31 <7 6 5 4 3 1>

28 0 0xffffff7f82307000 0x3000 0x3000 com.apple.driver.AppleIntelCPUPowerManagementClient (218.0.0) 99C8A694-575D-32C8-B319-1BB8F5518D97 <7 6 5 4 3 1>


kextstat|grep -y applelpc

89 0 0xffffff7f820f9000 0x3000 0x3000 com.apple.driver.AppleLPC (3.1) 32BDCF9F-0473-32D4-9DAE-F523EFB2D244 <85 12 5 4 3>


kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext VoodooPS2Trackpad.kext

kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext VoodooPS2Mouse.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 -67030 0xFFFFFFFFFFFEFA2A for kext AirPortAtheros40.kext

kext-dev-mode allowing invalid signature -67050 0xFFFFFFFFFFFEFA16 for kext GenericUSBXHCI.kext

kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext fakesmc.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

kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext ALXEthernet.kext

Please read "Problem Reporting" carefully. EFI not requested. Provide only EFI/Clover. And make sure to remove 'Themes' before compressing as ZIP. The result will be much smaller than 36MB.
 
Please read "Problem Reporting" carefully. EFI not requested. Provide only EFI/Clover. And make sure to remove 'Themes' before compressing as ZIP. The result will be much smaller than 36MB.

Sorry, my mistake.
 

Attachments

  • Untitled.png
    Untitled.png
    82.6 KB · Views: 136
Thanks a lot, I got it working now.

After unchecking drop oem=true and adding SSDT-1.aml to clover I also had to add the ACPI kext to library extensions. for some reason it wouldn't load from the EFI kexts folder.

DropOem should be true if you have patched SSDTs in ACPI/patched. False if you have no patched SSDTs in ACPI/patched.

All kexts should be installed to the system volume.

If you have FakeSMC installed and InjectKexts=Detect, no kexts are injected from CLOVER/kexts.
 
Back
Top