Last updated: 24.10.2005

Installation/Configuration of V 0.5 - V 0.6.1

This page is obsolete and is only displayed for historical reasons. The most actual version of the evtouch-driver can be accessed here.
  1. Download the tarball and extract it to some temporary directory.
    tar xzvf evtouch-xx.yy.tar.gz

    Copy the file "evtouch_drv.o" to the appropriate location ("/usr/X11R6/lib/modules/input").
  2. Insert the lines below to the file "/etc/X11/XF86Config-4"
    Section "InputDevice"
        Identifier "touchscreen"
        Driver "evtouch"
        Option "Device" "/dev/input/evdev1"
        Option "DeviceName" "touchscreen"
        Option "MinX" "98"
        Option "MinY" "43"
        Option "MaxX" "940"
        Option "MaxY" "925"
        Option "ReportingMode" "Raw"
        Option "Emulate3Buttons"
        Option "Emulate3Timeout" "50"
        Option "SendCoreEvents"
    EndSection
  3. Beware that some distributions use other names for the device. Some use "/dev/input/evdevX" and others use "/dev/input/eventX".
  4. Add the line below to the file "/etc/X11/XF86Config-4" to the section "ServerLayout".
    InputDevice "touchscreen" "CorePointer"
  5. If your Y-axis is interchanged you might have used the wrong event-device. Maybe you should try the next few event-devices (/dev/evdev[1-9]).
Calibration is also supported since V0.6.0. You can also reuse your settings from the old driver for the 2.6 driver. Actually you only have to exchange the driver name in the "Inputdevice"-section from "lbtouch" to "evtouch" and change the "Device".

Advanced Configuration


If you are not confident with the default behaviour of your touchpanel you can configure certain timers which change its behaviour.

Option Description Default-Value
ClickTimer This timer starts to run if the screen is touched with the pen. If the pen untouches the screen before the timer expires a "left Mouse click" is produced. 500 ms
DragTimer This timer also starts to run as soon as the screen is touched. If the pen stays within a radius of "MoveLimit" (see below) pixels UNTIL this timer is expired a "mouse press" event is generated. 300 ms
Emulate3Buttons Enable emulation of three button support true -- enabled
Emulate3Timeout If both buttons are pressed/released before this timer expires a "middle press/release"-event is generated. This timer starts to run as soon as a button is pressed. 70 ms
MoveLimit If the pen moves out of this radius a "mouse-press"-event becomes impossible. 12 Pixels
Rotate This option is in the driver since V0.61. There are two valid values:
CW -- Rotate the screen clockwise
CCW -- Rotate the screen counter-clockwise
Everything else will be treated as "no rotation".
no rotation
SwapX This option is in the driver since V0.61. When set to 1 the X-axis is swapped. This option is applied BEFORE the rotation-option. false -- no swapping
SwapY This option is in the driver since V0.61. When set to 1 the Y-axis is swapped. This option is applied BEFORE the rotation-option. false -- no swapping


Advanced Example


...(see above)
    Option "ReportingMode" "Raw"
    Option "Emulate3Buttons"
    Option "Emulate3Timeout" "50"
    Option "DragTimer" "0"
    Option "ClickTimer" "0"
    Option "SendCoreEvents"
EndSection

Configuring the 3M Touchscreens

Below you see two examples to configure the evtouch XFree module for the M150 and M170 touchscreens from 3M. Those configurations where provided by Jasun Polster. On the kernel-side the mtouchusb module is used. To enable this kernel-module you have to set CONFIG_USB_MTOUCH either to "y" or "m" in your kernel-config.

The M150

Section "InputDevice"
    Identifier "3MTouchscreen"
    Driver "evtouch"
    Option "CorePointer"
    Option "AlwaysCore"
    Option "Device" "/dev/input/event2"
    Option "DeviceName" "touchscreen"
    Option "MinX" "0"
    Option "MinY" "0"
    Option "MaxX" "65535"
    Option "MaxY" "65535"
    Option "DragTimer" "200"
    Option "MoveLimit" "600"
    Option "ReportingMode" "Raw"
EndSection

The M170

Section "InputDevice"
    Identifier "3MTouchscreen"
    Driver "evtouch"
    Option "CorePointer"
    Option "AlwaysCore"
    Option "Device" "/dev/input/event2"
    Option "DeviceName" "touchscreen"
    Option "Rotate" "CW"
    Option "MinX" "0"
    Option "MinY" "0"
    Option "MaxX" "65535"
    Option "MaxY" "65535"
    Option "DragTimer" "200"
    Option "MoveLimit" "600"
    Option "ReportingMode" "Raw"
EndSection

If you find bugs or if you have comment/wishes please send mail to lifebook@conan.de

Download

Touchscreen-Driver for X

This driver should work for XFree 4.x and Xorg 6.8.x.
Have a look at the CHANGELOG.
Precompiled driver for X V0.6.1 evtouch-0.6.1.tar.gz
Precompiled driver for X V0.6.0 evtouch-0.6.0.tar.gz
Precompiled driver for X V0.5.1 evtouch-0.5.1.tar.gz
Precompiled driver for X V0.5 evtouch-0.5.tar.gz
XFree driver sources V0.6.1 evtouch-0.6.1-src.tar.gz
XFree driver sources V0.6.0 evtouch-0.6.0-src.tar.gz
XFree driver sources V0.5.1 evtouch-0.5.1-src.tar.gz
XFree driver sources V0.5 evtouch-0.5-src.tar.gz