I would really apreciate if someone could help me. The problem is that I
can't make the touchscreen work under QNX 4.25 / Photon 1.14. It's
running fine if I attach a hard disk which has Win95 and touchscreen
drivers installed on it.
Hardware:
- Advantech SBC 4823 with M-Systems DiskOnChip, Ethernet, Video,
LPT1, COM1 and COM2 (16C550 UART)
- Elographics Accutouch touchscreen E271-2210 (controller card is built
into the touchscreen and there is a serial cable to be connected to
one of PC's COM ports)
So far, I have tried the following settings pursued by acalib and restarting
Photon, but it did not help. Inputtrap detects only Elo bus interface
adapters.
Setting #1:
- /etc/config/sysinit.1 contains
/dev/Dev.ser -N/dev.ser1 3f8,4 &
/dev/Dev.ser -N/dev.ser2 2f8,3 &
- /etc/config/trap/trap.1 contains
kbd -R
fd -d/dev/kbd
msoft -R
fd -d/dev/ser1
intellitch -b9600
fd -d/dev/ser2
Setting #2:
-same as #1, no mouse, touchscreen on COM2
Setting #3:
-same as #2, no mouse, touchscreen on COM1
Setting #4:
- /etc/config/sysinit.1 does not contain
/dev/Dev.ser -N/dev.ser1 3f8,4 &
/dev/Dev.ser -N/dev.ser2 2f8,3 &
- /etc/config/trap/trap.1 has
kbd -R
fd -d/dev/kbd
msoft -R
uart -i4 -p3f8
intellitch -b9600
uart -i3 -p2f8
Setting #5:
-same as #4, no mouse, touchscreen on COM2
Setting #6:
-same as #5, no mouse, touchscreen on COM1.
When starting Photon in safe mode (#ph -s) and typing
#Input -vvv intellitch fd -d/dev/ser2 the Input tells that
the calibration has been found for 600x480 and then the mouse and
keyboard don't accept any input and Photon appears to be frozen.
Regards,
Zeljko
stty +RTS +DTR </dev/rkt1
We specifically do not invoke mousetrap here, and do not start the
Mouse driver, since it interferes with the Photon driver in
unpredictable ways.
input.1 contains
kbd -R fd -d/dev/kbd smartset fd -d/dev/rkt1
This is the version with no mouse. With a mouse, it's
kbd -R fd -d/dev/kbd ps2 -r kb -2 rel -G2 smartset fd -d/dev/rkt1
This is using a ps2 mouse, and has the rel -G2 to speed it up. The
mouse has to be connected to the ps2 port to use these settings when
the system boots on some motherboards/BIOSs, otherwise, Photon hangs on
startup.
To calibrate, start the system with a mouse attached. Run photon, and
setup your display settings as appropriate. Startup a shell, then give
the command
acalib
and use your finger to touch the screen where acalib tells you, and use
the mouse to press exit.
Let me know if this helps.
- Kevin
In article <8hcg0h$g8s$1...@inn.qnx.com>,
Sent via Deja.com http://www.deja.com/
Before you buy.
Here's what I'd try first. Run:
# sin arg | grep Input
and see if there is an Input started with your arguments.
Next I'd run:
# qtalk -m /dev/ser1
Touch the screen and see if you are getting charactors.
You can start a 2nd touch screen only Input from the shell during
testing to try various configurations.
--
Mitchell Schoenbrun --------- masc...@pobox.com
Zeljko
Zeljko Fucek <vel...@istar.ca> wrote in message
news:8hcg0h$g8s$1...@inn.qnx.com...
> Hi List,
>
> I would really apreciate if someone could help me. The problem is that I
> can't make the touchscreen work under QNX 4.25 / Photon 1.14. It's
> running fine if I attach a hard disk which has Win95 and touchscreen
> drivers installed on it.
>
> Hardware:
> - Advantech SBC 4823 with M-Systems DiskOnChip, Ethernet, Video,
> LPT1, COM1 and COM2 (16C550 UART)
> - Elographics Accutouch touchscreen E271-2210 (controller card is built
> into the touchscreen and there is a serial cable to be connected to
> one of PC's COM ports)
>