LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   getting evtouch running for ELO USB touchscreen under slackware v13.0 (http://www.linuxquestions.org/questions/linux-software-2/getting-evtouch-running-for-elo-usb-touchscreen-under-slackware-v13-0-a-755783/)

pisti 09-17-2009 12:25 AM

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,

pisti

Drakeo 09-17-2009 09:33 PM

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

pisti 09-18-2009 11:08 PM

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.

are you familiar with other solutions ?

thanks much, bye, pisti

Drakeo 09-20-2009 01:37 AM

Universal serial Bus device is an input device. 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
Quote:

Section "InputDevice"
Identifier "elo"
Driver "elo"
Option "AlwaysCore"
Option "MinX" "300"
Option "MaxX" "3700"
Option "MinY" "300"
Option "MaxY" "3700"
Option "ScreenNumber" "0"
Option "ButtonNumber" "1"
EndSection
Good luck

pisti 09-23-2009 04:38 PM

dear Drakeo,

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
....

that's my xorg.conf entry:

Section "InputDevice"
Identifier "elo"
Driver "elo"
Option "AlwaysCore"
Option "MinX" "300"
Option "MaxX" "3700"
Option "MinY" "300"
Option "MaxY" "3700"
Option "ScreenNumber" "0"
Option "ButtonNumber" "1"
EndSection

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!

bye, pisti

Drakeo 09-24-2009 09:01 AM

please read this from the beginning 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.

Section "InputDevice"
Identifier "elo"
Driver "elo"
Option "Device" "/dev/input/elo"
Option "SendCoreEvents" "true"
EndSection


b.) Add the following line to the ServerLayout section to include
the elo input device.

InputDevice "elo"
yours would look like this
Quote:

Section "InputDevice"
Identifier "elo"
Driver "elo"
Option "Device" "/dev/input/elo"
Option "SendCoreEvents" "true"
Option "MinX" "300"
Option "MaxX" "3700"
Option "MinY" "300"
Option "MaxY" "3700"
Option "ScreenNumber" "0"
Option "ButtonNumber" "1"
EndSection
now lets make sure it is loaded at boot time. edit you /etc/rc.d/rclocal modprobe elo.
Quote:

but right now elousb is not supporting the newer kernels.

pisti 09-24-2009 01:06 PM

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 :

find /usr/X11R6/lib/modules/ -name "*elo*"
/usr/X11R6/lib/modules/input/elographics_drv.so
/usr/X11R6/lib/modules/input/elographics_drv.la

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:

http://forums.gentoo.org/viewtopic-t...7-start-0.html


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

Drakeo 09-25-2009 03:34 PM

Quote:

slackware v13.0 32bit there is no elo X-module installed? see here :
here it is ok look here. or just type modprobe elo like I did
Quote:

/lib/modules/2.6.29.6/kernel/drivers/input/touchscreen/elo.ko
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


All times are GMT -5. The time now is 02:28 PM.