Contribute
Register

[Guide] How to patch DSDT for working battery status

Basic procedure:
- after determining the fields that should be patched, you can use grep to search for patches that are likely to match
- a patch file with a high ratio of patches/changes is a likely match
- a patch file that applies without errors is a likely match
- if there are no fields left to patch after applying a patch file, it is a likely match and worthy of testing
Thanks for these instructions. They help a lot to find patches that may work for your laptop. The patch for the Pavilion G6 2221ss works for my Pavillion G4-2165br. I thought it was a lost case and I'd have to patch manually.
 
I have a problem. Battery is working as it should when I boot with Clover. However, I copied the working DSDT.aml to Extra/include and it didn't work with Chameleon. Looks like Chameleon not loading the patched DSDT at all. Any clues on this? I enabled the Drop SSDT flag and selected the DSDT.aml file in the Miscellaneous part of Chameleon Wizard.
 
I have a problem. Battery is working as it should when I boot with Clover. However, I copied the working DSDT.aml to Extra/include and it didn't work with Chameleon. Looks like Chameleon not loading the patched DSDT at all. Any clues on this? I enabled the Drop SSDT flag and selected the DSDT.aml file in the Miscellaneous part of Chameleon Wizard.

Chameleon loads DSDT.aml from /Extra, not /Extra/include.
DropSSDT has nothing to do with DSDT.
 
Chameleon loads DSDT.aml from /Extra, not /Extra/include.
DropSSDT has nothing to do with DSDT.
I see, thanks for explaining.

Edit: could DSDT files that work fine in one bootloader not be compatible with another?
The same DSDT I patched for battery status and got it working on Clover refuses to load on Chameleon.
 
Last edited:
Thanks a lot RehabMan !

I wrote my patch according to your guide as there was none for the Lenovo Thinkpad Edge S430.
I attached it to this post so you can add it to your repo.

It works like a charm.

Best regards
 

Attachments

  • Battery_Patch_Mutex_Lenovo_S430.txt
    6.1 KB · Views: 103
Thanks a lot RehabMan !

I wrote my patch according to your guide as there was none for the Lenovo Thinkpad Edge S430.
I attached it to this post so you can add it to your repo.

It works like a charm.

Best regards

Read post #1, "Contributing".
 
Hi everybody!

This is my first post and I come with contribution and questions. I've created a battery patch for my Cintiq Companion 2 i5-4258U. It works great but I still seeing some ACPI errors in verbose boot EmbeddedControl related that I would like to fix.

IMG_0258.JPG


Thanks!
 

Attachments

  • Companion2_Battery.zip
    103.8 KB · Views: 123
but I still seeing some ACPI errors in verbose boot EmbeddedControl related that I would like to fix.

Read post #1, "Problem Reporting".
 
Back
Top