X60: Add notification for LID objects
[coreboot.git] / src / mainboard / lenovo / x60 / acpi / ec.asl
index f18b66586e881e7140954d7c8000ba0b1cc74493..81532b86dbeb37c0ce19535ff810f64fec80d8c7 100644 (file)
@@ -37,8 +37,11 @@ Device(EC)
                Offset (0x3B),
                                    , 1,
                                KBLT, 1,        /* Keyboard Light */
+               Offset (0x4e),
+                              WAKE, 16,
                Offset (0x78),
                                TMP0, 8,        /* Thermal Zone 0 temperature */
+                               TMP1, 8,        /* Thermal Zone 1 temperature */
                Offset (0x81),
                                PAGE, 8         /* Information Page Selector */
         }
@@ -84,16 +87,24 @@ Device(EC)
        Method(_Q26, 0, NotSerialized)
        {
                Notify (AC, 0x80)
-               Beep(6)
        }
 
        /* AC status change: not present */
        Method(_Q27, 0, NotSerialized)
        {
                Notify (AC, 0x80)
-               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"