From: lichtenw@guug.de (Klaus Lichtenwalder) Subject: Re: High speed serial ports (>38400) Date: Tue, 9 Mar 1993 08:52:28 GMT
gert@greenie.gold.sub.org (Gert Doering) writes:
>How does seyon do this? Are there "special" ioctl / termio flags for these
>baud rates (EXTC/EXTD? B57600?)
Somehow, yes. Actually, there is an ioctl-call TIOC[GS]SERIAL with the
associated structure struct serial_struct in /usr/include/linux/termios.h
and /usr/include/linux/tty.h, resp.
If you set the flags field to ASYNC_SPD_HI or ASYNC_SPD_VHI and
switch to B38400, you get 38400 and 115200, and you can select custom
baudrates by specifying your own divisor. Have a look at setserial
for the details on this ioctl.
Klaus