- Joined
- Jun 5, 2018
- Messages
- 33
- Motherboard
- ASUS ROG STRIX Z370-H Gaming
- CPU
- i5-8600K
- Graphics
- UHD 630
- Mobile Phone
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."
This is how it looks for me. Why is the offset 0xA0?
Also, when I try to compile it, I get this error:
in this line:
Do you have an idea what could be wrong?
"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
}
Also, when I try to compile it, I get this error:
in this line:
Code:
Name (_IRC, 0x00) // _IRC: Inrush Current
Do you have an idea what could be wrong?