Ports
May 21, 2013, 05:48:52 am *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: SMF - Just Installed!
 
   Home   Help Search Login Register  
Welcome to the PORTS Forum. Please post your questions, answers, and comments relating to USB and other hardware interfaces in the appropriate forums below. - Jan
Pages: [1]
  Print  
Author Topic: Identifying underlying drivers  (Read 1486 times)
WestfW
Member
*
Posts: 5


« on: September 21, 2011, 11:51:37 pm »

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?)
Logged
Jan Axelson
Administrator
Frequent Contributor
*****
Posts: 1626


WWW
« Reply #1 on: September 22, 2011, 08: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
Logged
WestfW
Member
*
Posts: 5


« Reply #2 on: September 26, 2011, 04: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.)
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!