Author Topic: Identifying underlying drivers  (Read 9215 times)

WestfW

  • Member
  • ***
  • Posts: 8
Identifying underlying drivers
« on: September 22, 2011, 12:51:37 am »
Is there a way to get information about the underlying hardware and/or driver associated with a particular (probably virtual) COM port? COM16: USB Vendor X ID Y SerNo Z
COM22: USB MODEM Vendor X ID Y Serno Z
COM25: TCP driver foo.exe
(or do you have to approach this from the other direction, scanning USB devices (and etc) and figuring out which COM port they provide?)

Jan Axelson

  • Administrator
  • Frequent Contributor
  • *****
  • Posts: 3033
    • Lakeview Research
Re: Identifying underlying drivers
« Reply #1 on: September 22, 2011, 09:22:57 am »
The devcon example in the WDK shows how to obtain the information you can view in Device Manager and thus might be useful to you:

http://msdn.microsoft.com/en-us/library/ff544818%28VS.85%29.aspx

Jan

WestfW

  • Member
  • ***
  • Posts: 8
Re: Identifying underlying drivers
« Reply #2 on: September 26, 2011, 05:19:53 am »
I found some clues in the USB forums, tracked them down and munged them together and came up with something that seems to more-or-less work.

C:\blah>.\ArduScan

Possible Arduino on COM6, VID 0x0403 PID 0x6001
     Serno FTD61T6QA\0000


Code (cygwin, mingw) here: https://github.com/WestfW/ArduScan
(It's not very pretty, since I'm normally an Embedded C kinda person, rather than a Windows C++ person.)