Re: A question on serial driver

From: Shashidhar Hiremath
Date: Tue Aug 07 2012 - 04:49:49 EST


Hi Richard,
I am new to serial framework. Can you please elaborate on what you
mean by implementing a hangup ?
On Tue, Aug 7, 2012 at 2:06 PM, richard -rw- weinberger
<richard.weinberger@xxxxxxxxx> wrote:
> 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



--
regards,
Shashidhar Hiremath
--
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/