| ACPIBTN(4) | Device Drivers Manual | ACPIBTN(4) |
acpibtn — ACPI
button
acpibtn* at acpi?
The acpibtn driver handles events
triggered by ACPI buttons. Currently, only power button, sleep button and
lid status events are supported.
The power button event is handled according to the machdep.pwraction sysctl(8). Valid values are:
The sleep button event puts the system into suspend (deep sleep) state.
The lid status event is handled according to the machdep.lidaction sysctl. Valid values are:
The lid status is set up as a sensor and can be monitored using sysctl(8) or sensorsd(8).
The acpibtn driver first appeared in
OpenBSD 3.9.
The acpibtn driver was written by
Marco Peereboom
<marco@openbsd.org>.
| September 3, 2021 | openbsd |