Implement sleep button and EC events as wakeup events. Print the wakeup
authorkettenis <kettenis@openbsd.org>
Tue, 25 Jun 2024 11:57:10 +0000 (11:57 +0000)
committerkettenis <kettenis@openbsd.org>
Tue, 25 Jun 2024 11:57:10 +0000 (11:57 +0000)
commitf3831b10f5c5f9b8fe11bc146b4c5b74a92fc5ba
tree0b37d3497e7ef87342e9cb4452d09e044996b252
parentd0e6442263de318a50af282e1a32828c443e1c71
Implement sleep button and EC events as wakeup events.  Print the wakeup
reason.

ok mglocker@, deraadt@
sys/dev/acpi/acpi.c
sys/dev/acpi/acpi_x86.c
sys/dev/acpi/acpiec.c
sys/dev/acpi/acpivar.h