Touchscreen calibration with evdev
Martin Jansa
martin.jansa at gmail.com
Mon Jan 18 13:14:56 CET 2010
On Mon, Jan 18, 2010 at 04:08:51AM -0800, Mike Crash wrote:
>
> 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
We (SHR) are using this (maybe not optimal but works)
http://git.openembedded.org/cgit.cgi/openembedded/tree/recipes/xserver-kdrive-common/xserver-kdrive-common/shr/89xTs_Calibrate
Cheers
--
uin:136542059 jid:Martin.Jansa at gmail.com
Jansa Martin sip:jamasip at voip.wengo.fr
JaMa
More information about the community
mailing list