New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PPC 930 Card Reader Device cannot be inventoried with Windows serial number #650
Comments
Below is the complete .json file for checking Also follow my complete glpi-agent log with debug level 2 for debugging |
the relevant file for USB devices inventory on windows is this one: https://github.com/glpi-project/glpi-agent/blob/develop/lib/GLPI/Agent/Task/Inventory/Win32/USB.pm Actually, it only uses WMI to retrieve connected devices and nothing more is done to find more information like serialnumber if it is not found. You can see what's the agent analyses by running:
From this list, only devices for which Can you still share at least the entry related to your device ? To support extracting S/N from registry for some case, dedicated modules will have to be created. My guess is we can use Can you share an export of |
Understood, I can no longer access the equipment to export the exact record, but I made a replica on my Windows and exported it if I was going to use the data for testing Gertec test.reg.txt |
Okay, the wmic output would have been useful for automatic tests, but I still can guess it from the json output. I think I can try to develop this support anyway as this could be an interesting update. |
I see a problem in your registry export: it's under HKEY_CURRENT_USER hive... do you have the same keys under HKEY_LOCAL_MACHINE ? This is a problem as the service is running as LocalSystem user. |
Bug reporting acknowledgment
Yes, I read it
Professional support
Still not applicable
Describe the bug
I'm trying to inventory the USB device Card Reader model PPC 930 from Gertec, in Windows there is the full driver for the device, but the GLPI-Agent when importing only brings this data in the .json file
The device's serial number is missing, but this information exists in the Windows registry in this path: Computer\HKEY_CURRENT_USER\Software\Gertec\PIN Pad as shown in the print below
I would really like to know how GLPI-Agent exactly collects information from device drivers to always try to check the correct path of how the reading should work
To reproduce
Expected behavior
The device inventory along with the computer inventory in the Devices tab linked to the asset
Operating system
Windows
GLPI Agent version
1.7.3
GLPI version
10.0.14
GLPIInventory plugin or other plugin version
GLPI Inventory v1.3.5
Additional context
No response
The text was updated successfully, but these errors were encountered: