LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 12-24-2008, 04:12 PM   #1
donnied
Member
 
Registered: Oct 2006
Distribution: Debian x64
Posts: 198

Rep: Reputation: 30
How to setup elo drivers for Gvision L15AX-JA


I have a Gvision L15AX with a serial touchscreen.

Setting up the elo drivers was more difficult for me than it needed to be. I tried to use the drivers provided by Elo with no success. At first I was confused as to the drivers I needed but found a hardware chipset/ driver list for touch screens here:
http://touch-base.com/documentation/...ontrollers.htm


So I needed the elo drivers and I downloaded them from here:
http://www.elotouch.com/Support/Downloads/dnld.asp

They didn't work for me. I followed the walk through and had no luck. I wasn't even successful at removing them.

So with a fresh install of Debian Etch (the Xserver graphics were messed up in Lenny) I installed the elographics package.

Code:
aptitude install xserver-xorg-input-elographics
I knew by touching the touch screen with
Code:
cat /dev/ttyS1
that my touch screen was on /dev/ttyS1.

Then I edited /etc/X11/xorg.conf
The options are available through:
Code:
man elographics
My Y axis was flipped so I had to invert the max and min values. I would just change the values a little and then type ctrl+alt+backspace to restart X to test the new settings.
Important to know is that the minimum X,Y coordinates are for the top left and the maximum x,y coordinates for the bottom right. (So you:
touch the top-left to see how close your minimum values are and
touch the bottom-right to see how close your maximum values are.)
There's a picture here: http://tldp.org/HOWTO/XFree86-Touch-Screen-HOWTO-1.html
(and some xorg.conf examples)


Code:
Section "Files"
        FontPath        "/usr/share/fonts/X11/misc"
        FontPath        "/usr/X11R6/lib/X11/fonts/misc"
        FontPath        "/usr/share/fonts/X11/cyrillic"
        FontPath        "/usr/X11R6/lib/X11/fonts/cyrillic"
        FontPath        "/usr/share/fonts/X11/100dpi/:unscaled"
        FontPath        "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
        FontPath        "/usr/share/fonts/X11/75dpi/:unscaled"
        FontPath        "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
        FontPath        "/usr/share/fonts/X11/Type1"
        FontPath        "/usr/X11R6/lib/X11/fonts/Type1"
        FontPath        "/usr/share/fonts/X11/100dpi"
        FontPath        "/usr/X11R6/lib/X11/fonts/100dpi"
        FontPath        "/usr/share/fonts/X11/75dpi"
        FontPath        "/usr/X11R6/lib/X11/fonts/75dpi"
        # path to defoma fonts
        FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
        Load    "i2c"
        Load    "bitmap"
        Load    "ddc"
        Load    "dri"
        Load    "extmod"
        Load    "freetype"
        Load    "glx"
        Load    "int10"
        Load    "vbe"
EndSection

Section "InputDevice"
        Identifier      "Generic Keyboard"
        Driver          "kbd"
        Option          "CoreKeyboard"
        Option          "XkbRules"      "xorg"
        Option          "XkbModel"      "pc104"
        Option          "XkbLayout"     "us"
EndSection

Section "InputDevice"
        Identifier      "Configured Mouse"
        Driver          "mouse"
        Option          "CorePointer"
        Option          "Device"               "/dev/input/mice"
        Option          "Protocol"              "ImPS/2"
        Option          "Emulate3Buttons"       "true"
EndSection
Section "InputDevice"
        Identifier "ELO touchscreen"
        Driver "elographics"
        Option "Device" "/dev/ttyS1"

        Option "MinX" "300"
        Option "MaxX" "3800"
        Option "MinY" "3800"
        Option "MaxY" "300"


        Option  "UntouchDelay"  "10"
        Option  "ReportDelay"   "10"
        Option  "SendCoreEvents"        "yes"
        Option  "ScreenNumber"  "0"
        Option  "ButtonNumber"  "1"
EndSection



Section "Device"
        Identifier      "ATI Technologies Inc ATI Default Card"
        Driver          "vesa"
        BusID           "PCI:1:5:0"
EndSection

Section "Monitor"
        Identifier      "15LCD(ANA)"
        Option          "DPMS"
EndSection

Section "Screen"
        Identifier      "Default Screen"
        Device          "ATI Technologies Inc ATI Default Card"
        Monitor         "15LCD(ANA)"
        DefaultDepth    24
        SubSection "Display"
                Depth           1
                Modes           "1024x768" "800x600" "720x400" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           4
                Modes           "1024x768" "800x600" "720x400" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           8
                Modes           "1024x768" "800x600" "720x400" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           15
                Modes           "1024x768" "800x600" "720x400" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           16
                Modes           "1024x768" "800x600" "720x400" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           24
                Modes           "1024x768" "800x600" "720x400" "640x480"
        EndSubSection
EndSection

Section "ServerLayout"
        Identifier      "Default Layout"
        Screen          "Default Screen"
        InputDevice     "Generic Keyboard"
        InputDevice     "Configured Mouse"
        InputDevice     "ELO touchscreen" "SendCoreEvents"
EndSection

Section "DRI"
        Mode    0666
EndSection
I am very happy with the people that provided the Debian elographics package and wish I had know to try that first.

You can check to see what's going on with 'od' but I didn't know how to decipher the output.
Code:
od -w8 -d </dev/ttyS1
There's also touchcal available on Sourceforge but it didn't compile for me.
http://touchcal.sourceforge.net/
 
Old 12-25-2008, 09:13 AM   #2
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
This post deals with the same subject as
http://www.linuxquestions.org/questi...g.conf-692767/

Don't create more than one post per issue.
 
Old 12-25-2008, 01:58 PM   #3
donnied
Member
 
Registered: Oct 2006
Distribution: Debian x64
Posts: 198

Original Poster
Rep: Reputation: 30
The other might be useful for a collection of working xorg.conf's for any touch screen monitor.
Thank you for your time.

Last edited by donnied; 12-26-2008 at 08:57 AM.
 
  


Reply

Tags
elo, gvision, how, touchscreen



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
How to get Gvision L15AX-JA touch screen working donnied Linux - Hardware 2 03-03-2009 06:34 PM
Need help with elo touchscreen!! shahin123 Linux - Hardware 5 12-24-2008 10:38 AM
Drivers dont work - Elo Touchscreen (Accutouch 2100) on Suse10.0 aap Linux - Hardware 4 12-11-2007 07:36 AM
LXer: Touch Drivers: Elo Offers New Touch Drivers For Linux And Mac OS LXer Syndicated Linux News 0 08-29-2006 12:54 PM
configure hardware before install OR install elo touchscreen drivers ahnree General 2 06-28-2004 08:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 09:25 PM.

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