Problems when using the cob_touch and the Care-O-bot 3 touchscreen respectively

After update to ubuntu 10.04, Touchscreen seems to be not calibrated

If you touch the screen, the mouse arrow is showing at a largely different position as expected. You get an error like this in /var/log/Xorg.0.log:

(**) EVTouch TouchScreen: always reports core events
(II) XINPUT: Adding extended input device "EVTouch TouchScreen" (type: TOUCHSCREEN)
(**) Option "Device" "/dev/input/mouse1"
(EE) ioctl EVIOCGNAME failed: Inappropriate ioctl for device
Unable to query/initialize EVTouch hardware.
[dix] couldn't enable device 10

Solution:

  • Enter the following lines into the file /usr/lib/X11/xorg.conf.d/10-evtouch.conf:

Section "InputClass"
        Identifier "touchscreen catchall"
        MatchIsTouchscreen "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evtouch"
        Option "MinX" "34"
        Option "MaxX" "940"
        Option "MinY" "54"
        Option "MaxY" "900"
        #Option "Emulate3Buttons" "true"
        Option "Emulate3Timeout" "50"
        Option "SwapX" "0"
        Option "SwapY" "0"
        Option "SendCoreEvents" "on"
        Option "ReportingMode" "raw"
EndSection

Wiki: cob_touch (last edited 2011-03-16 21:04:57 by UlrichReiser)