[SOLVED] getting evtouch running for ELO USB touchscreen under slackware v13.0
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
getting evtouch running for ELO USB touchscreen under slackware v13.0
we purchased recently USB-only ELO touchscreens (after having used in our lab for years ELO touchscreens via the serial port). but we couldn't make X recognize the screen touch signals. among many solutions i tried also EVTOUCH which i would much prefer over other solutions as it is freeware. we recently switched many workstations to Slackware v13.0, 32bit in the case of the touchscreen computers. that comes with the new modular X which makes loading of the precompiled evtouch 0.8.8 module futile:
(II) LoadModule: "evtouch"
(II) Loading /usr/lib/xorg/modules/input//evtouch_drv.so
(II) Module evtouch: vendor="Kenan Esau"
compiled for 4.3.99.902, module version = 0.8.8
Module class: X.Org XInput Driver
ABI class: X.Org XInput driver, version 2.1
(EE) module ABI major version (2) doesn't match the server's version (4)
(II) UnloadModule: "evtouch"
(II) Unloading /usr/lib/xorg/modules/input//evtouch_drv.so
(EE) Failed to load module "evtouch" (module requirement mismatch, 0)
(EE) No input driver matching `evtouch'
(**) dummy: always reports core events
but then i also failed in recompiling xf86-input-evtouch-0.8.8 even when using the X.org 7.0 Install option with ./autogen.sh. the problem actually could look quite stupid, as i don't know what path to include in then --prefix (tried a gazillion possibilities). thereafter when invoking 'make' the compilation stopped when looking for a PATH...
any clue how to get these USB touchscreen running with Slackware 13.0 ? any input much appreciated, thanks in advance, bye,
when start up in run level 3 and sign in as root. did you run xorgsetup. If so and you still have problems. let me know. but the driver for it is open source and is in the kernel already. /lib/modules/2.6.29.6/kernel/drivers/input/touchscreen/elo.ko
good luck
thanks, Drakeo, for your reply. yes, i run by default runlevel 3, and xorgsetup i used to use at install time.
unfortunately, i believe, that the elo.ko kernels are solely for serial ELO touchscreens, while the newest ELO models featuring ARP (Acoustic Pulse Recognition technology) come with USB connectors only. i looked into the file /usr/src/linux/drivers/input/touchscreen/elo.c but found nothing about USB... correct me if i am incorrect in this respect.
Here is the thing about the kernel your device was loaded but we need to add some configurations to the xorg. You did not need to build a driver to make it work. please try to stop thinking drivers. You need to think modules.
when the module is loaded it is then configured by configuration files.
You really need to get everything back to a clean kerenl ELO module the one that came with the system kernel.
Now read that link and pass some parameters to the module.
Do not get frustrated this has been worked on for a long time. I remember back in 1997 building modules for a mouse input device when all I need was to add on line to my xorg.conf to make things scroll on my touch pad
thanks for this new reply, but sorry for asking again: are you sure that this elo kernel driver is really for USB inputs? i am getting back to this, because first i don't see any input from screen touches; second already in the header of that elo.c file the author states:
/*
* Elo serial touchscreen driver
*
* Copyright (c) 2004 Vojtech Pavlik
*/
we are using the 2.6.29.6 kernel, the elo kernel module (you suggested) nicely loads:
lsmod | head
Module Size Used by
elo 4540 0
uvcvideo 58184 0
videodev 38688 1 uvcvideo
snd_usb_audio 80352 0
....
and here an excerpt of the hopefully relevant section of an Xorg.?.log file:
(II) AIGLX: enabled GLX_MESA_copy_sub_buffer
(II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control
(II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects
(II) AIGLX: Loaded and initialized /usr/lib/xorg/modules/dri/i915_dri.so
(II) GLX: Initialized DRI2 GL provider for screen 0
(II) intel(0): Setting screen physical size to 300 x 230
(II) LoadModule: "elo"
(WW) Warning, couldn't open module elo
(II) UnloadModule: "elo"
(EE) Failed to load module "elo" (module does not exist, 0)
(EE) No input driver matching `elo'
(II) config/hal: Adding input device Dell Dell USB Keyboard
(II) LoadModule: "evdev"
(II) Loading /usr/lib/xorg/modules/input//evdev_drv.so
(II) Module evdev: vendor="X.Org Foundation"
compiled for 1.6.3, module version = 2.2.5
Module class: X.Org XInput Driver
ABI class: X.Org XInput driver, version 4.0
(**) Dell Dell USB Keyboard: always reports core events
(**) Dell Dell USB Keyboard: Device: "/dev/input/event1"
do i something wrong here? did i miss something from your instructions? obviously there is a missing 'elo' module: an X-module i guess? the kernel module was loaded already, right? i am really curious to hear from you, thanks much for helping!
you may have to tell xorg the /dev/usbx what ever serial port the usb device is hooked to lsusb to find out dmesg to see where the kernel loaded the module for that U serial port.
Quote:
(II) LoadModule: "elo"
(WW) Warning, couldn't open module elo
we need to point the driver out for xorg.
Quote:
Modify the X windows configuration file (xorg.conf or XF86Config or XF86Config-4). This file is located in the /etc/X11 directory. Check the X windows log file ("/var/log/XFree86.0.log" or "/var/log/Xorg.0.log") to verify the X windows configuration file in use.
a.) Add the following lines to create a new Elo device configuration at the end of the file.
i read the webpages you suggested, thanks. still, tell me, is it possible that this all fails as in my distro slackware v13.0 32bit there is no elo X-module installed? see here :
this points back at the text in the webpage you suggested: "At first verify that the device driver modules exist. They are located in /usr/X11R6/lib/modules/". which is not the case for us using slackware v13. others had similar problems (in italian), see here:
i included "/sbin/modprobe elo" in the rc.local file (no error messages).
i used many entries for "device" not just this one:
Option "Device" "/dev/input/elo"
here some tests:
lsusb (with the ELO line)
Bus 003 Device 006: ID 04e7:0073 Elo TouchSystems
lsmod | grep elo
elo 4540 0
dmesg | grep Elo (while 'ELO' and 'elo' don't lead anywhere)
usb 3-1: Product: Elo TouchSystems Inc. APR Controller
usb 3-1: Manufacturer: Elo TouchSystems
elographics is good for serial ports, but not for USB ports. our newest ELO touchscreens are exclusively USB capable (while we also have six other serial ELOs running perfectly fine with the old driver elographics). we don't use currently serial-to-USB converters. moreover many motherboards don't come anymore with serial ports. in any case, we have no choice, we have to use this hew type of ELO for various reaosons.
i start to believe that for this kernel version and X-version there is no ELO-USB solution. what do you think ? sorry for getting back to you the n-th times. bye, pisti
this is the slackware 13 kernel comes with installation.
Quote:
lsmod | grep elo
elo 4540 0
Quote:
lsusb (with the ELO line)
Bus 003 Device 006: ID 04e7:0073 Elo TouchSystems
so in your dmesg it the link so device input device 1 or 2 or what ever number the kernel loads.
it is all serial USB typ or ttyusb0 what ever the link is for you usb device.Post your dmesg ok
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.