summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ec/lenovo/h8/acpi/ec.asl8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/ec/lenovo/h8/acpi/ec.asl b/src/ec/lenovo/h8/acpi/ec.asl
index b69acf82da..497dde4df7 100644
--- a/src/ec/lenovo/h8/acpi/ec.asl
+++ b/src/ec/lenovo/h8/acpi/ec.asl
@@ -32,6 +32,9 @@ Device(EC)
HSPA, 1,
Offset (0x0C),
LEDS, 8, /* LED state */
+ Offset (0x0F),
+ , 7,
+ TBSW, 1, /* Tablet mode switch */
Offset (0x1a),
DKR2, 1, /* Dock register 2 */
Offset (0x2a),
@@ -354,6 +357,11 @@ Device(EC)
{
Return (0x07FFFFFF)
}
+ /* Report tablet mode switch state */
+ Method (MHKG, 0, NotSerialized)
+ {
+ Return (TBSW << 3)
+ }
/* Version */
Method (MHKV, 0, NotSerialized)
{