Re: Serial port over TCP/IP

From: H. Peter Anvin (hpa@zytor.com)
Date: Sun Apr 06 2003 - 21:37:57 EST


Followup to: <200304061447.46393.freesoftwaredeveloper@web.de>
By author: Michael Buesch <freesoftwaredeveloper@web.de>
In newsgroup: linux.dev.kernel
>
> Is it possible to make a char-dev (a serial device ttyS0)
> available via TCP/IP on a network like it is possible
> for block-devices like a harddisk via nbd?
> Is kernel-support for this present?
> If not, is it technically possible to develop such a driver?
>

I think what you need is the enhanced pty driver patch which was
posted recently, which made is possible for a user-space process to
also capture ioctls() such as baud rate setting etc. Then the rest of
the work can be done in userspace.

        -hpa

-- 
<hpa@transmeta.com> at work, <hpa@zytor.com> in private!
"Unix gives you enough rope to shoot yourself in the foot."
Architectures needed: ia64 m68k mips64 ppc ppc64 s390 s390x sh v850 x86-64
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Apr 07 2003 - 22:00:29 EST