?? Ubuntu Server 16.04.1 LTS NUT 2.7.2-4ubuntu1 NUT installed from apt CP1500AVRLCDa Complete problem description, with any relevant traces, like system log excerpts, and driver debug output. You can obtain the latter using the following command, as root and after having stopped NUT: Problem Description: Ubuntu is able to communicate fine with the ups for several hours. However, the UPS is consistently going stale after a few hours. At that point, I have either manually reconnect the cable, or restart the driver. Both fix the issue for a few hours, but the cycle repeats. Things I have tried: Different USB cable Different USB port on server Reducing POLLFREQ & POLLFREQALERT from 5s to 10s Output of sudo upsdrvctl -D start: Network UPS Tools - UPS driver controller 2.7.2 0.000000 Starting UPS: ups Network UPS Tools - Generic HID driver 0.38 (2.7.2) USB communication driver 0.32 Using subdriver: CyberPower HID 0.3 Syslog after server loses sight of UPS: Oct 6 17:29:01 kvm usbhid-ups[3529]: libusb_get_string: error sending control message: Broken pipe Oct 6 17:30:53 kvm upsd[3533]: Data for UPS [ups] is stale - check driver Oct 6 17:30:57 kvm upsmon[3548]: Poll UPS [ups at localhost] failed - Data stale Oct 6 17:30:57 kvm upsmon[3548]: Communications with UPS ups at localhost lost Oct 6 17:30:57 kvm upssched[32410]: Executing command: notifycommbad -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20161006/7330f206/attachment.html>
On 10/06/2016 07:26 PM, Lane Russell wrote:> ?? > Syslog after server loses sight of UPS: > Oct 6 17:29:01 kvm usbhid-ups[3529]: libusb_get_string: error sending > control message: Broken pipe > Oct 6 17:30:53 kvm upsd[3533]: Data for UPS [ups] is stale - check driver > Oct 6 17:30:57 kvm upsmon[3548]: Poll UPS [ups at localhost] failed - > Data stale > Oct 6 17:30:57 kvm upsmon[3548]: Communications with UPS > ups at localhost lost > Oct 6 17:30:57 kvm upssched[32410]: Executing command: notifycommbadMy Tripplight SMART1500LCDT <https://www.amazon.com/gp/product/B009TZTGWK/ref=oh_aui_detailpage_o04_s00?ie=UTF8&psc=1> has the same problem, with the above preceded by: Oct 2 22:20:02 fairfax kernel: hub 1-1.1.1:1.0: port 4 disabled by hub (EMI?), re-enabling... Oct 2 22:20:02 fairfax kernel: usb 1-1.1.1.4: USB disconnect, device number 19 Oct 2 22:20:04 fairfax nagios: HOST ALERT: h.dvorak;DOWN;SOFT;1;(Host Check Timed Out) Oct 2 22:20:06 fairfax kernel: hub 1-1.1.1:1.0: Cannot enable port 4. Maybe the USB cable is bad? Oct 2 22:20:10 fairfax kernel: hub 1-1.1.1:1.0: Cannot enable port 4. Maybe the USB cable is bad? Oct 2 22:20:14 fairfax kernel: hub 1-1.1.1:1.0: Cannot enable port 4. Maybe the USB cable is bad? Oct 2 22:20:17 fairfax kernel: hub 1-1.1.1:1.0: Cannot enable port 4. Maybe the USB cable is bad? Oct 2 22:20:17 fairfax kernel: hub 1-1.1.1:1.0: unable to enumerate USB device on port 4 I was able to get it to run unattended with this hack: https://gathman.org/2016/07/30/Standard_Schmandard/ -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20161006/5c538ef1/attachment-0001.html>
I tried viewing your link, but it returns a 404 error. It also doesn't seem to have a valid certificate. Could you send the correct link please? On Thu, Oct 6, 2016 at 9:14 PM, Stuart Gathman <stuart at gathman.org> wrote:> On 10/06/2016 07:26 PM, Lane Russell wrote: > > ?? > Syslog after server loses sight of UPS: > Oct 6 17:29:01 kvm usbhid-ups[3529]: libusb_get_string: error sending > control message: Broken pipe > Oct 6 17:30:53 kvm upsd[3533]: Data for UPS [ups] is stale - check driver > Oct 6 17:30:57 kvm upsmon[3548]: Poll UPS [ups at localhost] failed - Data > stale > Oct 6 17:30:57 kvm upsmon[3548]: Communications with UPS ups at localhost > lost > Oct 6 17:30:57 kvm upssched[32410]: Executing command: notifycommbad > > My Tripplight SMART1500LCDT > <https://www.amazon.com/gp/product/B009TZTGWK/ref=oh_aui_detailpage_o04_s00?ie=UTF8&psc=1> > has the same problem, with the above preceded by: > > Oct 2 22:20:02 fairfax kernel: hub 1-1.1.1:1.0: port 4 disabled by hub > (EMI?), re-enabling... > Oct 2 22:20:02 fairfax kernel: usb 1-1.1.1.4: USB disconnect, device > number 19 > Oct 2 22:20:04 fairfax nagios: HOST ALERT: h.dvorak;DOWN;SOFT;1;(Host > Check Timed Out) > Oct 2 22:20:06 fairfax kernel: hub 1-1.1.1:1.0: Cannot enable port 4. > Maybe the USB cable is bad? > Oct 2 22:20:10 fairfax kernel: hub 1-1.1.1:1.0: Cannot enable port 4. > Maybe the USB cable is bad? > Oct 2 22:20:14 fairfax kernel: hub 1-1.1.1:1.0: Cannot enable port 4. > Maybe the USB cable is bad? > Oct 2 22:20:17 fairfax kernel: hub 1-1.1.1:1.0: Cannot enable port 4. > Maybe the USB cable is bad? > Oct 2 22:20:17 fairfax kernel: hub 1-1.1.1:1.0: unable to enumerate USB > device on port 4 > > I was able to get it to run unattended with this hack: > https://gathman.org/2016/07/30/Standard_Schmandard/ > > _______________________________________________ > Nut-upsuser mailing list > Nut-upsuser at lists.alioth.debian.org > http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20161010/ed129713/attachment.html>
> On Oct 6, 2016, at 7:26 PM, Lane Russell <lanerussell028 at gmail.com> wrote: > > Ubuntu Server 16.04.1 LTS > NUT 2.7.2-4ubuntu1 >Apologies if you mentioned this already, but which kernel are you running? Looking back over the recent USB problems, we saw a lot of problems with the 3.16 kernel, for instance. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20161010/33ecfa46/attachment.html>
It looks like I'm currently on 4.4.0-38 uname -a: Linux kvm 4.4.0-38-generic #57-Ubuntu SMP Tue Sep 6 15:42:33 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux On Mon, Oct 10, 2016 at 10:04 PM, Charles Lepple <clepple at gmail.com> wrote:> > On Oct 6, 2016, at 7:26 PM, Lane Russell <lanerussell028 at gmail.com> wrote: > > Ubuntu Server 16.04.1 LTS > NUT 2.7.2-4ubuntu1 > > Apologies if you mentioned this already, but which kernel are you running? > > Looking back over the recent USB problems, we saw a lot of problems with > the 3.16 kernel, for instance. >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20161010/23488977/attachment.html>