[Nut-upsuser] The dreaded Tripp Lite SMART500RT1U and NUT

Steve Ballantyne steve.ballantyne at gmail.com
Sun Jun 29 02:05:00 UTC 2014


Hello Charles,

I think we are making progress!  I grabbed nut using git, and applied
your patch without any problems.  Getting to the point that I could
run a configure on my RPi - was something else.  I found this blog
post, which was very helpful (for anyone else that may try it):
http://atelier-orchard.blogspot.com/2013/11/raspberry-pixf86-video-fbdev.html
 It's not in English, but you get can get the general idea of how to
move along.

Also, tripplite_usb failed to build for me with a bunch of undefined
errors.  I was able to fix it by editing the Makefile and adding -lusb
to the LD_FLAGS.

So - here I am starting up nut in debugging level 5, and it looks
"promising"?  :-)

=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2014.06.28 21:54:46 =~=~=~=~=~=~=~=~=~=~=~=

]0;pi at raspberrypi: ~/nutpi at raspberrypi ~/nut
$ sudo ./drivers/tripplite_usb  -u root -a SMART500RT1U -DDDDD
Network UPS Tools - Tripp Lite OMNIVS / SMARTPRO driver 0.24
(2.7.2-signed-19-g90e2790)
Warning: This is an experimental driver.
Some features may not function correctly.

   0.000000    debug level is '5'
   0.009251    Checking device (067B/2303) (001/010)
   0.012869    - VendorID: 067b
   0.014340    - ProductID: 2303
   0.015978    - Manufacturer: Prolific Technology Inc.
   0.017231    - Product: USB-Serial Controller D
   0.018168    - Serial Number: unknown
   0.018857    - Bus: 001
   0.019029    Trying to match device
   0.019201    Device does not match - skipping
   0.020250    Checking device (09AE/0001) (001/009)
   0.023743    - VendorID: 09ae
   0.023986    - ProductID: 0001
   0.024141    - Manufacturer: TRIPP LITE
   0.024868    - Product: TRIPP LITE SMART500RT1U
   0.025049    - Serial Number: unknown
   0.025207    - Bus: 001
   0.025357    Trying to match device
   0.026318    Device matches
   0.027669    Detected a UPS: TRIPP LITE/TRIPP LITE SMART500RT1U
   0.028001    send_to_all: SETINFO ups.vendorid "09ae"
   0.028254    send_to_all: SETINFO ups.productid "0001"
   0.028468    send_to_all: SETINFO device.type "ups"
   0.029259    send_to_all: SETINFO driver.version "2.7.2-signed-19-g90e2790"
   0.030842    send_to_all: SETINFO driver.version.internal "0.24"
   0.031065    send_to_all: SETINFO driver.name "tripplite_usb"
   0.031266    send_cmd(msg_len=2, type='
   0.031536    send_cmd: sending  3a 00 ff 0d 00 00 00 00 '........'
   1.134977    libusb_get_interrupt: Connection timed out
   1.136412    libusb_get_interrupt() returned 0 instead of 8 while
sending 3a 00 ff 0d 00 00 00 00 '........'
   2.138238    libusb_get_interrupt: Connection timed out
   2.139578    libusb_get_interrupt() returned 0 instead of 8 while
sending 3a 00 ff 0d 00 00 00 00 '........'
   3.141962    libusb_get_interrupt: Connection timed out
   3.143315    libusb_get_interrupt() returned 0 instead of 8 while
sending 3a 00 ff 0d 00 00 00 00 '........'
   4.145557    libusb_get_interrupt: Connection timed out
   4.146884    libusb_get_interrupt() returned 0 instead of 8 while
sending 3a 00 ff 0d 00 00 00 00 '........'
   5.148790    libusb_get_interrupt: Connection timed out
   5.150121    libusb_get_interrupt() returned 0 instead of 8 while
sending 3a 00 ff 0d 00 00 00 00 '........'
   6.152078    libusb_get_interrupt: Connection timed out
   6.153425    libusb_get_interrupt() returned 0 instead of 8 while
sending 3a 00 ff 0d 00 00 00 00 '........'
   7.155406    libusb_get_interrupt: Connection timed out
   7.156855    libusb_get_interrupt() returned 0 instead of 8 while
sending 3a 00 ff 0d 00 00 00 00 '........'
   8.158953    libusb_get_interrupt: Connection timed out
   8.160283    libusb_get_interrupt() returned 0 instead of 8 while
sending 3a 00 ff 0d 00 00 00 00 '........'
   9.162442    libusb_get_interrupt: Connection timed out
   9.163820    libusb_get_interrupt() returned 0 instead of 8 while
sending 3a 00 ff 0d 00 00 00 00 '........'
   9.266486    send_cmd: received 00 30 05 58 58 58 58 0d '.0.XXXX.' (OK)
   9.267788    Using binary SMART protocol (3005)
   9.269255    send_to_all: SETINFO ups.firmware.aux "protocol 3005"
   9.270696    send_cmd(msg_len=3, type='W')
   9.271796    send_cmd: sending  3a 57 00 a8 0d 00 00 00 '.W......'
   9.373487    send_cmd: received 57 00 0d 00 00 00 00 00 'W.......' (OK)
   9.373744    send_cmd(msg_len=2, type='S')
   9.374505    send_cmd: sending  3a 53 ac 0d 00 00 00 00 '.S......'
   9.476233    send_cmd: received 53 01 04 00 00 64 00 0d 'S....d..' (OK)
   9.476533    send_to_all: SETINFO ups.mfr "Tripp Lite"
   9.476718    send_cmd(msg_len=2, type='P')
   9.477542    send_cmd: sending  3a 50 af 0d 00 00 00 00 '.P......'
   9.579226    send_cmd: received 50 30 30 35 30 30 58 0d 'P00500X.' (OK)
   9.579630    send_to_all: SETINFO ups.model "SMART500RT1U"
   9.580498    send_to_all: SETINFO ups.power.nominal "500"
   9.580690    send_cmd(msg_len=2, type='F')
   9.580881    send_cmd: sending  3a 46 b9 0d 00 00 00 00 '.F......'
   9.682969    send_cmd: received 46 33 33 34 34 30 31 0d 'F334401.' (OK)
   9.683895    send_to_all: SETINFO ups.firmware "F334401"
   9.684100    send_cmd(msg_len=2, type='V')
   9.684297    send_cmd: sending  3a 56 a9 0d 00 00 00 00 '.V......'
   9.786346    send_cmd: received 56 02 00 0c 01 58 58 0d 'V....XX.' (OK)
   9.786612    Unknown number of switchable load banks: 0x01
   9.786779    Switchable load banks: 1
   9.786948    send_cmd(msg_len=2, type='V')
   9.787138    send_cmd: sending  3a 56 a9 0d 00 00 00 00 '.V......'
   9.889087    send_cmd: received 56 02 00 0c 01 58 58 0d 'V....XX.' (OK)
   9.889423    send_to_all: SETINFO ups.debug.V "02 00 0c 01 58 58 0d '....XX.'"
   9.889634    send_to_all: SETINFO outlet.1.id "1"
   9.890441    send_to_all: SETINFO outlet.1.desc "Load 1"
   9.890702    send_to_all: SETINFO outlet.1.switchable "1"
   9.890907    send_to_all: SETINFO outlet.1.switch "1"
   9.891096    send_to_all: SETFLAGS outlet.1.switch RW STRING
   9.892121    send_to_all: SETAUX outlet.1.switch 3
   9.892951    send_to_all: SETINFO outlet.2.id "2"
   9.893179    send_to_all: SETINFO outlet.2.desc "Load 2"
   9.894177    send_to_all: SETINFO outlet.2.switchable "0"
   9.894970    send_to_all: ADDCMD load.on
   9.895171    send_to_all: ADDCMD load.off
   9.895337    send_cmd(msg_len=2, type='U')
   9.895731    send_cmd: sending  3a 55 aa 0d 00 00 00 00 '.U......'
   9.997588    send_cmd: received 55 00 00 0d 00 00 00 00 'U.......' (OK)
   9.998444    send_to_all: SETINFO ups.id "0"
   9.999497    send_to_all: SETFLAGS ups.id RW STRING
   9.999749    send_to_all: SETAUX ups.id 5
   9.999919    Unit ID: 0
  10.000672    send_to_all: SETINFO input.voltage.nominal "120"
  10.000895    send_to_all: SETINFO battery.voltage.nominal "12"
  10.001097    send_to_all: SETINFO ups.debug.load_banks "1"
  10.002045    send_to_all: SETINFO ups.delay.shutdown "64"
  10.002259    send_to_all: SETFLAGS ups.delay.shutdown RW STRING
  10.002448    send_to_all: SETAUX ups.delay.shutdown 3
  10.002633    send_to_all: ADDCMD shutdown.return
Attached to Tripp Lite SMART500RT1U
  10.003768    send_cmd(msg_len=2, type='S')
  10.004587    send_cmd: sending  3a 53 ac 0d 00 00 00 00 '.S......'
  10.106335    send_cmd: received 53 01 04 00 00 64 00 0d 'S....d..' (OK)
  10.106677    send_to_all: SETINFO ups.debug.S "01 04 00 00 64 00 0d '....d..'"
  10.107513    send_to_all: SETINFO ups.status "OL"
  10.107814    send_cmd(msg_len=2, type='L')
  10.108823    send_cmd: sending  3a 4c b3 0d 00 00 00 00 '.L......'
  10.211079    send_cmd: received 4c 00 00 00 07 58 58 0d 'L....XX.' (OK)
  10.211427    send_to_all: SETINFO ups.debug.L "00 00 00 07 58 58 0d '....XX.'"
  10.211709    send_cmd(msg_len=2, type='D')
  10.212540    send_cmd: sending  3a 44 bb 0d 00 00 00 00 '.D......'
  10.314200    send_cmd: received 44 00 7b 00 8b 0d 00 00 'D.......' (OK)
  10.314545    send_to_all: SETINFO ups.debug.D "00 7b 00 8b 0d 00 00 '.......'"
  10.314742    send_cmd(msg_len=2, type='V')
  10.315785    send_cmd: sending  3a 56 a9 0d 00 00 00 00 '.V......'
  10.417567    send_cmd: received 56 02 00 0c 01 58 58 0d 'V....XX.' (OK)
  10.417872    send_cmd(msg_len=2, type='M')
  10.418080    send_cmd: sending  3a 4d b2 0d 00 00 00 00 '.M......'
  10.520316    send_cmd: received 4d 00 75 00 7f 0d 00 00 'M.u.....' (OK)
  10.520657    send_to_all: SETINFO ups.debug.M "00 75 00 7f 0d 00 00 '.u.....'"
  10.520853    send_cmd(msg_len=2, type='T')
  10.521641    send_cmd: sending  3a 54 ab 0d 00 00 00 00 '.T......'
  10.623318    send_cmd: received 54 21 00 02 58 01 58 0d 'T...X.X.' (OK)
  10.623659    send_to_all: SETINFO ups.debug.T "21 00 02 58 01 58 0d '...X.X.'"
  10.623852    send_cmd(msg_len=2, type='P')
  10.624634    send_cmd: sending  3a 50 af 0d 00 00 00 00 '.P......'
  10.726438    send_cmd: received 50 30 30 35 30 30 58 0d 'P00500X.' (OK)
  10.726781    send_to_all: SETINFO ups.debug.P "30 30 35 30 30 58 0d '00500X.'"
  10.726971    send_to_all: DATAOK
  10.727871    dstate_init: sock
/var/state/ups/tripplite_usb-SMART500RT1U open on fd 5
  10.729279    send_to_all: SETINFO driver.parameter.pollinterval "2"
  10.730340    send_to_all: SETINFO device.mfr "Tripp Lite"
  10.730565    send_to_all: SETINFO device.model "SMART500RT1U"
  10.730760    send_cmd(msg_len=2, type='S')
  10.731809    send_cmd: sending  3a 53 ac 0d 00 00 00 00 '.S......'
  10.834055    send_cmd: received 53 01 04 00 00 64 00 0d 'S....d..' (OK)
  10.834373    send_cmd(msg_len=2, type='L')
  10.834584    send_cmd: sending  3a 4c b3 0d 00 00 00 00 '.L......'
  10.937047    send_cmd: received 4c 00 00 00 07 58 58 0d 'L....XX.' (OK)
  10.937362    send_cmd(msg_len=2, type='D')
  10.937572    send_cmd: sending  3a 44 bb 0d 00 00 00 00 '.D......'
  11.039299    send_cmd: received 44 00 7b 00 8b 0d 00 00 'D.......' (OK)
  11.039609    send_cmd(msg_len=2, type='V')
  11.039819    send_cmd: sending  3a 56 a9 0d 00 00 00 00 '.V......'
  11.141543    send_cmd: received 56 02 00 0c 01 58 58 0d 'V....XX.' (OK)
  11.141856    send_cmd(msg_len=2, type='M')
  11.142633    send_cmd: sending  3a 4d b2 0d 00 00 00 00 '.M......'
  11.244423    send_cmd: received 4d 00 75 00 7f 0d 00 00 'M.u.....' (OK)
  11.244740    send_cmd(msg_len=2, type='T')
  11.244945    send_cmd: sending  3a 54 ab 0d 00 00 00 00 '.T......'
  11.346902    send_cmd: received 54 21 00 02 58 01 58 0d 'T...X.X.' (OK)
  11.347209    send_cmd(msg_len=2, type='P')
  11.347416    send_cmd: sending  3a 50 af 0d 00 00 00 00 '.P......'
  11.450029    send_cmd: received 50 30 30 35 30 30 58 0d 'P00500X.' (OK)
  12.732166    send_cmd(msg_len=2, type='S')
  12.732472    send_cmd: sending  3a 53 ac 0d 00 00 00 00 '.S......'
  13.498966    send_cmd: received 53 01 04 00 00 64 00 0d 'S....d..' (OK)
  13.500378    send_cmd(msg_len=2, type='L')
  13.501956    send_cmd: sending  3a 4c b3 0d 00 00 00 00 '.L......'
  13.604452    send_cmd: received 4c 00 00 00 07 58 58 0d 'L....XX.' (OK)
  13.605955    send_cmd(msg_len=2, type='D')
  13.607466    send_cmd: sending  3a 44 bb 0d 00 00 00 00 '.D......'
  13.709952    send_cmd: received 44 00 7c 00 8b 0d 00 00 'D.......' (OK)
  13.710289    send_to_all: SETINFO ups.debug.D "00 7c 00 8b 0d 00 00 '.......'"
  13.710488    send_cmd(msg_len=2, type='V')
  13.711316    send_cmd: sending  3a 56 a9 0d 00 00 00 00 '.V......'
  13.812948    send_cmd: received 56 02 00 0c 01 58 58 0d 'V....XX.' (OK)
  13.813265    send_cmd(msg_len=2, type='M')
  13.813469    send_cmd: sending  3a 4d b2 0d 00 00 00 00 '.M......'
  13.915820    send_cmd: received 4d 00 75 00 7f 0d 00 00 'M.u.....' (OK)
  13.916146    send_cmd(msg_len=2, type='T')
  13.916351    send_cmd: sending  3a 54 ab 0d 00 00 00 00 '.T......'
  14.018069    send_cmd: received 54 21 00 02 58 01 58 0d 'T...X.X.' (OK)
  14.018384    send_cmd(msg_len=2, type='P')
  14.018590    send_cmd: sending  3a 50 af 0d 00 00 00 00 '.P......'
  14.121062    send_cmd: received 50 30 30 35 30 30 58 0d 'P00500X.' (OK)
  14.733109    send_cmd(msg_len=2, type='S')
  14.735078    send_cmd: sending  3a 53 ac 0d 00 00 00 00 '.S......'
  14.837041    send_cmd: received 53 01 04 00 00 64 00 0d 'S....d..' (OK)
  14.837368    send_cmd(msg_len=2, type='L')
  14.837575    send_cmd: sending  3a 4c b3 0d 00 00 00 00 '.L......'
  14.939282    send_cmd: received 4c 00 00 00 07 58 58 0d 'L....XX.' (OK)
  14.939678    send_cmd(msg_len=2, type='D')
  14.940503    send_cmd: sending  3a 44 bb 0d 00 00 00 00 '.D......'
  15.042159    send_cmd: received 44 00 7b 00 8b 0d 00 00 'D.......' (OK)
  15.042502    send_to_all: SETINFO ups.debug.D "00 7b 00 8b 0d 00 00 '.......'"
  15.043276    send_cmd(msg_len=2, type='V')
  15.043631    send_cmd: sending  3a 56 a9 0d 00 00 00 00 '.V......'
  15.145271    send_cmd: received 56 02 00 0c 01 58 58 0d 'V....XX.' (OK)
  15.145657    send_cmd(msg_len=2, type='M')
  15.146481    send_cmd: sending  3a 4d b2 0d 00 00 00 00 '.M......'
  15.248151    send_cmd: received 4d 00 75 00 7f 0d 00 00 'M.u.....' (OK)
  15.248466    send_cmd(msg_len=2, type='T')
  15.248680    send_cmd: sending  3a 54 ab 0d 00 00 00 00 '.T......'
  15.350894    send_cmd: received 54 21 00 02 58 01 58 0d 'T...X.X.' (OK)
  15.351210    send_cmd(msg_len=2, type='P')
  15.351418    send_cmd: sending  3a 50 af 0d 00 00 00 00 '.P......'
  15.453137    send_cmd: received 50 30 30 35 30 30 58 0d 'P00500X.' (OK)
  16.734021    send_cmd(msg_len=2, type='S')
  16.734325    send_cmd: sending  3a 53 ac 0d 00 00 00 00 '.S......'
  17.501817    send_cmd: received 53 01 04 00 00 64 00 0d 'S....d..' (OK)
  17.503193    send_cmd(msg_len=2, type='L')
  17.505396    send_cmd: sending  3a 4c b3 0d 00 00 00 00 '.L......'
  17.607935    send_cmd: received 4c 00 00 00 07 58 58 0d 'L....XX.' (OK)
  17.609518    send_cmd(msg_len=2, type='D')
  17.610533    send_cmd: sending  3a 44 bb 0d 00 00 00 00 '.D......'
  17.712807    send_cmd: received 44 00 7c 00 8b 0d 00 00 'D.......' (OK)
  17.713145    send_to_all: SETINFO ups.debug.D "00 7c 00 8b 0d 00 00 '.......'"
  17.713950    send_cmd(msg_len=2, type='V')
  17.714182    send_cmd: sending  3a 56 a9 0d 00 00 00 00 '.V......'
  17.815823    send_cmd: received 56 02 00 0c 01 58 58 0d 'V....XX.' (OK)
  17.816145    send_cmd(msg_len=2, type='M')
  17.816957    send_cmd: sending  3a 4d b2 0d 00 00 00 00 '.M......'
  17.918798    send_cmd: received 4d 00 75 00 7f 0d 00 00 'M.u.....' (OK)
  17.919115    send_cmd(msg_len=2, type='T')
  17.919319    send_cmd: sending  3a 54 ab 0d 00 00 00 00 '.T......'
  18.021673    send_cmd: received 54 21 00 02 58 01 58 0d 'T...X.X.' (OK)
  18.021992    send_cmd(msg_len=2, type='P')
  18.022200    send_cmd: sending  3a 50 af 0d 00 00 00 00 '.P......'
  18.123915    send_cmd: received 50 30 30 35 30 30 58 0d 'P00500X.' (OK)
  18.734697    send_cmd(msg_len=2, type='S')
  18.734994    send_cmd: sending  3a 53 ac 0d 00 00 00 00 '.S......'
  18.836767    send_cmd: received 53 01 04 00 00 64 00 0d 'S....d..' (OK)
  18.837096    send_cmd(msg_len=2, type='L')
  18.837302    send_cmd: sending  3a 4c b3 0d 00 00 00 00 '.L......'
  18.939418    send_cmd: received 4c 00 00 00 07 58 58 0d 'L....XX.' (OK)
  18.940313    send_cmd(msg_len=2, type='D')
  18.940544    send_cmd: sending  3a 44 bb 0d 00 00 00 00 '.D......'
  19.042634    send_cmd: received 44 00 7c 00 8b 0d 00 00 'D.......' (OK)
  19.043585    send_cmd(msg_len=2, type='V')
  19.043805    send_cmd: sending  3a 56 a9 0d 00 00 00 00 '.V......'
  19.145770    send_cmd: received 56 02 00 0c 01 58 58 0d 'V....XX.' (OK)
  19.146653    send_cmd(msg_len=2, type='M')
  19.146883    send_cmd: sending  3a 4d b2 0d 00 00 00 00 '.M......'
  19.248878    send_cmd: received 4d 00 75 00 7f 0d 00 00 'M.u.....' (OK)
  19.249767    send_cmd(msg_len=2, type='T')
  19.249991    send_cmd: sending  3a 54 ab 0d 00 00 00 00 '.T......'
  19.351995    send_cmd: received 54 21 00 02 58 01 58 0d 'T...X.X.' (OK)
  19.352888    send_cmd(msg_len=2, type='P')
  19.353119    send_cmd: sending  3a 50 af 0d 00 00 00 00 '.P......'
  19.455629    send_cmd: received 50 30 30 35 30 30 58 0d 'P00500X.' (OK)
  20.736059    send_cmd(msg_len=2, type='S')
  20.736356    send_cmd: sending  3a 53 ac 0d 00 00 00 00 '.S......'
  21.504675    send_cmd: received 53 01 04 00 00 64 00 0d 'S....d..' (OK)
  21.506853    send_cmd(msg_len=2, type='L')
  21.508402    send_cmd: sending  3a 4c b3 0d 00 00 00 00 '.L......'
  21.611195    send_cmd: received 4c 00 00 00 07 58 58 0d 'L....XX.' (OK)
  21.612791    send_cmd(msg_len=2, type='D')
  21.613067    send_cmd: sending  3a 44 bb 0d 00 00 00 00 '.D......'
  21.714789    send_cmd: received 44 00 7b 00 8b 0d 00 00 'D.......' (OK)
  21.715168    send_to_all: SETINFO ups.debug.D "00 7b 00 8b 0d 00 00 '.......'"
  21.716130    send_cmd(msg_len=2, type='V')
  21.716358    send_cmd: sending  3a 56 a9 0d 00 00 00 00 '.V......'
  21.818034    send_cmd: received 56 02 00 0c 01 58 58 0d 'V....XX.' (OK)
  21.818349    send_cmd(msg_len=2, type='M')
  21.818557    send_cmd: sending  3a 4d b2 0d 00 00 00 00 '.M......'
  21.920908    send_cmd: received 4d 00 75 00 7f 0d 00 00 'M.u.....' (OK)
  21.921229    send_cmd(msg_len=2, type='T')
  21.921431    send_cmd: sending  3a 54 ab 0d 00 00 00 00 '.T......'
  22.023152    send_cmd: received 54 21 00 02 58 01 58 0d 'T...X.X.' (OK)
  22.023465    send_cmd(msg_len=2, type='P')
  22.024245    send_cmd: sending  3a 50 af 0d 00 00 00 00 '.P......'
  22.126141    send_cmd: received 50 30 30 35 30 30 58 0d 'P00500X.' (OK)
  22.736742    send_cmd(msg_len=2, type='S')
  22.737034    send_cmd: sending  3a 53 ac 0d 00 00 00 00 '.S......'
  22.838748    send_cmd: received 53 01 04 00 00 64 00 0d 'S....d..' (OK)
  22.839115    send_cmd(msg_len=2, type='L')
  22.839382    send_cmd: sending  3a 4c b3 0d 00 00 00 00 '.L......'
  22.941110    send_cmd: received 4c 00 00 00 07 58 58 0d 'L....XX.' (OK)
  22.941432    send_cmd(msg_len=2, type='D')
  22.941643    send_cmd: sending  3a 44 bb 0d 00 00 00 00 '.D......'
  23.043611    send_cmd: received 44 00 7c 00 8b 0d 00 00 'D.......' (OK)
  23.044771    send_to_all: SETINFO ups.debug.D "00 7c 00 8b 0d 00 00 '.......'"
  23.045669    send_cmd(msg_len=2, type='V')
  23.045908    send_cmd: sending  3a 56 a9 0d 00 00 00 00 '.V......'
  23.148484    send_cmd: received 56 02 00 0c 01 58 58 0d 'V....XX.' (OK)
  23.148795    send_cmd(msg_len=2, type='M')
  23.149004    send_cmd: sending  3a 4d b2 0d 00 00 00 00 '.M......'
  23.250732    send_cmd: received 4d 00 75 00 7f 0d 00 00 'M.u.....' (OK)
  23.251046    send_cmd(msg_len=2, type='T')
  23.251353    send_cmd: sending  3a 54 ab 0d 00 00 00 00 '.T......'
  23.353102    send_cmd: received 54 21 00 02 58 01 58 0d 'T...X.X.' (OK)
  23.353413    send_cmd(msg_len=2, type='P')
  23.354181    send_cmd: sending  3a 50 af 0d 00 00 00 00 '.P......'
  23.456221    send_cmd: received 50 30 30 35 30 30 58 0d 'P00500X.' (OK)

  24.738110    send_cmd(msg_len=2, type='S')
  24.738414    send_cmd: sending  3a 53 ac 0d 00 00 00 00 '.S......'

M  25.504530    send_cmd: received 53 01 04 00 00 64 00 0d 'S....d..' (OK)
  25.506212    send_cmd(msg_len=2, type='L')
  25.507751    send_cmd: sending  3a 4c b3 0d 00 00 00 00 '.L......'
  25.610516    send_cmd: received 4c 00 00 00 07 58 58 0d 'L....XX.' (OK)
  25.612137    send_cmd(msg_len=2, type='D')
  25.612415    send_cmd: sending  3a 44 bb 0d 00 00 00 00 '.D......'
  25.714768    send_cmd: received 44 00 7b 00 8b 0d 00 00 'D.......' (OK)
  25.715196    send_to_all: SETINFO ups.debug.D "00 7b 00 8b 0d 00 00 '.......'"
  25.715411    send_cmd(msg_len=2, type='V')
  25.716276    send_cmd: sending  3a 56 a9 0d 00 00 00 00 '.V......'
  25.818389    send_cmd: received 56 02 00 0c 01 58 58 0d 'V....XX.' (OK)
  25.818702    send_cmd(msg_len=2, type='M')
  25.818911    send_cmd: sending  3a 4d b2 0d 00 00 00 00 '.M......'
  25.921012    send_cmd: received 4d 00 75 00 7f 0d 00 00 'M.u.....' (OK)
  25.921908    send_cmd(msg_len=2, type='T')
  25.922133    send_cmd: sending  3a 54 ab 0d 00 00 00 00 '.T......'

  26.024131    send_cmd: received 54 21 00 02 58 01 58 0d 'T...X.X.' (OK)
  26.024440    send_cmd(msg_len=2, type='P')
  26.024644    send_cmd: sending  3a 50 af 0d 00 00 00 00 '.P......'
  26.126499    send_cmd: received 50 30 30 35 30 30 58 0d 'P00500X.' (OK)
  26.738798    send_cmd(msg_len=2, type='S')
  26.739205    send_cmd: sending  3a 53 ac 0d 00 00 00 00 '.S......'
  26.840964    send_cmd: received 53 01 04 00 00 64 00 0d 'S....d..' (OK)
  26.841278    send_cmd(msg_len=2, type='L')
  26.841482    send_cmd: sending  3a 4c b3 0d 00 00 00 00 '.L......'
  26.943342    send_cmd: received 4c 00 00 00 07 58 58 0d 'L....XX.' (OK)
  26.943664    send_cmd(msg_len=2, type='D')
  26.943878    send_cmd: sending  3a 44 bb 0d 00 00 00 00 '.D......'
  27.045860    send_cmd: received 44 00 7b 00 8b 0d 00 00 'D.......' (OK)
  27.046746    send_cmd(msg_len=2, type='V')
  27.047811    send_cmd: sending  3a 56 a9 0d 00 00 00 00 '.V......'
  27.149468    send_cmd: received 56 02 00 0c 01 58 58 0d 'V....XX.' (OK)
  27.149778    send_cmd(msg_len=2, type='M')
  27.150550    send_cmd: sending  3a 4d b2 0d 00 00 00 00 '.M......'
  27.252339    send_cmd: received 4d 00 75 00 7f 0d 00 00 'M.u.....' (OK)
  27.252654    send_cmd(msg_len=2, type='T')
  27.252863    send_cmd: sending  3a 54 ab 0d 00 00 00 00 '.T......'
  27.355117    send_cmd: received 54 21 00 02 58 01 58 0d 'T...X.X.' (OK)
  27.355441    send_cmd(msg_len=2, type='P')
  27.355804    send_cmd: sending  3a 50 af 0d 00 00 00 00 '.P......'
  27.457570    send_cmd: received 50 30 30 35 30 30 58 0d 'P00500X.' (OK)
  28.740148    send_cmd(msg_len=2, type='S')
  28.740435    send_cmd: sending  3a 53 ac 0d 00 00 00 00 '.S......'
  29.506383    send_cmd: received 53 01 04 00 00 64 00 0d 'S....d..' (OK)
  29.507771    send_cmd(msg_len=2, type='L')
  29.509988    send_cmd: sending  3a 4c b3 0d 00 00 00 00 '.L......'
  29.612497    send_cmd: received 4c 00 00 00 07 58 58 0d 'L....XX.' (OK)
  29.613828    send_cmd(msg_len=2, type='D')
  29.615070    send_cmd: sending  3a 44 bb 0d 00 00 00 00 '.D......'
  29.717374    send_cmd: received 44 00 7c 00 8b 0d 00 00 'D.......' (OK)
  29.717720    send_to_all: SETINFO ups.debug.D "00 7c 00 8b 0d 00 00 '.......'"
  29.717915    send_cmd(msg_len=2, type='V')
  29.718114    send_cmd: sending  3a 56 a9 0d 00 00 00 00 '.V......'
  29.820365    send_cmd: received 56 02 00 0c 01 58 58 0d 'V....XX.' (OK)
  29.820680    send_cmd(msg_len=2, type='M')
  29.820889    send_cmd: sending  3a 4d b2 0d 00 00 00 00 '.M......'
  29.922615    send_cmd: received 4d 00 75 00 7f 0d 00 00 'M.u.....' (OK)
  29.923014    send_cmd(msg_len=2, type='T')
  29.923229    send_cmd: sending  3a 54 ab 0d 00 00 00 00 '.T......'
  30.025616    send_cmd: received 54 21 00 02 58 01 58 0d 'T...X.X.' (OK)
  30.025918    send_cmd(msg_len=2, type='P')
  30.026125    send_cmd: sending  3a 50 af 0d 00 00 00 00 '.P......'
  30.128359    send_cmd: received 50 30 30 35 30 30 58 0d 'P00500X.' (OK)
  30.740839    send_cmd(msg_len=2, type='S')
  30.741135    send_cmd: sending  3a 53 ac 0d 00 00 00 00 '.S......'
  30.842861    send_cmd: received 53 01 04 00 00 64 00 0d 'S....d..' (OK)
  30.843227    send_cmd(msg_len=2, type='L')
  30.843435    send_cmd: sending  3a 4c b3 0d 00 00 00 00 '.L......'
  30.945447    send_cmd: received 4c 00 00 00 07 58 58 0d 'L....XX.' (OK)
  30.946484    send_cmd(msg_len=2, type='D')
  30.946717    send_cmd: sending  3a 44 bb 0d 00 00 00 00 '.D......'
  31.048828    send_cmd: received 44 00 7b 00 8b 0d 00 00 'D.......' (OK)
  31.049747    send_to_all: SETINFO ups.debug.D "00 7b 00 8b 0d 00 00 '.......'"
  31.050467    send_cmd(msg_len=2, type='V')
  31.050737    send_cmd: sending  3a 56 a9 0d 00 00 00 00 '.V......'
  31.152695    send_cmd: received 56 02 00 0c 01 58 58 0d 'V....XX.' (OK)
  31.153004    send_cmd(msg_len=2, type='M')
  31.153213    send_cmd: sending  3a 4d b2 0d 00 00 00 00 '.M......'
  31.255700    send_cmd: received 4d 00 75 00 7f 0d 00 00 'M.u.....' (OK)
  31.256017    send_cmd(msg_len=2, type='T')
  31.256214    send_cmd: sending  3a 54 ab 0d 00 00 00 00 '.T......'
  31.357942    send_cmd: received 54 21 00 02 58 01 58 0d 'T...X.X.' (OK)
  31.358258    send_cmd(msg_len=2, type='P')
  31.358466    send_cmd: sending  3a 50 af 0d 00 00 00 00 '.P......'
  31.460306    send_cmd: received 50 30 30 35 30 30 58 0d 'P00500X.' (OK)
  32.742203    send_cmd(msg_len=2, type='S')
  32.742512    send_cmd: sending  3a 53 ac 0d 00 00 00 00 '.S......'
  33.509240    send_cmd: received 53 01 04 00 00 64 00 0d 'S....d..' (OK)
  33.510607    send_cmd(msg_len=2, type='L')
  33.512818    send_cmd: sending  3a 4c b3 0d 00 00 00 00 '.L......'
  33.615361    send_cmd: received 4c 00 00 00 07 58 58 0d 'L....XX.' (OK)
  33.617516    send_cmd(msg_len=2, type='D')
  33.617785    send_cmd: sending  3a 44 bb 0d 00 00 00 00 '.D......'
  33.719724    send_cmd: received 44 00 7c 00 8b 0d 00 00 'D.......' (OK)
  33.720061    send_to_all: SETINFO ups.debug.D "00 7c 00 8b 0d 00 00 '.......'"
  33.720256    send_cmd(msg_len=2, type='V')
  33.721037    send_cmd: sending  3a 56 a9 0d 00 00 00 00 '.V......'
  33.823099    send_cmd: received 56 02 00 0c 01 58 58 0d 'V....XX.' (OK)
  33.823415    send_cmd(msg_len=2, type='M')
  33.823621    send_cmd: sending  3a 4d b2 0d 00 00 00 00 '.M......'
^C]0;pi at raspberrypi: ~/nutpi at raspberrypi ~/nut $

Steve Ballantyne
Network Engineer
MCSE/MCDST; Novell CLA; LPIC-1; CTT+; A+; Network+; Linux+; Server+;
I-Net+; Security+; SonicWALL CSSA


On Sat, Jun 28, 2014 at 12:13 AM, Charles Lepple <clepple at gmail.com> wrote:

> Attached is a patch to try to map some of the 3005 differences into
> the driver. It should apply to the NUT 2.7.2 tarball, but it was
> generated from the Git master branch. If you do check out from Github,
> you'll need to install autoconf, automake and libtool. AsciiDoc is
> pretty slow, so you can pass "--without-doc" to the ./configure
> script. You may also want to add "--with-drivers=tripplite_usb" so
> that it doesn't try to compile everything.



More information about the Nut-upsuser mailing list