Skip to content

Instantly share code, notes, and snippets.

@philmb3487
Created January 26, 2017 09:15
Show Gist options
  • Save philmb3487/827c136454d25b859668430b3aefb823 to your computer and use it in GitHub Desktop.
Save philmb3487/827c136454d25b859668430b3aefb823 to your computer and use it in GitHub Desktop.
ACPI X240 BATTERY EC
Offset (0xB0),
// HDEN, 32,
// HDEP, 32,
DEN0
DEN1
DEN2
DEN3
DEP0
DEP1
DEP2
DEP3
@philmb3487
Copy link
Author

New Fields

                Field (ECOR, ByteAcc, NoLock, Preserve)
                {
                    Offset (0xA0), 
                    BRC0,   8, 
                    BRC1,   8, 
                    BFC0,   8,
                    BFC1,   8,
                    BAE0,   8,
                    BAE1,   8, 
                    BRS0,   8,
                    BRS1,   8, 
                    BAC0,   8,
                    BAC1,   8, 
                    BVO0,   8,
                    BVO1,   8, 
                    BAF0,   8,
                    BAF1,   8, 
                    BBS0,   8,
                    BBS1,   8,
                }

                Field (ECOR, ByteAcc, NoLock, Preserve)
                {
                    Offset (0xA0), 
                    BBM0,   8, 
                    BBM1,   8,
                    BMD0,   8,
                    BMD1,   8, 
                    BCC0,   8,
                    BCC1,   8,
                }

                Field (ECOR, ByteAcc, NoLock, Preserve)
                {
                    Offset (0xA0), 
                    BDC0,   8,
                    BDC1,   8,
                    BDV0,   8,
                    BDV1,   8, 
                    BOM0,   8,
                    BOM1,   8, 
                    BSI0,   8,
                    BSI1,   8, 
                    BDT0,   8,
                    BDT1,   8, 
                    BSN0,   8,
                    BSN1,   8,
                }

@philmb3487
Copy link
Author

New Fields

                Field (ECOR, ByteAcc, NoLock, Preserve)
                {
                    Offset (0xA0), 
                    BRC0,   8, 
                    BRC1,   8, 
                    BFC0,   8,
                    BFC1,   8,
                    BAE0,   8,
                    BAE1,   8, 
                    BRS0,   8,
                    BRS1,   8, 
                    BAC0,   8,
                    BAC1,   8, 
                    BVO0,   8,
                    BVO1,   8, 
                    BAF0,   8,
                    BAF1,   8, 
                    BBS0,   8,
                    BBS1,   8,
                }

                Field (ECOR, ByteAcc, NoLock, Preserve)
                {
                    Offset (0xA0), 
                    BBM0,   8, 
                    BBM1,   8,
                    BMD0,   8,
                    BMD1,   8, 
                    BCC0,   8,
                    BCC1,   8,
                }

                Field (ECOR, ByteAcc, NoLock, Preserve)
                {
                    Offset (0xA0), 
                    BDC0,   8,
                    BDC1,   8,
                    BDV0,   8,
                    BDV1,   8, 
                    BOM0,   8,
                    BOM1,   8, 
                    BSI0,   8,
                    BSI1,   8, 
                    BDT0,   8,
                    BDT1,   8, 
                    BSN0,   8,
                    BSN1,   8,
                }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment