apcupsd default config for usb ups broken

Bug #1855789 reported by satmandu
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
apcupsd (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

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

Revision history for this message
satmandu (satadru-umich) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in apcupsd (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.