Problem
I am integrating a new serial device into the SCO event handler subsystem, according to the instructions in the SCO Advanced Hardware Developer's Kit (AHDK) 1.0. This device will generate absolute events according to user input, for example a touchscreen, a bitpad, a light pen, and so on.
I have used the event library API to verify that absolute events are being queued successfully.
When using the X environment, however, I find that none of these
absolute events are being recognized by the X server. For example,
I cannot pull down any menu options or activate any icons. Relative
events, as generated by the mouse for example, continue to work
correctly in this environment. Cause
The X server does not correctly request absolute positioning events.
Solution
To work around this problem, specify the class of your device as REL, rather than ABS, in the file /usr/lib/event/devices (see event(FP)).
Alternatively, you can apply the following patch to the X server which will enable it to handle absolute events correctly. (Note that '#' and '*' are user prompts in the example given below.)
Log in as 'root' user.# cd /usr/bin/X11
# cp Xsco Xsco.orig
# /etc/_fst -w Xsco
* 0x17:0xbcdf?w 1c
0x17:0xbcdf: 0x14= 0x1c
* $qThis problem is scheduled to be addressed in a future release of SCO OpenServer.