Touchscreen calibration with evdev

Esteban Monge esteban.francisco at gmail.com
Mon Jan 18 22:38:48 CET 2010


My Xorg configuration, works without errors:
# Xorg confiugration for an Openmoko FreeRunner
#Section "InputDevice"
#    Identifier    "Configured Touchscreen"
#    Driver        "tslib"
#    Option        "CorePointer"        "true"
#    Option        "SendCoreEvents"    "true"
#    Option        "Protocol"        "Auto"
#    Option        "Width"            "480"
#    Option        "Height"        "640"
#EndSection

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

Section "Device"
    Identifier    "Configured Video Device"
    Driver        "fbdev"
EndSection

And make a script with (1) named /root/.calibrate, and add to .xsession as:

#!/bin/sh
/root/.calibrate &
trayer --edge top &
openmoko-panel-plugin &
zhone &
exec matchbox-window-manager -use_titlebar no -use_cursor no

(1)
http://git.openembedded.org/cgit.cgi/openembedded/tree/recipes/xserver-kdrive-common/xserver-kdrive-common/shr/89xTs_Calibrate

I deleted xserver-xorg-input-tslib. But I have problems with the
xserver-xorg-video-glamo.
.


-- 
http://nuevaeracr.blogspot.com
Linux user number 478378
Linux machine number 386687
Tec. Esteban Monge Marín
Tel: (506) 8379-3562

“No habrá manera de desarrollarnos y salir de
la pobreza mientras los pocos negocios
grandes de nuestro medio se entreguen a las
economías foráneas y nosotros nos
quedemos con solo negocios de pobre,
mientras en vez de ser propietarios de nuestro
propio país nos convirtamos en un ejército de
empleados del exterior”
José Figueres Ferrer, 1952.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openmoko.org/pipermail/community/attachments/20100118/72d2a18e/attachment.htm 


More information about the community mailing list