Twml Posted February 6, 2018 Share Posted February 6, 2018 I have an HP Elitebook 8460P running High Sierra 10.13.1 I'm trying to get battery status working and if I'm understanding it right I need to patch my DSDT.aml to get it working. I have attempted this and can't seem to get it to compile, always an error. Also i have managed to brick the system a few times attempting edits. I cant seem to figure it out I need to patch the DSDT to get battery status working even before patching, if attempting a compile with MaciASL I have 2 errors. Im fairly new to getting Mac running on Intel Based PCs. any help would be greatly appreciated. Attached is my DSDT.aml file pulled from: EFI/Clover/ACPI/origin/DSDT.aml generated by using clover bootloader help menu, via the F4 option. I used MaciASL to attempt the edits. using battery patches from here: https://github.com/RehabMan/Laptop-DSDT-Patch Is it possible for someone to patch the file for me, or is it something i have to do? As i said im fairly new to mac and would like to get this working DSDT.zip Link to comment Share on other sites More sharing options...
artur_pt Posted February 7, 2018 Share Posted February 7, 2018 hello try this one DSDT.aml.zip and use also this kext https://bitbucket.org/RehabMan/os-x-acpi-battery-driver/downloads/ good hack Link to comment Share on other sites More sharing options...
Twml Posted February 7, 2018 Author Share Posted February 7, 2018 I installed the .Kext and put the DSDT in EFI/Clover/ACPI/patched/ I downloaded the newest kext. that had a high number of downloads. not sure if its the right one or what one i actually need. Rebooted in verbose mode boot didnt hang but when getting to the system i still have no battery icon or battery detected. attached in a pic of the battery settings... am i doing something wrong or does it just not work? do i need to do something special to load the modified dsdt or does it do it automatically when in the patched folder? sorry for the stupid questions but im new to mac and have no clue what im doing. Link to comment Share on other sites More sharing options...
foskvs Posted February 7, 2018 Share Posted February 7, 2018 Click on "Show battery status in menu bar"... Link to comment Share on other sites More sharing options...
Twml Posted February 7, 2018 Author Share Posted February 7, 2018 It instantly unchecks its self when i do, Already did try that, should of said that Link to comment Share on other sites More sharing options...
foskvs Posted February 7, 2018 Share Posted February 7, 2018 Open terminal and write sudo kextcache -i / kextstat | grep -i batt Post the output. Link to comment Share on other sites More sharing options...
Twml Posted February 7, 2018 Author Share Posted February 7, 2018 Here is the outputs from the terminal... It didnt seem to upload the picture as attachment. here is a weblink for it https://prnt.sc/ibel9c Link to comment Share on other sites More sharing options...
foskvs Posted February 7, 2018 Share Posted February 7, 2018 The kext is loaded correctly. Maybe, there something wrong in your DSDT. I don't have time to look at it right now. Link to comment Share on other sites More sharing options...
artur_pt Posted February 7, 2018 Share Posted February 7, 2018 hello second test DSDT.aml.zip good hack 1 Link to comment Share on other sites More sharing options...
Twml Posted February 7, 2018 Author Share Posted February 7, 2018 I rebooted again and I have the battery icon and no percentage using the first dsdt https://prnt.sc/ibfolb ill try the second dsdt when I get back home. I got working battery status with the second dsdt. thank you very much. Link to comment Share on other sites More sharing options...
artur_pt Posted February 7, 2018 Share Posted February 7, 2018 hello glad to know .. is solved good hack Link to comment Share on other sites More sharing options...
Twml Posted March 1, 2018 Author Share Posted March 1, 2018 hello second test DSDT.aml.zip good hack Bad new. My battery percentage is gone! I dont know why or how. Turned off the laptop was working, Next morning Turned back on... nothing. Not sure if an update or something broke it but i have all automatic updates off i though. Tried refreshing the origin dsdt files (f4 in clover), tried recopying the dsdt to patched in my efi. Tried reinstalling the battery kexts. Tried updating the os to 10.13.3 . (currently running this now if that makes a difference) Still i have no battery percentage, everything else is working like it was before, just my battery is gone again. here is output of kextstat -i for the battery kext. not sure if it helps. but tell me what commands to run and i can post their outputs. 1 Link to comment Share on other sites More sharing options...
MaLd0n Posted March 2, 2018 Share Posted March 2, 2018 u use apfs with trim enable? Link to comment Share on other sites More sharing options...
Twml Posted March 2, 2018 Author Share Posted March 2, 2018 Hfs+ is the fs and no idea about trim. Link to comment Share on other sites More sharing options...
artur_pt Posted March 2, 2018 Share Posted March 2, 2018 hello try to use the new kext from rehabman good hack Link to comment Share on other sites More sharing options...
Twml Posted March 2, 2018 Author Share Posted March 2, 2018 I did try the newest kext, downloaded RehabMan-Battery-2017-1001.zip and still doesnt work... Edit: I reinstalled macOS10.13.1 on another hdd. got battery working and my sound, after a few reboots, its goes away again too. and so did my sound this time. Link to comment Share on other sites More sharing options...
Twml Posted March 3, 2018 Author Share Posted March 3, 2018 New info: This is what i have happening and can reproduce... Boot > No battery icon > Install newest battery kext > Reboot > Have battery working > Shutdown > Boot > No Battery... Then if i reinstall the kext, reboot, i have battery until i shutdown. then on next boot up i have no battery again. Link to comment Share on other sites More sharing options...
Recommended Posts