Semtech Touchscreen driver for Itronix GoBook III

This file contains a driver for X for the Semtech Touchscreen as found on the GoBook III manufactured by Itronix.

It has been tested on Linux 2.6.9.

Installing the Semtech Touchscreen driver

Linux Kernel

You will need a kernel with the following options compiled.

CONFIG_SERIO_RAW=y
CONFIG_INPUT_MOUSE=y
CONFIG_MOUSE_PS2=y

Next you will need to enable raw PS/2 reporting for the touchscreen. Type in the following command:

echo -n "serio_raw" > /sys/bus/serio/devices/serio1/driver

You should see the following message:

serio_raw: raw access enabled on isa0060/serio2 (serio_raw0, minor 1)

Compiling

Type the following command to compile the driver:

make

Installing

Do the following as root to install the driver:

make install

Configuration

You will need to issue this command every time the computer starts so I suggest you stick somewhere in the initalization scripts.

Add a section in xorg.conf or XF86Config that looks like this:

Section "InputDevice"
    Driver "semtech"
    Identifier "Semtech Touchscreen"
    Option "Device" "/dev/serio_raw0"
    Option "DebugLevel" "0"
    Option		"CalibrateA"	"-369046"
    Option		"CalibrateB"	"1114"
    Option		"CalibrateC"	"4893014"
    Option		"CalibrateD"	"-2152"
    Option		"CalibrateE"	"-282719"
    Option		"CalibrateF"	"5331971"
    Option		"CalibrateDiv"	"-359811"
EndSection

Note that the device can also be called /dev/psaux depending on your setup.

Start X and run the touchcal program to calibrate your screen. It will ouput the calibration information

There is also a program called touchcal.pl, it requires the Perl Tk toolkit. The program will write calibration information on your X configuration file.

back