On 10/10/2011, at 23:20 , Charles Lepple wrote:

> On Oct 1, 2011, at 6:28 PM, Charles Lepple wrote:
> 
>> On Sep 30, 2011, at 5:51 PM, Tim Gould wrote:
>> 
>>> ups.status: ALARM OB LB RB
>> 
>> It appears that my trick for matching the 1e-7 didn't work because that 
>> structure only stores integers, not floating point numbers. Oops.
>> 
>> Arnaud: since this scaling issue has come up before, should we look at some 
>> sort of generic scale correction system at another layer in usbhid-ups?
> 
> Unfortunately, I don't have time for a generic fix at the moment, but I 
> figure something is better than nothing. Here's another stab at correcting 
> the ups.status output. Also available via GitHub (commit 48b47b6). The patch 
> is against the SVN trunk.
> 
> <LiebertPSP-scalefactor-002.patch>

Sorry for the extended delay replying. Some improvement:

battery.charge.low: 38
battery.charge.warning: 38
battery.type: PbAc
device.mfr: Emerson Network Power
device.model: LiebertPSA
device.serial:           
device.type: ups
driver.name: usbhid-ups
driver.parameter.pollfreq: 30
driver.parameter.pollinterval: 2
driver.parameter.port: auto
driver.version: 2.6.2-3316M
driver.version.data: Belkin HID 0.13
driver.version.internal: 0.35
output.voltage.nominal: 24.000000
ups.mfr: Emerson Network Power
ups.model: LiebertPSA
ups.productid: 0001
ups.serial:           
ups.status: OB
ups.vendorid: 10af


-DDD output attached. Thanks, Tim.

Attachment: liebert-002.txt.gz
Description: GNU Zip compressed data

_______________________________________________
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser

Reply via email to