[Bug 915985] [NEW] usbhid-ups regression (APC BE525-RS)
Dmitry Andreychuk
915985 at bugs.launchpad.net
Fri Jan 13 12:08:19 UTC 2012
Public bug reported:
Ubuntu 11.10
nut 2.6.1-2ubuntu2
UPS model: APC Back-UPS ES 525 (BE525-RS)
driver: usbhid-ups
I get the following error approximately every 30 seconds:
usb 4-2: usbfs: USBDEVFS_CONTROL failed cmd usbhid-ups rqt 161 rq 1 len 2 ret -75
The simalar error is described in the driver's known issues but increasing pollinterval doesn't help - the interval between error messages just increases accordingly.
I also noticed that battery.charge returned by upsc doesn't change when the UPS is actually discharging. I called upsc, unplugged UPS and called upsc again after a while: ups.status, battery.runtime and input.voltage reasonably changed but battery.charge stayed at 100%. So maybe the retreiving of this variable is working incorrectly.
Part of my ups.conf:
[be525]
driver = usbhid-ups
port = auto
pollinterval = 60
Output for "sudo /lib/nut/usbhid-ups -u nut -a be525 -DDDD" is attached.
I've tested a few other versions and got this:
2.4.3-1ubuntu3.1 - ok
2.6.0-1ubuntu3 - ok
2.6.1-2ubuntu2 - error
2.6.2-1ubuntu1 - error
2.6.3 (upstream) - error. Actually I didn't manage to run daemon that I built from source, so I ran just the driver and it reported the same error.
Looks like this problem appeared in v2.6.1.
** Affects: nut (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nut in Ubuntu.
https://bugs.launchpad.net/bugs/915985
Title:
usbhid-ups regression (APC BE525-RS)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nut/+bug/915985/+subscriptions
More information about the Ubuntu-server-bugs
mailing list