On Mar 7, 2020, at 2:02 AM, HILL Walter <[email protected]> wrote:
>
> idVendor 0x0665 Cypress Semiconductor
> idProduct 0x5161 USB to Serial
[...]
> N.B. the Product ID and Vendor ID are unchanged between the two models
> despite the fact that they function and operate quite differently.
>
Thanks for the information - sorry to hear you are dealing with this sort of
"truth-in-labeling" issue on top of the instability of the old model.
Further down in the lsusb output should be some information about the HID
interface. A good distinguishing factor between Power Device Class (PDC) HID
devices and simpler serial-over-HID devices is the size of the HID descriptor.
What does the newer model show for wDescriptorLength? Here's an example for an
APC:
Bus 006 Device 002: ID 051d:0003 American Power Conversion UPS
Device Descriptor:
[...]
bNumConfigurations 1
Configuration Descriptor:
[...]
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
_______________________________________________
Nut-upsuser mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser