[Fusioninventory-devel] consistency issues between USB and PCI device

Benoit Mortier benoit.mortier at opensides.be
Fri Jan 11 10:44:20 UTC 2013


Le Ven 11 janvier 2013 0:47, Guillaume Rousse a écrit :
> 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.

yes

> 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.

i'am in favour of the splitting into VENDORID and PRODUCTID because that
would allow people from the opsi project to use fusioninventory as the
inventory tool for windows installation and inventory management

Cheers
-- 
Benoit Mortier
CEO
OpenSides "logiciels libres pour entreprises" : http://www.opensides.eu/
Promouvoir et défendre le Logiciel Libre http://www.april.org/
Main developper in FusionDirectory : http://www.fusiondirectory.org/
Contributor to OPSI : http://opsi.org/



More information about the Fusioninventory-devel mailing list