summaryrefslogtreecommitdiff
path: root/src/mainboard/lenovo
diff options
context:
space:
mode:
authorStefan Ott <stefan@ott.net>2020-04-22 23:20:03 +0200
committerAlexander Couzens <lynxis@fe80.eu>2020-05-22 09:48:01 +0000
commit4e448fb79b426c6f7bdd0aa6fe2c4d0394e7de7c (patch)
tree52b0c24d337587a8c58774f07dc698c7db7c859d /src/mainboard/lenovo
parentaf90a1e6afd93bb4c42393ebd9a47b21e2222737 (diff)
mb/lenovo/t430: Add support for ThinkLight
With this patch, the ThinkLight on the ThinkPad T430 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 T430 to test this. Change-Id: I1fb1a9d3a84ce12ab9e3f22a699afbfd7cd1688f Signed-off-by: Stefan Ott <stefan@ott.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/40716 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Alexander Couzens <lynxis@fe80.eu>
Diffstat (limited to 'src/mainboard/lenovo')
-rw-r--r--src/mainboard/lenovo/t430/dsdt.asl1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mainboard/lenovo/t430/dsdt.asl b/src/mainboard/lenovo/t430/dsdt.asl
index bc11b8cbf8..87eab8c120 100644
--- a/src/mainboard/lenovo/t430/dsdt.asl
+++ b/src/mainboard/lenovo/t430/dsdt.asl
@@ -30,4 +30,5 @@ DefinitionBlock(
#include <southbridge/intel/bd82x6x/acpi/pch.asl>
}
}
+ #include <ec/lenovo/h8/acpi/thinklight.asl>
}