Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Q: Which COM Port my USB device is connected to.

Status
Not open for further replies.

JMal

Programmer
Aug 19, 2004
61
IE
I have a device connection connected to my PC with a USB cable.

Is there any method to find out which COM Port this device is connected to (e.g. 1,2,3,4,etc.)?

 
It's a USB device, it's not connected to a COM port.

A USB cable is small, about the size of an american dime, but it is square and relatively flat.

A COM device would plug into something that looks like a monitor plug... It's got something like 9 pins in it and is a bit smaller than a monitor plug.

Two different things.
 
captaincruch, i think JMal is referring to the logical port as opposed to the physical port on the PC's case. if you look in your device manager you will notice that COM ports go up to 256...

USB devices can emulate com ports - com is just short for "Communication"

On one of the servers here it shows several COM ports to be "In Use" however there are only two Serial physical com ports on the machines case

I tried a while back to find out what was on those ports (as i was having problems with a modem) but I never got to the bottom of it...

As far as I know this is correct...although please do correct me if not.

'When all else fails.......read the manual'
 
What type of device is it? (Ex. Quatech USB to Serial Port Adapter, etc.)?
 
In Device Manager/ ports
Click on + (Ports COM + LTP) and expand list.
Click on Port Settings tab.
Click on Advanced button.
Use the Com Port setting "Down Arrow" to expand list of Com Ports.
You should have COM1 - COM256 listed.

This allows you to change the port number that is assigned to the port. For example, if you have three modems connected to COM1, COM2 and COM3, and you want them all to use COM3, change this setting to COM3 for ports COM1 and COM2. This will force each modem to use COM3.

See if these lead anywhere?

HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\SERIALCOMM

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Ports

Search the Registry for COMn (n = number) and see what else you can turn up.

If you device is an USB Printer it may be assigned a Virtual Printer Port for USB, found under the Ports tab of any Printer listed in Printer and Faxes.

Overview of the COMDisable Tool
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top