Source: apcupsd Version: 3.14.14-2 Severity: wishlist Once upon a time, the world was made of PS/2, parallel and serial ports. APC UPS devices used the former and, for the longest time, apcupsd served us well by talking to those devices on the serial port.
But since then, the USB standard was invented. And most (all?) APC devices have moved over to this new "serial" standard. This implies that, by default, apcupsd does not work in the default configuration shipped with the Debian package. I would suggest the following change be made in the default configuration, so that it works outside the box: root@marcos:/etc# git diff diff --git a/apcupsd/apcupsd.conf b/apcupsd/apcupsd.conf index 76861e07..02985179 100644 --- a/apcupsd/apcupsd.conf +++ b/apcupsd/apcupsd.conf @@ -87,7 +87,7 @@ UPSCABLE usb # (helpful if you have more than one USB UPS). # UPSTYPE usb -DEVICE /dev/ttyS0 +#DEVICE /dev/ttyS0 # POLLTIME <int> # Interval (in seconds) at which apcupsd polls the UPS for status. This It's the only change I had to do to make my APC 1500VA UPS work at home, and it now works like a charm. Thanks for maintaining this package! -- System Information: Debian Release: 10.3 APT prefers stable-debug APT policy: (500, 'stable-debug'), (500, 'stable'), (1, 'experimental'), (1, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 4.19.0-8-amd64 (SMP w/4 CPU cores) Locale: LANG=fr_CA.UTF-8, LC_CTYPE=fr_CA.UTF-8 (charmap=UTF-8), LANGUAGE=fr_CA.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled