Re: Virtual Serial Port

From: Jan Engelhardt
Date: Sat Mar 25 2006 - 13:44:50 EST


>My machine has only one serial port. Now I want to add more *software*
>(virtual) serial ports. I also want to make a virtual serial cable
>between a real serial port and a virtual one OR between virtual ports.
>Is there any way to solve that problem in our universe?

You could write a device driver implementing virtual serial ports. Then you
just add an ioctl that connects/disconnects virtual ports to real ports if
desired.
I do not quite see what this would be good for, but I am sure it's
good for learning or for fun. :)



Jan Engelhardt
--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/