Is there a way to get USB device information that's in windows "device manager" programmatically using python or a dos command prompt or... ?
I know the PID and VID of the device of interest.
Below are two examples of device manager info that I'm trying to get ,
from property -> hardware IDs , this is the consumer control page 0x0C, collection 1
HID\VID_047F&PID_4304&REV_1030&MI_03&Col01
HID\VID_047F&PID_4304&MI_03&Col01
HID\VID_047F&UP:000C_U:0001
HID_DEVICE_SYSTEM_CONSUMER
HID_DEVICE_UP:000C_U:0001
HID_DEVICE
here is another example, the vendor unique page 0xFFA2, collection 3
HID\VID_047F&PID_4304&REV_1030&MI_03&Col03
HID\VID_047F&PID_4304&MI_03&Col03
HID\VID_047F&UP:FFA2_U:0003
HID_DEVICE_UP:FFA2_U:0003
HID_DEVICE_UPR:FF00-FFFF
HID_DEVICE
I'd be ok with launching something in windows that creates a text file that I could parse, but I don't see anything text-based like device manager.
Thanks!