diff options
-rw-r--r-- | src/ec/lenovo/h8/acpi/ec.asl | 3 | ||||
-rw-r--r-- | src/mainboard/lenovo/t60/acpi/dock.asl | 7 |
2 files changed, 10 insertions, 0 deletions
diff --git a/src/ec/lenovo/h8/acpi/ec.asl b/src/ec/lenovo/h8/acpi/ec.asl index 3ba4aa9819..368afa828d 100644 --- a/src/ec/lenovo/h8/acpi/ec.asl +++ b/src/ec/lenovo/h8/acpi/ec.asl @@ -35,6 +35,8 @@ Device(EC) HSPA, 1, Offset (0x0C), LEDS, 8, /* LED state */ + Offset (0x2a), + EVNT, 8, /* write will trigger EC event */ Offset (0x3a), AMUT, 1, /* Audio Mute */ Offset (0x3B), @@ -109,6 +111,7 @@ Device(EC) Method(_Q27, 0, NotSerialized) { Notify (AC, 0x80) + Store(0x50, EVNT) } Method(_Q2A, 0, NotSerialized) diff --git a/src/mainboard/lenovo/t60/acpi/dock.asl b/src/mainboard/lenovo/t60/acpi/dock.asl index ae9d19e405..ba50609f3e 100644 --- a/src/mainboard/lenovo/t60/acpi/dock.asl +++ b/src/mainboard/lenovo/t60/acpi/dock.asl @@ -88,4 +88,11 @@ Scope(\_SB.PCI0.LPCB.EC) Notify(\_SB.DOCK, 3) } } + + Method(_Q50, 0, NotSerialized) + { + if (\_SB.DOCK._STA()) { + Notify(\_SB.DOCK, 1) + } + } } |