Comment 11 for bug 362308

Revision history for this message
Bryce Harrington (bryce) wrote : Re: EloTouch 2639L touchscreen (input device) possibly not properly recognized, XY axis inverted

Hey Fabian, try installing the evtouch driver, and see if that works better.

  sudo apt-get install xserver-xorg-input-evtouch

Then add to your xorg.conf something like this:

Section InputDevice
        Identifier "touchscreen"
        Driver "evtouch"
        Option "Device" "/dev/input/event3"
        Option "DeviceName" touchscreen"
        Option "ReportingMode" "Raw"
        Option "SendCoreEvents"
        Option "MinX" "316"
        Option "MinY" "36"
        Option "MaxX" "3791"
        Option "MaxY" "3934"
        Option "Rotate" "cw"
        Option "SwapX" "1"
        Option "SwapY" "1"
EndSection

Section "ServerLayout"
 Identifier "Default Layout"
 Screen "Default Screen"
        InputDevice "touchscreen"
EndSection

You may need to fiddle with some of the parameters. Rotate also accepts a "CCW" value for instance, and the X/Y values probably should be customized for the hardware.

You may have to change /dev/input/eventX; try "cat /dev/input/event0", "cat /dev/input/event1" etc. while touching the screen; and see which one produces output.

Some of these might be settable on the fly, particularly in jaunty. Look in this directory:

  /sys/module/usbtouchscreen/parameters/

If there are files there, you may be able to use them to control the device behavior. E.g.:

  echo Y > /sys/module/usbtouchscreen/parameters/swap_xy