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:52:47 +0000 |
commit | 88d16c33d442f9f34e1d0c131df3335a9d98913b (patch) | |
tree | c536731aac6c5f58f5c3105dda205034eff13669 | |
parent | 39fc181e558ca11a2d36590bef25ba6f163046ec (diff) | |
download | coreboot-88d16c33d442f9f34e1d0c131df3335a9d98913b.tar.xz |
mb/lenovo/t430s: Add support for ThinkLight
With this patch, the ThinkLight on the ThinkPad T430S 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 T430S to test this.
Change-Id: Ifa74f5373a6305d1237e7de6da35028e68f1e99c
Signed-off-by: Stefan Ott <stefan@ott.net>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/40717
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Alexander Couzens <lynxis@fe80.eu>
-rw-r--r-- | src/mainboard/lenovo/t430s/dsdt.asl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mainboard/lenovo/t430s/dsdt.asl b/src/mainboard/lenovo/t430s/dsdt.asl index f0964d3561..b83fe38daa 100644 --- a/src/mainboard/lenovo/t430s/dsdt.asl +++ b/src/mainboard/lenovo/t430s/dsdt.asl @@ -35,4 +35,5 @@ DefinitionBlock( } #include <southbridge/intel/common/acpi/sleepstates.asl> + #include <ec/lenovo/h8/acpi/thinklight.asl> } |