Public bug reported:
Configured apcupsd to monitor a new SmartUPS 1500. apcupsd seems to be
ok so far, but before starting the daemon, I tried to run apctest and
got this error every time I tried:
bladernr@galactica:~$ apctest
2016-02-24 21:48:34 apctest 3.14.12 (29 March 2014) debian
Checking configuration ...
sharenet.type = Network & ShareUPS Disabled
cable.type = USB Cable
mode.type = USB UPS Driver
Setting up the port ...
Doing prep_device() ...
You are using a USB cable type, so I'm entering USB test mode
Hello, this is the apcupsd Cable Test program.
This part of apctest is for testing USB UPSes.
Getting UPS capabilities...apctest FATAL ERROR in linux-usb.c at line 588
Cannot init USB HID report. ERR=Bad file descriptor
apctest error termination completed
it's connected via UPS cable to my Xenial system.
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: apcupsd 3.14.12-1.1
ProcVersionSignature: Ubuntu 4.4.0-7.22-generic 4.4.2
Uname: Linux 4.4.0-7-generic x86_64
ApportVersion: 2.20-0ubuntu3
Architecture: amd64
CurrentDesktop: Unity
Date: Wed Feb 24 21:47:14 2016
InstallationDate: Installed on 2016-02-11 (13 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Alpha amd64 (20160210)
SourcePackage: apcupsd
UpgradeStatus: No upgrade log present (probably fresh install)
modified.conffile..etc.apcupsd.apcupsd.conf: [modified]
modified.conffile..etc.default.apcupsd: [modified]
mtime.conffile..etc.apcupsd.apcupsd.conf: 2016-02-24T21:21:35.899894
mtime.conffile..etc.default.apcupsd: 2016-02-24T21:09:50.844014
** Affects: apcupsd (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug xenial
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1549576
Title:
ERR=Bad file descriptor when running apctest
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apcupsd/+bug/1549576/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs