|
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>
|