diff options
author | Stefan Ott <stefan@ott.net> | 2020-04-22 23:20:03 +0200 |
---|---|---|
committer | Angel Pons <th3fanbus@gmail.com> | 2020-04-25 15:28:52 +0000 |
commit | b45912f453b52bfc01e66dc070fb33fad236d816 (patch) | |
tree | b5651763b65ffbc2e0e2837f2e83d79554054a4f /src/soc/cavium | |
parent | cd23084284d661174c1ebaabc25aba2c52de27c7 (diff) | |
download | coreboot-b45912f453b52bfc01e66dc070fb33fad236d816.tar.xz |
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/soc/cavium')
0 files changed, 0 insertions, 0 deletions