Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

Everything is working with my serial port. I have connected my FTDI converter into my computer, set my COM port...
ln -s /dev/ttyUSB0 ~/wine/dosdevices/COM1

But now I would like to "clone" this port.

I am using wine to run u-center a GPS visualizer and I have a Linux computer running Ubuntu
Could anyone help?

share|improve this question
2  
I don't understand what you mean by cloning a serial port. Do you want several applications to access that port? That shouldn't require any special manipulation. Do you want to connect several serial devices? Then you need several ports. –  Gilles May 7 '11 at 16:29
    
Yes, Cloning/Splitting the serial port for multi-application use, which I have tried to do. Sorry I wasn't more specific. –  avitex May 8 '11 at 0:10
add comment

1 Answer

Serial port communication is always between 2 devices and cannot be shared. Only one application can hold the device at a time. But it is possible to snoop the communication i.e. monitor the data transmission.

share|improve this answer
    
Hmm...I know this but I would like to have like two virtual ports to listen into... i.e Goops and GPS Visualizer –  avitex May 8 '11 at 10:57
    
there's a utility called "socat" which can be used to create virtual COM ports –  rajaganesh87 May 10 '11 at 12:21
    
Thanks. I will check it out :D –  avitex May 11 '11 at 7:58
add comment

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.