Monday 7 April 2008

Zaurus touch screen with xserver-xorg-input-evtouch

aptitude install xserver-xorg-input-evtouch
apt-get source xserver-xorg-input-evtouch
cp xf86-input-evtouch-0.8.7/empty_cursor.xbm /
edit xorg.conf, add the following (borrowed from http://www.conan.de/touchscreen/evtouch.html):
Section "InputDevice"
Identifier "Zaurus Touch Screen"
Driver "evtouch"
Option "Device" "/dev/input/event1"
Option "MinX" "4"
Option "MinY" "234"
Option "MaxX" "4095"
Option "MaxY" "3824"
Option "ReportingMode" "Raw"
Option "Emulate3Buttons"
Option "Emulate3Timeout" "50"
Option "SendCoreEvents" "On"
Option "Rotate" "CCW"
Option "Calibrate" "1"
EndSection

Add the rest of the sections as per http://www.conan.de/touchscreen/evtouch.html
cd /usr/lib/xf86-input-evtouch
./calibrate.sh
Move mouse around all corners of the screen. Write down the max and min values given.
Kill the xserver. Edit xorg.conf and add these values in overwriting the existing Max and Min's. Comment out the calibrate line.

Start the xserver. Touch screen works but is very inaccurate... WIP.

Note if the monitor section has Rotate enabled the X server crashes.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home