Connection with UPS (usbhid-ups) flaps

Joined
Nov 12, 2022
Messages
6
Hi

I've been encountering the following issue since last weekend:
In more or less regular intervals I get mail alerts from truenas
New alerts:
  • Communication with UPS ups lost.

    UPS Statistics: 'ups'

    Statistics could not be recovered
Followed by the recovery message around 10-15 minutes later

The following alert has been cleared:
  • Communication with UPS ups lost.

    UPS Statistics: 'ups'

    Statistics could not be recovered

First I restarted the service, then I upped the "No Communication Warning Time" to the point where it is now at 800 seconds, only making the alerts less frequent. After that I shut down the service, plugged the UPS USB cable to a different port and started the service again.
The logs tell me that it keeps disconnecting, however strangely I don't have entries since my last troubleshooting attempt, even though the issue still presents itself:

Code:
Feb 28 12:15:02 truenas kernel: usb 1-9: USB disconnect, device number 14
Feb 28 12:15:06 truenas kernel: usb 1-9: new low-speed USB device number 15 using xhci_hcd
Feb 28 12:15:06 truenas kernel: usb 1-9: New USB device found, idVendor=06da, idProduct=ffff, bcdDevice= 0.03
Feb 28 12:15:06 truenas kernel: usb 1-9: New USB device strings: Mfr=1, Product=2, SerialNumber=4
Feb 28 12:15:06 truenas kernel: usb 1-9: Product: Offline UPS
Feb 28 12:15:06 truenas kernel: usb 1-9: Manufacturer: PPC


I have a powerwalker UPS which according to the list is compatible with usbhid-ups and am using the usbhid-ups$PROTECT NAS driver.
This setup has worked for months without issue before this behavior started.
Running TrueNAS-SCALE-22.02.4

Does anyone have an idea what else I could try to remedy this?
 
Last edited:
Top