Home

The sysutils/apcupsd port

apcupsd-3.14.14p6 – daemon for controlling APC UPSes (cvsweb github mirror)

Description

Apcupsd can be used for power mangement 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.
WWW: http://www.apcupsd.org/

Readme

+-----------------------------------------------------------------------
| Running ${PKGSTEM} 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

Maintainer

Kirill Bychkov

Multi-packages

apcupsd-3.14.14p6 apcupsd-cgi-3.14.14p3 apcupsd-x11-3.14.14p4

Only for arches

aarch64 alpha amd64 arm hppa i386 mips64 mips64el powerpc powerpc64 riscv64 sh sparc64

Categories

sysutils

Library dependencies

Build dependencies

Search