Re: serial flow control appears broken

From: Maciej W. Rozycki
Date: Fri Jul 27 2007 - 07:34:27 EST


On Thu, 26 Jul 2007, Lee Howard wrote:

> If the application were to use TIOCM_RTS how would it know when to apply it or
> not? Is there some approach that the application could take to manage flow
> control on the serial port? What about software flow control? Does the

Well, an application could negate RTS when it receives a character and
is running out of resources for further processing of incoming data.

Smarter UARTs may be able to negate RTS themselves based on the amount of
data in their receive FIFO. The threshold may be configurable.

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