I have an issue with the current version (NUT 2.8.2) running on my server. I've recently connected an APC BX1600MI-GR and I've been getting error messages and two unclean/unexpected shutdowns resulting in a parity check so far. At the time of the first shutdown I was running powertop --auto-tune which had enabled the USB autosuspend. I haven't run --auto-tune since rebooting and I've also enabled the USB power management override option in NUT. I was still getting the following errors and eventually the second shutdown:
Apr 7 18:53:59 Tower usbhid-ups[3860]: nut_libusb_get_report: Input/Output Error
Apr 7 18:54:01 Tower usbhid-ups[3860]: #012Reconnecting. If you saw "nut_libusb_get_interrupt: Input/Output Error" or similar message in the log above, try setting "pollonly" flag in "ups.conf" options section for this driver!
So after rebooting I enabled the GUI settings override option, added pollonly = "enabled" to ups.conf, and restarted NUT. Now I was getting the following error messages in the syslog:
Apr 9 02:38:08 Tower usbhid-ups[21630]: nut_libusb_get_report: Input/Output Error
Apr 9 03:43:05 Tower usbhid-ups[21630]: nut_libusb_get_report: Input/Output Error
Apr 9 04:02:17 Tower usbhid-ups[21630]: nut_libusb_get_report: Input/Output Error
Apr 9 04:02:17 Tower kernel: usb 1-11: USB disconnect, device number 7
Apr 9 04:02:17 Tower usbhid-ups[21630]: libusb1: Could not open any HID devices: insufficient permissions on everything
Apr 9 04:02:17 Tower upsd[21675]: Data for UPS [ups] is stale - check driver
Apr 9 04:02:18 Tower upsmon[21678]: Poll UPS [
[email protected]] failed - Data stale
Apr 9 04:02:18 Tower upsmon[21678]: Communications with UPS
[email protected] lost
Apr 9 04:02:18 Tower kernel: usb 1-11: new low-speed USB device number 8 using xhci_hcd
Apr 9 04:02:18 Tower kernel: hid-generic 0003:051D:0002.0006: hiddev96,hidraw0: USB HID v1.10 Device [American Power Conversion Back-UPS BX1600MI] on usb-0000:00:14.0-11/input0
Apr 9 04:02:19 Tower upsd[21675]: UPS [ups] data is no longer stale
Apr 9 04:02:23 Tower upsmon[21678]: Communications with UPS
[email protected] established
Apr 9 04:28:17 Tower usbhid-ups[21630]: nut_libusb_get_report: Input/Output Error
Apr 9 04:54:29 Tower usbhid-ups[21630]: nut_libusb_get_report: Input/Output Error
Apr 9 04:56:41 Tower usbhid-ups[21630]: nut_libusb_get_report: Input/Output Error
I've since switched the cable to another USB port (this morning) and haven't had an error since then (just over an hour ago). I've attached the full syslog and NUT USB diagnostics if that helps. Anyone who has an idea on what's going on?
syslog.txt
UPS USB diags.txt