ZeusII
2009-Jan-06 00:43 UTC
[Nut-upsuser] Strange ups.load and battery.temperature with an APC Back-UPS RS 800 (NUT v2.2.2)
Hello!! I have a APC Back-UPS RS 800 and I'm using NUT v2.2.2 on a PowerPC powered NAS. With WinNut, I found the ups.load value strange, so I've done a "upsc ups" and got this results: battery.charge: 100 battery.charge.low: 10 battery.charge.warning: 50 battery.date: 2001/09/25 battery.mfr.date: 2007/12/28 battery.runtime: 997 battery.runtime.low: 120 battery.temperature: 3022999999999999855 battery.type: PbAc battery.voltage: 27.8 battery.voltage.nominal: 24.0 driver.name: usbhid-ups driver.parameter.pollfreq: 30 driver.parameter.pollinterval: 2 driver.parameter.port: auto driver.version: 2.2.2 driver.version.data: APC HID 0.92 driver.version.internal: 0.33 input.voltage: 232.0 input.voltage.nominal: 230 output.voltage: 230.0 output.voltage.nominal: 230.0 ups.beeper.status: enabled ups.delay.shutdown: 20 ups.delay.start: 30 ups.firmware: 9.o4 .I ups.firmware.aux: o4 ups.load: 460000000000000000522694688304941003169920226853844164973253026123689780561201643569637208248542908198527766044790898610404968516009252686779106462679232958642106465178573742621663105573836478844157360968769427943324469938758039552774256898399191695594881 ups.mfr: American Power Conversion ups.mfr.date: 2007/12/28 ups.model: Back-UPS BR 800 ups.productid: 0002 ups.serial: [hidden] ups.status: OL ups.test.result: No test initiated ups.timer.reboot: 0 ups.timer.shutdown: -1 ups.vendorid: 051d Actually, everything is normal except battery.temperature and ups.load. ?Any clue why it's showing this values? With an older version off nut, ups.load showed always 0. Anyways, connecting the UPS to windows, I see the correct load value reported. Thanks in advance. -- Un saludo!, ZeusII mailto:zeus2 at elotrolado.net http://luna.elotrolado.net
Arjen de Korte
2009-Jan-06 18:51 UTC
[Nut-upsuser] Strange ups.load and battery.temperature with an APC Back-UPS RS 800 (NUT v2.2.2)
Citeren ZeusII <zeus2 at elotrolado.net>:> battery.temperature: 3022999999999999855[...]> ups.load: > 460000000000000000522694688304941003169920226853844164973253026123689780561201643569637208248542908198527766044790898610404968516009252686779106462679232958642106465178573742621663105573836478844157360968769427943324469938758039552774256898399191695594881These problems might be related. In order to find out what is wrong, run the 'usbhid-ups' driver with debugging enabled (-DDDD, not higher) to see what is going on. Best regards, Arjen -- Please keep list traffic on the list
Charles Lepple
2009-Jan-07 03:24 UTC
[Nut-upsuser] Strange ups.load and battery.temperature with an APC Back-UPS RS 800 (NUT v2.2.2)
On Mon, Jan 5, 2009 at 7:43 PM, ZeusII <zeus2 at elotrolado.net> wrote:> Hello!! > > I have a APC Back-UPS RS 800 and I'm using NUT v2.2.2 on a PowerPC > powered NAS.I assume this is a 32-bit PowerPC processor? Can you provide a few more details about the OS when you send the log that Arjen requested in an earlier email? (Also, please gzip the log file before attaching it.) -- - Charles Lepple
Arjen de Korte
2009-Jan-07 20:36 UTC
[Nut-upsuser] Strange ups.load and battery.temperature with an APC Back-UPS RS 800 (NUT v2.2.2)
Citeren Jean Delvare <khali at linux-fr.org>:>> These problems might be related. In order to find out what is wrong, >> run the 'usbhid-ups' driver with debugging enabled (-DDDD, not higher) >> to see what is going on. > > For reference, I have an APC Back-UPS RS 800 here and it says (with NUT > 2.2.2): > > battery.temperature: 29.2 > (...) > ups.load: 33.0 > > The load value is correct. The temperature is fake (it never changes.) > Same firmware version as in the original report (9.o4 .I).Interesting. Still I would like to see the debug output. There are many places where this problem can originate. UPS, computer, driver, server, client and all the interfaces in between. Having the debug output from the driver allows us to narrow this down if this is a problem between UPS and driver (and therefor maybe existent only in this particular setup) or something that is introduced between driver and client (not related to the UPS). Best regards, Arjen -- Please keep list traffic on the list