Re: ttyS0 stuck in tty_wait_until_sent when sending break (openedwith O_NONBLOCK)

From: Domen Puncer
Date: Tue Nov 15 2011 - 14:03:00 EST


On Sun, Nov 6, 2011 at 11:27, Domen Puncer <domen@xxxxxx> wrote:
> write(3, "\301", 1) Â Â Â Â Â Â Â Â Â Â = 1
> ioctl(3, TCSBRK <unfinished ...>
>

Traced this down to flow control. And ioctl(fd, TCSBRK, 1) is tcdrain,
so it waited.

Sorry for the noise.
--
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/