Touchscreen calibration with evdev

Mike Crash mike at mikecrash.com
Mon Jan 18 13:08:51 CET 2010


I have upgraded my Debian system on GTA02 and found, that the new udev is not
compatible with current kernel in Debian. So I have compiled andy kernel and
also upgraded the X.org server with new version. All works fine, but I have
found, that new X is not using tslib, it loads simply evdev for touchscreen:

(II) config/udev: Adding input device "s3c2410 TouchScreen"
(/dev/input/event1)
(**) "s3c2410 TouchScreen": always reports core events
(**) "s3c2410 TouchScreen": Device: "/dev/input/event1"
(II) "s3c2410 TouchScreen": Found absolute axes
(II) "s3c2410 TouchScreen": Found x and y absolute axes
(II) "s3c2410 TouchScreen": Found absolute touchscreen
(II) "s3c2410 TouchScreen": Configuring as touchscreen
(**) "s3c2410 TouchScreen": YAxisMapping: buttons 4 and 5
(**) "s3c2410 TouchScreen": EmulateWheelButton: 4, EmulateWheelInertia: 10,
EmulateWhee
(II) XINPUT: Adding extended input device ""s3c2410 TouchScreen"" (type:
TOUCHSCREEN)
(**) "s3c2410 TouchScreen": (accel) keeping acceleration scheme 1
(**) "s3c2410 TouchScreen": (accel) acceleration profile 0
(II) "s3c2410 TouchScreen": initialized for absolute axes.

But the calibration is gone and I don't know, how to calibrate it. At least
X and Y axis are reversed. I have tried this in xorg.conf, but it doesn't
help (it seems the section was not recognized):

Section "InputDevice"
        Identifier      "Configured Touchscreen"
        Driver          "evdev"
        Option          "Device"                 "/dev/input/event1"
        Option          "AbsoluteScreen"         "0"
        Option          "XAbsoluteAxisMap"       "1"
        Option          "YAbsoluteAxisMap"       "0"
EndSection

Does anybody know, how to calibrate the screen?

Thank you

Mike
-- 
View this message in context: http://n2.nabble.com/Touchscreen-calibration-with-evdev-tp4413295p4413295.html
Sent from the Openmoko Community mailing list archive at Nabble.com.



More information about the community mailing list