Public bug reported:

The /etc/apcupsd/apcupsd.conf lists this:

# To get apcupsd to work, in addition to defining the cable
# above, you must also define a UPSTYPE, which corresponds to
# the type of UPS you have (see the Description for more details).
# You must also specify a DEVICE, sometimes referred to as a port.
# For USB UPSes, please leave the DEVICE directive blank. For
# other UPS types, you must specify an appropriate port or address.

However uncommented immediately below is:

UPSTYPE usb
DEVICE /dev/ttyS0

This should be 
UPSTYPE usb
DEVICE

Without this change apcaccess shows status as COMMLOST.

With it I'm getting a proper connection with apcaccess shows a status of
ONLILNE.

(Currently using an APC Back-UPS RS 1500MS)

ProblemType: Bug
DistroRelease: Ubuntu 19.10
Package: apcupsd 3.14.14-3
ProcVersionSignature: Ubuntu 5.3.0-25.27-generic 5.3.13
Uname: Linux 5.3.0-25-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.11-0ubuntu8.3
Architecture: amd64
Date: Mon Dec  9 20:04:21 2019
InstallationDate: Installed on 2019-10-19 (51 days ago)
InstallationMedia: Ubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: apcupsd
UpgradeStatus: No upgrade log present (probably fresh install)
mtime.conffile..etc.apcupsd.apcupsd.conf: 2019-12-09T19:58:49.238667

** Affects: apcupsd (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug eoan

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1855789

Title:
  apcupsd default config for usb ups broken

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apcupsd/+bug/1855789/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to