XFree86/QNX SerialRead blocking change

[email protected] Mon, 25 Mar 2002 16:36:21 -0500
Newsgroups gmane.os.qnx.openqnx.devel
Message-ID <20720395CBCAD31185BD00105A1FADED0270E5@USCFV01-D01>
Hi Frank,

I ran into a problem with using a serial touch screen (ELO) with XFree86.
The problem was that events seemed blocked when using the serial touch
screen - I think other people experienced the same problem with serial mouse
- if they don't use devi-hirun.

Following will solve the problem:

change line 198 in posix_tty.c (in
xc/programs/Xserver/hw/xfree86/os-support/nto) from:

       i &= ~O_NONBLOCK;

to:

       i |= O_NONBLOCK;

I don't think it will break anything else.

--
Jens