diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/ec/lenovo/h8/acpi/ec.asl | 5 | ||||
-rw-r--r-- | src/mainboard/lenovo/x201/acpi/platform.asl | 15 |
2 files changed, 20 insertions, 0 deletions
diff --git a/src/ec/lenovo/h8/acpi/ec.asl b/src/ec/lenovo/h8/acpi/ec.asl index ed62afeb0f..eed0e162a7 100644 --- a/src/ec/lenovo/h8/acpi/ec.asl +++ b/src/ec/lenovo/h8/acpi/ec.asl @@ -107,6 +107,11 @@ Device(EC) Store(Arg0, USPW) } + Method (LGHT, 1, NotSerialized) + { + Store(Arg0, KBLT) + } + /* Sleep Button pressed */ Method(_Q13, 0, NotSerialized) diff --git a/src/mainboard/lenovo/x201/acpi/platform.asl b/src/mainboard/lenovo/x201/acpi/platform.asl index 3aa12e9f88..0a6d5f3448 100644 --- a/src/mainboard/lenovo/x201/acpi/platform.asl +++ b/src/mainboard/lenovo/x201/acpi/platform.asl @@ -67,6 +67,21 @@ Method(_WAK,1) Return(Package(){0,0}) } +Method(UCMS, 1, Serialized) +{ + Switch(ToInteger(Arg0)) + { + Case (0x0c) /* Turn on ThinkLight */ + { + \_SB.PCI0.LPCB.EC.LGHT(1) + } + Case (0x0d) /* Turn off ThinkLight */ + { + \_SB.PCI0.LPCB.EC.LGHT(0) + } + } +} + /* System Bus */ Scope(\_SB) |