How to create a virtual serial port?

Grant Edwards grante at visi.com
Sun Apr 12 03:36:06 CEST 2009


On 2009-04-11, Scott David Daniels <Scott.Daniels at Acm.Org> wrote:
> Grant Edwards wrote:
>> ...If he was going to plug the device into a real serial port on
>> the machine inquestion, then he wouldn't need a virtual serial
>> port.
>> 
>>> I don't see anywhere on my laptop I could plug in anything but
>>> a USB connector, an ethernet connector, a firewire connector,
>>> headphones, speakers, a display connector, or a power cord.
>> 
>> He's not trying to plug the device into your laptop.
>
> Yup.  It seems to me you could write a slug to talk USB driver
> to OS/X,

USB is an icky, nasty, complicated protocol.  It has
Microsoft's fingerprints all over it.

Adding support for more ioctl() calls to the pty driver would
be a lot easier.

-- 
Grant




More information about the Python-list mailing list