lsusb shows wrong/duplicate product name
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
usbutils (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
lsusb incorrectly labels a device using the product name from a previous device.
In the listing below, the incorrect product name on the second 04d8:fee9
device ("Microsoft® LifeCam HD-5000") is a copy of the product name
of the first device in the list:
$ lsusub -s 3:
Bus 003 Device 002: ID 045e:076d Microsoft Corp. LifeCam HD-5000
Bus 003 Device 009: ID 090c:6300 Silicon Motion, Inc. - Taiwan (formerly Feiya Technology Corp.) Kingston Reader
Bus 003 Device 007: ID 0451:8142 Texas Instruments, Inc. TUSB8041 4-Port Hub
Bus 003 Device 019: ID 04d8:fee9 Microchip Technology, Inc.
Bus 003 Device 011: ID 04d8:fee9 Microchip Technology, Inc. Microsoft® LifeCam HD-5000
Bus 003 Device 006: ID 03eb:0902 Atmel Corp. 4-Port Hub
Bus 003 Device 013: ID 0bda:2838 Realtek Semiconductor Corp. RTL2838 DVB-T
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Device 04d8:fee9 is not a Microsoft device.
Below is a verbose listing of the device that displays the wrong product
name. You can see that "Microsoft" doesn't appear anywhere in the
verbose listing, except incorrectly on the title line. Perhaps lsusb is
forgetting to clear the product title string before listing each device,
so a device that is busy or doesn't report a string gets a previous
device's string?
$ lsusb -v -s 3:11
Bus 003 Device 011: ID 04d8:fee9 Microchip Technology, Inc. Microsoft® LifeCam HD-5000
Device Descriptor:
bLength 18
bDescript
bcdUSB 2.00
bDeviceClass 255 Vendor Specific Class
bDeviceSu
bDevicePr
bMaxPacke
idVendor 0x04d8 Microchip Technology, Inc.
idProduct 0xfee9
bcdDevice 1.00
iManufacturer 1 Clearly Open
iProduct 2 PengAlert module
iSerial 3 1
bNumConfi
Configuration Descriptor:
bLength 9
Self Powered
MaxPower 0mA
Interface Descriptor:
bLength 9
Configuration Descriptor:
bLength 9
Self Powered
MaxPower 0mA
Interface Descriptor:
bLength 9
Configuration Descriptor:
bLength 9
Self Powered
MaxPower 0mA
Interface Descriptor:
bLength 9
Endpoint Descriptor:
bLength 7
Synch Type None
Usage Type Data
Endpoint Descriptor:
bLength 7
Synch Type None
Usage Type Data
Device Status: 0x1000
(Bus Powered)
The 04d8:fee9 device is in active use, which appears to interfere with
lsusb getting all the details. Also, using lsusb interferes with the
use of the device, causing "Protocol error" problems when trying to do
usb_set_
kernel: [680110.235892] xhci_hcd 0000:00:14.0: Trying to add endpoint 0x1 without dropping it.
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: usbutils 1:012-2
ProcVersionSign
Uname: Linux 5.13.0-40-generic x86_64
ApportVersion: 2.20.11-
Architecture: amd64
CasperMD5CheckR
Date: Thu May 5 12:05:50 2022
EcryptfsInUse: Yes
InstallationDate: Installed on 2020-10-07 (574 days ago)
InstallationMedia: Lubuntu 20.04.1 LTS "Focal Fossa" - Release amd64 (20200731)
SourcePackage: usbutils
UpgradeStatus: No upgrade log present (probably fresh install)
This bug is fixed in the GIT repository at https:/ /github. com/gregkh/ usbutils