Re: Line disciplines.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
--
To unsubscribe from this list: send the line "unsubscribe linux-serial" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux PPP]     [Linux FS]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linmodem]     [Device Mapper]     [Linux Kernel for ARM]

  Powered by Linux