Kirk Bocek
2020-Nov-24 17:11 UTC
[Nut-upsuser] [EXTERNAL] trying to talk to TrippLite SMX1500LCD using RPI & NUT
On 11/24/2020 8:10 AM, David Zomaya wrote:>>> Only when I physically unplug it and plug it in again will it start. >>> Is there a way I can do something about that? >>> Because after that, I tried all kinds of ways to see if I can talk to the thing but I am completely failing in it. > Once the UPS drops, is it gone from lsusb too? > I believe there were some similar SMX/SMART1500LCDT reports on the list in the past. > > Thank you, > David Zomaya > Tripp LiteYes I have one that *completely* dropped off. Nothing in lsusb. The unit worked intermittantly when first installed. Then the USB interface just disappeared even after power cycling the unit. I've been lazy about calling tech support.
David Zomaya
2020-Nov-24 17:37 UTC
[Nut-upsuser] [EXTERNAL] trying to talk to TrippLite SMX1500LCD using RPI & NUT
>> Yes I have one that *completely* dropped off. Nothing in lsusb. The unit >> worked intermittantly when first installed. Then the USB interface just >> disappeared even after power cycling the unit. I've been lazy about >> calling tech support.This means no USB activity at all -- and not a bad USB cable or port -- correct? If so, obviously probably not fixable on the software-side BUT I'd be curious to know the serial number and if you have in fact narrowed it down to a completely dead USB port on the UPS. Thank you, David Zomaya Tripp Lite ________________________________ 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.
Marco Walther
2020-Nov-24 18:05 UTC
[Nut-upsuser] [EXTERNAL] trying to talk to TrippLite SMX1500LCD using RPI & NUT
On 11/24/20 9:11 AM, Kirk Bocek wrote:> > On 11/24/2020 8:10 AM, David Zomaya wrote: >>>> Only when I physically unplug it and plug it in again will it start. >>>> Is there a way I can do something about that? >>>> Because after that, I tried all kinds of ways to see if I can talk >>>> to the thing but I am completely failing in it. >> Once the UPS drops, is it gone from lsusb too? >> I believe there were some similar SMX/SMART1500LCDT reports on the >> list in the past. >> >> Thank you, >> David Zomaya >> Tripp Lite > Yes I have one that *completely* dropped off. Nothing in lsusb. The > unit worked intermittantly when first installed. Then the USB > interface just disappeared even after power cycling the unit. I've > been lazy about calling tech support.I have one of those SMART1500LCDT which become unresponsive on USB once in a while. It looks like lsusb still finds the UPS in my case. My solution was an USB hub which can power down different ports via software control from the host;-) 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 -b 001 -d $(lsusb | awk '/0409:0058/ { print substr($4, 0, length($4) - 1); }') -P 1" /root/bin/hub-ctrl -b 001 -d $(lsusb | awk '/0409:0058/ { print substr($4, 0, length($4) - 1); }') -P 1 -p 0 sleep 5 /root/bin/hub-ctrl -b 001 -d $(lsusb | awk '/0409:0058/ { print substr($4, 0, length($4) - 1); }') -P 1 -p 1 sleep 30 else sleep 300 fi done -- Marco> > _______________________________________________ > Nut-upsuser mailing list > Nut-upsuser at alioth-lists.debian.net > https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser