On Wed, 28 Feb 2007 14:47:12 +0100
Christopher Meller <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to