Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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

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
Here's an example scenario involving socat: serverfault.com/a/453141 – simon04 May 26 '14 at 10:32

Your Answer


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.