Solved: Touch screens for Linux?



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

.



Relevant Pages

  • RE: DJ500 dead after >= 16 years.
    ... There is a lpr driver by Brother for Linux. ... They appear to be wrappers for standard ... Ghost Script drivers. ... Most of the time the binary drivers are wrapped in an install script ...
    (freebsd-questions)
  • reverse engineering pwcx
    ... Having watched the discussion around pwcx since the first posting, ... driver and replicate what it is doing. ... companies perfer to release binary drivers over open source drivers. ... Decompiler maintainer, http://boomerang.sourceforge.net/ ...
    (Linux-Kernel)
  • Re: [linux-dvb] [PATCH] Userspace tuner
    ... are bad because the API will allow binary drivers. ... The focus is that userspace API is not needed at all, ... being done by the community to have good quality OSS software. ... The driver as it is now is not perfect either it requires quite some ...
    (Linux-Kernel)
  • Re: binary drivers and development
    ... binary drivers, specifically considering UDI. ... The kernel's core would be the core. ... the particular component (driver, core). ...
    (Linux-Kernel)
  • Re: [linux-dvb] [PATCH] Userspace tuner
    ... are bad because the API will allow binary drivers. ... The focus is that userspace API is not needed at all, ... being done by the community to have good quality OSS software. ... taking my code without just adding a single line of how his driver ...
    (Linux-Kernel)