Re: 2.6.25.3: serial problem (minicom)

From: Alan Cox
Date: Sat Jun 14 2008 - 05:46:50 EST


> Setting the baud rate to B0 clears both (as per SUS).
>
> Subsequently setting the baud rate to something other than B0 leaves the
> control lines low.
>
> As it happens, apart from the fact that it breaks minicom, I actually prefer
> this behavior.

What happens after you go from B0->Banythingelse should depend on the
termios settings at that point. This sounds like a bug therefore.

If you want that behaviour intentionally set B0, after this termios
call then set CLOCAL before changing the baud back.

I'll take a look at this next week.

Alan
--
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/