Hello, I have an APC Back-UPS ES 550G. I use the usbhid-ups driver, which works fine most of the time. However, after a few hours of running, it starts to broadcast messages on the network that the UPS is not available, and any attempted queries will return "Data stale". Restarting the driver solves the problem, at least for the next few hours. I tried adjusting timing settings, but it doesn't seem to help. Currently I have the following settings: on the driver, pollfreq = 5 and pollinterval = 2. In the monitor config, I have POLLFREQ 5, POLLFREQALERT 5 (these are the defaults), and DEADTIME 30. Here is my uname -a output. Linux linaro-alip 4.4.16-00006-g4431f98-dirty #1 SMP Mon Apr 17 17:27:25 CST 2017 armv7l GNU/Linux Péter Sent with [ProtonMail](https://protonmail.com) Secure Email. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://alioth-lists.debian.net/pipermail/nut-upsuser/attachments/20200524/597e671a/attachment.html>
On Sun, 24 May 2020, Péter Szabados wrote:> I have an APC Back-UPS ES 550G. I use the usbhid-ups driver, which works fine > most of the time. However, after a few hours of running, it starts to > broadcast messages on the network that the UPS is not available, and any > attempted queries will return "Data stale". Restarting the driver solves the > problem, at least for the next few hours.This is a regular question in this list, and it looks as if fixing the problem will require some detective work, and detailed tracing. What does command lsusb report for the your APC Back-UPS ES 550G? Is this idVendor and idProduct in /usr/lib/udev/rules.d/62-nut-usbups.rules ? In general, should users expect a usb UPS unit to work correctly if the unit is not in the 62-nut-usbups.rules file? Does permanent "Data stale" occur even for units that are in that file? Have you tried increasing MAXAGE in upsd.conf as described in the FAQ https://networkupstools.org/docs/FAQ.html#_what_8217_s_this_about_emphasis_data_stale_emphasis Roger