[coreboot-gerrit] New patch to review for coreboot: ec/lenovo/h8: Add mute microphone LED method
Nicola Corna (nicola@corna.info)
gerrit at coreboot.org
Sat Feb 11 15:12:07 CET 2017
Nicola Corna (nicola at corna.info) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/18329
-gerrit
commit 0537760d3485a511d64b234839231ca6b6657d7f
Author: Nicola Corna <nicola at corna.info>
Date: Sat Feb 11 14:52:24 2017 +0100
ec/lenovo/h8: Add mute microphone LED method
thinkpad_acpi expects a MMTS method to turn on/off the microphone
mute LED; without such method the LED is always off.
Tested on a X220T.
Change-Id: I578f95f9619a53fd35f8a8bfe5564aeb6c789212
Signed-off-by: Nicola Corna <nicola at corna.info>
---
src/ec/lenovo/h8/acpi/ec.asl | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/src/ec/lenovo/h8/acpi/ec.asl b/src/ec/lenovo/h8/acpi/ec.asl
index 497dde4..32ebc35 100644
--- a/src/ec/lenovo/h8/acpi/ec.asl
+++ b/src/ec/lenovo/h8/acpi/ec.asl
@@ -362,6 +362,18 @@ Device(EC)
{
Return (TBSW << 3)
}
+ /* Mute microphone LED */
+ Method (MMTS, 1, NotSerialized)
+ {
+ If (Arg0)
+ {
+ TLED(0x8E)
+ }
+ Else
+ {
+ TLED(0x0E)
+ }
+ }
/* Version */
Method (MHKV, 0, NotSerialized)
{
More information about the coreboot-gerrit
mailing list