[Nut-upsuser] [EXTERNAL] Re: Tripp Lite SMART1500LCD repeatedly disconnecting and reconnecting
Marco Walther
marco at sonic.net
Mon Dec 9 05:58:30 GMT 2019
On 12/8/19 8:18 PM, David Zomaya wrote:
>
> I haven't tried it on RaspberryPi, but if there's some specific Tripp
> Lite information I can help with, let me know.
>
We had that discussion about the SMART1500LCDT & USB a long time ago:-(
I bought mine in 2013 (still going strong on the second set of
batteries) and in August 2016 we had some discussions about the USB
disconnects.
I now use an USB hub which can turn it's ports off via software commands
and when my Linux box (Odroid X2 - ARM) looses the connection, it
basically cycles the USB port of the UPS and then it can connect again.
root at odroid-www:~/bin# cat check_ups.sh
#!/bin/bash
while true
do
x=$(curl -s -o -
'http://192.168.1.5:85/cgi-bin/nut/upsstats.cgi?host=tripplite@127.0.0.1:3493'
| sed 's:<[^>]*>::g' | awk 'BEGIN {s = 0; } $1 == "Status:" { s = 1;
next; } s == 1 { print $0; s = 0; }')
if [ "$x" != "ONLINE" ]
then
logger -p daemon.warning "Triplite is not offline, trying to
restart USB"
/root/bin/hub-ctrl -b 001 -d 005 -P 1 -p 0
sleep 5
/root/bin/hub-ctrl -b 001 -d 005 -P 1 -p 1
sleep 30
else
sleep 300
fi
done
Not sure, if this is still the same problem. But I have my solution;-)
-- Marco
>
> David Zomaya
>
> Tripp Lite
>
>
>
> ------------------------------------------------------------------------
> *From:* Nut-upsuser
> <nut-upsuser-bounces+david_zomaya=tripplite.com at alioth-lists.debian.net>
> on behalf of Charles Lepple <clepple at gmail.com>
> *Sent:* Sunday, December 8, 2019 8:36 PM
> *To:* Layne Fowler
> *Cc:* nut-upsuser
> *Subject:* [EXTERNAL] Re: [Nut-upsuser] Tripp Lite SMART1500LCD
> repeatedly disconnecting and reconnecting
> This is an *EXTERNAL* email. Please take a moment and think before
> clicking any links or opening any attachments from this email. If
> suspicious, please forward to ishelpdesk at tripplite.com for review.
> ------------------------------------------------------------------------
> On Dec 8, 2019, at 5:46 PM, Layne Fowler <layne.fowler at gmail.com
> <mailto:layne.fowler at gmail.com>> wrote:
>>
>> My UPS is connected to a Raspberry Pi by USB. After a few hours of
>> working, the service fails. Looking at kernel messages I noticed that
>> the device is repeatedly disconnecting and reconnecting.
>>
>> I have tried using a different USB port and using a brand new USB
>> cable. I have not had success by changing config parameters like
>> pollfreq/pollinterval/etc.
>>
>> What is causing the UPS to keep disconnecting?
>
> Not sure (it's a protocol issue lower than NUT), but does this post
> from Tripp Lite help the UPS automatically reconnect?
>
> https://alioth-lists.debian.net/pipermail/nut-upsuser/2019-June/011451.html
> <https://urldefense.proofpoint.com/v2/url?u=https-3A__alioth-2Dlists.debian.net_pipermail_nut-2Dupsuser_2019-2DJune_011451.html&d=DwMFAg&c=f9s1WCuF-N6cmD_YaZ7gBg&r=lhr3k4au5dVQgHY_iS-v_t9g8PHVkn8Px_wyaupZGfQ&m=5bTj0FByjuC7ZwvwC7XsgqsH_kXRehDbkaYVEGxZrkQ&s=-Pz1JlSeu5vl0n4bXiBIaPW1nFRDro_yq3QvTTbwC5o&e=>
>
> (you may need to do some RedHat-to-Debian translation for some of the
> pathnames.)
>
>>
>> OS - Raspbian GNU/Linux 10 (buster)
>> Kernel - 4.19.75-v7+
>> Nut version - 2.7.4-8
>> Installation method - From package
>> UPS - Tripp Lite SMART1500LCD
>
> Thanks for including all of the version information.
> ------------------------------------------------------------------------
> This message is for the addressee's use only. It may contain
> confidential information. If you receive this message in error, please
> delete it and notify the sender. Tripp Lite disclaims all warranties
> and liabilities, and assumes no responsibility for viruses which may
> infect an email sent to you from Tripp Lite and which damage your
> electronic systems or information. It is your responsibility to
> maintain virus detection systems to prevent damage to your electronic
> systems and information.
>
> _______________________________________________
> Nut-upsuser mailing list
> Nut-upsuser at alioth-lists.debian.net
> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/nut-upsuser/attachments/20191208/13023ea8/attachment-0001.html>
More information about the Nut-upsuser
mailing list