Re: [Nut-upsuser] Keeps losing connection with UPS (local usb connection)

2016-12-09 Thread Stuart D. Gathman

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, dwill...@inebraska.com wrote:


Device: TRIPPLITE SMART1300LCDT using usbhid-ups driver
Problem: I keep getting the message

    UPS tripplite@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 
"Confutatis maledictis, flamis acribus addictis" - background song for
a Microsoft sponsored "Where do you want to go from here?" commercial.___
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser

Re: [Nut-upsuser] Keeps losing connection with UPS (local usb connection)

2016-12-08 Thread Stuart D. Gathman

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, dwill...@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 
"Confutatis maledictis, flamis acribus addictis" - background song for
a Microsoft sponsored "Where do you want to go from here?" commercial.___
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser

Re: [Nut-upsuser] Keeps losing connection with UPS (local usb connection)

2016-12-08 Thread Charles Lepple
On Dec 8, 2016, at 8:57 PM, dwill...@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@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.
___
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser

[Nut-upsuser] Keeps losing connection with UPS (local usb connection)

2016-12-08 Thread dwilliss

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@localhost is unavailable

If I do…

service nut-server stop
service nut-server start

Then everything is fine again for a while.


___
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser