From: Paul Fulghum <paulkf@microgate.com>
To: ian <spyro@f2s.com>
Cc: linux-serial@vger.kernel.org
Subject: Re: Line disciplines.
Date: Tue, 15 Jul 2008 21:10:31 -0500 [thread overview]
Message-ID: <487D5897.8010807@microgate.com> (raw)
In-Reply-To: <1216162679.11481.47.camel@wirenth>
ian wrote:
> On Tue, 2008-07-15 at 15:37 -0600, Paul Fulghum wrote:
>> If so, what is the return value from tty_register_ldisc()?
Never mind, that function always returns 0 unless an
invalid ldisc number is specified.
> Offhand I cant recall (several days ago) but since the ldisc appeared
> in /proc/tty/ldiscs I would have thought this succeded?
OK, since your open method is not being called I would
try placing some strategic printks in
drivers/char/tty_io.c:tty_set_ldisc()
to trace the path taken when the line discipline is selected.
That is where the open() method should be called.
--
Paul
prev parent reply other threads:[~2008-07-16 2:11 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-15 20:10 Line disciplines ian
2008-07-15 21:37 ` Paul Fulghum
2008-07-15 22:57 ` ian
2008-07-16 2:10 ` Paul Fulghum [this message]
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=487D5897.8010807@microgate.com \
--to=paulkf@microgate.com \
--cc=linux-serial@vger.kernel.org \
--cc=spyro@f2s.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.