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> Reviewed-on: http://review.coreboot.org/5464 Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com> Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@google.com> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
This commit is contained in:
parent
27bb6ad046
commit
ac138976df
|
@ -71,3 +71,15 @@
|
||||||
Store("Received PNOT call (probably from EC)", Debug)
|
Store("Received PNOT call (probably from EC)", Debug)
|
||||||
/* TODO: Implement this */
|
/* TODO: Implement this */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Scope (\_SB) {
|
||||||
|
Device (LID0)
|
||||||
|
{
|
||||||
|
Name(_HID, EisaId("PNP0C0D"))
|
||||||
|
Method(_LID, 0)
|
||||||
|
{
|
||||||
|
Store (GE22, \LIDS)
|
||||||
|
Return (\LIDS)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue