From f039b8c3e2cda62463c612de7fde5492909cea0d Mon Sep 17 00:00:00 2001 From: Forkoz <59298527+Ph0rk0z@users.noreply.github.com> Date: Tue, 23 Feb 2021 11:28:59 -0600 Subject: [PATCH] Add red dot to the T440P led. It was just on all the time even in suspend. Now it only does the blinkadoodle in suspend and is off otherwise. Bug (or feature?): it's still on at cold boot, i guess you can tell if your system rebooted.... --- src/ec/lenovo/h8/acpi/systemstatus.asl | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/ec/lenovo/h8/acpi/systemstatus.asl b/src/ec/lenovo/h8/acpi/systemstatus.asl index a5793be2293..d3da9c3c1af 100644 --- a/src/ec/lenovo/h8/acpi/systemstatus.asl +++ b/src/ec/lenovo/h8/acpi/systemstatus.asl @@ -12,6 +12,8 @@ Scope (\_SI) \_SB.PCI0.LPCB.EC.TLED(0x00) /* suspend TLED off */ \_SB.PCI0.LPCB.EC.TLED(0x07) + /* Red Dot TLED off */ + \_SB.PCI0.LPCB.EC.TLED(0x0a) } If (LEqual (Arg0, 1)) { @@ -21,6 +23,8 @@ Scope (\_SI) \_SB.PCI0.LPCB.EC.TLED(0x80) /* suspend TLED off */ \_SB.PCI0.LPCB.EC.TLED(0x07) + /* Red Dot TLED off */ + \_SB.PCI0.LPCB.EC.TLED(0x0a) } If (LEqual (Arg0, 2)) { @@ -30,6 +34,8 @@ Scope (\_SI) \_SB.PCI0.LPCB.EC.TLED(0x80) /* suspend LED blinking */ \_SB.PCI0.LPCB.EC.TLED(0xc7) + /* red dot LED blinking */ + \_SB.PCI0.LPCB.EC.TLED(0xca) } If (LEqual (Arg0, 3)) { @@ -39,6 +45,8 @@ Scope (\_SI) \_SB.PCI0.LPCB.EC.TLED(0xa0) /* suspend TLED on */ \_SB.PCI0.LPCB.EC.TLED(0x87) + /* red dot TLED pulsing */ + \_SB.PCI0.LPCB.EC.TLED(0xaa) } } }