[Nut-upsuser] Incorrect 'low battery' detected with Back-UPS XS 1200 (usbhid-ups)

hanji hanji at uno-code.com
Sat Nov 17 16:47:15 UTC 2007


On Sat, 17 Nov 2007 16:28:10 +0100 (CET)
"Arjen de Korte" <nut+users at de-korte.org> wrote:

> First, upgrade to at least nut-2.2.0. If that doesn't fix this, come back
> here for instructions on how to run the driver in debug mode, so that we
> can figure out what is going on.
> 
> Best regards, Arjen
> -- 


Hello Arjen

Thanks for replying to my email. I updated to 2.2.0, and I'm running
into the same problem, but also encountered other issues. After
upgrading to 2.2.0 and using the usbhid-ups driver, I was not able to
get a clean restart of upsd.

/etc/init.d/upsd restart
 * Stopping upsd ...                                              [ ok ]
 * Starting upsd ...
Network UPS Tools upsd 2.2.0-
listening on 0.0.0.0 port 3493
Can't connect to UPS [apc1] (usbhid-ups-apc1): Connection refused [ ok ]

The only way to get this to work was by firing up the driver first,
then starting upsd...

/lib/nut/usbhid-ups -a apc1
Network UPS Tools: 0.28 USB communication driver 0.28 - core 0.30
(2.2.0-) Detected a UPS: American Power Conversion/Back-UPS XS 1200
FW:8.g1 .D USB FW:g1 Using subdriver: APC/CyberPower HID 0.9

/etc/init.d/upsd start
 * Starting upsd ...
Network UPS Tools upsd 2.2.0-
listening on 0.0.0.0 port 3493
Connected to UPS [apc1]: usbhid-ups-apc1 

But, now when I issue the upsc apc1 at localhost, I get the same values
(low battery, etc)

upsc apc1 at localhost
battery.charge: 1
battery.charge.low: 1
battery.charge.warning: 1
battery.date: 2001/00/00
battery.mfr.date: 1980/00/01
battery.runtime: 1
battery.runtime.low: 1
battery.temperature: -272
battery.type: Back-UPS XS 1200 FW
battery.voltage: 1.0
battery.voltage.nominal: 1.0
driver.name: usbhid-ups
driver.parameter.pollinterval: 2
driver.parameter.port: auto
driver.version: 2.2.0-
driver.version.data: APC/CyberPower HID 0.9
driver.version.internal: 0.30
input.transfer.high: 1
input.transfer.low: 1
input.voltage: 1.0
input.voltage.nominal: 1
output.voltage: 1.0
output.voltage.nominal: 1.0
ups.beeper.status: disabled
ups.delay.restart: 1
ups.delay.shutdown: 1
ups.firmware: 8.g1 .D
ups.firmware.aux: g1
ups.load: 1.0
ups.mfr: American Power Conversion
ups.mfr.date: 1980/00/01
ups.model: Back-UPS XS 1200
ups.power.nominal: 1
ups.productid: 0002
ups.serial: JB0612018831
ups.status: OL LB OVER RB BOOST
ups.test.result: Done and passed
ups.vendorid: 051d

So not sure about the startup issue. I guess we'll need to proceed to
driver debug?

Thanks!
hanji



More information about the Nut-upsuser mailing list