We need to collect some USB devices on both Windows and Linux computers.
We have written a plugin for windows but according to the linux agent sources, it seems enough to have the lsusb command.
But when we have tried this fonctionnality, we discover some bug into "https://github.com/OCSInventory-NG/UnixAgent/blob/master/lib/Ocsinventory/Agent/Backend/OS/Generic/Lsusb/Usb.pm".
The method used to parse lsusb can not work. An material id is composed of numbers AND letters. The perl expression only search numbers. After making some bugfix, we discover that if we have now the informations in the inventory, the datas are not stored in the database.
In addition we did not find in ocsreports the interface displaying the usbdevice table.
We have created our own plugin for windows and linux but it would be better if windows and linux agents could natively retrieve this information.