Solved: Touch screens for Linux?
- From: "Bernd Nies" <bnies@xxxxxxxxxx>
- Date: 4 Oct 2006 03:54:16 -0700
Hi,
None of the binary drivers from Elotouch works for their touchscreen
under SUSE LINUX Enterprise Server 9 SP3. They work only for the
released Linux distribution and the version of their kernel module must
exactly match the kernel version.
At least their binary driver for Suse 9.3 works. This is only available
with a customer login at
https://elotouchexpress.com/41/us.elo/lg/lg_login.html
The GPL driver provided on their website does not work. It only reads
one axis. Also the calibration utility does not work. The console one
works only with serial devices and the X one does not recognize click
events from the touch device.
The only driver so far that works on SLES9 is a modified version
available at
http://sourceforge.net/projects/elobrate
Download the source, comment out all debugging code that writes touch
events. and compile it with
gcc -O2 -fno-strength-reduce -Wall \
-I. \
-I$(X11_SOURCE)/include \
-I$(X11_SOURCE)/programs/Xserver/include \
-I$(X11_SOURCE)/programs/Xserver/mi \
-I$(X11_SOURCE)/programs/Xserver/hw/xfree86 \
-I$(X11_SOURCE)/programs/Xserver/hw/xfree86/common \
-I$(X11_SOURCE)/programs/Xserver/hw/xfree86/loader \
-I$(X11_SOURCE)/programs/Xserver/hw/xfree86/os-support \
-I$(X11_SOURCE)/programs/Xserver/hw/xfree86/os-support/bus \
-I/usr/X11R6/include \
-Dlinux \
-D__i386__ \
-D_POSIX_C_SOURCE=199309L \
-D_POSIX_SOURCE \
-D_XOPEN_SOURCE \
-D_BSD_SOURCE \
-D_SVID_SOURCE \
-DSHAPE \
-DXINPUT \
-DXKB \
-DLBX \
-DXAPPGROUP \
-DXCSECURITY \
-DTOGCUP \
-DXF86BIGFONT \
-DDPMSExtension \
-DPIXPRIV \
-DPANORAMIX \
-DRENDER \
-DGCCUSESGAS \
-DAVOID_GLYPHBLT \
-DPIXPRIV \
-DSINGLEDEPTH \
-DXFreeXDGA \
-DXvExtension \
-DXFree86LOADER \
-DXFree86Server \
-DXF86VIDMODE \
-DSMART_SCHEDULE \
-DBUILDDEBUG \
-DX_BYTE_ORDER=X_LITTLE_ENDIAN \
-DNDEBUG \
-DFUNCPROTO=15 \
-DNARROWPROTO \
-DIN_MODULE \
-DXFree86Module \
-c elousb.c
cp elousb.o elousb_drv.o
Copy the module to /usr/X11R6/lib/modules/input
This module finds the correct /dev/input/event? device. The correct X11
configuration is:
Section "ServerLayout"
...
InputDevice "TouchFoil" "SendCoreEvents"
EndSection
Section "InputDevice"
Driver "elousb"
Identifier "TouchFoil"
Option "Device" "/dev/input/elo"
Option "AlwaysCore" "On"
Option "SwapAxes" "off"
Option "MinX" "400"
Option "MaxX" "3600"
Option "MinY" "500"
Option "MaxY" "3600"
Option "UntouchDelay" "3"
Option "ReportDelay" "1"
EndSection
.
- Prev by Date: Updating XFree86 Killed My Gnome and KDE Desktops!
- Next by Date: Re: Updating XFree86 Killed My Gnome and KDE Desktops!
- Previous by thread: Updating XFree86 Killed My Gnome and KDE Desktops!
- Next by thread: how to open rsh at unix?
- Index(es):
Relevant Pages
|