daemon for controlling APC UPSes
Project homepage: http://www.apcupsd.org/
Description
Apcupsd can be used for power management and controlling most of APC's
UPS models. Apcupsd works with most of APC's Smart-UPS models as well as
most simple signalling models such a Back-UPS, and BackUPS-Office.
During a power failure, apcupsd will inform the users about the power
failure and that a shutdown may occur. If power is not restored, a
system shutdown will follow when the battery is exhausted, a timeout
(seconds) expires, or runtime expires based on internal APC calculations
determined by power consumption rates.
Package information
- Ports path
- sysutils/apcupsd
- Package architecture
- amd64
- Maintainer
- Kirill Bychkov <kirby@openbsd.org>
- Categories
- sysutils
- Available flavors
- no_x11
- Only for architectures
- aarch64, amd64, arm, i386, mips64, mips64el, powerpc, powerpc64, riscv64, sparc64, alpha, hppa, m88k, sh
Ports list build and test dependencies as well as runtime dependencies. pkg_add selects those needed for installation.
Direct dependencies
Library
Build
OpenBSD README
+-----------------------------------------------------------------------
| Running apcupsd on OpenBSD
+-----------------------------------------------------------------------
Special notice for APC USB devices
----------------------------------
Some APC USB devices are reported to only work with apcupsd if the
device is attached to ugen(4). Normally these devices attach to upd(4)
to provide system power sensors (see "sysctl hw.sensors"). If you are
having problems using such a device with NUT, you may need to prevent
this attachment.
The option with fewest side-effects is to add the following entries to
the table in /sys/dev/usb/usb_quirks.c and build a new kernel:
{ USB_VENDOR_APC, USB_PRODUCT_APC_UPS, ANY, { UQ_BAD_HID }},
{ USB_VENDOR_APC, USB_PRODUCT_APC_UPS5G, ANY, { UQ_BAD_HID }},
Alternatively, if you do not use a USB keyboard/mouse, you could simply
disable the upd and uhidev drivers. The following line creates a new kernel
with the relevant changes:
printf 'disable uhidev\ndisable upd\nquit\n' | config -e -o /bsd.no-uhid /bsd