[coreboot-gerrit] New patch to review for coreboot: d61b1f7 hp/pavilion_m6_1035dx: Add ACPI support for lid switch
Alexandru Gagniuc (mr.nuke.me@gmail.com)
gerrit at coreboot.org
Sun Apr 6 02:29:10 CEST 2014
Alexandru Gagniuc (mr.nuke.me at gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/5464
-gerrit
commit d61b1f73b5f23a58414bb5736671bb37ef537182
Author: Alexandru Gagniuc <mr.nuke.me at gmail.com>
Date: Sat Apr 5 19:26:56 2014 -0500
hp/pavilion_m6_1035dx: Add ACPI support for lid switch
This is sufficient to at least allow linux to recognize the lid switch
and read its state correctly.
Change-Id: Id5bd92466c72559f263c7ca8d23cbc741377a762
Signed-off-by: Alexandru Gagniuc <mr.nuke.me at gmail.com>
---
src/mainboard/hp/pavilion_m6_1035dx/acpi/mainboard.asl | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/src/mainboard/hp/pavilion_m6_1035dx/acpi/mainboard.asl b/src/mainboard/hp/pavilion_m6_1035dx/acpi/mainboard.asl
index 5c8fc67..47d7872 100644
--- a/src/mainboard/hp/pavilion_m6_1035dx/acpi/mainboard.asl
+++ b/src/mainboard/hp/pavilion_m6_1035dx/acpi/mainboard.asl
@@ -71,3 +71,15 @@
Store("Received PNOT call (probably from EC)", Debug)
/* TODO: Implement this */
}
+
+Scope (\_SB) {
+ Device (LID0)
+ {
+ Name(_HID, EisaId("PNP0C0D"))
+ Method(_LID, 0)
+ {
+ Store (GE22, \LIDS)
+ Return (\LIDS)
+ }
+ }
+}
More information about the coreboot-gerrit
mailing list