cygwin 1.5.23-2 : CREAD termios option don't work

Florent Morin
Thu Jan 11 15:53:00 GMT 2007


I actually develop a program in C for reading and writing data on
serial port. It works fine on GNU/Linux. I now test it with cygwin
(Windows XP).

I begin to set the port options, then I read/write information and
restore port settings. I can write on serial port but can't read.

For testing, I have tried with a working program : stty. It works fine
with all options, but not with CREAD.

$ stty cread < /dev/ttyS0
stty: /dev/ttyS0: unable to perform all requested operations

Can someone explain this ?

I use cygwin 1.5.23-2 on Windows XP SP2.



Unsubscribe info:
Problem reports:

More information about the Cygwin mailing list