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@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> }
Angel Pons has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/40678 )
Change subject: mb/lenovo/t60: Add support for ThinkLight ......................................................................
Patch Set 1: Code-Review+1
Waiting for test...
Paul Menzel has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/40678 )
Change subject: mb/lenovo/t60: Add support for ThinkLight ......................................................................
Patch Set 1:
I should be able to test this next week.
Attention is currently required from: Stefan Ott. Alexander Couzens has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/40678 )
Change subject: mb/lenovo/t60: Add support for ThinkLight ......................................................................
Patch Set 2: Code-Review+2
Attention is currently required from: Stefan Ott, Alexander Couzens. Angel Pons has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/40678 )
Change subject: mb/lenovo/t60: Add support for ThinkLight ......................................................................
Patch Set 2:
(2 comments)
Commit Message:
https://review.coreboot.org/c/coreboot/+/40678/comment/91710b94_fe058d9f PS2, Line 20: Unfortunately I do not own a T60 to test this. If this patch has now been tested, this should be dropped. I'd also add a Tested-by tag.
Patchset:
PS2: Hi Alexander, were you able to test this patch? If so, I'd suggest updating the commit message.
Attention is currently required from: Stefan Ott, Angel Pons. Alexander Couzens has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/40678 )
Change subject: mb/lenovo/t60: Add support for ThinkLight ......................................................................
Patch Set 2:
(1 comment)
Commit Message:
https://review.coreboot.org/c/coreboot/+/40678/comment/5cb9967f_abc8db94 PS2, Line 20: Unfortunately I do not own a T60 to test this.
If this patch has now been tested, this should be dropped. I'd also add a Tested-by tag.
No I didn't tested it (yet). But my educated guess it, it's working just that way. I'll try to test it on x60.
Attention is currently required from: Stefan Ott, Angel Pons, Alexander Couzens. Cuno has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/40678 )
Change subject: mb/lenovo/t60: Add support for ThinkLight ......................................................................
Patch Set 3:
(1 comment)
Commit Message:
https://review.coreboot.org/c/coreboot/+/40678/comment/99a2dcd4_8ae05490 PS2, Line 20: Unfortunately I do not own a T60 to test this.
No I didn't tested it (yet). But my educated guess it, it's working just that way. […]
I tested this and it works on both T60 and R60.
Attention is currently required from: Stefan Ott, Angel Pons, Alexander Couzens. Paul Menzel has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/40678 )
Change subject: mb/lenovo/t60: Add support for ThinkLight ......................................................................
Patch Set 3: Code-Review+1
(1 comment)
Patchset:
PS3: Awesome, thank you for testing.
PS: If you own a Lenovo T60, it’d be great if you uploaded the logs from an image built from the master branch (maybe after this change-set is merged) to the board status repository (cf. `util/board_status/board_status.sh`).
Attention is currently required from: Stefan Ott, Alexander Couzens, Cuno. Angel Pons has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/40678 )
Change subject: mb/lenovo/t60: Add support for ThinkLight ......................................................................
Patch Set 3: Code-Review+1
(1 comment)
Commit Message:
https://review.coreboot.org/c/coreboot/+/40678/comment/ec934779_2d181c7b PS2, Line 20: Unfortunately I do not own a T60 to test this.
I tested this and it works on both T60 and R60.
Thanks!
@Stefan, could you please remove this line?
Attention is currently required from: Stefan Ott, Angel Pons, Alexander Couzens, Cuno. Name of user not set #1004271 has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/40678 )
Change subject: mb/lenovo/t60: Add support for ThinkLight ......................................................................
Patch Set 3:
(1 comment)
Commit Message:
https://review.coreboot.org/c/coreboot/+/40678/comment/68859162_bfd58e20 PS2, Line 20: Unfortunately I do not own a T60 to test this.
I tested this and it works on both T60 and R60. […]
Can confirm this still works on T60 on master pulled today.
Attention is currently required from: Stefan Ott, Angel Pons, Alexander Couzens, Cuno. Hello build bot (Jenkins), Paul Menzel, Angel Pons, Alexander Couzens, Patrick Rudolph,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/40678
to look at the new patch set (#4).
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
Change-Id: I47f878533d36857d002d2e2605cc8bc7e1d960c9 Signed-off-by: Stefan Ott stefan@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/4
Attention is currently required from: Angel Pons, Name of user not set #1004271, Alexander Couzens, Cuno. Stefan Ott has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/40678 )
Change subject: mb/lenovo/t60: Add support for ThinkLight ......................................................................
Patch Set 4:
(2 comments)
Commit Message:
https://review.coreboot.org/c/coreboot/+/40678/comment/dde00bdc_0c7e7a0e PS2, Line 20: Unfortunately I do not own a T60 to test this.
Can confirm this still works on T60 on master pulled today.
Done
Patchset:
PS4: Thank you
Attention is currently required from: Stefan Ott, Angel Pons, Name of user not set #1004271, Alexander Couzens, Cuno. Felix Singer has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/40678 )
Change subject: mb/lenovo/t60: Add support for ThinkLight ......................................................................
Patch Set 4:
(1 comment)
Commit Message:
https://review.coreboot.org/c/coreboot/+/40678/comment/48567630_1ec93377 PS4, Line 21: Signed-off-by: Stefan Ott stefan@ott.net Add a Tested-by line
Attention is currently required from: Felix Singer, Angel Pons, Name of user not set #1004271, Alexander Couzens, Cuno. Stefan Ott has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/40678 )
Change subject: mb/lenovo/t60: Add support for ThinkLight ......................................................................
Patch Set 4:
(1 comment)
Commit Message:
https://review.coreboot.org/c/coreboot/+/40678/comment/25419f27_3059d35b PS4, Line 21: Signed-off-by: Stefan Ott stefan@ott.net
Add a Tested-by line
Should I add that or can the testers add that themselves?
Attention is currently required from: Stefan Ott, Angel Pons, Name of user not set #1004271, Alexander Couzens, Cuno. Felix Singer has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/40678 )
Change subject: mb/lenovo/t60: Add support for ThinkLight ......................................................................
Patch Set 4:
(1 comment)
Commit Message:
https://review.coreboot.org/c/coreboot/+/40678/comment/470b4d88_17a68a7d PS4, Line 21: Signed-off-by: Stefan Ott stefan@ott.net
Should I add that or can the testers add that themselves?
Can be added by anyone.
Attention is currently required from: Stefan Ott, Angel Pons, Name of user not set #1004271, Alexander Couzens, Cuno. Paul Menzel has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/40678 )
Change subject: mb/lenovo/t60: Add support for ThinkLight ......................................................................
Patch Set 4: Code-Review+1
(1 comment)
Patchset:
PS4: Side note, WinterSolstice8 [uploaded the logs (without this patch) to the board status repository]():
lenovo/t60/4.16-536-g662353ac3e/2022-04-06T23_42_56Z
Note, coreboot and SeaBIOS both execute the ATI/AMD Video/VGA BIOS Option ROM. If SeaBIOS is used as payload, it’s recommended, that only SeaBIOS runs it, but of course that means you’d need to rebuild coreboot if you want to change the payload to one not able to execute Option ROMs.
[1]: https://review.coreboot.org/plugins/gitiles/board-status/+/1ef7bc3b831dac18f...
Attention is currently required from: Stefan Ott, Name of user not set #1004271, Alexander Couzens, Cuno. Angel Pons has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/40678 )
Change subject: mb/lenovo/t60: Add support for ThinkLight ......................................................................
Patch Set 4: Code-Review+2
Attention is currently required from: Stefan Ott, Martin Roth, Name of user not set #1004271, Alexander Couzens, Cuno. Hello build bot (Jenkins), Paul Menzel, Angel Pons, Alexander Couzens, Patrick Rudolph,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/40678
to look at the new patch set (#6).
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
Change-Id: I47f878533d36857d002d2e2605cc8bc7e1d960c9 Signed-off-by: Stefan Ott stefan@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/6
Stefan Ott has abandoned this change. ( https://review.coreboot.org/c/coreboot/+/40678 )
Change subject: mb/lenovo/t60: Add support for ThinkLight ......................................................................
Abandoned
Stefan Ott has restored this change. ( https://review.coreboot.org/c/coreboot/+/40678 )
Change subject: mb/lenovo/t60: Add support for ThinkLight ......................................................................
Restored
Attention is currently required from: Name of user not set #1004271. Stefan Ott has removed Alexander Couzens from this change. ( https://review.coreboot.org/c/coreboot/+/40678 )
Change subject: mb/lenovo/t60: Add support for ThinkLight ......................................................................
Removed reviewer Alexander Couzens.
Attention is currently required from: Name of user not set #1004271. Stefan Ott has removed Cuno from this change. ( https://review.coreboot.org/c/coreboot/+/40678 )
Change subject: mb/lenovo/t60: Add support for ThinkLight ......................................................................
Removed cc Cuno.
Attention is currently required from: Name of user not set #1004271. Stefan Ott has removed Paul Menzel from this change. ( https://review.coreboot.org/c/coreboot/+/40678 )
Change subject: mb/lenovo/t60: Add support for ThinkLight ......................................................................
Removed reviewer Paul Menzel.
Attention is currently required from: Name of user not set #1004271. Stefan Ott has removed Patrick Rudolph from this change. ( https://review.coreboot.org/c/coreboot/+/40678 )
Change subject: mb/lenovo/t60: Add support for ThinkLight ......................................................................
Removed reviewer Patrick Rudolph.
Attention is currently required from: Name of user not set #1004271. Stefan Ott has removed Angel Pons from this change. ( https://review.coreboot.org/c/coreboot/+/40678 )
Change subject: mb/lenovo/t60: Add support for ThinkLight ......................................................................
Removed reviewer Angel Pons.
Attention is currently required from: Name of user not set #1004271. Stefan Ott has removed Maciej Matuszczyk from this change. ( https://review.coreboot.org/c/coreboot/+/40678 )
Change subject: mb/lenovo/t60: Add support for ThinkLight ......................................................................
Removed cc Maciej Matuszczyk.
Attention is currently required from: Name of user not set #1004271. Stefan Ott has removed Felix Singer from this change. ( https://review.coreboot.org/c/coreboot/+/40678 )
Change subject: mb/lenovo/t60: Add support for ThinkLight ......................................................................
Removed cc Felix Singer.
Attention is currently required from: Name of user not set #1004271. Stefan Ott has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/40678 )
Change subject: mb/lenovo/t60: Add support for ThinkLight ......................................................................
Patch Set 7:
(2 comments)
Commit Message:
https://review.coreboot.org/c/coreboot/+/40678/comment/655c64e1_d5f9f075 PS2, Line 20: Unfortunately I do not own a T60 to test this.
Done
WinterSolstice8, would you mind adding a Tested-by line to the comment?
Patchset:
PS7: WinterSolstice8, would you mind adding a Tested-by line to the comment?
Attention is currently required from: Stefan Ott, Name of user not set #1004271. Angel Pons has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/40678 )
Change subject: mb/lenovo/t60: Add support for ThinkLight ......................................................................
Patch Set 7: Code-Review+1
Attention is currently required from: Stefan Ott, Name of user not set #1004271. Angel Pons has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/40678 )
Change subject: mb/lenovo/t60: Add support for ThinkLight ......................................................................
Patch Set 7: Code-Review+2
(1 comment)
Commit Message:
https://review.coreboot.org/c/coreboot/+/40678/comment/f3796bbb_97dbb6f8 PS4, Line 21: Signed-off-by: Stefan Ott stefan@ott.net
Can be added by anyone.
Yes, you can add it yourself
Attention is currently required from: Stefan Ott, Angel Pons, Name of user not set #1004271. Paul Menzel has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/40678 )
Change subject: mb/lenovo/t60: Add support for ThinkLight ......................................................................
Patch Set 7:
(1 comment)
Commit Message:
https://review.coreboot.org/c/coreboot/+/40678/comment/2bb80318_a7ff87bc PS2, Line 20: Unfortunately I do not own a T60 to test this.
WinterSolstice8, would you mind adding a Tested-by line to the comment?
I think it’s formally not needed, and you can just tag the comment as resolved.
Attention is currently required from: Paul Menzel, Angel Pons, Name of user not set #1004271. Stefan Ott has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/40678 )
Change subject: mb/lenovo/t60: Add support for ThinkLight ......................................................................
Patch Set 7:
(3 comments)
Commit Message:
https://review.coreboot.org/c/coreboot/+/40678/comment/48ced88c_4910c8b0 PS2, Line 20: Unfortunately I do not own a T60 to test this.
I think it’s formally not needed, and you can just tag the comment as resolved.
Ack
Commit Message:
https://review.coreboot.org/c/coreboot/+/40678/comment/09e028fb_eb2c091f PS4, Line 21: Signed-off-by: Stefan Ott stefan@ott.net
Yes, you can add it yourself
Ack
Patchset:
PS7: Okay, thanks
Werner Zeh has submitted this change. ( 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
Change-Id: I47f878533d36857d002d2e2605cc8bc7e1d960c9 Signed-off-by: Stefan Ott stefan@ott.net Reviewed-on: https://review.coreboot.org/c/coreboot/+/40678 Tested-by: build bot (Jenkins) no-reply@coreboot.org Reviewed-by: Angel Pons th3fanbus@gmail.com Reviewed-by: Paul Menzel paulepanter@mailbox.org --- M src/mainboard/lenovo/t60/dsdt.asl 1 file changed, 2 insertions(+), 0 deletions(-)
Approvals: build bot (Jenkins): Verified Paul Menzel: Looks good to me, but someone else must approve Angel Pons: Looks good to me, approved
diff --git a/src/mainboard/lenovo/t60/dsdt.asl b/src/mainboard/lenovo/t60/dsdt.asl index 5847580..a2800a7 100644 --- a/src/mainboard/lenovo/t60/dsdt.asl +++ b/src/mainboard/lenovo/t60/dsdt.asl @@ -47,4 +47,6 @@
// Dock support code #include "acpi/dock.asl" + + #include <ec/lenovo/h8/acpi/thinklight.asl> }
9elements QA has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/40678 )
Change subject: mb/lenovo/t60: Add support for ThinkLight ......................................................................
Patch Set 8:
Automatic boot test returned (PASS/FAIL/TOTAL): 3 / 8 / 11
PASS: x86_32 "Hermes CFL" , build config PRODRIVE_HERMES_ and payload TianoCore_UefiPayloadPkg : https://lava.9esec.io/r/103597 PASS: x86_32 "Hermes CFL" , build config PRODRIVE_HERMES and payload TianoCore_UefiPayloadPkg : https://lava.9esec.io/r/103596 FAIL: x86_32 "ThinkPad T500" , build config LENOVO_T500 and payload SeaBIOS : https://lava.9esec.io/r/103595 PASS: x86_32 "HP Z220 SFF Workstation" , build config HP_Z220_SFF_WORKSTATION and payload LinuxBoot_BB_kexec : https://lava.9esec.io/r/103594 FAIL: x86_64 "HP Compaq 8200 Elite SFF PC" , build config HP_COMPAQ_8200_ELITE_SFF_PC.X86_64 and payload TianoCore : https://lava.9esec.io/r/103593 FAIL: x86_64 "HP Compaq 8200 Elite SFF PC" , build config HP_COMPAQ_8200_ELITE_SFF_PC.X86_64 and payload SeaBIOS : https://lava.9esec.io/r/103592 FAIL: x86_32 "HP Compaq 8200 Elite SFF PC" , build config HP_COMPAQ_8200_ELITE_SFF_PC and payload TianoCore : https://lava.9esec.io/r/103591 FAIL: x86_32 "HP Compaq 8200 Elite SFF PC" , build config HP_COMPAQ_8200_ELITE_SFF_PC and payload SeaBIOS : https://lava.9esec.io/r/103590 FAIL: x86_64 "QEMU x86 i440fx/piix4" , build config EMULATION_QEMU_X86_I440FX_X86_64 and payload SeaBIOS : https://lava.9esec.io/r/103589 FAIL: x86_32 "QEMU x86 i440fx/piix4" , build config EMULATION_QEMU_X86_I440FX_ASAN and payload SeaBIOS : https://lava.9esec.io/r/103588 FAIL: x86_32 "QEMU x86 i440fx/piix4" , build config EMULATION_QEMU_X86_I440FX and payload SeaBIOS : https://lava.9esec.io/r/103586
Please note: This test is under development and might not be accurate at all!