| Age | Commit message (Collapse) | Author |
|
Access to USB-based APC UPS requires raw HID device support in kernel.
Fixes: d7452d1a846d5 ("package: Port apcupsd")
Signed-off-by: Phil Sutter <phil@nwl.cc>
|
|
Kudos to Fabrice Fontaine for coming up with this:
https://lore.kernel.org/buildroot/20240113100654.85904-1-fontaine.fabrice@gmail.com/
Signed-off-by: Phil Sutter <phil@nwl.cc>
|
|
For USB-connected UPSs, kernel's USB_HIDDEV option is required as the
daemon communicates via /dev/usb/hiddev* raw HID devices. Therefore make
USB_HID select USB_HIDDEV (shouldn't hurt much on other systems) and
select the former if the package is enabled.
Ship a config which defaults to USB-based UPSs as they are probably the
most common ones. Also install a minimal apccontrol which merely
remounts relevant filesystems read-only in case of near blackout. The
core OpenADK fs layout should tolerate pulling the plug as-is already.
Signed-off-by: Phil Sutter <phil@nwl.cc>
|