RehabMan
Moderator
- Joined
- May 2, 2012
- Messages
- 181,058
- Motherboard
- Intel DH67BL
- CPU
- i7-2600K
- Graphics
- HD 3000
- Mac
- Mobile Phone
How to patch DSDT for working battery status
Simple math...
Field (ERAM, ByteAcc, NoLock, Preserve)
{
Offset (0x18),
SMPR, 8, //18
SMST, 8, //19
SMAD, 8, //1a
SMCM, 8, //1b
SMD0, 264, //1c
SMAA, 8,
Great guide RehabMan! My problem is: SMD0, 264, //Offset (??)
OperationRegion (ERAM, EmbeddedControl, Zero, 0xFF)
Field (ERAM, ByteAcc, NoLock, Preserve)
{
Offset (0x18),
SMPR, 8, //18
SMST, 8,
SMAD, 8,
SMCM, 8,
SMD0, 264, //??
SMAA, 8,
I read “ The offset of any given item is the offset of the prior item + prior item size in bytes, unless an Offset directive is used to change the effective offset” but i don’t understand because my english not good. Can you help me? Thank you very much!
Simple math...
Field (ERAM, ByteAcc, NoLock, Preserve)
{
Offset (0x18),
SMPR, 8, //18
SMST, 8, //19
SMAD, 8, //1a
SMCM, 8, //1b
SMD0, 264, //1c
SMAA, 8,