apcupsd default config for usb ups broken
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apcupsd (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
The /etc/apcupsd/
# 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
ProcVersionSign
Uname: Linux 5.3.0-25-generic x86_64
NonfreeKernelMo
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-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: apcupsd
UpgradeStatus: No upgrade log present (probably fresh install)
mtime.conffile.
Status changed to 'Confirmed' because the bug affects multiple users.