From: Christopher Meller <cmeller@innominate.com>
To: linux-kernel@vger.kernel.org
Subject: Question on tty line discipline
Date: Wed, 28 Feb 2007 14:47:12 +0100 [thread overview]
Message-ID: <20070228134711.GA8631@innominate.com> (raw)
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
next reply other threads:[~2007-02-28 14:15 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-28 13:47 Christopher Meller [this message]
2007-02-28 15:37 ` Question on tty line discipline Alan
2007-03-03 20:00 ` Tilman Schmidt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070228134711.GA8631@innominate.com \
--to=cmeller@innominate.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox