LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 03-11-2009, 01:38 AM   #1
dtmuller
LQ Newbie
 
Registered: Mar 2009
Posts: 2

Rep: Reputation: 0
elo Touchscreen hangs X-Server


I try to run a serial touchscreen using the elographics Xorg driver. I modified xorg.conf as follows, with the result that the touchscreen is actually working but X hangs before even bringing up gdm! X just shows a blank screen and won't even accept Ctrl+Alt+Backspace, but Touchscreen movements working (CPU load normal).

/etc/X11/xorg.conf:

Code:
~~snip~~

Section "InputDevice"
	Identifier "Touchscreen"
    Driver "elographics"
    Option "Device" "/dev/ttyS2"
    Option "DeviceName" "Touchscreen"
    Option "MinX" "3800"
    Option "MaxX" "300"
    Option "MinY" "3800"
    Option "MaxY" "300"
    Option "SwapXY" "True"
    Option  "ScreenNumber"  "0"
    Option  "UntouchDelay"  "10"
    Option  "ReportDelay"   "10"
EndSection

Section "ServerLayout"
  Identifier    "Default Layout"
  Screen        "Default Screen"
  InputDevice   "Touchscreen"  "SendCoreEvents"
EndSection
/var/log/Xorg.0.log:

Code:
X.Org X Server 1.5.2
Release Date: 10 October 2008
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.24-19-server i686 Ubuntu
Current Operating System: Linux ubuntu 2.6.27-7-generic #1 SMP Fri Oct 24 06:42:44 UTC 2008 i686
Build Date: 24 October 2008  08:00:16AM
xorg-server 2:1.5.2-2ubuntu3 (buildd@rothera.buildd) 
	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Tue Mar 10 12:25:55 2009
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "Default Layout"
(**) |-->Screen "Default Screen" (0)
(**) |   |-->Monitor "Configured Monitor"
(**) |   |-->Device "Configured Video Device"
(**) |-->Input Device "Touchscreen"
(==) Automatically adding devices
(==) Automatically enabling devices
(==) No FontPath specified.  Using compiled-in default.
(WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
	Entry deleted from font path.
(==) FontPath set to:
	/usr/share/fonts/X11/misc,
	/usr/share/fonts/X11/100dpi/:unscaled,
	/usr/share/fonts/X11/75dpi/:unscaled,
	/usr/share/fonts/X11/Type1,
	/usr/share/fonts/X11/100dpi,
	/usr/share/fonts/X11/75dpi,
	/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType
(==) ModulePath set to "/usr/lib/xorg/modules"
(II) Cannot locate a core pointer device.
(II) Cannot locate a core keyboard device.
(II) The server relies on HAL to provide the list of input devices.
	If no devices become available, reconfigure HAL or disable AllowEmptyInput.
(WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
(II) No APM support in BIOS or kernel
(II) Loader magic: 0x81d9a40
(II) Module ABI versions:
	X.Org ANSI C Emulation: 0.4
	X.Org Video Driver: 4.1
	X.Org XInput driver : 2.1
	X.Org Server Extension : 1.1
	X.Org Font Renderer : 0.6
(II) Loader running on linux
(++) using VT number 9

(--) PCI:*(0@0:2:0) Intel Corporation 82852/855GM Integrated Graphics Device rev 2, Mem @ 0xf0000000/0, 0xffa80000/0, I/O @ 0x0000ec00/0
(--) PCI: (0@0:2:1) Intel Corporation 82852/855GM Integrated Graphics Device rev 2, Mem @ 0xe8000000/0, 0xffa00000/0
(II) System resource ranges:
	[0] -1	0	0xffffffff - 0xffffffff (0x1) MX[B]
	[1] -1	0	0x000f0000 - 0x000fffff (0x10000) MX[B]
	[2] -1	0	0x000c0000 - 0x000effff (0x30000) MX[B]
	[3] -1	0	0x00000000 - 0x0009ffff (0xa0000) MX[B]
	[4] -1	0	0x0000ffff - 0x0000ffff (0x1) IX[B]
	[5] -1	0	0x00000000 - 0x00000000 (0x1) IX[B]
(II) LoadModule: "extmod"

(II) Loading /usr/lib/xorg/modules/extensions//libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
	compiled for 1.5.2, module version = 1.0.0
	Module class: X.Org Server Extension
	ABI class: X.Org Server Extension, version 1.1

~~snip~~

(II) Loading /usr/lib/xorg/modules/input//elographics_drv.so
(II) Module elographics: vendor="X.Org Foundation"
	compiled for 1.4.99.905, module version = 1.2.1
	Module class: X.Org XInput Driver
	ABI class: X.Org XInput driver, version 2.1

~~snip~~

(**) Option "SendCoreEvents"
(**) TOUCHSCREEN: always reports core events
(**) Option "DeviceName" "Touchscreen"
(**) Elographics X device name: Touchscreen
(**) Elographics associated screen: 0
(**) Option "UntouchDelay" "10"
(**) Elographics untouch delay: 100 ms
(**) Option "ReportDelay" "10"
(**) Elographics report delay: 100 ms
(**) Option "MaxX" "300"
(**) Elographics maximum x position: 300
(**) Option "MinX" "3800"
(**) Elographics minimum x position: 3800
(**) Option "MaxY" "300"
(**) Elographics maximum y position: 300
(**) Option "MinY" "3800"
(**) Elographics minimum y position: 3800
(**) Option "SwapXY" "True"
(**) Elographics device will work with X and Y axes swapped
(**) Elographics device will work in Landscape mode
(II) Elographics: reverse x mode (minimum x position >= maximum x position)
(II) Elographics: reverse y mode (minimum y position >= maximum y position)
(II) evaluating device (Touchscreen)
(II) XINPUT: Adding extended input device "Touchscreen" (type: Elographics TouchScreen)
(**) Option "Device" "/dev/ttyS2"
(**) Option "BaudRate" "9600"
(**) Option "StopBits" "1"
(**) Option "DataBits" "8"
(**) Option "Parity" "None"
(**) Option "Vmin" "10"
(**) Option "Vtime" "1"
(**) Option "FlowControl" "None"
(--) Elographics touchscreen is a AccuTouch, connected through a serial link.
(--) The controller is a model E271-2200, firmware revision 1.4.
(EE) intel(0): underrun on pipe B!
(II) config/hal: Adding input device Macintosh mouse button emulation
(II) LoadModule: "evdev"

(II) Loading /usr/lib/xorg/modules/input//evdev_drv.so
(II) Module evdev: vendor="X.Org Foundation"
	compiled for 1.5.2, module version = 2.0.99
	Module class: X.Org XInput Driver
	ABI class: X.Org XInput driver, version 2.1
(**) Macintosh mouse button emulation: always reports core events
(**) Macintosh mouse button emulation: Device: "/dev/input/event0"
(II) Macintosh mouse button emulation: Found x and y relative axes
(II) Macintosh mouse button emulation: Found 3 mouse buttons
(II) Macintosh mouse button emulation: Configuring as mouse
(II) XINPUT: Adding extended input device "Macintosh mouse button emulation" (type: MOUSE)
(**) Macintosh mouse button emulation: YAxisMapping: buttons 4 and 5
(**) Macintosh mouse button emulation: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
(II) config/hal: Adding input device AT Translated Set 2 keyboard
(**) AT Translated Set 2 keyboard: always reports core events
(**) AT Translated Set 2 keyboard: Device: "/dev/input/event1"
(II) AT Translated Set 2 keyboard: Found keys
(II) AT Translated Set 2 keyboard: Configuring as keyboard
(II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) AT Translated Set 2 keyboard: xkb_rules: "evdev"
(**) Option "xkb_model" "pc105"
(**) AT Translated Set 2 keyboard: xkb_model: "pc105"
(**) Option "xkb_layout" "us"
(**) AT Translated Set 2 keyboard: xkb_layout: "us"
(II) config/hal: Adding input device Dell Premium USB Optical Mouse
(**) Dell Premium USB Optical Mouse: always reports core events
(**) Dell Premium USB Optical Mouse: Device: "/dev/input/event2"
(II) Dell Premium USB Optical Mouse: Found x and y relative axes
(II) Dell Premium USB Optical Mouse: Found 7 mouse buttons
(II) Dell Premium USB Optical Mouse: Configuring as mouse
(II) XINPUT: Adding extended input device "Dell Premium USB Optical Mouse" (type: MOUSE)
(**) Dell Premium USB Optical Mouse: YAxisMapping: buttons 4 and 5
(**) Dell Premium USB Optical Mouse: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
(EE) intel(0): tried to update DSPARB with both planes enabled!
(II) intel(0): I2C device "LVDSDDC_C:ddc2" registered at address 0xA0.
(II) intel(0): I2C device "LVDSDDC_C:ddc2" removed.
(EE) intel(0): underrun on pipe B!
(EE) intel(0): underrun on pipe B!
(EE) intel(0): underrun on pipe B!
(EE) intel(0): underrun on pipe B!
[mi] EQ overflowing. The server is probably stuck in an infinite loop.
[mi] mieqEnequeue: out-of-order valuator event; dropping.
[mi] EQ overflowing. The server is probably stuck in an infinite loop.
[mi] mieqEnequeue: out-of-order valuator event; dropping.
[mi] EQ overflowing. The server is probably stuck in an infinite loop.
[mi] mieqEnequeue: out-of-order valuator event; dropping.
[mi] EQ overflowing. The server is probably stuck in an infinite loop.
[mi] mieqEnequeue: out-of-order valuator event; dropping.
[mi] EQ overflowing. The server is probably stuck in an infinite loop.
[mi] mieqEnequeue: out-of-order valuator event; dropping.
[mi] EQ overflowing. The server is probably stuck in an infinite loop.
[mi] mieqEnequeue: out-of-order valuator event; dropping.
[mi] EQ overflowing. The server is probably stuck in an infinite loop.
[mi] mieqEnequeue: out-of-order valuator event; dropping.

~~snip, repeating with every touch on touchscreen~~
Same behaviour also under Debian Lenny and XUbuntu. Any ideas anybody? Documentation on the Xorg elographics driver is very poor, has anybody experience with this and serial touchscreens? Any help highly appreciated...

Thanks in advance
Daniel
 
Old 04-08-2009, 03:59 PM   #2
knobby67
Member
 
Registered: Mar 2006
Posts: 536

Rep: Reputation: 42
Hi,
I've just upgraded to Lenny and have banged into this problem as well, Etch worked great did you find a solution? thanks.
 
Old 04-09-2009, 05:55 AM   #3
dtmuller
LQ Newbie
 
Registered: Mar 2009
Posts: 2

Original Poster
Rep: Reputation: 0
Got the touchscreen working with the egalax linux driver from: eeti
 
Old 04-09-2009, 10:15 AM   #4
knobby67
Member
 
Registered: Mar 2006
Posts: 536

Rep: Reputation: 42
thank you sir! I'll give it a try. Unfortunately I made the bad mistake of trying to use the drivers from the ELO site, which didn't work but wrote calibrations to the touchscreen NVRAM, now it's calibration is way off in Etch. Useless f#@** bqubert#@. And it won't let me rewrite to the NVRAM!!!
 
  


Reply

Tags
elo, touchscreen


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
Need help with elo touchscreen!! shahin123 Linux - Hardware 5 12-24-2008 10:38 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
Elo Touchscreen Installation dsterlin Linux - Hardware 0 04-10-2005 05:02 PM


All times are GMT -5. The time now is 01:36 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration