I have a USB device (BBC micro:bit v2), which is presented by Chrome with description "BBC micro:bit CSMIS-DAP" when connected to in a webapp via Web Serial API, even in Windows.
The problem is that in Windows I'm not able to retrieve this description with programmatic means (e.g. pyserial library, which works nicely in macOS) and I also don't see anything about "micro:bit" when I look the details of the corresponding COM-port under Device Manager or when I execute Get-CimInstance -Class Win32_SerialPort? in PowerShell. The Description is simply reported as "USB Serial Device", Manufacturer as "Microsoft".
My ultimate goal is to retrieve this description (correct product / vendor information) in a Python program, but I'd be thankful for any hints about where to look for.
How does Chrome get to now the proper description of the device?
The easiest way would be to use the
pywinusbmodule, as it is quite nice and concise:These are the results of my two ports:
V2.0: I spent some time this morning learning about the difference between what I just posted and a possible correct answer to this question. I got to this change by using
win32com.client:Results:
V3.0: so my final answer would be like this:
I checked with my device manager and I could find everything there as well.
The results are like this:
Hope this helps you further