[Nut-upsuser] Powerware 5115 USB Issue

Greg greg_roll at hotmail.com
Tue Nov 10 12:03:17 UTC 2009


Hi Arnaud,

Looking close so close. Still didn't work but i'd say the output of this will definitely help you.

Thanks again !!
Greg

==========================================

./bcmxcp_usb -u admin -DDDD -a qnapups
Network UPS Tools - BCMXCP UPS driver 0.23 (2.4.1)
USB communication subdriver 0.18
   0.000000     debug level is '4'
   0.007653     device 012 opened successfully
   0.009485     entering get_answer(31)
   0.851688     get_answer: (38 bytes) => ab 01 74 01 02 00 01 04 00 40 00 00 00 00 00 05
   0.851843      00 80 06 08 00 50 00 00 00 00 00 00 03 00 1b 18 00 00 00 11 00 2f
   0.851895     get_answer: block_number = 1
   0.851946     get_answer: data length = 116
   0.851996     get_answer: need to read 83 more data
   1.951677     get_answer: (167 bytes) => ab 01 74 01 02 00 01 04 00 40 00 00 00 00 00 05
   1.951843      00 80 06 08 00 50 00 00 00 00 00 00 03 00 1b 18 00 00 00 11 00 2f 00 00 00
   1.951977      40 00 00 00 00 00 05 00 80 06 08 00 50 00 00 00 00 00 00 03 00 1b 18 00 00
   1.952115      00 11 00 2f 00 00 00 40 00 00 00 00 00 05 00 80 06 08 00 50 00 00 00 00 00
   1.952249      00 03 00 1b 18 00 00 00 11 00 2f 00 00 00 40 00 00 00 00 00 05 00 80 06 08
   1.952383      00 50 00 00 00 00 00 00 03 00 1b 18 00 00 00 11 00 2f 00 00 00 40 00 00 00
   1.952516      00 00 05 00 80 06 08 00 50 00 00 00 00 00 00 03 00 1b 18 00 00 00 11 00 2f
   1.952567      00
   1.952612     get_answer: block_number = 1
   1.952662     get_answer: data length = 116
   1.952712     get_answer: sequence number (1) is ok
   1.952769     Communications with UPS lost: get_answer: checksum error!
   1.953857     entering get_answer(31)
   2.861677     get_answer: (38 bytes) => ab 01 74 01 02 00 01 04 10 00 0a 00 01 00 13 35
   2.861831      31 31 35 30 35 30 30 41 00 00 00 00 03 00 1b 18 00 00 00 11 00 2f
   2.861884     get_answer: block_number = 1
   2.861934     get_answer: data length = 116
   2.861985     get_answer: need to read 83 more data
   3.971889     get_answer: (167 bytes) => ab 01 74 01 02 00 01 04 10 00 0a 00 01 00 13 35
   3.972054      31 31 35 30 35 30 30 41 00 00 00 00 03 00 1b 18 00 00 00 11 00 2f 00 00 00
   3.972189      40 00 00 00 00 00 05 00 80 06 08 00 50 00 00 00 00 00 00 03 00 1b 18 00 00
   3.972326      00 11 00 2f 00 00 00 40 00 00 00 00 00 05 00 80 06 08 00 50 00 00 00 00 00
   3.972460      00 03 00 1b 18 00 00 00 11 00 2f 00 00 00 40 00 00 00 00 00 05 00 80 06 08
   3.972594      00 50 00 00 00 00 00 00 03 00 1b 18 00 00 00 11 00 2f 00 00 00 40 00 00 00
   3.972728      00 00 05 00 80 06 08 00 50 00 00 00 00 00 00 03 00 1b 18 00 00 00 11 00 2f
   3.972779      00
   3.972824     get_answer: block_number = 1
   3.972873     get_answer: data length = 116
   3.972924     get_answer: sequence number (1) is ok
   3.972980     Communications with UPS lost: get_answer: checksum error!
   3.974053     entering get_answer(31)
   4.891682     get_answer: (38 bytes) => ab 01 74 01 02 00 01 04 10 00 0a 00 01 00 13 35
   4.891834      31 31 35 30 35 30 30 41 20 20 20 20 20 20 20 20 00 00 00 11 00 2f
   4.891887     get_answer: block_number = 1
   4.891937     get_answer: data length = 116
   4.891989     get_answer: need to read 83 more data
   6.001677     get_answer: (167 bytes) => ab 01 74 01 02 00 01 04 10 00 0a 00 01 00 13 35
   6.001840      31 31 35 30 35 30 30 41 20 20 20 20 20 20 20 20 00 00 00 11 00 2f 00 00 00
   6.001974      40 00 00 00 00 00 05 00 80 06 08 00 50 00 00 00 00 00 00 03 00 1b 18 00 00
   6.002111      00 11 00 2f 00 00 00 40 00 00 00 00 00 05 00 80 06 08 00 50 00 00 00 00 00
   6.002245      00 03 00 1b 18 00 00 00 11 00 2f 00 00 00 40 00 00 00 00 00 05 00 80 06 08
   6.002379      00 50 00 00 00 00 00 00 03 00 1b 18 00 00 00 11 00 2f 00 00 00 40 00 00 00
   6.002513      00 00 05 00 80 06 08 00 50 00 00 00 00 00 00 03 00 1b 18 00 00 00 11 00 2f
   6.002565      00
   6.002610     get_answer: block_number = 1
   6.002660     get_answer: data length = 116
   6.002711     get_answer: sequence number (1) is ok
   6.002768     Communications with UPS lost: get_answer: checksum error!
   6.003854     entering get_answer(31)
   6.991677     get_answer: (70 bytes) => ab 01 74 01 02 00 01 04 10 00 0a 00 01 00 13 35
   6.991839      31 31 35 30 35 30 30 41 20 20 20 20 20 20 20 20 20 20 51 00 00 00 00 00 00
   6.991975      40 00 00 00 00 00 05 00 80 06 08 00 50 00 00 00 00 00 00 03 00 1b 18 00 00
   6.992038      00 11 00 2f
   6.992085     get_answer: block_number = 1
   6.992137     get_answer: data length = 116
   6.992185     get_answer: need to read 51 more data
   8.031839     get_answer: (167 bytes) => ab 01 74 01 02 00 01 04 10 00 0a 00 01 00 13 35
   8.032003      31 31 35 30 35 30 30 41 20 20 20 20 20 20 20 20 20 20 51 00 00 00 00 00 00
   8.032138      40 00 00 00 00 00 05 00 80 06 08 00 50 00 00 00 00 00 00 03 00 1b 18 00 00
   8.032275      00 11 00 2f 00 00 00 40 00 00 00 00 00 05 00 80 06 08 00 50 00 00 00 00 00
   8.032409      00 03 00 1b 18 00 00 00 11 00 2f 00 00 00 40 00 00 00 00 00 05 00 80 06 08
   8.032543      00 50 00 00 00 00 00 00 03 00 1b 18 00 00 00 11 00 2f 00 00 00 40 00 00 00
   8.032677      00 00 05 00 80 06 08 00 50 00 00 00 00 00 00 03 00 1b 18 00 00 00 11 00 2f
   8.032728      00
   8.032774     get_answer: block_number = 1
   8.032824     get_answer: data length = 116
   8.032875     get_answer: sequence number (1) is ok
   8.032932     Communications with UPS lost: get_answer: checksum error!
   8.034019     entering get_answer(31)
   9.041687     get_answer: (70 bytes) => ab 01 74 01 02 00 01 04 10 00 0a 00 01 00 13 35
   9.041850      31 31 35 30 35 30 30 41 20 20 20 20 20 20 20 20 20 20 51 00 00 00 00 00 00
   9.041985      40 00 00 00 00 00 05 00 80 06 08 00 50 00 00 00 00 00 00 03 00 1b 18 00 00
   9.042049      00 11 00 2f
   9.042095     get_answer: block_number = 1
   9.042145     get_answer: data length = 116
   9.042195     get_answer: need to read 51 more data
  10.081690     get_answer: (167 bytes) => ab 01 74 01 02 00 01 04 10 00 0a 00 01 00 13 35
  10.081857      31 31 35 30 35 30 30 41 20 20 20 20 20 20 20 20 20 20 51 00 00 00 00 00 00
  10.081994      40 00 00 00 00 00 05 00 80 06 08 00 50 00 00 00 00 00 00 03 00 1b 18 00 00
  10.082132      00 11 00 2f 00 00 00 40 00 00 00 00 00 05 00 80 06 08 00 50 00 00 00 00 00
  10.082266      00 03 00 1b 18 00 00 00 11 00 2f 00 00 00 40 00 00 00 00 00 05 00 80 06 08
  10.082400      00 50 00 00 00 00 00 00 03 00 1b 18 00 00 00 11 00 2f 00 00 00 40 00 00 00
  10.082534      00 00 05 00 80 06 08 00 50 00 00 00 00 00 00 03 00 1b 18 00 00 00 11 00 2f
  10.082586      00
  10.082631     get_answer: block_number = 1
  10.082681     get_answer: data length = 116
  10.082732     get_answer: sequence number (1) is ok
  10.082790     Communications with UPS lost: get_answer: checksum error!
  10.082853     Communications with UPS lost: Error executing command
  10.083063     Could not communicate with the ups: Resource temporarily unavailable
  10.083146     CLOSING

==========================================


From: Arnaud Quette 
Sent: Tuesday, November 10, 2009 9:30 PM
To: Greg 
Cc: nut-upsuser at lists.alioth.debian.org 
Subject: Re: [Nut-upsuser] Powerware 5115 USB Issue


Hi Greg,


2009/10/13 Greg

  Hi Arnaud,

  Sorry I must have miss-read your post.

  Thanks for continuing to look at it. I look forward to the update!

waow, time is going too fast.
a bit later than scheduled, I finally rewrote the data reception function in bcmxcp_usb (latest trunk, r2094).
 
I've checked that there is no regression on the units I have handy, but since I can't reproduce your issue, I'll rely on you to test and validate.

Hopefully, it should solve your issue, or at least be nearby to.
I'm eagerly waiting for your feedback ;-)

cheers,
Arnaud
-- 
Linux / Unix Expert R&D - Eaton - http://www.eaton.com/mgeops
Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/
Debian Developer - http://www.debian.org
Free Software Developer - http://arnaud.quette.free.fr/



__________ Information from ESET Smart Security, version of virus signature database 4591 (20091110) __________

The message was checked by ESET Smart Security.

http://www.eset.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20091110/347de7bc/attachment-0001.htm>


More information about the Nut-upsuser mailing list