MicroTouch Touchscreen

bridged with qdn.public.qnx4.photon
Post Reply
Daniel Szymanski

MicroTouch Touchscreen

Post by Daniel Szymanski » Tue Mar 26, 2002 5:30 pm

I have currently installed QNX on hardware with a Microtouch touchscreen
controller. I remember reading somewhere that the Microtouch driver is
included standardly with QNX. I am looking for help with writing the
driver start-up script.

Thank you.

Dan Szymanski

Rennie Allen

Re: MicroTouch Touchscreen

Post by Rennie Allen » Wed Mar 27, 2002 10:38 pm

Daniel Szymanski wrote:
I have further information to report with regard to this. The PC type is
XYCOM. The touch screen controller can be set to use either COM2 or the PS2
port (the jumpers are currently configured to use the PS2 port). Running
Inputtrap outputs the following: kbd -R fd -d/dev/kbd ps2 -r kb -2. I know
that inputtrap cannot automatically detect the microtch. I have limited
experience working with touchscreen drivers. Any suggestions on what I
should do next?
Try:

#Input kbd fd -d/dev/kbd microtch -r kb -2

If that doesn't work, then select COM2 for the screen, and start like so:

#Input kbd fd -d/dev/kbd microtch fd -d/dev/ser2

make sure the baud rate is correct ("use Input" will tell you the
default for the driver).

Rennie

Daniel Szymanski

Re: MicroTouch Touchscreen

Post by Daniel Szymanski » Wed Mar 27, 2002 11:11 pm

I have further information to report with regard to this. The PC type is
XYCOM. The touch screen controller can be set to use either COM2 or the PS2
port (the jumpers are currently configured to use the PS2 port). Running
Inputtrap outputs the following: kbd -R fd -d/dev/kbd ps2 -r kb -2. I know
that inputtrap cannot automatically detect the microtch. I have limited
experience working with touchscreen drivers. Any suggestions on what I
should do next?

Dan Szymanski

Daniel Szymanski wrote:
I have currently installed QNX on hardware with a Microtouch touchscreen
controller. I remember reading somewhere that the Microtouch driver is
included standardly with QNX. I am looking for help with writing the
driver start-up script.

Thank you.

Dan Szymanski

Stephen F Terrell

Re: MicroTouch Touchscreen

Post by Stephen F Terrell » Fri Mar 29, 2002 9:38 pm

I got this from
NemAcom Ltd
ISIS House
Lindon Road
Brownhills
West Midlands
WS8 7BQ
www.nemacom.co.uk

but it gave me a considerable insight into what has to be done with touch
screens. In my system i did not need to copy the file into the bin
directory. It does work with the Microtch driver as well. Dont forget to set
up the input.1 file with the mouse driver as well if you want to use the
mouse and the touch screen (can be a help in getting the acalib program
running).

How to get your Elo Touchscreen working with QNX ?


The controllers have to be in EMULATION mode; jumper J2 for the 2310
controller
Jumper J10 for the 2210 controller.
If you bought an Elotouch monitor , this will require opening of the monitor
!
For integrations , jumper the controllers upfront !!

You have to run QNX in the graphical mode , you have to select this when
installing the OS
( the graphical mode is called Photon 1.14 ).

When installing the OS , it will probe for devices in the available ports ,
it recognises the
keyboard and the mouse but unfortunately not the touchscreen.

As soon as you have the photon GUI up and running , you can set up an extra
pointing device.
There is a very good explanation in the QNX helpviewer ( in the toolbar ) go
for the
Photon Microgui - installation & configuration - configuring photon -
setting up a pointing device.

If you are familiar with the Vi - editor , you can open a shell and start
the editor , the menu structure
Looks like the dos file manager , so it shouldn 't be a problem finding a
file in a subdirectory.
Find the file "input.1" in etc/config/trap and add the following intellitch
fd -d/dev/ser1 or
Smartset -b 9600 fd -d/dev/ser1.

This same file has to be copied in a different location : etc/config/bin/
From a shell type : cp /etc/config/trap/input.1 /etc/config/bin/Input.1
( note the capital I in the new location )


Troubleshooting .
In a shell !

Entering : stty < /dev/ser1 in a shell will check your port settings .
Ihflow , isflow .. is the handshaking information .
Running stty < -ihflow - isflow /dev/ser1 will disable the hardware
handshaking

In your serial port settings you should not see "ohpaged" , ohpaged shuts
the serial port down.
To remove ohpaged , type : stty - oh paged < / dev/ser1

Terminal emulation : qtalk
In a shell
Type : qtalk -m /dev/ser1
You will see data scrolling when touching the screen , this indicates that
your hardware is working
and that the serial port is open .
Type ctrl a and enter q for quit.

Entering sin ar in a shell will give you an overview of the system , with
all the devices running.
That allows you to see all the applications running on your system (
keyboard , mouse & touchscreen )
In this shell , you can kill applications also .

Post Reply

Return to “qdn.public.qnx4.photon”