Re: Reading data from ttyS fails

2012-05-25 Thread Corinna Vinschen
On May 25 13:38, thunderboy42 wrote: > Hello Corinna, > > it seems, that the read call block now, even if opened with O_NONBLOCK :-( Sorry, I tested for the wrong error code. Please try the latest. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Pro

Re: Reading data from ttyS fails

2012-05-25 Thread Corinna Vinschen
On May 24 19:17, thunderboy42 wrote: > Hello Corinna, > > I used a part from http://en.wikibooks.org/wiki/Serial_Programming/termios for > testting because my 'original' is a little bit complicated. (see the source at > the end) > > But I think I found the problem in "fhandler_serial.cc". There w

Re: Reading data from ttyS fails

2012-05-24 Thread thunderboy42
Hello Corinna, I used a part from http://en.wikibooks.org/wiki/Serial_Programming/termios for testting because my 'original' is a little bit complicated. (see the source at the end) But I think I found the problem in "fhandler_serial.cc". There was some code added for leaving the method raw_read

Re: Reading data from ttyS fails

2012-05-24 Thread Corinna Vinschen
On May 24 14:25, thunderboy42 wrote: > I have an embedded system connectet with my PC which sends debug data over the > rs232. A simple terminal program unter cygwin is used to analyze this data. > before cygwin 1.7.10 evertything went fine, but now it seems, most transmitted > characters get lost.