Alexandru Gagniuc (mr.nuke.me@gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/5464
-gerrit
commit 89bc913b6b1d378a60fd1aed6eb6880064a081ea Author: Alexandru Gagniuc mr.nuke.me@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@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) + } + } +}