Welcome to OCS Inventory NG community support, where you can ask questions and receive answers from other members of the community.

Please ask questions only in English or French.

Release 2.11.1 available

The official documentation can be found on http://wiki.ocsinventory-ng.org. Read it before asking your question.

Can no collect USB devices with linux agent 2.8

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.

in OCS Inventory NG agent for Unix by (120 points)

1 Answer

0 votes

have you reported the bug in github ? it is important .. because the developers can fix the next version

Kind regards

Soktra

by (22.6k points)
 
Powered by Question2Answer
...