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

Charles Lepple clepple at gmail.com
Sun Jun 29 13:08:17 UTC 2014


On Sat, Jun 28, 2014 at 10:05 PM, Steve Ballantyne
<steve.ballantyne at gmail.com> wrote:
> 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.

At some point I should grab another SD card and do a clean install,
then write up that procedure for the NUT documentation.

> 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.

Odd, it should have picked that up. Do you have libusb*dev installed?
(Also probably the compat package, since NUT expects the libusb 0.1
API).

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

At this point, I would start upsd and verify that the numbers look
good in upsc. You may want to keep the log running to check how the
unit responds to the loss of AC power (again, with the lamp, and
probably using a power strip to cut power - some APC units get weird
when they aren't grounded). Also we would want to verify the low
battery signal (I'm just guessing that it's the binary version of the
3003 protocol).

After that, there are the shutdown commands. This one is a little
tricky, since there are several timers involved.

>    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

Hmm, I thought I covered that case. No matter, it's just a warning.

>    9.786779    Switchable load banks: 1

Does this match the vendor software?

It doesn't look like NUT is committing the rest of the values, so I
might need to look at that part again (or maybe that's a different
debug level). If upsc is missing a lot of numbers that you see in the
debug log, let me know.



More information about the Nut-upsuser mailing list