2 Touchscreen Questions.

I have a touchscreen that runs properly when I run the following line in a
pterm window in photon 1.14.
Input smartset uart -p3e8 i12 &
I’m trying to have the touchscreen activate automatically on startup, I’ve
tried adding it to the input.node file and the sysinit.node files but that
doesn’t seem to do it.
Q1. Where do I put this line to have the touchscreen active on startup?


Just out of curiousity…
I previously got the touchscreen working using the following line.
Input smartset fd -d /dev/ser3 &
I entered this into a pterm window then I calibrated it (using acalib) and
everything was fine. The next day and since then whenever I try to use the
fd -d /dev/ser3 command the calibration doesn’t work… the point is bang on
in the lower left hand corner and when I get to about 2/3 of the way to the
upper right corner of the screen the pointer is registering that I am at the
upper right hand corner.
Q2. Anyone have any idea why this is and what might cause it?


Thanks in advance

Daniel Carreira

Daniel Carreira <carreira@nir_vivo.com> wrote:

I have a touchscreen that runs properly when I run the following line in a
pterm window in photon 1.14.
Input smartset uart -p3e8 i12 &
I’m trying to have the touchscreen activate automatically on startup, I’ve
tried adding it to the input.node file and the sysinit.node files but that
doesn’t seem to do it.
Q1. Where do I put this line to have the touchscreen active on startup?

You put it in the input.node file, but you don’t actually include
the `Input’ part… you only put the arguments in there.

Just out of curiousity…
I previously got the touchscreen working using the following line.
Input smartset fd -d /dev/ser3 &
I entered this into a pterm window then I calibrated it (using acalib) and
everything was fine. The next day and since then whenever I try to use the
fd -d /dev/ser3 command the calibration doesn’t work… the point is bang on
in the lower left hand corner and when I get to about 2/3 of the way to the
upper right corner of the screen the pointer is registering that I am at the
upper right hand corner.
Q2. Anyone have any idea why this is and what might cause it?

If you run acalib again, does it work again until you reboot?

Hi Daniel,
you can be lucky that you have not to use the Intelli or AccuTouch protocols. We
had touble with them and change to microtouch and dynapro, but that’s a different
story.

We worked long on the problem with the port. In the end we changed the address and
the interupt of the physical port4 (bios) to -p 3F8 and -i 3 . That is the address
and the interupt of standard port 1. Then it worked. You can try in the file:
/etc/config/trap/input.XX (XX=nodenumber) the following line: kbd -R fd
-d/dev/kbd smartset uart -p3e8 i12 Do not forget the newline!!

pete@qnx.com schrieb:

Daniel Carreira <carreira@nir_vivo.com> wrote:
I have a touchscreen that runs properly when I run the following line in a
pterm window in photon 1.14.
Input smartset uart -p3e8 i12 &
I’m trying to have the touchscreen activate automatically on startup, I’ve
tried adding it to the input.node file and the sysinit.node files but that
doesn’t seem to do it.
Q1. Where do I put this line to have the touchscreen active on startup?

You put it in the input.node file, but you don’t actually include
the `Input’ part… you only put the arguments in there.

Just out of curiousity…
I previously got the touchscreen working using the following line.
Input smartset fd -d /dev/ser3 &
I entered this into a pterm window then I calibrated it (using acalib) and
everything was fine. The next day and since then whenever I try to use the
fd -d /dev/ser3 command the calibration doesn’t work… the point is bang on
in the lower left hand corner and when I get to about 2/3 of the way to the
upper right corner of the screen the pointer is registering that I am at the
upper right hand corner.
Q2. Anyone have any idea why this is and what might cause it?

If you run acalib again, does it work again until you reboot?

Here you might have a problem with the values the touch hardware returns to you.
DOS Systems like to have plus and minus values. Unix and QNX Systems like only
positive values. Befor working on the touch controler, check the acalib file:
/etc/config/absf/absf.XX (XX=nodenumber). For a 800 x 600 picle display it might
contain something like: 0x0:799x599:952 159 916 127 1 Do not forget the
newline!! It could be necessary that you change the last 1 to a 0 as we have to do
it.

regards
Bernd