From f01a7696f6f17de182ef6153f5dca4893d084910 Mon Sep 17 00:00:00 2001 From: Stefan Ott Date: Wed, 22 Apr 2020 23:20:03 +0200 Subject: mb/lenovo/x230: Add support for ThinkLight With this patch, the ThinkLight on the ThinkPad X230 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 Change-Id: Idd93b26f52eccb8fc79888f1e45117f26d694291 Signed-off-by: Stefan Ott Tested-by: Alexander Couzens Reviewed-on: https://review.coreboot.org/c/coreboot/+/40669 Reviewed-by: Alexander Couzens Reviewed-by: Angel Pons Tested-by: build bot (Jenkins) --- src/mainboard/lenovo/x230/dsdt.asl | 1 + 1 file changed, 1 insertion(+) (limited to 'src/mainboard/lenovo') diff --git a/src/mainboard/lenovo/x230/dsdt.asl b/src/mainboard/lenovo/x230/dsdt.asl index f0964d3561..b83fe38daa 100644 --- a/src/mainboard/lenovo/x230/dsdt.asl +++ b/src/mainboard/lenovo/x230/dsdt.asl @@ -35,4 +35,5 @@ DefinitionBlock( } #include + #include } -- cgit v1.2.3