Multiple usb devices description not correct
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
usbutils (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
My lsusb displays the following (relevant snippet only)
[...]
Bus 003 Device 003: ID 0951:16ed Kingston Technology HyperX Cloud Alpha S
[...]
Bus 003 Device 005: ID 056d:4002 EIZO Corp. HyperX Cloud Alpha S
Bus 003 Device 010: ID 0738:2218 Mad Catz, Inc.
Bus 003 Device 011: ID 046d:c262 Logitech, Inc. HyperX Cloud Alpha S
[...]
056d:4002 is only an monitor HUB. HyperX Cloud Alpha S isn't even connected to the HUB.
0738:2218 is missing a lot of information.
046d:c262 is an Logitech G920 wheel. HyperX Cloud Alpha S isn't correct remotely.
I have added all the devices to usb.ids file, to try to solve this problem. But lsusb doesn't do anything with it.
So I encounter two problems.
- Naming isn't correct
- Trying to correct it isn't possible.
If I use the command: usb-devices
It shows all the good info under Manufacturer + Product:
T: Bus=03 Lev=03 Prnt=12 Port=01 Cnt=01 Dev#= 15 Spd=12 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=046d ProdID=c262 Rev=96.01
S: Manufacturer=
S: Product=G920 Driving Force Racing Wheel for Xbox One
S: SerialNumber=
C: #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=100mA
I: If#=0x0 Alt= 0 #EPs= 2 Cls=03(HID ) Sub=00 Prot=00 Driver=usbhid
T: Bus=03 Lev=03 Prnt=12 Port=03 Cnt=02 Dev#= 14 Spd=12 MxCh= 0
D: Ver= 1.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=0738 ProdID=2218 Rev=00.01
S: Manufacturer=Mad Catz
S: Product=Saitek Side Panel Control Deck
C: #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=100mA
I: If#=0x0 Alt= 0 #EPs= 2 Cls=03(HID ) Sub=00 Prot=00 Driver=usbhid
T: Bus=03 Lev=03 Prnt=12 Port=03 Cnt=02 Dev#= 14 Spd=12 MxCh= 0
D: Ver= 1.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=0738 ProdID=2218 Rev=00.01
S: Manufacturer=Mad Catz
S: Product=Saitek Side Panel Control Deck
C: #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=100mA
I: If#=0x0 Alt= 0 #EPs= 2 Cls=03(HID ) Sub=00 Prot=00 Driver=usbhid
To solve this bug I propose one of the following solutions:
- Use only the usb.ids file
- Use the usb.ids file and when not found use Product info from usb-devices.
- Use Product info from usb-devices
System information:
Ubuntu 20.10
usbutils: 1:012-2
That the "HyperX Cloud Alpha S" value is repeated for several items is a known problem that has been fixed in newer usbutils 013.
Note that lsusb nowadays collects data from the udev hwdb database and not from the usb.ids file.