| Server IP : 182.53.201.61 / Your IP : 216.73.217.175 Web Server : Apache/2.2.15 (Fedora) System : Linux km10.dyndns.org 2.6.31.5-127.fc12.i686.PAE #1 SMP Sat Nov 7 21:25:57 EST 2009 i686 User : apache ( 48) PHP Version : 5.3.3 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/share/doc/gpm-1.20.6/ |
Upload File : |
This file tells how to use gpm and X with a Elotouch screen with
serial interface at 9600 Baud No parity.
CALIBRATION
-----------
Calibration is done in console mode using the program "elocalib"
available from http://www.dobit.com/emblin/pub/elocalib.tgz
See also elocalib --help
To start calibration at console 128x48, for screen 1024x786
> elocalib /dev/ttyS0 -c128 -r48 -w1024 -h768
Touch the upper-left corner and write down the coordinates Xmin, Ymin
Touch the bottom-right corner and write down the coordinates Xmax, Ymax
Update the file gpm-calibration with this coordinates
> cat /usr/local/etc/gpm-calibration
# EloTouch calibration coordinates Xmin Ymin Xmax Ymax
4010 80 80 4010
GPM OPERATION
-------------
> gpm -m /dev/ttyS0 -t etouch -o clickontouch -Rsumma
X OPERATION
-----------
In order to use the touchscreen in X, you should install in your
system the "gpmsumma" module
available from http://www.annet.pl/~anowak/mtouch/gpmsumma_drv.o
or from http://www.dobit.com/emblin/pub/gpm_etouch.tgz
/usr/lib/X11/modules/input/gpmsumma_drv.o
Then add the following sections to your XF86config:
Section "InputDevice"
Identifier "EloTouch"
Driver "gpmsumma"
Option "Device" "/dev/gpmdata"
Option "SendCoreEvents" "On"
EndSection
Section "ServerLayout"
InputDevice "EloTouch" "SendCoreEvents"
...
EndSection