Always call _PSW on _LID devices that support it to enable lid open to
authormarco <marco@openbsd.org>
Fri, 6 Aug 2010 21:12:27 +0000 (21:12 +0000)
committermarco <marco@openbsd.org>
Fri, 6 Aug 2010 21:12:27 +0000 (21:12 +0000)
commit7b7683c71a6c5af6a02a67d9768516cd22abfd2c
tree7de25d9859c77a4e838d210c26b0683abbe674a2
parentf949561d653e9e13116231ce2ce057003339c933
Always call _PSW on _LID devices that support it to enable lid open to
resume the machine.  Conversely disable it when the machine wakes up.

Tested by several ok deraadt
sys/dev/acpi/acpi.c
sys/dev/acpi/acpibtn.c
sys/dev/acpi/acpidev.h