On Linux, these ACPI devices are exposed as evdev. This is useful for a bunch of things — libinput disables touchpads when the lid is closed, various DEs can show power-off dialogs when the power is pressed, etc. (While the latter should be doable with devd, a cross-platform solution is nicer.)
Details
Details
Tested libinput's touchpad disablement on my Pixelbook.
Couldn't test acpi_button: the Pixelbook power button is part of the *keyboard*, while on my desktop the button is not getting to that code for some reason.. (no devd event either)
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Skipped - Unit
Tests Skipped