dwilliss at inebraska.com
2016-Dec-09 01:57 UTC
[Nut-upsuser] Keeps losing connection with UPS (local usb connection)
OS: Debian 3.16.36 Nut version: 2.7.4 from the ?stretch? distribution (this was to solve another problem ? which it did) Install method: apt-get Device: TRIPPLITE SMART1300LCDT using usbhid-ups driver Problem: I keep getting the message UPS tripplite at localhost is unavailable If I do? service nut-server stop service nut-server start Then everything is fine again for a while. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20161208/2a8aa713/attachment.html>
Charles Lepple
2016-Dec-09 03:48 UTC
[Nut-upsuser] Keeps losing connection with UPS (local usb connection)
On Dec 8, 2016, at 8:57 PM, dwilliss at inebraska.com wrote:> > > OS: Debian 3.16.36 > Nut version: 2.7.4 from the ?stretch? distribution (this was to solve another problem ? which it did) > Install method: apt-get > Device: TRIPPLITE SMART1300LCDT using usbhid-ups driver > > Problem: I keep getting the message > > UPS tripplite at localhost is unavailable > > If I do? > > service nut-server stop > service nut-server start > > Then everything is fine again for a while.This is probably what I was alluding to earlier: "Reliability of the USB connection has been an issue for the SMART1500LCDT series (the UPS provides power and updates the LCD status, but frequently disappears from the USB bus) on newer motherboards (typically those capable of USB 3.0). The investigation is ongoing, but we may be closer to figuring out why: https://github.com/networkupstools/nut/issues/300#issuecomment-265324133 At the moment, we do not have a .deb-based solution (other than for Ubuntu), but it is possible to recompile NUT, and we do plan to roll the fix into a future version of NUT." If you don't need to unplug and replug the USB cable on your SMART1300LCDT, you are better off than those of us with the SMART1500LCDT, which drops off the bus even when NUT is not running ("lsusb -v" hangs, etc.) The thread below is referring to a different UPS, but there are instructions for rebuilding NUT to install over the existing usbhid-ups driver: http://lists.alioth.debian.org/pipermail/nut-upsuser/2016-October/010389.html Email (CCing the list) if you have questions.
Stuart D. Gathman
2016-Dec-09 06:15 UTC
[Nut-upsuser] Keeps losing connection with UPS (local usb connection)
Hello fellow victim of Tripplite braindead USB! There is a solution! My blog on diagnosing the problem: https://gathman.org/2016/07/30/Standard_Schmandard/ My blog on packaging the solution: https://gathman.org/2016/11/09/Packaging/ Solution on github: https://github.com/sdgathman/trippfix Sadly, you will have to buy a USB standard conforming powered hub to make the Tripplite work. These are suprisingly hard to find, but the solution includes a list of known working hubs. I use a small visibly powered USB device like a light or fan to test whether the hub really works. The manufacturers like to break things without changing the model #. Be sure to leave a critical review on wherever you bought it from, hopefully Tripplite will eventually fix it. On Thu, 8 Dec 2016, dwilliss at inebraska.com wrote:> Device: TRIPPLITE SMART1300LCDT using usbhid-ups driver > Problem: I keep getting the message > > ??????????????? UPS tripplite at localhost is unavailable > > If I do? > > ??????????????? service nut-server stop > ??????????????? service nut-server start > > Then everything is fine again for a while.-- Stuart D. Gathman <stuart at gathman.org> "Confutatis maledictis, flamis acribus addictis" - background song for a Microsoft sponsored "Where do you want to go from here?" commercial.
Stuart D. Gathman
2016-Dec-09 06:27 UTC
[Nut-upsuser] Keeps losing connection with UPS (local usb connection)
On Fri, 9 Dec 2016, Stuart D. Gathman wrote:> Hello fellow victim of Tripplite braindead USB! There is a solution! > > On Thu, 8 Dec 2016, dwilliss at inebraska.com wrote: > >> ??????????????? service nut-server stop >> ??????????????? service nut-server start >> >> Then everything is fine again for a while.I jumped the gun. Mine did not reset so easily. So you are better off than me. The SMART1500LCDT actually disappears from the USB bus! You can trigger a reset script with upssched. You could actually use my solution, although it is overkill. By cycling port power, you simulate unplugging, and replugging the USB connector. -- Stuart D. Gathman <stuart at gathman.org> "Confutatis maledictis, flamis acribus addictis" - background song for a Microsoft sponsored "Where do you want to go from here?" commercial.