summaryrefslogtreecommitdiffstats
path: root/src/mainboard/lenovo/x200/dsdt.asl
diff options
context:
space:
mode:
authorStefan Ott <stefan@ott.net>2020-04-22 23:20:03 +0200
committerAngel Pons <th3fanbus@gmail.com>2020-04-25 15:28:52 +0000
commitb45912f453b52bfc01e66dc070fb33fad236d816 (patch)
treeb5651763b65ffbc2e0e2837f2e83d79554054a4f /src/mainboard/lenovo/x200/dsdt.asl
parentcd23084284d661174c1ebaabc25aba2c52de27c7 (diff)
downloadcoreboot-b45912f453b52bfc01e66dc070fb33fad236d816.tar.gz
coreboot-b45912f453b52bfc01e66dc070fb33fad236d816.tar.bz2
coreboot-b45912f453b52bfc01e66dc070fb33fad236d816.zip
mb/lenovo/x200: Add support for ThinkLight
With this patch, the ThinkLight on the ThinkPad X200 can be controlled through the OS. This was initially done for the X201 in f63fbdb6: mb/lenovo/x201: 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 I have tested it on an X200 with Kernel 5.4 and it seems to work fine. Change-Id: I14752ab33484122248959517e73f96b6783b1f65 Signed-off-by: Stefan Ott <stefan@ott.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/40620 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/mainboard/lenovo/x200/dsdt.asl')
-rw-r--r--src/mainboard/lenovo/x200/dsdt.asl2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mainboard/lenovo/x200/dsdt.asl b/src/mainboard/lenovo/x200/dsdt.asl
index 1357a3a9eafe..abe1c2736070 100644
--- a/src/mainboard/lenovo/x200/dsdt.asl
+++ b/src/mainboard/lenovo/x200/dsdt.asl
@@ -41,4 +41,6 @@ DefinitionBlock(
/* Dock support code */
#include "acpi/dock.asl"
+
+ #include <ec/lenovo/h8/acpi/thinklight.asl>
}