[ECOS] blocking read of serial device driver

Jonathan Larmour jlarmour@redhat.com
Wed Apr 3 21:10:00 GMT 2002


Roland Caßebohm wrote:
> 
> Hi,
> 
> I like to have a blocking read with termios for th serial device driver. I
> think when I set c_cc[ VMIN ]=1 it should block, but it doesn't. I have
> looked at the code of termios_read(). The function can only block in
> canonical mode. But when I set c_cc[ VMIN ]=1 the function have to block
> since at least 1 character is received.

As per
http://sources.redhat.com/ecos/docs-latest/ecos-elix/ecos-elix.2.html#pgfId=2626807
we only support MIN=0,TIME=0 at present.

Look at http://people.freebsd.org/~luoqi/ecos/vtime.diff for some
improvements, but we never got a copyright assignment :-|.

Jifl
-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine

-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss



More information about the Ecos-discuss mailing list