aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mainboard/lenovo/x60/acpi/ec.asl7
-rw-r--r--src/mainboard/lenovo/x60/acpi/platform.asl3
2 files changed, 8 insertions, 2 deletions
diff --git a/src/mainboard/lenovo/x60/acpi/ec.asl b/src/mainboard/lenovo/x60/acpi/ec.asl
index 043b72ef56..85ea4914ba 100644
--- a/src/mainboard/lenovo/x60/acpi/ec.asl
+++ b/src/mainboard/lenovo/x60/acpi/ec.asl
@@ -35,6 +35,8 @@ Device(EC)
HSPA, 1,
Offset (0x0C),
LEDS, 8, /* LED state */
+ Offset (0x3a),
+ AMUT, 1, /* Audio Mute */
Offset (0x3B),
, 1,
KBLT, 1, /* Keyboard Light */
@@ -66,6 +68,11 @@ Device(EC)
{
}
+ Method (MUTE, 1, NotSerialized)
+ {
+ Store(Arg0, AMUT)
+ }
+
/* Sleep Button pressed */
Method(_Q13, 0, NotSerialized)
{
diff --git a/src/mainboard/lenovo/x60/acpi/platform.asl b/src/mainboard/lenovo/x60/acpi/platform.asl
index 1cd5c66932..85a987bae0 100644
--- a/src/mainboard/lenovo/x60/acpi/platform.asl
+++ b/src/mainboard/lenovo/x60/acpi/platform.asl
@@ -67,8 +67,7 @@ Method(_PIC, 1)
Method(_PTS,1)
{
- // Call a trap so SMI can prepare for Sleep as well.
- // TRAP(0x55)
+ \_SB.PCI0.LPCB.EC.MUTE(1)
}
/* The _WAK method is called on system wakeup */