[coreboot] [commit] r6479 - trunk/src/mainboard/lenovo/x60/acpi
repository service
svn at coreboot.org
Mon Apr 4 17:19:59 CEST 2011
Author: svens
Date: Mon Apr 4 17:19:59 2011
New Revision: 6479
URL: https://tracker.coreboot.org/trac/coreboot/changeset/6479
Log:
X60: assert audio mute before entering Suspend
Signed-off-by: Sven Schnelle <svens at stackframe.org>
Acked-by: Sven Schnelle <svens at stackframe.org>
Modified:
trunk/src/mainboard/lenovo/x60/acpi/ec.asl
trunk/src/mainboard/lenovo/x60/acpi/platform.asl
Modified: trunk/src/mainboard/lenovo/x60/acpi/ec.asl
==============================================================================
--- trunk/src/mainboard/lenovo/x60/acpi/ec.asl Mon Apr 4 14:33:54 2011 (r6478)
+++ trunk/src/mainboard/lenovo/x60/acpi/ec.asl Mon Apr 4 17:19:59 2011 (r6479)
@@ -35,6 +35,8 @@
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 @@
{
}
+ Method (MUTE, 1, NotSerialized)
+ {
+ Store(Arg0, AMUT)
+ }
+
/* Sleep Button pressed */
Method(_Q13, 0, NotSerialized)
{
Modified: trunk/src/mainboard/lenovo/x60/acpi/platform.asl
==============================================================================
--- trunk/src/mainboard/lenovo/x60/acpi/platform.asl Mon Apr 4 14:33:54 2011 (r6478)
+++ trunk/src/mainboard/lenovo/x60/acpi/platform.asl Mon Apr 4 17:19:59 2011 (r6479)
@@ -67,8 +67,7 @@
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 */
More information about the coreboot
mailing list