rich+ml | 6 May 2005 21:14

Re: tcdrain / TCSBRK / wait_until_sent delay

On Fri, 6 May 2005, Andy Parkins wrote:

> I'm not sure what the HZ/50 is for.
Undoes some fudge factor added on when first calculated.

> These times will all be significantly smaller than 1ms; if the value of HZ
> where going to affect this then why has the author bothered to calculate
> these times at all? 1ms would drown these other timeouts out.
It only kicks in for sub-1200 baud.

In any case linux is not an RTOS, it does not guarantee maximum latency,
so no matter what you are going to be intermittent at best.

Have you tried hardware flow control, "stty crtscts < /dev/ttyX"?.  With
CTS strapped high, RTS should follow THRE||TE.

== Rich
-
To unsubscribe from this list: send the line "unsubscribe linux-serial" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Gmane