2000-12-15 15:46:05

by Jens Petersohn

[permalink] [raw]
Subject: [Q] Remote serial ports?

Hi all,

I have an application in which it would be useful to have access to
remote serial ports as if they where local ports.

Machine A has several serial ports on it connected to various
special types of devices in a locked machine room.

Developers on workstation B wants to execute an application that
communicates with the special devices, but can only do so via
/dev/ttySXX. The developer however (for various reasons) cannot
directly log into Machine A.

Is there some software that would allow "remote forwarding" of
serial ports? I.e. a driver that emulates a serial port on
machine B and forwards the read/write/ioctl operations to machine A?
Does this exist? Is it possible to implement if it doesn't?
Am I overlooking something obvious?

Thank you in advance,

Jens Petersohn


2000-12-15 20:58:42

by Andreas Dilger

[permalink] [raw]
Subject: Re: [Q] Remote serial ports?

Jens Petersohn writes:
> I have an application in which it would be useful to have access to
> remote serial ports as if they where local ports.
>
> Machine A has several serial ports on it connected to various
> special types of devices in a locked machine room.
>
> Developers on workstation B wants to execute an application that
> communicates with the special devices, but can only do so via
> /dev/ttySXX. The developer however (for various reasons) cannot
> directly log into Machine A.
>
> Is there some software that would allow "remote forwarding" of
> serial ports? I.e. a driver that emulates a serial port on
> machine B and forwards the read/write/ioctl operations to machine A?
> Does this exist? Is it possible to implement if it doesn't?
> Am I overlooking something obvious?

Please see the posting on l-k today "[NEW DRIVER] New user space serial port"
which does just what you want. Just-in-time kernel development has arrived.

Cheers, Andreas
--
Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto,
\ would they cancel out, leaving him still hungry?"
http://www-mddsp.enel.ucalgary.ca/People/adilger/ -- Dogbert