Question on tty line discipline

From: Christopher Meller
Date: Wed Feb 28 2007 - 09:16:13 EST


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.

Could you please CC me on answers and comments ?


Kind regards,

Christopher Meller



--
Christopher Meller
Software engineer

Innominate Security Technologies AG
protecting industrial networks
tel: +49.30.6392-3680
fax: +49.30.6392-3307
Albert-Einstein-Str. 14
D-12489 Berlin
www.innominate.com

Register Court: AG Charlottenburg, HR B 81603
Management Board: Joachim Fietz, Dirk Seewald
Chairman of the Supervisory Board: Edward M. Stadum
-
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/