[Nut-upsdev] Liebert GXT2 NUT driver
Robert Jobbagy
jobbagy.robert at gmail.com
Fri Apr 2 14:44:35 UTC 2010
Hi guys,
I found the troblue and fix it!
I attached the patch.
The trouble was in the command reply buffer use.
You compute the value that value = reply[6]*256+reply[5] <- it's wrong
The right solution: value = reply[5] * 256 + reply[6];
And other bug,
battery.runtime compute, you divide this value 60 <- it's wrong
right value: divide 1.0
I continue the work on this driver,and I will write if I make a something
new.
I'm waiting for your reactions.
--
Best Regards,
Robert
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/nut-upsdev/attachments/20100402/af41cab9/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: liebertgxt2_patch
Type: application/octet-stream
Size: 868 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/nut-upsdev/attachments/20100402/af41cab9/attachment.obj>
More information about the Nut-upsdev
mailing list