As requested…
Raw coords: (-61, -114)
Xformed coords: (1023, 0)
Raw coords: (-58, -117)
Xformed coords: (1023, 0)
Raw coords: (-59, -114)
Xformed coords: (1023, 0)
Raw coords: (-59, -114)
Xformed coords: (1023, 0)
Raw coords: (-41, 3332)
Xformed coords: (1023, 742)
Raw coords: (-35, 3346)
Xformed coords: (1023, 746)
Raw coords: (-32, 3347)
Xformed coords: (1023, 746)
Raw coords: (-28, 3354)
Xformed coords: (1023, 748)
Raw coords: (566, -22)
Xformed coords: (1012, 0)
Raw coords: (566, -24)
Xformed coords: (1012, 0)
Raw coords: (563, -22)
Xformed coords: (1013, 0)
Raw coords: (567, -22)
Xformed coords: (1012, 0)
Raw coords: (580, -18)
Xformed coords: (1008, 0)
Raw coords: (580, -18)
Xformed coords: (1008, 0)
Raw coords: (534, -93)
Xformed coords: (1023, 0)
Raw coords: (537, -90)
Xformed coords: (1022, 0)
Raw coords: (535, -92)
Xformed coords: (1023, 0)
Raw coords: (538, -100)
Xformed coords: (1022, 0)
Raw coords: (526, -118)
Xformed coords: (1023, 0)
Raw coords: (518, -121)
Xformed coords: (1023, 0)
“Alex Chapiro” <achapiro@qnx.com> wrote in message
news:995kgn$mhu$1@nntp.qnx.com…
I’m pretty sure that there is no problem in code. To clarify situation,
could you please start devi-elo in debug print mode (use -v option for
that). In case you are not aware, the most convinient way to do this is to
start driver from other computer using telnet. Just touch four points:
left
top, left bottom, right bottom and right top (exactly in this order). Copy
screen output (there should be messages “Raw coords…” and “XFormed
coords…”) into reply to this message. It just lets me to estimate a
problem more precisely.
Thanks,
Alex Chapiro (R&D)
QNX Software Systems, Ltd.
Jim Douglas wrote in message <99486c$t5n$> 1@inn.qnx.com> >…
Hi,
I am evaluating QNX6 in an Advantech PPC-150T industrial PC that
functions
perfectly under QNX4. I am informed that the touch screen controller is
an
Elo TouchSystems E271-2202 and has no problems with QNX4 ‘Input smartset
uart/fd …’.The controller is hard wired to the COM4 serial port.
I have transferred the calibration data from the ‘absf’ file to the
‘acalib’
file, which is
0x0:1023x767: 3578 536 667 3419 0
I can run devi-elo using the uart or fd options and the cursor responds
to
my touches, but there appears to be an error in the translation of the
touch
screen → graphics co-ordinates that has all the hallmarks of a
signed/unsigned problem or integer overflow.
If I probe around I can find areas where the cursor aligns to my finger.
If
I then drag my finger horizontally across the screen the cursor will
follow
for a short distance. The cursor then goes over to the right hand side of
the screen and stays there as I continue to drag, and then it shoots back
to
meet my finger which it then follows for a short distance…
There is a similar effect in the vertical direction. In this case the
cursor
shoots up to the top periodically.
Before I start hacking the published code to try and investigate further,
I
thought I would ask if anyone knows anything about this problem. Also,
does
the code match the issue of drivers currently in Patch B?
Any help will be much appreciated.
Jim Douglas
\