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> }
Hello build bot (Jenkins), Alexander Couzens, Patrick Rudolph,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/40669
to look at the new patch set (#2).
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/2
Angel Pons has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/40669 )
Change subject: mb/lenovo/x230: Add support for ThinkLight ......................................................................
Patch Set 2: Code-Review+1
Waiting for test...
Paul Menzel has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/40669 )
Change subject: mb/lenovo/x230: Add support for ThinkLight ......................................................................
Patch Set 2:
Martin, it’d be great if you tested this.
Alexander Couzens has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/40669 )
Change subject: mb/lenovo/x230: Add support for ThinkLight ......................................................................
Patch Set 3: Code-Review+2
Alexander Couzens has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/40669 )
Change subject: mb/lenovo/x230: Add support for ThinkLight ......................................................................
Patch Set 3: Code-Review-2
LGTM and tested on a x230. I would like to merge this after the x230 is a variant.
Alexander Couzens has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/40669 )
Change subject: mb/lenovo/x230: Add support for ThinkLight ......................................................................
Patch Set 3: Code-Review+2
Alexander Couzens has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/40669 )
Change subject: mb/lenovo/x230: Add support for ThinkLight ......................................................................
Patch Set 3:
(1 comment)
https://review.coreboot.org/c/coreboot/+/40669/3//COMMIT_MSG Commit Message:
https://review.coreboot.org/c/coreboot/+/40669/3//COMMIT_MSG@20 PS3, Line 20: Unfortunately I do not own an X230 to test this. Can you remove this line and add "Tested-by: Alexander Couzens lynxis@fe80.eu"
Patrick Georgi has uploaded a new patch set (#4) to the change originally created by Stefan Ott. ( 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
Change-Id: Idd93b26f52eccb8fc79888f1e45117f26d694291 Signed-off-by: Stefan Ott stefan@ott.net Tested-by: Alexander Couzens lynxis@fe80.eu --- 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/4
Patrick Georgi has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/40669 )
Change subject: mb/lenovo/x230: Add support for ThinkLight ......................................................................
Patch Set 4:
(1 comment)
https://review.coreboot.org/c/coreboot/+/40669/3//COMMIT_MSG Commit Message:
https://review.coreboot.org/c/coreboot/+/40669/3//COMMIT_MSG@20 PS3, Line 20: Unfortunately I do not own an X230 to test this.
Can you remove this line and add […]
Done
Patrick Georgi has submitted this change. ( 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
Change-Id: Idd93b26f52eccb8fc79888f1e45117f26d694291 Signed-off-by: Stefan Ott stefan@ott.net Tested-by: Alexander Couzens lynxis@fe80.eu Reviewed-on: https://review.coreboot.org/c/coreboot/+/40669 Reviewed-by: Alexander Couzens lynxis@fe80.eu Reviewed-by: Angel Pons th3fanbus@gmail.com Tested-by: build bot (Jenkins) no-reply@coreboot.org --- M src/mainboard/lenovo/x230/dsdt.asl 1 file changed, 1 insertion(+), 0 deletions(-)
Approvals: build bot (Jenkins): Verified Alexander Couzens: Looks good to me, approved Angel Pons: Looks good to me, but someone else must approve
diff --git a/src/mainboard/lenovo/x230/dsdt.asl b/src/mainboard/lenovo/x230/dsdt.asl index f0964d3..b83fe38 100644 --- a/src/mainboard/lenovo/x230/dsdt.asl +++ b/src/mainboard/lenovo/x230/dsdt.asl @@ -35,4 +35,5 @@ }
#include <southbridge/intel/common/acpi/sleepstates.asl> + #include <ec/lenovo/h8/acpi/thinklight.asl> }
9elements QA has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/40669 )
Change subject: mb/lenovo/x230: Add support for ThinkLight ......................................................................
Patch Set 5:
Automatic boot test returned (PASS/FAIL/TOTAL): 4/0/4 Emulation targets: "QEMU x86 q35/ich9" using payload TianoCore : SUCCESS : https://lava.9esec.io/r/4628 "QEMU x86 q35/ich9" using payload SeaBIOS : SUCCESS : https://lava.9esec.io/r/4627 "QEMU x86 i440fx/piix4" using payload SeaBIOS : SUCCESS : https://lava.9esec.io/r/4626 "QEMU AArch64" using payload LinuxBoot_u-root_kexec : SUCCESS : https://lava.9esec.io/r/4625
Please note: This test is under development and might not be accurate at all!