After lasted update, UPS support broke

Sean Hafeez

Dabbler
Joined
Jun 23, 2014
Messages
31
So after I updated to the latest SCALE GA my working UPS does not work any more.


Code:
root@barrel[~]# dmesg | grep UPS
[    3.143097] usb 1-1: Product: Back-UPS XS 1500G FW:866.L8 .D USB FW:L8
[    3.173394] hid-generic 0003:051D:0002.0001: hiddev0,hidraw0: USB HID v1.00 Device [American Power Conversion Back-UPS XS 1500G FW:866.L8 .D USB FW:L8 ] on usb-0000:00:15.0-1/input0



Code:
Mar 27 13:56:30 barrel usbhid-ups[6524]: device->Product is NULL so it is not possible to determine whether to activate max_report_size workaround
Mar 27 13:56:32 barrel usbhid-ups[6524]: device->Product is NULL so it is not possible to determine whether to activate max_report_size workaround
Mar 27 13:56:33 barrel upsmon[6601]: Poll UPS [ups@localhost:3493] failed - Data stale
Mar 27 13:56:34 barrel usbhid-ups[6524]: device->Product is NULL so it is not possible to determine whether to activate max_report_size workaround
Mar 27 13:56:36 barrel usbhid-ups[6524]: device->Product is NULL so it is not possible to determine whether to activate max_report_size workaround


Now if I stop and start the services, it gets worse.

Code:
2022-03-27T14:11:08-07:00 barrel upsmon[44179]: Poll UPS [ups@localhost:3493] failed - Driver not connected
2022-03-27T14:11:13-07:00 barrel upsmon[44179]: Poll UPS [ups@localhost:3493] failed - Driver not connected
2022-03-27T14:11:18-07:00 barrel upsmon[44179]: Poll UPS [ups@localhost:3493] failed - Driver not connected
2022-03-27T14:11:18-07:00 barrel upssched[44184]: Timer queue empty, exiting
2022-03-27T14:11:23-07:00 barrel upsmon[44179]: Poll UPS [ups@localhost:3493] failed - Driver not connected


If I want to get back to the first set of error and have the driver connect I have to REBOOT the system.

Anyone?
 
Joined
Jun 2, 2019
Messages
591
What version of SCALE are you running?

Seems there were some issues with some of the nightlies, which appear to have been pulled.

 
Joined
Jun 2, 2019
Messages
591

Yamon234

Dabbler
Joined
Oct 5, 2021
Messages
13
@Sean Hafeez Is your UPS working again on the latest update? (TrueNAS-SCALE-22.02.2)
On the last version I spent so much time trying to get my UPS to work but ended up giving up because no matter what I did I couldn't get the system to gracefully shutdown while on UPS.
I'm curious if there was just a UPS issue in the last version and I should try again.

Thanks!
 
Top