Fedora Linux Support Community & Resources Center
  #1  
Old 11th December 2011, 03:44 PM
makuz Offline
Registered User
 
Join Date: Dec 2004
Posts: 73
linuxfirefox
Elo touchscreen F16 xorg.conf

I'm trying to make a serial Elo touchscreen work with Fedora 16. Since I could read the data from the serial port, but the mouse cursor was not moving I compiled the elographics driver with debug support, and it receives the touch events and prints the coordinates to the Xorg.0.log file. But the cursor is still not moving. Am I overlooking something? Any help would be appreciated.

/etc/X11/xorg.conf
Code:
Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Inputdevice    "Touchscreen0"
    Option         "Xinerama" "0"
EndSection

Section "InputDevice"
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/input/mice"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    Identifier "Touchscreen0"
    Driver "elographics"
    Option "Device" "/dev/ttyS0"
    Option "Type" "finger"
    Option "AlwaysCore"
EndSection
Reply With Quote
  #2  
Old 16th January 2012, 02:51 PM
makuz Offline
Registered User
 
Join Date: Dec 2004
Posts: 73
linuxfirefox
Re: Elo touchscreen F16 xorg.conf

I still don't know how to fix this. Although I tested the configuration below in F14 and it was working perfectly. Any ideas what impedes the driver from working in F16?

Code:
Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Touchscreen0"
    Option         "Xinerama" "0"
EndSection

Section "InputDevice"
    Identifier "Touchscreen0"
    Driver "elographics"
    Option "Device" "/dev/ttyS0"
    Option "SendCoreEvents" "true"
    Option "DebugLevel" "5"
    Option "ScreenNo" "0"
    Option "MinX" "300"
    Option "MaxX" "3800"
    Option "MinY" "3800"
    Option "MaxY" "300"
EndSection
Reply With Quote
  #3  
Old 20th January 2012, 09:08 PM
DougK Offline
Registered User
 
Join Date: Mar 2009
Posts: 20
windows_7chrome
Re: Elo touchscreen F16 xorg.conf

I'm actually running into a similar problem using Fedora 15. The only real difference is that I got the serial driver from elotouch.com and built that. With earlier versions of Fedora, the elographics driver worked just fine, but in Fedora 15 the built-in driver doesn't seem to work.

The only problem I am running into is the elo driver from their site creates an ABI error which then causes the driver to unload. If I add the server flag IgnoreABI, X fails to load. the log file stops right as it tries to load the elo driver.

I have built the elo driver for other releases of Fedora, and have found that X won't load if the touch screen is not connected when the driver is configured. One of the things I noticed is the instructions for the driver say to add loadelo and eloser to /etc/rc.d/rc.local file, but the comments on that file say that the script is executed AFTER all other init scripts. I kind of suspect that X is trying to load before those scripts are run, and those scripts need to be run before X can start. I haven't played around with this a whole lot, and I haven't yet gotten the touchscreen to work.

Take a look at the /var/log/Xorg.n.log files and see if that gives you any insight. I'm going to try the built-in elographics driver again and see if it works.

Last edited by DougK; 20th January 2012 at 09:11 PM.
Reply With Quote
  #4  
Old 22nd January 2012, 08:35 AM
makuz Offline
Registered User
 
Join Date: Dec 2004
Posts: 73
linuxfirefox
Re: Elo touchscreen F16 xorg.conf

Thank you. I really think that something has changed in X, because with the "DebugLevel" "5" option I can see all touchscreen messages in the Xorg.log. They just don't move the X cursor. I also found that the elographics driver will be removed from F17. At the moment, my solution is a small custom application that reads the touchscreen data from the serial port and emulates mouse cursor behaviour.
Reply With Quote
  #5  
Old 23rd January 2012, 04:56 PM
DougK Offline
Registered User
 
Join Date: Mar 2009
Posts: 20
windows_7chrome
Re: Elo touchscreen F16 xorg.conf

One thing I noticed is that when I switched over to the elographics driver instead of the elo driver from elotouch.com, is that there are errors that say "Dropping one byte in attempt to sync" in /var/log/Xorg.0.log. After a few of these messages, it then says something along the lines of "Controller rate incorrect or model 2310, continuing..."

Hopefully I can get my issue figured out. It looks like you may have gotten yours squared away.
Reply With Quote
Reply

Tags
elo, f16, touchscreen, xorg, xorgconf

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Any Linux netbooks with touchscreen? (or howto install Fedora + touchscreen?) techmum Using Fedora 0 8th October 2008 11:03 PM
2001 tibook 667 xorg update broke my xorg.conf! hank_le Mac Chat 2 19th April 2008 01:02 PM
Nothing in xorg.conf -- FC6 Live CD -- Any other way to view xorg.conf? spfdz EOL (End Of Life) Versions 1 8th January 2007 06:02 AM
Here's my Xorg.0.log and xorg.conf. Please Help bibstha Using Fedora 9 4th November 2006 05:38 PM
Yikes no Xorg, .. need an xorg.conf steve941 Using Fedora 1 14th April 2006 05:27 AM


Current GMT-time: 09:16 (Tuesday, 22-07-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat