Hello,
i'd like to use my APC SmartUPS with apcupsd.
I'm using an AVM Fritz!Box 7520, running OpenWrt SNAPSHOT r21856-afcf1a4de4 / LuCI Master git-23.013.73089-9634086.
The problem is: When i connect the UPS via USB with the router, the HID driver doesn't seem to recognize the UPS as a HID.
From dmesg:
[38920.906684] usb 1-1: new low-speed USB device number 11 using xhci-hcd
[38921.231991] usbhid 1-1:1.0: can't add hid device: -71
[38921.232136] usbhid: probe of 1-1:1.0 failed with error -71
lsusb:
Bus 002 Device 001: ID 1d6b:0003 Linux 5.15.88 xhci-hcd xHCI Host Controller
Bus 001 Device 011: ID 051d:0002 American Power Conversion Smart-UPS 750 FW:651.12.I USB FW:4.2
Bus 001 Device 001: ID 1d6b:0002 Linux 5.15.88 xhci-hcd xHCI Host Controller
lsusb -v:
Bus 001 Device 011: ID 051d:0002 American Power Conversion Smart-UPS 750 FW:651.12.I USB FW:4.2
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 0
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x051d
idProduct 0x0002
bcdDevice 0.06
iManufacturer 3 American Power Conversion
iProduct 1 Smart-UPS 750 FW:651.12.I USB FW:4.2
iSerial 2 QS0517244435
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 0x0022
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 11 1
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 30mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 3
bInterfaceSubClass 0
bInterfaceProtocol 0
iInterface 0
HID Device Descriptor:
bLength 9
bDescriptorType 33
bcdHID 1.10
bCountryCode 33 US
bNumDescriptors 1
bDescriptorType 34 Report
wDescriptorLength 1064
Report Descriptor: (length is -1)
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0006 1x 6 bytes
bInterval 100
Device Status: 0x0001
Self Powered
It might have something to do how hid-generic.ko on OpenWrt works compared to the version running on my PC (openSuse Tumbleweed).
Has anybody an idea or even a solution on how to fix that?
Thanks in advance.