[Nut-upsdev] Maruson power net 1500 support?

David Mathog mathog at caltech.edu
Fri May 23 17:42:01 UTC 2008


Charles Lepple wrote
> It should have also said "install libtool" as well. What instructions
> should we be updating?

Right.  That did it.  Unfortunately the trunk has exactly same problem
as 2.2.2, it is truncating the returned string at the 15th byte, which
is an 0D hex.  On the plus side, the debugging info is a little better
out of the box, I didn't have to put in any of my own debug printf's.

Here's part of it:

% drivers/megatec_usb -a MarusonTop -DDDDDD 
(snip)

Asking for UPS status [Q1]...
 none (-110)
 ok
get_data_phoenix: got so far [(114.6 1]
get_data_phoenix: (8 bytes) => 28 31 31 34 2e 36 20 31
 ok
4]t_data_phoenix: got so far [(114.6 1001000
get_data_phoenix: (16 bytes) => 28 31 31 34 2e 36 20 31 30 30 31 30 30 30
 0d 34
 ok
4.6 033 6]hoenix: got so far [(114.6 1001000
get_data_phoenix: (24 bytes) => 28 31 31 34 2e 36 20 31 30 30 31 30 30 30
 0d 34 2e 36 20 30 33 33 20 36
 ok
4.6 033 60.0 54.0]got so far [(114.6 1001000
get_data_phoenix: (32 bytes) => 28 31 31 34 2e 36 20 31 30 30 31 30 30 30
 0d 34 2e 36 20 30 33 33 20 36 30 2e 30 20 35 34 2e 30
 ok
4.6 033 60.0 54.0 51.1 00]ar [(114.6 1001000
get_data_phoenix: (40 bytes) => 28 31 31 34 2e 36 20 31 30 30 31 30 30 30
 0d 34 2e 36 20 30 33 33 20 36 30 2e 30 20 35 34 2e 30 20 35 31 2e 31 20 30
 30
 ok
4]6 033 60.0 54.0 51.1 00001000114.6 1001000
get_data_phoenix: (48 bytes) => 28 31 31 34 2e 36 20 31 30 30 31 30 30 30
 0d 34 2e 36 20 30 33 33 20 36 30 2e 30 20 35 34 2e 30 20 35 31 2e 31 20 30
 30 30 30 31 30 30 30 0d 34
 ok
4.6 033 6].0 54.0 51.1 00001000114.6 1001000
get_data_phoenix: (56 bytes) => 28 31 31 34 2e 36 20 31 30 30 31 30 30 30
 0d 34 2e 36 20 30 33 33 20 36 30 2e 30 20 35 34 2e 30 20 35 31 2e 31 20 30
 30 30 30 31 30 30 30 0d 34 2e 36 20 30 33 33 20 36
 ok
4.6 033 60.0 54.0]51.1 00001000114.6 1001000
get_data_phoenix: (64 bytes) => 28 31 31 34 2e 36 20 31 30 30 31 30 30 30
 0d 34 2e 36 20 30 33 33 20 36 30 2e 30 20 35 34 2e 30 20 35 31 2e 31 20 30
 30 30 30 31 30 30 30 0d 34 2e 36 20 30 33 33 20 36 30 2e 30 20 35 34 2e 30
 none (-110)
Q1 => FAILED [short read]
Q1 detail: (14 bytes) => 28 31 31 34 2e 36 20 31 30 30 31 30 30 30
5 out of 5 detection attempts failed (minimum failures: 2).
Megatec protocol UPS not detected.
Network UPS Tools 2.3.0 - Megatec protocol driver 1.5.14 [megatec_usb]
Carlos Rodrigues (c) 2003-2008

Serial-over-USB transport layer for Megatec protocol driver [megatec_usb]
Andrey Lelikov (c) 2006, Alexander Gordeev (c) 2006-2007, Jon Gough (c) 2007


Thanks,

David Mathog
mathog at caltech.edu
Manager, Sequence Analysis Facility, Biology Division, Caltech



More information about the Nut-upsdev mailing list