Contribute
Register

Problems with patching DSDT

Status
Not open for further replies.
Joined
Jun 5, 2018
Messages
33
Motherboard
ASUS ROG STRIX Z370-H Gaming
CPU
i5-8600K
Graphics
UHD 630
Mobile Phone
  1. iOS
I followed RehabMans Guide to get working battery status.
"Next we need to determine the offsets within the EC that these fields are placed. Keep in mind the sizes are in bits, but the offsets are in bytes. The offsets I have in the comments below are in hex. See if you can come up with the same numbers."
Code:
Field (ECOR, ByteAcc, NoLock, Preserve)
{
   Offset (0xA0),
   SBMX,128,//SBMN,128
}

Field (ECOR, ByteAcc, NoLock, Preserve)
{
   Offset (0xA0),
   SBDX,128,//SBDN,128
}
This is how it looks for me. Why is the offset 0xA0?

Also, when I try to compile it, I get this error:
Screen Shot 2019-09-27 at 21.25.13.png

in this line:
Code:
Name (_IRC, 0x00) // _IRC: Inrush Current

Do you have an idea what could be wrong?
 

Attachments

  • DSDT.dsl
    445 KB · Views: 39
Still needing help with this
 
Status
Not open for further replies.
Back
Top