Arthur Heymans has uploaded a new change for review. ( https://review.coreboot.org/19542 )
Change subject: [UNTESTED]mb/lenovo/t400: Make dock LEDs behave like vendor bios ......................................................................
[UNTESTED]mb/lenovo/t400: Make dock LEDs behave like vendor bios
Fetched from vendor DSDT and same as smm T60 dock code. No idea if dock/undock events are correctly here, but it is certainly useful as a visual aid to see if those work.
Change-Id: Ia3ff479dba687216c537bc810ec561dfc98d25b1 Signed-off-by: Arthur Heymans arthur@aheymans.xyz --- M src/mainboard/lenovo/t400/acpi/dock.asl 1 file changed, 4 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/42/19542/1
diff --git a/src/mainboard/lenovo/t400/acpi/dock.asl b/src/mainboard/lenovo/t400/acpi/dock.asl index e2aa53e..11d52d1 100644 --- a/src/mainboard/lenovo/t400/acpi/dock.asl +++ b/src/mainboard/lenovo/t400/acpi/dock.asl @@ -27,10 +27,14 @@ if (Arg0) { /* connect dock */ Store (1, \GP28) + TLED(0x08, 0x00) + TLED(0x09, 0x80) Store (1, _SB.PCI0.LPCB.EC.DKR1) } else { /* disconnect dock */ Store (0, \GP28) + TLED(0x08, 0x00) + TLED(0x09, 0x00) Store (0, _SB.PCI0.LPCB.EC.DKR1) } Xor(Arg0, _SB.PCI0.LPCB.EC.DKR1, Local0)