Is mapping a usb device to a com port possible??

Associate
Joined
13 Nov 2002
Posts
2,308
Location
Bedfordshire
Well as per thread title really.

Is mapping a usb device to a com port possible? I have a usb IR device which I need to map to com port 1 - 4 (as the software will only take input from these ports) is there a virtual com port that will map from usb?

Cheers
 
That depends how the IR device is presented to the system, generally they will emulate a com port as part of the driver - check in device manage for IR devices and see if there is a com port mapped to it.

Otherwise you don't have much chance really, not unless you wrote a program to sit in between the one you want to use and your IR driver.
 
Unfortunately it doesn't emulate a com port, otherwise I could just map/re-map it to com 1-4 which is fairly easy.
 
I'll give this just the one bump on the off chance.

Alternatively, is there any software which will monitor a usb Irda device waiting for input, rather than expecting a handshake before it accepts any data?
 
There are a few USB monitors, i was using this a while ago
http://www.hhdsoftware.com/Products/home/usb-monitor.html

The free trial was good enough for me, i only needed it for a short while.

On linux you can just cat the output of the device.

I tried the usb monitor but unfortunately the barcode scanner I need to dump to IR requires a handshake at the beginning of its datadump (rather than a device sync as with mobile phone etc). I have the software to do this but it is looking for a Irda device on Com 1-4, hence the original question about remapping/bridging. It's probably going to be easiest to get a serial irda device I guess.

cat is going to have the same problem, but good idea, I hadn't thought of that (I'm not great with linux, still learning)
 
Last edited:
Back
Top Bottom