<div dir="ltr">Hmm. Next week I'll experiment with different cables, and see if I can find a hub.<div><br></div><div>These results are the same on two different hosts, two different 5S 1000LCD UPS's, each with their own OEM cable, which is a bit thicker and more substantial looking than the ones that came with the Eaton 5110 aka Powerware 1000i. So while both cables may be bad, it's starting to look like this model UPS may have a flawed USB design?!</div><div><br></div><div>-Ken</div><div><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, May 5, 2016 at 10:22 PM, Charles Lepple <span dir="ltr"><<a href="mailto:clepple@gmail.com" target="_blank">clepple@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On May 5, 2016, at 9:25 AM, Ken Marsh <<a href="mailto:ken.marsh@sparkpost.com">ken.marsh@sparkpost.com</a>> wrote:<br>
><br>
> Well, whaddya know, when run with -DDDDD it works! upsc consistently returns data. Maybe it's a timing thing, or a select affected by I/O or something tricky like that. Nonetheless, I ran it, hit upsc eaton multiple times, collected the output and attached it. If this doesn't give you what you need, I can retry with fewer/more D's or whatever you like.<br>
<br>
</span>Probably is timing, then. See below.<br>
<span class=""><br>
> I couldn't find any crashes in dmesg, just this over and over:<br>
><br>
> [167914.284728] usb 6-1: USB disconnect, device number 21<br>
> [167915.292292] usb 6-1: new low-speed USB device number 22 using uhci_hcd<br>
<br>
</span>This part isn't good. While the usbhid-ups can attempt to recover from this, it means that for a second at a time (those times in brackets are seconds since boot), the UPS is logically disconnected from the USB bus. (This is what happens if you have a phone with a worn-out USB connector, and it beeps if you wiggle the plug.) After it reconnects, due to the low bit-rate of low-speed USB, it takes 5-10 seconds for the driver to reconnect.<br>
<br>
Some people have reported success with higher-quality USB cables (2.0 rated, even though the UPS will never use the faster modes). Others have moved the cable to a non-3.0 port. A hub might also clean up the signal, but then you need to make sure the hub power supply is on battery as well.<br>
<br>
You should only see the "new low-speed USB device" message once for the UPS, when it is first plugged in (or when the system is booted).<br>
<span class="HOEnZb"><font color="#888888"><br><br></font></span></blockquote></div><div class="gmail_signature"><div dir="ltr"></div></div>
</div></div>