T60: undock on external power loss
[coreboot.git] / src / mainboard / lenovo / t60 / acpi / dock.asl
index ae9d19e40571beb91344e0d03c0cfa16714cbe4a..ba50609f3eb61a478f210037a36a4e1f8d06dacd 100644 (file)
@@ -88,4 +88,11 @@ Scope(\_SB.PCI0.LPCB.EC)
                        Notify(\_SB.DOCK, 3)
                }
        }
+
+       Method(_Q50, 0, NotSerialized)
+       {
+               if (\_SB.DOCK._STA()) {
+                       Notify(\_SB.DOCK, 1)
+               }
+       }
 }