Patchwork X60: Add notifications for LID objects

login
register
about
Submitter Sven Schnelle
Date 2011-03-15 21:25:50
Message ID <1300224350-2969-1-git-send-email-svens@stackframe.org>
Download mbox | patch
Permalink /patch/2795/
State Accepted
Headers show

Comments

Sven Schnelle - 2011-03-15 21:25:50
Signed-off-by: Sven Schnelle <svens@stackframe.org>
---
 src/mainboard/lenovo/x60/acpi/ec.asl |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

Patch

diff --git a/src/mainboard/lenovo/x60/acpi/ec.asl b/src/mainboard/lenovo/x60/acpi/ec.asl
index 7e2b94d..2318817 100644
--- a/src/mainboard/lenovo/x60/acpi/ec.asl
+++ b/src/mainboard/lenovo/x60/acpi/ec.asl
@@ -97,6 +97,16 @@  Device(EC)
 		Beep(6)
 	}
 
+	Method(_Q2A, 0, NotSerialized)
+	{
+		Notify(\_SB.PCI0.LPCB.EC.LID, 0x80)
+	}
+
+	Method(_Q2B, 0, NotSerialized)
+	{
+		Notify(\_SB.PCI0.LPCB.EC.LID, 0x80)
+	}
+
 
 #include "ac.asl"
 #include "battery.asl"