LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.

Notices

Reply
 
LinkBack Search this Thread
Old 11-25-2013, 05:45 AM   #1
dirtyfishtank
LQ Newbie
 
Registered: Aug 2013
Posts: 9

Rep: Reputation: Disabled
xorg.conf for touchscreen (imx53)


Hey all,
I'm having some problems getting xorg to behave correctly on a iMX53 touchscreen. When my device first starts X, it switches mouse protocols a few times until it gets to ps/2 (see below), then when I touch the screen the X menu appears momentarily but the cursor never moves and i'm not able to click on anything. I'm using TSLIB, and I am able to run ts_calibrate and ts_test with no problem (draw/drag/drop ok), but that's the only application that allows me to move the cursor and click on the screen. This makes me think it is a problem with the config file xorg.conf. Does anyone have any ideas or suggestions as to what I should try or any hints on what's wrong with the xorg config file below? thanks? Btw, plugging a USB mouse in works perfectly fine.

Output after starting X:
Code:
_XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
_XSERVTransOpen: transport open failed for inet6/iND16599:0
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6
(EE) XKB: Couldn't open rules file /usr/share/X11/xkb/rules/base
(EE) XKB: No components provided for device Virtual core keyboard
(EE) XKB: Couldn't open rules file /usr/share/X11/xkb/rules/base
(EE) XKB: No components provided for device (unnamed keyboard)
Switching to mouse protocol "imps/2"
Switching to mouse protocol "exps/2"
Switching to mouse protocol "bus"
Switching to mouse protocol "ps/2"
Xorg.conf
Code:
Section "InputDevice"
        Identifier      "Generic Keyboard"
        Driver          "kbd"
        Option          "XkbRules"      "xorg"
        Option          "XkbModel"      "pc105"
        Option          "XkbLayout"     "us"
EndSection


Section "InputDevice"
        Identifier      "Configured Mouse"
        Driver          "mouse"
        Option          "CorePointer"
        Option          "Protocol" "ps/2" #has no effect
        Option          "Device" "/dev/input/event2" #has no effect
EndSection


Section "Device"
        Identifier      "i.MX Accelerated Framebuffer Device"
        Driver          "imx"
        Option          "fbdev"         "/dev/fb0"


# This option only recognized when "mxc_epdc_fb" frame buffer driver in
# use.  Values are "RGB565" (default, 16-bit RGB), "Y8" (8-bit gray),
# and "Y8INV" (8-bit gray inverted).
        Option          "FormatEPDC"    "Y8INV"


EndSection


Section "Monitor"
        Identifier      "Configured Monitor"
EndSection


Section "Screen"
        Identifier      "Default Screen"
        Monitor         "Configured Monitor"
        Device          "i.MX Accelerated Framebuffer Device"
EndSection


Section "ServerLayout"
        Identifier      "Default Layout"
        Screen          "Default Screen"
EndSection
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Missing xorg.conf file in /etc/X11/xorg.conf Altiris Linux - Newbie 2 08-23-2013 11:46 PM
X starts without xorg.conf, however with aticonfig, resultant xorg.conf hangs linuxbird Linux - Desktop 3 08-23-2012 05:28 AM
My xorg.conf is replaced with a default xorg.conf after reboot rrrssssss Linux - Hardware 9 04-11-2010 04:45 PM
How to example ELO touchscreen xorg.conf ? donnied Linux - Hardware 1 12-26-2008 08:51 AM
Xorg.conf & Event Problem with Touchscreen seattleweb Linux - Hardware 1 07-25-2007 12:41 AM


All times are GMT -5. The time now is 05:38 PM.

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