Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I plugged in a USB mouse into my Vista machine and it's working fine. Is this device assigned a COM port number? If so, how do I determine it?

In Device Manager, under Ports, everything listed there is either prefixed with a "Bluetooth Serial Port (COMxx)" or "BT Port (COMxx)". Nothing there to suggest the com port of the mouse. I see the mouse under "Mice and other pointing devices", but looking at the properties of the mouse does not reveal the com port number.

I'm curious because I'm interested in using a programming library I found that allows me to read and send messages to a com port device.

share|improve this question

1 Answer 1

up vote 4 down vote accepted

No, USB mice do not emulate serial port. They use USB HID device class shared with keyboards and drawing pads. BT mice also do not use any of serial ports, they use HID channel.

share|improve this answer
    
How can I get a device on my laptop assigned a COM port? All I have are USB ports. Would really like to play with this library. –  StackOverflowNewbie Feb 22 '12 at 12:08
    
Perhaps ebay.com/sch/i.html?_nkw=usb+to+serial+adapter is what you're looking for. –  dsolimano Feb 22 '12 at 13:03
    
Thats what i was thinking. USB mice sometimes do do PS/2 but those arn't conventional serial ports either –  Journeyman Geek Feb 22 '12 at 13:06
    
Are there any hardware that might emulate a COM port? It doesn't need to be a mouse. –  StackOverflowNewbie Feb 22 '12 at 13:27
    
Yes - called USB serial port adapter. Your serial port library has no effect on USB ports, you can use it though against modem in mobile phone etc. For USB you need USB library like libusb or so. You might want to use UNIX, since half of devices are character devices - good enough to be serial port for serial port libraries. –  ZaB Feb 22 '12 at 23:38

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.