Re: Question on tty line discipline
- From: Alan <alan@xxxxxxxxxxxxxxxxxxx>
- Date: Wed, 28 Feb 2007 15:37:02 +0000
On Wed, 28 Feb 2007 14:47:12 +0100
Christopher Meller <cmeller@xxxxxxxxxxxxxx> wrote:
Hi,
I have a question concerning the line discipline behaviour for serial
devices.
When the line discipline is set via ioctl from user space to e.g. N_PPP and the userspace program returns without resetting the line discipline back to N_TTY, the serial device cannot be used (ENODV) until an appropriate ioctl (to N_TTY) is performed. Is there any reason for the fact that the line discipline is not reset by the kernel , when closing the device.
No special reason, it has simply always been that way. Getty and friends
are expected to put the tty back into a sane state.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- References:
- Question on tty line discipline
- From: Christopher Meller
- Question on tty line discipline
- Prev by Date: struct page field arrangement
- Next by Date: Re: lanana: Add major/minor entries for PPC QE UART devices
- Previous by thread: Question on tty line discipline
- Next by thread: Wanted: simple, safe x86 stack overflow detection
- Index(es):