[Nut-upsuser] LiebertPSP

Charles Lepple clepple at gmail.com
Mon Oct 10 12:20:41 UTC 2011


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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: LiebertPSP-scalefactor-002.patch
Type: application/octet-stream
Size: 5606 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20111010/74d6e053/attachment.obj>
-------------- next part --------------



More information about the Nut-upsuser mailing list