Re: serial console and kernel 2.4

christophe barbé
2001-07-30T16:21:42Z

I fully agree with you that the patch is not correct and I'm sure that Reto
agree too.
I'm looking in the code to find the reason but it sounds not easy (termio
stuff ever scare me).
Do you remember a related thread ? with a correct solution ?

Christophe

Le lun, 30 jui 2001 17:53:28, Stuart MacDonald a écrit :
> From: "christophe barbé" <christophe.barbe@lineo.fr>
> > "it works for me" is better that no answer for me. So Thank you for
> your
> > answer.
> > Reto give me a solution : because of a flag all incomming char are
> ignored.
> > So now I need to find why this flag is ok for you and not for me.
>
> The patch breaks the correct operation of the serial driver.
> CREAD is the flag that enables/disables the rx side of the serial
> port. The kernel or whatever service is trying to use the console
> doesn't set CREAD, so rxed (incoming) characters are ignored.
>
> You need to find out why the CREAD handling isn't done properly.
> This has come up a number of times on lkml recently; you should
> be able to find an appropriate answer or pointer in the right
> direction by checking the archives.
>
> Patching the driver breaks the driver instead of fixing the problem.
>
> ..Stu
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel"
> in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
--
Christophe Barbé
Software Engineer - christophe.barbe@lineo.fr
Lineo France - Lineo High Availability Group
42-46, rue Médéric - 92110 Clichy - France
phone (33).1.41.40.02.12 - fax (33).1.41.40.02.01