Jump to content
onemanOSX

DSDT for battery - Issues with fixing 16 bit methods

5 posts in this topic

Recommended Posts

Hi,

I am stuck with getting around fixing 16 bits method here. I am able to get the fix 16 bit registers good, but this second part is holding me back.

 

Can anyone correct my code which is in error? Thanks!

 

 

477547762_Screenshot2018-12-28at3_55_27PM.png.7ee4944d4a369a9ac6bca8ebf9ef1865.png

Share this post


Link to post
Share on other sites
Advertisement
10 hours ago, onemanOSX said:

Hi,

I am stuck with getting around fixing 16 bits method here. I am able to get the fix 16 bit registers good, but this second part is holding me back.

 

Can anyone correct my code which is in error? Thanks!

 

 

477547762_Screenshot2018-12-28at3_55_27PM.png.7ee4944d4a369a9ac6bca8ebf9ef1865.png

 

Change to B1B2 (^^PCI0.LPCB.EC0.BCT0,^^PCI0.LPCB.EC0.BCT1)

Share this post


Link to post
Share on other sites

I am not able to patch PCI0.LPCB.EC0.MBCT with the code in the screenshot. replaceall_matched is already set as per your comment.

 

I can do it manually though, if thats what you are suggesting :)

Edited by onemanOSX

Share this post


Link to post
Share on other sites
18 hours ago, Andres ZeroCross said:

Do it manually,, my suggestion for manual patch,

 

for the sake of update, manually patch instead of automated code solved the battery fix as well.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×