Scope(_SB.PCI0.LPCB.H_EC)
{
OperationRegion(ECR, EmbeddedControl, Zero, 0xFF)
Field(ECR, ByteAcc, Lock, Preserve)
{
Offset(0x18), //Offset(24),
SPTR, 8,
SSTS, 8,
SADR, 8,
SCMD, 8,
SBFR, 256,
SCNT, 8,
Offset(0x50), //Offset(80),
CMDR, 8,
PPSL, 8,
PPSH, 8,
PINV, 8,
PENV, 8,
PSTP, 8,
CPUP, 16,
Offset(0x5C), //Offset(92),
TSR0, 8,
TSR1, 8,
TSR2, 8,
TSR3, 8,
TSR6, 8,
TSR7, 8,
TSD0, 8,
TSD1, 8,
TSD2, 8,
TSD3, 8,
CFSP, 16,
CHGR, 8,
TSI, 4,
HYST, 4,
TSHT, 8,
TSLT, 8,
TSSR, 8,
DPPF, 4,
Offset(0x71), //Offset(113),
ELG0, 8,
ELG1, 8,
ELG2, 8,
ELG3, 8,
ELG4, 8,
ELG5, 8,
ELG6, 8,
ELG7, 8,
ELG8, 8,
ELG9, 8,
, 8,
ECCS, 8,
, 8,
MDSW, 8,
BTEN, 8,
B1EX, 1,
, 1,
ACEX, 1,
, 5,
SWBE, 1,
DCBE, 1,
, 6,
WLST, 1,
OPST, 1,
, 6,
LSTE, 1,
CNVM, 1,
, 6,
B1ST, 8,
, 8,
EDPO, 8,
Offset(0x89), //Offset(137),
EMEN, 8,
, 8,
AGWC, 8,
Offset(0x8E), //Offset(142),
SLFL, 2,
Offset(0x90), //Offset(144),
SWST, 8,
BTPC, 16,
CLED, 2,
Offset(0x95), //Offset(149),
SCCW, 8,
CBTP, 8,
Offset(0x9A), //Offset(154),
VRMF, 8,
, 8,
SCAI, 8,
CSMF, 8,
CSST, 8,
EPTS, 8,
B1RR, 32,
B1PV, 32,
B2RR, 32,
B2PV, 32,
B1AF, 32,
B1VL, 32,
B2AF, 32,
B2VL, 32,
CTMP, 8,
, 8,
CET1, 8,
CET2, 8,
Offset(0xC7), //Offset(199),
TIST, 8,
Offset(0xD0), //Offset(208),
CYLC, 16,
}
}
Scope(_SB.PCI0.LPCB.H_EC)
{
Method(_Q40, 0, NotSerialized)
{
ADBG("Volume Up")
If(LAnd(LGreaterEqual(OSYS, 0x07DF), ^^^^HIDD.BTLD))
{
ADBG("Notify _HID 0xC4")
Notify(HIDD, 0xC4)
}
Else
{
If(And(PB1E, 0x20))
{
^VGBI.UPBT(0x02, One)
ADBG("Notify 0xC4")
Notify(VGBI, 0xC4)
}
}
}