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 RBIt 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
Description: Binary data
_______________________________________________ Nut-upsuser mailing list Nut-upsuser@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser