Stefan Ott has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/40678 )
Change subject: mb/lenovo/t60: Add support for ThinkLight
......................................................................
mb/lenovo/t60: Add support for ThinkLight
With this patch, the ThinkLight on the ThinkPad T60 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 a T60 to test this.
Change-Id: I47f878533d36857d002d2e2605cc8bc7e1d960c9
Signed-off-by: Stefan Ott <stefan(a)ott.net>
---
M src/mainboard/lenovo/t60/dsdt.asl
1 file changed, 2 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/78/40678/1
diff --git a/src/mainboard/lenovo/t60/dsdt.asl b/src/mainboard/lenovo/t60/dsdt.asl
index 51ff336..cab3ddb 100644
--- a/src/mainboard/lenovo/t60/dsdt.asl
+++ b/src/mainboard/lenovo/t60/dsdt.asl
@@ -48,4 +48,6 @@
// Dock support code
#include "acpi/dock.asl"
+
+ #include <ec/lenovo/h8/acpi/thinklight.asl>
}
--
To view, visit https://review.coreboot.org/c/coreboot/+/40678
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I47f878533d36857d002d2e2605cc8bc7e1d960c9
Gerrit-Change-Number: 40678
Gerrit-PatchSet: 1
Gerrit-Owner: Stefan Ott <coreboot(a)desire.ch>
Gerrit-MessageType: newchange