Layne Fowler
2019-Dec-10 03:05 UTC
[Nut-upsuser] [EXTERNAL] Re: Tripp Lite SMART1500LCD repeatedly disconnecting and reconnecting
Thanks Marco, I may try this if I can't get David's udev rules to work. On Mon, Dec 9, 2019 at 12:58 AM Marco Walther <marco at sonic.net> wrote:> 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 at 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> > <nut-upsuser-bounces+david_zomaya=tripplite.com at alioth-lists.debian.net> > on behalf of Charles Lepple <clepple at gmail.com> <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> 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 listNut-upsuser at alioth-lists.debian.nethttps://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/20191209/efc64620/attachment.html>
Sam Varshavchik
2019-Dec-10 03:20 UTC
[Nut-upsuser] Tripp Lite SMART1500LCD repeatedly disconnecting and reconnecting
Layne Fowler writes:> On Mon, Dec 9, 2019 at 12:58 AM Marco Walther > <<URL:mailto:marco at sonic.net>marco at sonic.net> wrote: > > Lite information I can help with, let me know. > > We had that discussion about the SMART1500LCDT & USB a long time ago:-( IDitto.> 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 junked mine. I couldn't get it to talk to nut, reliably. Dumb thing kept disconnecting.> 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.At the time I also looked at a USB hub that can, somehow, be commanded to bounce the ports under software control. I could not find anything, at that time. Life was too short. I ditched that UPS, just salvaged its batteries. Its USB ports are defective. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 833 bytes Desc: not available URL: <http://alioth-lists.debian.net/pipermail/nut-upsuser/attachments/20191209/56b79d06/attachment.sig>
Marco Walther
2019-Dec-10 03:53 UTC
[Nut-upsuser] Tripp Lite SMART1500LCD repeatedly disconnecting and reconnecting
On 12/9/19 7:20 PM, Sam Varshavchik wrote:> Layne Fowler writes: > >> On Mon, Dec 9, 2019 at 12:58 AM Marco Walther >> <<URL:mailto:marco at sonic.net>marco at sonic.net> wrote: >> > Lite information I can help with, let me know. >> >> We had that discussion about the SMART1500LCDT & USB a long time >> ago:-( I > > Ditto. > >> 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 junked mine. I couldn't get it to talk to nut, reliably. Dumb thing > kept disconnecting. > >> 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. > > At the time I also looked at a USB hub that can, somehow, be commanded > to bounce the ports under software control. I could not find anything, > at that time.https://www.amazon.com/gp/product/B00007AKAZ was still somewhat more common in 2016. the lines from my log for an automatic reconnect attempt: Dec 8 00:29:14 odroid-www usbhid-ups[2587]: libusb_get_interrupt: error sending control message: Broken pipe Dec 8 00:29:16 odroid-www usbhid-ups[2587]: libusb_get_interrupt: error submitting URB: No such device Dec 8 00:29:18 odroid-www upsd[2589]: Data for UPS [tripplite] is stale - check driver Dec 8 00:29:22 odroid-www upsmon[2213]: Poll UPS [tripplite at 127.0.0.1:3493] failed - Data stale Dec 8 00:29:22 odroid-www upsmon[2213]: Communications with UPS tripplite at 127.0.0.1:3493 lost Dec 8 00:29:27 odroid-www upsmon[2213]: Poll UPS [tripplite at 127.0.0.1:3493] failed - Data stale Dec 8 00:29:32 odroid-www upsmon[2213]: Poll UPS [tripplite at 127.0.0.1:3493] failed - Data stale Dec 8 00:33:37 odroid-www upsmon[2213]: message repeated 49 times: [ Poll UPS [tripplite at 127.0.0.1:3493] failed - Data stale] Dec 8 00:33:40 odroid-www logger: Triplite is not offline, trying to restart USB Dec 8 00:33:42 odroid-www upsmon[2213]: Poll UPS [tripplite at 127.0.0.1:3493] failed - Data stale Dec 8 00:33:47 odroid-www upsmon[2213]: Poll UPS [tripplite at 127.0.0.1:3493] failed - Data stale Dec 8 00:33:49 odroid-www upsd[2589]: UPS [tripplite] data is no longer stale Dec 8 00:33:52 odroid-www upsmon[2213]: Communications with UPS tripplite at 127.0.0.1:3493 established -- Marco> > Life was too short. I ditched that UPS, just salvaged its batteries. > Its USB ports are defective. > > > _______________________________________________ > 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/20191209/39ec1a9e/attachment-0001.html>
Possibly Parallel Threads
- [EXTERNAL] Re: Tripp Lite SMART1500LCD repeatedly disconnecting and reconnecting
- [EXTERNAL] Re: Tripp Lite SMART1500LCD repeatedly disconnecting and reconnecting
- [EXTERNAL] Re: Tripp Lite SMART1500LCD repeatedly disconnecting and reconnecting
- [EXTERNAL] Re: Tripp Lite SMART1500LCD repeatedly disconnecting and reconnecting
- Tripp Lite SMART1500LCD repeatedly disconnecting and reconnecting