[prev in list] [next in list] [prev in thread] [next in thread]
List: freedesktop-xorg
Subject: Xorg on iMX53 touchscreen
From: Moe Derballa <mderballa () hotmail ! com>
Date: 2013-11-26 0:27:40
Message-ID: BLU176-W2032F1F3DBE19B9610AD79B3EC0 () phx ! gbl
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
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:_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: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" \
Option "Device" "/dev/input/event2"EndSection #Section "InputDevice"# \
Identifier "touchscreen1"# Option "Driver" "imx"# Option \
"Device" "/dev/input/ts0"# Option "CorePointer"#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
[Attachment #5 (text/html)]
<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><span style="background-color: rgb(255, 255, \
255);"><span style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: \
13px;">Hey all,</span><br style="font-family: Verdana, Arial, Helvetica, sans-serif; \
font-size: 13px;"><span style="font-family: Verdana, Arial, Helvetica, sans-serif; \
font-size: 13px;">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.</span></span><div><span style="font-family: \
Verdana, Arial, Helvetica, sans-serif; font-size: 13px; background-color: rgb(207, \
217, 255);"><br></span></div><div><span style="font-family: Verdana, Arial, \
Helvetica, sans-serif; font-size: 13px; background-color: rgb(255, 255, \
255);"><b>Output after starting X:</b></span></div><div><span \
style="background-color: rgb(207, 217, 255);"><div><font size="2"><div><font \
face="Courier New">_XSERVTransSocketOpenCOTSServer: Unable to open socket for \
inet6</font></div><div><font face="Courier New">_XSERVTransOpen: transport open \
failed for inet6/iND16599:0</font></div><div><font face="Courier \
New">_XSERVTransMakeAllCOTSServerListeners: failed to open listener for \
inet6</font></div><div><font face="Courier New">(EE) XKB: Couldn't open rules file \
/usr/share/X11/xkb/rules/base</font></div><div><font face="Courier New">(EE) XKB: No \
components provided for device Virtual core keyboard</font></div><div><font \
face="Courier New">(EE) XKB: Couldn't open rules file \
/usr/share/X11/xkb/rules/base</font></div><div><font face="Courier New">(EE) XKB: No \
components provided for device (unnamed keyboard)</font></div><div><font \
face="Courier New">Switching to mouse protocol "imps/2"</font></div><div><font \
face="Courier New">Switching to mouse protocol "exps/2"</font></div><div><font \
face="Courier New">Switching to mouse protocol "bus"</font></div><div><font \
face="Courier New">Switching to mouse protocol "ps/2"</font></div><div \
style="font-family: Verdana, Arial, Helvetica, \
sans-serif;"><br></div></font></div><div><font face="Verdana, Arial, Helvetica, \
sans-serif" size="2"><br></font></div><div><font face="Verdana, Arial, Helvetica, \
sans-serif" size="2"><b>xorg.conf:</b></font></div><div><font size="2" face="Courier \
New">Section "InputDevice"</font></div><div><font size="2" face="Courier New"> \
Identifier "Generic \
Keyboard"</font></div><div><font size="2" face="Courier New"> \
Driver "kbd"</font></div><div><font size="2" \
face="Courier New"> Option \
"XkbRules" "xorg"</font></div><div><font size="2" \
face="Courier New"> Option \
"XkbModel" "pc105"</font></div><div><font size="2" \
face="Courier New"> Option \
"XkbLayout" "us"</font></div><div><font size="2" face="Courier \
New">EndSection</font></div><div><font size="2" face="Courier \
New"><br></font></div><div><font size="2" face="Courier New">Section \
"InputDevice" </font></div><div><font size="2" face="Courier New"> \
Identifier "Configured \
Mouse"</font></div><div><font size="2" face="Courier New"> \
Driver "mouse"</font></div><div><font size="2" \
face="Courier New"> Option \
"CorePointer"</font></div><div><font size="2" face="Courier New"> \
Option "Protocol" \
"ps/2"</font></div><div><font size="2" face="Courier New"> \
Option "Device" \
"/dev/input/event2"</font></div><div><font size="2" face="Courier \
New">EndSection </font></div><div><font size="2" face="Courier \
New"><br></font></div><div><font size="2" face="Courier New">#Section \
"InputDevice"</font></div><div><font size="2" face="Courier New"># \
Identifier "touchscreen1"</font></div><div><font size="2" \
face="Courier New"># Option \
"Driver" "imx"</font></div><div><font size="2" face="Courier New"># \
Option "Device" \
"/dev/input/ts0"</font></div><div><font size="2" face="Courier New"># \
Option "CorePointer"</font></div><div><font size="2" face="Courier \
New">#EndSection</font></div><div><font size="2" face="Courier \
New"><br></font></div><div><font size="2" face="Courier New">Section \
"Device"</font></div><div><font size="2" face="Courier New"> \
Identifier "i.MX Accelerated Framebuffer \
Device"</font></div><div><font size="2" face="Courier New"> \
Driver "imx"</font></div><div><font size="2" \
face="Courier New"> Option \
"fbdev" "/dev/fb0"</font></div><div><font size="2" \
face="Courier New"><br></font></div><div><font size="2" face="Courier New"># This \
option only recognized when "mxc_epdc_fb" frame buffer driver \
in</font></div><div><font size="2" face="Courier New"># use. Values are \
"RGB565" (default, 16-bit RGB), "Y8" (8-bit gray),</font></div><div><font size="2" \
face="Courier New"># and "Y8INV" (8-bit gray inverted).</font></div><div><font \
size="2" face="Courier New"> Option \
"FormatEPDC" "Y8INV"</font></div><div><font size="2" \
face="Courier New"><br></font></div><div><font size="2" face="Courier \
New">EndSection</font></div><div><font size="2" face="Courier \
New"><br></font></div><div><font size="2" face="Courier New">Section \
"Monitor"</font></div><div><font size="2" face="Courier New"> \
Identifier "Configured Monitor"</font></div><div><font \
size="2" face="Courier New">EndSection</font></div><div><font size="2" face="Courier \
New"><br></font></div><div><font size="2" face="Courier New">Section \
"Screen"</font></div><div><font size="2" face="Courier New"> \
Identifier "Default Screen"</font></div><div><font \
size="2" face="Courier New"> Monitor \
"Configured Monitor"</font></div><div><font size="2" face="Courier New"> \
Device "i.MX Accelerated \
Framebuffer Device"</font></div><div><font size="2" face="Courier \
New">EndSection</font></div><div><font size="2" face="Courier \
New"><br></font></div><div><font size="2" face="Courier New">Section \
"ServerLayout"</font></div><div><font size="2" face="Courier New"> \
Identifier "Default Layout"</font></div><div><font \
size="2" face="Courier New"> Screen \
"Default Screen"</font></div><div><font size="2" face="Courier \
New">EndSection</font></div><div style="font-family: Verdana, Arial, Helvetica, \
sans-serif; font-size: 13px;"><br></div></span></div> </div></body> \
</html>
_______________________________________________
xorg@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.x.org/mailman/listinfo/xorg
Your subscription address: %(user_address)s
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic