I have an MI4A router with USB 2.0 mod running 23.05.4 with nut for monitoring an APC UPS. It was working fine. I'm replacing it with an WR1300 V1 with USB 3.0 and 24.10.1, trying to replicate the same configuration. It seems to work, but I have many driver errors on the log:
root@router:~# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux 6.6.86 xhci-hcd xHCI Host Controller
Bus 001 Device 002: ID 051d:0002 American Power Conversion Back-UPS ES 750 FW:841.I2 .D USB FW:I2
Bus 002 Device 001: ID 1d6b:0003 Linux 6.6.86 xhci-hcd xHCI Host Controller
root@router:~# lsusb -t
/: Bus 001.Port 001: Dev 001, Class=root_hub, Driver=xhci-mtk/2p, 480M
|__ Port 001: Dev 002, If 0, Class=[unknown], Driver=usbfs, 1.5M
/: Bus 002.Port 001: Dev 001, Class=root_hub, Driver=xhci-mtk/1p, 5000M
root@router:~# upsc BackUPS |grep ups.status
ups.status: OL
root@router:~# upsc BackUPS |grep driver.version
driver.version: 2.8.1
driver.version.data: APC HID 0.100
driver.version.internal: 0.52
driver.version.usb: libusb-1.0.27 (API: 0x100010a)
root@router:~# logread -e UPS
Mon Apr 21 22:38:05 2025 daemon.info upsd[2768]: Network UPS Tools upsd 2.8.1
Mon Apr 21 22:38:05 2025 daemon.info upsd[2768]: Connected to UPS [BackUPS]: usbhid-ups-BackUPS
Mon Apr 21 22:38:05 2025 daemon.info upsd[2768]: Found 1 UPS defined in ups.conf
Mon Apr 21 22:38:11 2025 daemon.err upsmon[3995]: 0.010089 UPS: BackUPS@localhost (primary) (power value 1)
Mon Apr 21 22:38:11 2025 daemon.err upsmon[3995]: 0.034440 [D1] Trying to connect to UPS [BackUPS@localhost]
Mon Apr 21 22:38:11 2025 daemon.info upsd[2768]: User upsuser@127.0.0.1 logged into UPS [BackUPS]
Mon Apr 21 22:38:11 2025 daemon.err upsmon[3995]: 0.042401 [D1] Logged into UPS BackUPS@localhost
Mon Apr 21 22:38:21 2025 daemon.info upsd[2768]: User upsuser@127.0.0.1 logged out from UPS [BackUPS]
Mon Apr 21 22:38:22 2025 daemon.err upsmon[6075]: 0.001172 UPS: BackUPS@localhost (primary) (power value 1)
Mon Apr 21 22:38:22 2025 daemon.err upsmon[6075]: 0.005947 [D1] Trying to connect to UPS [BackUPS@localhost]
Mon Apr 21 22:38:22 2025 daemon.info upsd[2768]: User upsuser@127.0.0.1 logged into UPS [BackUPS]
Mon Apr 21 22:38:22 2025 daemon.err upsmon[6075]: 0.019234 [D1] Logged into UPS BackUPS@localhost
Mon Apr 21 22:39:16 2025 daemon.err collectd[3166]: nut plugin: nut_read: upscli_list_start (BackUPS) failed: Write error: Broken pipe
Mon Apr 21 22:39:16 2025 daemon.err collectd[3166]: read-function of plugin `nut/BackUPS' failed. Will suspend it for 60.000 seconds.
And those are the errors that repeats around every 5 seconds on my external log server:
Apr 21 20:31:37 router 13969.823695 Poll UPS [BackUPS@localhost] failed - Driver not connected
Apr 21 20:31:39 router [D1] mainloop: UPS [BackUPS] is not currently connected
Apr 21 20:31:39 router [D1] mainloop: UPS [BackUPS] is now connected as FD -1
Apr 21 20:31:41 router [D1] mainloop: UPS [BackUPS] is not currently connected
Apr 21 20:31:41 router [D1] mainloop: UPS [BackUPS] is now connected as FD -1
Apr 21 20:31:42 router [D1] mainloop: UPS [BackUPS] is not currently connected
Apr 21 20:31:42 router [D1] mainloop: UPS [BackUPS] is now connected as FD -1
Apr 21 20:31:42 router 13974.826745 Poll UPS [BackUPS@localhost] failed - Driver not connected
Apr 21 20:31:44 router [D1] mainloop: UPS [BackUPS] is not currently connected
Apr 21 20:31:44 router [D1] mainloop: UPS [BackUPS] is now connected as FD -1
Apr 21 20:31:46 router [D1] mainloop: UPS [BackUPS] is not currently connected
Apr 21 20:31:46 router [D1] mainloop: UPS [BackUPS] is now connected as FD -1
Apr 21 20:31:47 router [D1] mainloop: UPS [BackUPS] is not currently connected
Apr 21 20:31:47 router [D1] mainloop: UPS [BackUPS] is now connected as FD -1
Apr 21 20:31:47 router 13979.829943 Poll UPS [BackUPS@localhost] failed - Driver not connected
Apr 21 20:31:49 router [D1] mainloop: UPS [BackUPS] is not currently connected
Apr 21 20:31:49 router [D1] mainloop: UPS [BackUPS] is now connected as FD -1
Apr 21 20:31:51 router [D1] mainloop: UPS [BackUPS] is not currently connected
Apr 21 20:31:51 router [D1] mainloop: UPS [BackUPS] is now connected as FD -1
Apr 21 20:31:52 router [D1] mainloop: UPS [BackUPS] is not currently connected
Apr 21 20:31:52 router [D1] mainloop: UPS [BackUPS] is now connected as FD -1
On the old router, the driver is different:
root@router2:~# upsc BackUPS |grep driver.version
driver.version: 2.8.0
driver.version.data: APC HID 0.98
driver.version.internal: 0.47
driver.version.usb: libusb-1.0.26 (API: 0x1000109)
Any ideas?