QNX RTOS v4 Knowledge Base
QNX RTOS v4 Knowledge Base
Title |
Erratic behaviour with ELO Touch Screens |
Ref. No. |
QNX.000010261 |
Category(ies) |
Input Devices |
Issue |
We setup the touch screen with the smartset protocol and got it to work (acalib worked perfectly). However, when trying to use the touch screen, we found a couple of problems:
1)At the top of the screen, we found that the function was normal, but as we moved down in a straight line, the cursor jumped ahead of the touchpoint in the -y direction at a certain point and as we continued to proceed farther, the offset became greater. Moving in the horizontal direction posed no problems.
2) In a vertical band about 1 inch from the left corner of the screen, the cursor becomes offset 2 inches in the +x direction and exhibits the same problems seen in item 1 above.
|
Solution |
This has been seen on several ELO Touch screens. What happens is that the serial input translates a carriage-return (13) to a newline (10).
This can be prevented with 'stty -nl < /dev/ser1', if the touch screen is connected with serial line 1.
|
|