Contribute
Register

[Guide] How to patch DSDT for working battery status

I'm trying to compile dsdt for battery and audio. keep getting PARSEOP_SUBTRACT error.
SOLVED {I managed to follow the guide correctly thanks}
 
Last edited:
I'm trying to compile dsdt for battery and audio. keep getting PARSEOP_SUBTRACT error.
{I managed to follow the guide correctly thanks}
did you try any of the PARSEOP fixes?
 
However, I figured out that my problem was, that because of the slim body of my laptop, it is like some kind of tablet-battery (Intel SR Real Battery 1) build into it. I figured that the fix was to manually set the low capacity value in the BAT0 part in the DSDT to max-capacity divided by 5 times 10 divided by 0.6. The battery status was at 0% because it was stuck at "CALCULATING IN WATTS" because the low capacity value was set to zero by default. Also, I changed the Design Voltage to 8.4V as reported on the print on my battery.

Hi, can you please help me what exactly you changed in DSDT? I have the same problem and seems that the identical battery and percent shown is 0. Thank you very much!
 
did you try any of the PARSEOP fixes?
I tried that method. didn't work. I found the problem and fixed it.First I dragged and dropped dsdt to desktop and tried compiling first, then placing back into origin folder.THAT DID NOT WORK!!!I Received the PARSEOP_SUBTRACT error. So I went back to @RehabMan dsdt guide and READ it CAREFULLY. I couldn't find the exact location of the files, so I went to EFI/Clover/Acpi/origin there was an option to copy location in finder. copied the EXACT location and pasted into terminal.After extracting using iasl and -da command, the dsdt.dsl file was extracted correctly with all the other ssdt files in the acpi/origin folder. I patched dsdt using @RehabMan laptop source in MaciAsl. SUCCESS! thanks @RehabMan I know to read your guides as carefully as possible. Now my question to you @Feartech, am I supposed to patch all the .dsl files that iasl outputs? the ssdt-x2_0-Aplst.dsl file and the others that were extracted when I originally extracted that the dsdt? I see some other .dsl files that contain CpuPM which I assume is cpu power management. do I patch these files too? thanks for your reply too
 
I tried that method. didn't work. I found the problem and fixed it.First I dragged and dropped dsdt to desktop and tried compiling first, then placing back into origin folder.THAT DID NOT WORK!!!I Received the PARSEOP_SUBTRACT error. So I went back to @RehabMan dsdt guide and READ it CAREFULLY. I couldn't find the exact location of the files, so I went to EFI/Clover/Acpi/origin there was an option to copy location in finder. copied the EXACT location and pasted into terminal.After extracting using iasl and -da command, the dsdt.dsl file was extracted correctly with all the other ssdt files in the acpi/origin folder. I patched dsdt using @RehabMan laptop source in MaciAsl. SUCCESS! thanks @RehabMan I know to read your guides as carefully as possible. Now my question to you @Feartech, am I supposed to patch all the .dsl files that iasl outputs? the ssdt-x2_0-Aplst.dsl file and the others that were extracted when I originally extracted that the dsdt? I see some other .dsl files that contain CpuPM which I assume is cpu power management. do I patch these files too? thanks for your reply too
no, you would probably only need to patch your DSDT to sort out your battery
 
I tried that method. didn't work. I found the problem and fixed it.First I dragged and dropped dsdt to desktop and tried compiling first, then placing back into origin folder.THAT DID NOT WORK!!!I Received the PARSEOP_SUBTRACT error. So I went back to @RehabMan dsdt guide and READ it CAREFULLY. I couldn't find the exact location of the files, so I went to EFI/Clover/Acpi/origin there was an option to copy location in finder. copied the EXACT location and pasted into terminal.After extracting using iasl and -da command, the dsdt.dsl file was extracted correctly with all the other ssdt files in the acpi/origin folder. I patched dsdt using @RehabMan laptop source in MaciAsl. SUCCESS! thanks @RehabMan I know to read your guides as carefully as possible. Now my question to you @Feartech, am I supposed to patch all the .dsl files that iasl outputs? the ssdt-x2_0-Aplst.dsl file and the others that were extracted when I originally extracted that the dsdt? I see some other .dsl files that contain CpuPM which I assume is cpu power management. do I patch these files too? thanks for your reply too
You can drag and drop the origin folder to terminal and it will have the correct path to the files. I personally copy my origin folder to my desktop and work from there as to not change anything in the origin folder on the EFI partition.
 
no, you would probably only need to patch your DSDT to sort out your battery
what about patching just for OVERALL stability and compatibility? should I patch those others?
or should I just patch dsdt? everything works. I just want to make sure that the power management for cpu ram etc is correctly patched. is that taken care of with the patched dsdt?
 
no, you would probably only need to patch your DSDT to sort out your battery
also @Feartech do you know what I would have to do to patch the usb? so that the eject errors don't happen from sleep?
 
also @Feartech do you know what I would have to do to patch the usb? so that the eject errors don't happen from sleep?
off topic, this thread is for battery status
 
Back
Top