[Fusioninventory-devel] consistency issues between USB and PCI device
Guillaume Rousse
guillomovitch at gmail.com
Thu Jan 10 23:47:23 UTC 2013
Here is a controller element:
<CONTROLLERS>
<CAPTION>82801I (ICH9 Family) USB UHCI Controller #4</CAPTION>
<DRIVER>uhci_hcd</DRIVER>
<MANUFACTURER>Intel Corporation</MANUFACTURER>
<NAME>82801I (ICH9 Family) USB UHCI Controller #4</NAME>
<PCICLASS>0c03</PCICLASS>
<PCIID>8086:2937</PCIID>
<PCISLOT>00:1a.0</PCISLOT>
<REV>03</REV>
<TYPE>USB controller</TYPE>
</CONTROLLERS>
Here is an USB device element:
<USBDEVICES>
<CAPTION>BCM5880 Secure Applications Processor with fingerprint swipe
se</CAPTION>
<CLASS>254</CLASS>
<MANUFACTURER>Broadcom Corp.</MANUFACTURER>
<PRODUCTID>5801</PRODUCTID>
<SUBCLASS>0</SUBCLASS>
<VENDORID>0a5c</VENDORID>
</USBDEVICES>
First issue: for a PCI controller, CAPTION and NAME elements are
strictly identicals. I suggest to drop NAME and keep CAPTION only, as
for USB device.
Second issue: we transmit PCI identifiers (vendor and device) as a
single PCIID element, whereas we transmit them as distinct VENDORID and
PRODUCTID for the USB device. We should either have PCI controller PCIID
element splitted into VENDORID and PRODUCTID too, or USB device
PRODUCTID and VENDORID merged to a single USBID element.
--
BOFH excuse #10:
hardware stress fractures
More information about the Fusioninventory-devel
mailing list