LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 09-16-2009, 11:25 PM   #1
pisti
Member
 
Registered: Jul 2006
Location: Montréal, Canada
Distribution: Slackware
Posts: 246

Rep: Reputation: 29
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
 
Old 09-17-2009, 08:33 PM   #2
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
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
 
Old 09-18-2009, 10:08 PM   #3
pisti
Member
 
Registered: Jul 2006
Location: Montréal, Canada
Distribution: Slackware
Posts: 246

Original Poster
Rep: Reputation: 29
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
 
Old 09-20-2009, 12:37 AM   #4
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
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

Last edited by Drakeo; 09-20-2009 at 12:45 AM.
 
Old 09-23-2009, 03:38 PM   #5
pisti
Member
 
Registered: Jul 2006
Location: Montréal, Canada
Distribution: Slackware
Posts: 246

Original Poster
Rep: Reputation: 29
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
 
Old 09-24-2009, 08:01 AM   #6
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
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.

Last edited by Drakeo; 09-24-2009 at 09:34 AM.
 
Old 09-24-2009, 12:06 PM   #7
pisti
Member
 
Registered: Jul 2006
Location: Montréal, Canada
Distribution: Slackware
Posts: 246

Original Poster
Rep: Reputation: 29
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
 
Old 09-25-2009, 02:34 PM   #8
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
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

Last edited by Drakeo; 09-25-2009 at 02:40 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mandriva 2008 ELO touchscreen USB Driver IGHOR Linux - Desktop 4 02-18-2010 05:20 PM
Need help with elo touchscreen!! shahin123 Linux - Hardware 5 12-24-2008 10:38 AM
my touchscreen using evtouch dose not seem to accept clicks on xournal or gimp.... creatureofthedark Linux - Software 0 10-02-2008 03:59 AM
Elo Touchscreen Calibration jnofs Linux - Software 2 09-15-2005 02:01 PM
Elo Touchscreen Calibration jnofs Linux - Hardware 1 09-15-2005 07:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration