Stefan Ott has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/40669 )
Change subject: mb/lenovo/x230: Add support for ThinkLight ......................................................................
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
Unfortunately I do not own an X230 to test this.
Change-Id: Idd93b26f52eccb8fc79888f1e45117f26d694291 Signed-off-by: Stefan Ott stefan@ott.net --- M src/mainboard/lenovo/x230/dsdt.asl 1 file changed, 1 insertion(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/69/40669/1
diff --git a/src/mainboard/lenovo/x230/dsdt.asl b/src/mainboard/lenovo/x230/dsdt.asl index a03b252..c04195a 100644 --- a/src/mainboard/lenovo/x230/dsdt.asl +++ b/src/mainboard/lenovo/x230/dsdt.asl @@ -37,4 +37,5 @@ }
#include <southbridge/intel/common/acpi/sleepstates.asl> + #include <ec/lenovo/h8/acpi/lightlight.asl> }