Bug 1249460 - inventory shows 0000:0000 for USB root hubs on HP rx1620
Summary: inventory shows 0000:0000 for USB root hubs on HP rx1620
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Beaker
Classification: Retired
Component: inventory
Version: 21
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: 21.1
Assignee: Dan Callaghan
QA Contact: tools-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-08-03 04:20 UTC by Dan Callaghan
Modified: 2015-10-21 03:25 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-10-21 03:25:19 UTC
Embargoed:


Attachments (Terms of Use)

Description Dan Callaghan 2015-08-03 04:20:44 UTC
Need to figure out if there really is no USBIDs for these devices (are they just emulated/virtual perhaps?). Either fix lshw to report the USBIDs properly or make beaker-system-scan exclude 0000:0000 from USBID key-value.

Comment 2 Dan Callaghan 2015-08-17 05:06:33 UTC
The USB root hubs are essentially virtual, they seem to be an abstraction created by the kernel to manage all the USB devices attached to a PCI USB host controller.

In newer kernels they have a USB id like 1d6b:0001, but in the RHEL5 kernel the vendor and product really are hardcoded as zeroes instead:

https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/tree/drivers/usb/core/hcd.c?id=refs/tags/v2.6.18#n119

It's possible that beaker-system-scan (or lshw?) should just be filtering out these root hubs which are not real devices. I'm not sure if that's the best answer or not. It probably doesn't hurt to include them as we are now.

It looks like we should just make beaker-system-scan leave out USB devices from the USBID key when the ids are all zeroes as in this case.

Comment 3 Dan Callaghan 2015-08-17 05:23:33 UTC
http://gerrit.beaker-project.org/4352

Comment 6 Dan Callaghan 2015-10-21 03:25:19 UTC
Beaker 21.1 has been released.


Note You need to log in before you can comment on or make changes to this bug.