diff options
author | Stefan Ott <stefan@ott.net> | 2020-04-22 23:20:03 +0200 |
---|---|---|
committer | Alexander Couzens <lynxis@fe80.eu> | 2020-05-22 09:48:53 +0000 |
commit | 65bd97c6360a0e5190e393b84bc6b2d2029439a3 (patch) | |
tree | e2f32fc447b6e949e17defb88506ce49f91e7030 /src/drivers/ipmi/ipmi_fru.c | |
parent | 020f5a79bf32d46b01f6a333332b85f9bad03571 (diff) |
mb/lenovo/t520: Add support for ThinkLight
With this patch, the ThinkLight on the ThinkPad T520 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 T520 to test this.
Change-Id: Iffc5dd2f23ee4896da633c18cbbf22c9e448edf1
Signed-off-by: Stefan Ott <stefan@ott.net>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/40718
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Alexander Couzens <lynxis@fe80.eu>
Diffstat (limited to 'src/drivers/ipmi/ipmi_fru.c')
0 files changed, 0 insertions, 0 deletions