All pastes #435492 Raw Edit

Untitled

public text v1 · immutable
·published 2007-04-11 23:18 UTC
rendered paste body
IRTOUCHSYSTEMS Co.Ltd  USB Touch Screen setup:

 

The version of USB touch screen driver composed of¡¡two parts. tkusb.ko , a kernel module to

represent a serial interface to user programs. and a¡¡X Input module unitouch_drv.o.

 

The following are steps:

1. Copy tkusb.ko to a directory, I'll assume "/usr/irtouch".

2. run: "cd /dev/usb"

3. run: "mknod tkpanel0 c 180 180"

2. copy unitouch_drv.o to "/usr/X11R6/lib/modules/input". 

3. Add one line to /etc/rc.d/rc.local: 

insmod /usr/irtouch/tkusb.ko before the line startx.

 

4.Setup the /etc/X11/xorg.conf as follows:

a) Add one line:



InputDevice    "irtouch" "SendCoreEvents"

to Section SererLayout.

 

b) Add one section InputDevice as follows:

 

Section "Inputdevice"

              Identifier "irtouch"

              Driver "unitouch"

              Option "Device" "/usr/irtouch/tkpanel0"

              Option "AlwaysCore"

              Option "screenno" "0"

              Option "MinX"  "70"

              Option "MaxX"  "4055"

              Option "MinY"  "4095"

              Option "MaxY"  "90"

              Option "UntouchDelay" "3"

              Option "ReportDelay" "1"

EndSection



Possbile problems:

 

 after run insmod tkusb.ko and before entering X11,

run: "od -h < /dev/usb/tkpanel0", if you can see output, the installation is right, or something bad happens, such as ,

you haven't plug touch screen or touch screen is bad.



If you encounter any problem, please don't hesitate to let me know