diff options
author | Sven Schnelle <svens@stackframe.org> | 2011-06-12 14:35:11 +0200 |
---|---|---|
committer | Sven Schnelle <svens@stackframe.org> | 2011-06-15 08:51:18 +0200 |
commit | 4297a9a101f342ed9699848c8d55f26f78b3816c (patch) | |
tree | 4886f6f35e25238a418699d7f5bf4ee5786ccb54 /src/mainboard/lenovo/x60/acpi/ec.asl | |
parent | d29e5bb9335a7d185480a8a780b619d3a3151f11 (diff) |
X60: trigger save cmos on volume/brightness change
Change-Id: I020e06bc311c4e4327c9d3cf2c379dc8fe070a7a
Signed-off-by: Sven Schnelle <svens@stackframe.org>
Reviewed-on: http://review.coreboot.org/25
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/mainboard/lenovo/x60/acpi/ec.asl')
-rw-r--r-- | src/mainboard/lenovo/x60/acpi/ec.asl | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/mainboard/lenovo/x60/acpi/ec.asl b/src/mainboard/lenovo/x60/acpi/ec.asl index c3569e8c41..5c04339725 100644 --- a/src/mainboard/lenovo/x60/acpi/ec.asl +++ b/src/mainboard/lenovo/x60/acpi/ec.asl @@ -1 +1,24 @@ #include <ec/lenovo/h8/acpi/ec.asl> + +Scope(\_SB.PCI0.LPCB.EC) +{ + /* Volume down */ + Method(_Q1C, 0, NotSerialized) + { + Trap(SMI_SAVE_CMOS) + } + + /* Volume up */ + Method(_Q1D, 0, NotSerialized) + { + Trap(SMI_SAVE_CMOS) + } + + /* Mute key pressed */ + Method(_Q1E, 0, NotSerialized) + { + Trap(SMI_SAVE_CMOS) + } + + +} |