diff options
author | Stefan Ott <stefan@ott.net> | 2020-04-22 23:20:03 +0200 |
---|---|---|
committer | Alexander Couzens <lynxis@fe80.eu> | 2020-05-22 09:54:02 +0000 |
commit | da606d4114629f7b9816a6db981fb7b590a08e02 (patch) | |
tree | 50dc46f391e3bd8fb89a0fc675886b19afeae2ad /src/mainboard/lenovo/t400/dsdt.asl | |
parent | 88d16c33d442f9f34e1d0c131df3335a9d98913b (diff) |
mb/lenovo/t400: Add support for ThinkLight
With this patch, the ThinkLight on the ThinkPad T400 can be controlled
through the OS. The same change was done for the ThinkPad X200 in
b45912f4: mb/lenovo/x200: Add support for ThinkLight
After applying this patch, the light can be controlled like this:
echo on >/proc/acpi/ibm/light
echo off >/proc/acpi/ibm/light
Or through sysfs at /sys/class/leds/tpacpi::thinklight
Unfortunately I do not own a T400 to test this.
Change-Id: I377854d6f54c5459e44626a7d7b61c513268183e
Signed-off-by: Stefan Ott <stefan@ott.net>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/40713
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Alexander Couzens <lynxis@fe80.eu>
Diffstat (limited to 'src/mainboard/lenovo/t400/dsdt.asl')
-rw-r--r-- | src/mainboard/lenovo/t400/dsdt.asl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mainboard/lenovo/t400/dsdt.asl b/src/mainboard/lenovo/t400/dsdt.asl index 6ca09dffb0..a1325fb27a 100644 --- a/src/mainboard/lenovo/t400/dsdt.asl +++ b/src/mainboard/lenovo/t400/dsdt.asl @@ -43,4 +43,6 @@ DefinitionBlock( /* Dock support code */ #include "acpi/dock.asl" + + #include <ec/lenovo/h8/acpi/thinklight.asl> } |