Package: apcupsd Version: 3.14.14-0.2 Severity: normal
Would it be possible to build this package with the --enable-modbus-usb option passed to configure? Without it, it's impossible to get some of the more detailed diagnostic information (line voltage, load, etc) out of newer UPS's.
There are several threads on the APC forums as well info in the apcupsd manual but to make a long story short,a few years ago APC introduced a new proprietary protocol (Microlink). After doing this, they eviscerated the old protocol making it impossible to get anything other than only the most basic diagnostic info out of the UPS unless you used their powerchute software. There was a great deal of backlash from the Linux community so they eventually added another protocol called MODBUS. They released information on this protocol but it was a pain to set up (you either need a newish UPS (~2013) or a firmware update for older ones and modbus needs to be explicitly enabled via advanced configuration on the front plate). Serial support for modbus was added a while back but USB support is fairly new (3.14.13) and is by default not compiled in.
If I manually compile apcupsd with the --enable-modbus-usb option, all of the diagnostic information is present so I suspect the released package is just missing this option.
-- System Information: Debian Release: stretch/sid APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Kernel: Linux 4.7.0-1-686-pae (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) Versions of packages apcupsd depends on: ii libc6 2.24-5 ii libgcc1 1:6.2.0-10 ii libwrap0 7.6.q-25 Versions of packages apcupsd recommends: ii apcupsd-doc 3.14.14-0.2 ii s-nail [mailx] 14.8.14-1 Versions of packages apcupsd suggests: pn apcupsd-cgi <none> ii udev 232-3