Modem control hangup

Richard B. Johnson (root@chaos.analogic.com)
Mon, 8 Mar 1999 21:21:48 -0500 (EST)


Theodore,
Will you please check to see why recent kernels won't hang up the
modem when the baud-rate is set to B0.

I've tried every-possible user-space combination including zeroing
the whole 'struct termios' structure.

Looking at the code, I think old_termios->c_flag will always be
zeroed (can't see where it is ever set). This will prevent
your transition into/out-of B0 status (line 2173 of serial.c)

Cheers,
Dick Johnson
***** FILE SYSTEM WAS MODIFIED *****
Penguin : Linux version 2.2.2 on an i686 machine (400.59 BogoMips).
Warning : It's hard to remain at the trailing edge of technology.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/