Re: Virtual Serial Port

Petr Vandrovec
2006-03-26T18:52:54Z

Mikado wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>
>> guest writes to /dev/ttyS0
>> vmware connects its virtual S0 to the host's ttyFakeS0
>> minicom on the host to ttyFakeS0
>>or even
>> vmware S0 to host's ttyS0
>> other remote machine do minicom to ttyS0
>>
>>The reason for FakeS0 is that vmware does not know about ptys,
>>unfortunately.
>
>
> Yes, VMWare doesn't support serial port using host's ttys any more. My
> idea is:
>
> [host - application] <- read/write -> [virtual serial port
> /dev/ttyFakeS0] <- read/write over virtual null-modem serial cable ->
> [host - real serial port /dev/ttyS0] <- read/write -> [VMWare - application]

Although it is quite irrelevant to LKML (you may want to visit
www.vmware.com/community/index.jspa and ask there...), you can connect guest's
serial port also to Unix socket - and in such situation you need virtual serial
port driver only if 'host - application' does not know how to use /dev/tty* (for
unix socket <-> /dev/ptyp* app look at
http://platan.vc.cvut.cz/ftp/pub/vmware/serpipe.tar.gz).
Petr