[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Deterministic behavior for TTY serial

On Tue, Apr 17, 2012 at 04:38:30PM +0200, Ivo Sieben wrote:
> Hello,
> We are currently using the TTY framework for serial communication.
> We are wondering if it is possible to give the TTY device in more
> deterministic behavior (as in "less locks & no sleeping")

What specifically are you looking for?

> So in case of non blocking read/write behavior:
> - We want directly write data to the serial_core transmit buffer and
> return immediately.

What is "immediately"?

> - Incoming data should be buffered, on a read data is read directly
> from that buffer and when no data available return immediately

That doesn't happen today?

What type of latencies are you seeing today that is bothering you?  What
hardware are you expecting to work in this manner?  What exact UART are
you using?  What happens when the UART buffers data?


greg k-h
To unsubscribe from this list: send the line "unsubscribe linux-serial" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Linux PPP]     [Linux FS]     [Photo]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linmodem]     [Device Mapper]     [Linux Resources]

  Powered by Linux