Re: A question on serial driver

From: richard -rw- weinberger
Date: Tue Aug 07 2012 - 04:36:48 EST


On Tue, Aug 7, 2012 at 10:22 AM, Shashidhar Hiremath
<shashidharh@xxxxxxxxxxxxxxx> wrote:
> Hi,
> I have written a console driver where I also do the serial driver
> registration and handling. The driver seems to work fine till the
> login point(reads and writes). The driver for some reason does not
> print the content I type on console after login prompt. Any reason
> why this might be happening ?

login and getty do a lot of TTY black magic, maybe you forgot to implement
something like hangup()...
Use strace to find out what the login programs are doing.

--
Thanks,
//richard
--
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/