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@localhost] failed - Data stale Oct 6 17:30:57 kvm upsmon[3548]: Communications with UPS ups@localhost lost Oct 6 17:30:57 kvm upssched[32410]: Executing command: notifycommbad
_______________________________________________ Nut-upsuser mailing list Nut-upsuser@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser