Add logSystemInfo parameter and USB VID/PID lookup
#331
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This branch adds support for logging
SystemInfoto the output database as a newSystem_Infotable. It also adds support for getting the VID/PID of all USB devices attached to the system and logging this as part ofSystemInfo(which is also written tolog.txtas it has been historically).In order to get VID/PID this branch adds a dependency on
setupapi.libwhich will now need to be packaged with the project. This is currently a windows-only feature.There is no support built-in for identifying mice/keyboards from other USB devices, but the VID/PID of every connected device is reported. An optional
vid_pid.jsonfile has been added to thedata-filesdirectory to provide a lookup of vendor/product names from the VID/PID pair. This file is produced using a Python web-scraping tool.Merging this PR closes #288.