Posix serial port reading
[email protected] Tue, 26 Mar 2002 20:47:10 -0500
| Newsgroups | gmane.os.qnx.openqnx.devel |
|---|---|
| Message-ID | <20720395CBCAD31185BD00105A1FADED0270F1@USCFV01-D01> |
Hi Chris I am the one trying to get the ELO serial touch screen driver working under XFree86 in QNX. I suggested the change with making reading from the serial port non-blocking. You are right that making reading from the serial port wastes a lost of CPU time - I can see everything slows down. I tried to lower VMIN to 1 - but no difference. Now there is one thing that I don't understand - when using the ELO touch screen driver under XFree86/QNX and not making reading from the serial port non-blocking - XFree86 event processing seems to hang. For instance if you type something in a xterm it will not show up until you press the touch screen a couple of times - i.e. XFree86 gets past reading from the serial port. Is it necessary for the function which read_input points at - to normally return or can it be blocking? Thanks -- Jens