NUT package works on Raspberry Pi B+ but not on ar71xx (TP-Link AC1750 Archer C7 v4)
Username: Jag Glifonea
Origin: https://bugs.openwrt.org/index.php?do=details&task_id=1808
Device problem occurs on TP-Link AC1750 Archer C7 v4
OpenWrt 18.06.0 release, packages, etc.
I have seen that NUT package runs without issues on Raspberry Pi + board. However, when I tried to install NUT from OpenWrt 18.06.0, I noticed that I cannot perform a
forced shutdown
command which is very critical for my application.
When I try to execute forced shutdown command (
upsdrvctl shutdown
), I get the following error:
root@TPLINKAC1750:~# upsdrvctl shutdown
Network UPS Tools - UPS driver controller 2.7.4
Network UPS Tools - Generic HID driver 0.41 (2.7.4)
USB communication driver 0.33
Can’t claim USB device [0764:0501]: No such file or directory
Driver failed to start (exit status=1)
Also, when I try to read the USB descriptors using
lsusb
, it says “UNAVAILABLE”.
Report Descriptors:
-
UNAVAILABLE
There seems to be a hotplug issue on the USB. If I unplug/re-plug the USB, the USB descriptors are complete when queried and the
forced shutdown
command succeeds.
root@TPLINKAC1750:~# upsdrvctl shutdown
Network UPS Tools - UPS driver controller 2.7.4
Network UPS Tools - Generic HID driver 0.41 (2.7.4)
USB communication driver 0.33
Using subdriver: CyberPower HID 0.4
Initiating UPS shutdown