Hello,
I'm having a problem with OpenWRT on Archer C7 AC1750 2.0 + Network UPS Tools + APC SMT750I - I'm getting "Can't claim USB device [051d:0003]: No such file or directory" message. The UPS is visible from lsusb command, although it doesn't report any "Report Descriptors" - should be? Router is running latest v18.06.1, and the UPS was working fine with LEDE v17.01.1.
Here are the output from commands:
root@AC1750:~# lsusb
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 051d:0003 American Power Conversion UPS
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
root@AC1750:~# lsusb -v -d 051d:0003
Bus 001 Device 002: ID 051d:0003 American Power Conversion UPS
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x051d American Power Conversion
idProduct 0x0003 UPS
bcdDevice 1.06
iManufacturer 1 American Power Conversion
iProduct 2 Smart-UPS 750 FW:UPS 09.3 / ID=18
iSerial 3 AS1204126341
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 41
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 2mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 3 Human Interface Device
bInterfaceSubClass 0 No Subclass
bInterfaceProtocol 0 None
iInterface 0
HID Device Descriptor:
bLength 9
bDescriptorType 33
bcdHID 1.00
bCountryCode 33 US
bNumDescriptors 1
bDescriptorType 34 Report
wDescriptorLength 515
Report Descriptors:
** UNAVAILABLE **
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 20
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x01 EP 1 OUT
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 10
Device Status: 0x0002
(Bus Powered)
Remote Wakeup Enabled
root@AC1750:~# /lib/nut/usbhid-ups -DDD -a SMT750I
Network UPS Tools - Generic HID driver 0.41 (2.7.4)
USB communication driver 0.33
0.000000 debug level is '3'
0.001210 upsdrv_initups...
0.004333 Checking device (1D6B/0002) (002/001)
0.005837 - VendorID: 1d6b
0.006523 - ProductID: 0002
0.007290 - Manufacturer: Linux 4.14.91 ehci_hcd
0.008079 - Product: EHCI Host Controller
0.008878 - Serial Number: ehci-platform.1
0.009656 - Bus: 002
0.010382 - Device release number: 0414
0.011158 Trying to match device
0.011910 Device does not match - skipping
0.012809 Checking device (051D/0003) (001/002)
0.020162 - VendorID: 051d
0.021061 - ProductID: 0003
0.021710 - Manufacturer: American Power Conversion
0.021916 - Product: Smart-UPS 750 FW:UPS 09.3 / ID=18
0.021974 - Serial Number: AS1204126341
0.022643 - Bus: 001
0.022706 - Device release number: 0106
0.022756 Trying to match device
0.022819 interrupt pipe disabled (add 'pollonly' flag to 'ups.conf' to get rid of this message)
0.022894 Device matches
0.022973 failed to claim USB device: Resource busy
0.023475 failed to detach kernel driver from USB device: No such file or directory
0.023564 failed to claim USB device: Resource busy
0.023640 failed to detach kernel driver from USB device: No such file or directory
0.023971 failed to claim USB device: Resource busy
0.024592 failed to detach kernel driver from USB device: No such file or directory
0.024684 failed to claim USB device: Resource busy
0.024761 failed to detach kernel driver from USB device: No such file or directory
0.024832 Can't claim USB device [051d:0003]: No such file or directory
Should I provide any other debug info?
Thank you,
Best Regards,