[prev in list] [next in list] [prev in thread] [next in thread]
List: freedesktop-xorg
Subject: egalax USB touchscreen problems
From: "Ken Emmons Jr." <kemmons () qatech ! com>
Date: 2011-04-19 15:54:05
Message-ID: E25D90EC40B8F540BEB10799CE78925DAEE1D4 () QACOM ! qatech ! com
[Download RAW message or body]
--===============0407131489==
Content-class: urn:content-classes:message
Content-Type: multipart/alternative;
boundary="----_=_NextPart_001_01CBFEAA.02CD0B57"
This is a multi-part message in MIME format.
Hello,
I tried to post this yesterday but I am not sure if it showed up on the
mailing list. I am trying to get an egalax touchscreen working on an
embedded PowerPC target using Debian Lenny distribution and custom
compiled kernel for 2.6.30.3. Xorg is 1.4.2 and evdev is 2.0.8 (See log
below).
Anyhow I have more data:
Using HAL I was able to pass some information to the X server using this
file:
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- 10-synaptics.fdi is claiming all input.touchpad's as its
own. This file is meant to be loaded afterwards and to undo
any wrong assignments it did.
-->
<deviceinfo version="0.2">
<device>
<!-- <match key="info.capabilities" contains="input.touchpad"> -->
<match key="info.product" contains="eGalax">
<merge key="input.x11_driver" type="string">evdev</merge>
<merge key="input.x11_options.Calibration" type="string">32 3990 48
3990</merge>
<merge key="input.x11_options.InvertX" type="string">true</merge>
</match>
<!-- </match> -->
</device>
</deviceinfo>
The xorg server didn't seem to like loading the evdev driver though, and
seems to be interpreting my touchscreen as a mouse with absolute
coordinates, and the wrong calibration. See the following output:
Log file output pertaining to input (I have a USB mouse and the USB
touchscreen plugged in):
************************************************************************
************************************
(WW) Configured Mouse: No Device specified, looking for one...
(II) Configured Mouse: Setting Device option to "/dev/input/mice"
(--) Configured Mouse: Device: "/dev/input/mice"
(==) Configured Mouse: Protocol: "Auto"
(**) Option "CorePointer"
(**) Configured Mouse: always reports core events
(**) Option "Device" "/dev/input/mice"
(==) Configured Mouse: Emulate3Buttons, Emulate3Timeout: 50
(**) Configured Mouse: ZAxisMapping: buttons 4 and 5
(**) Configured Mouse: Buttons: 9
(**) Configured Mouse: Sensitivity: 1
(**) Option "CoreKeyboard"
(**) Generic Keyboard: always reports core events
(**) Option "Protocol" "standard"
(**) Generic Keyboard: Protocol: standard
(**) Option "AutoRepeat" "500 30"
(**) Option "XkbRules" "xorg"
(**) Generic Keyboard: XkbRules: "xorg"
(**) Option "XkbModel" "pc105"
(**) Generic Keyboard: XkbModel: "pc105"
(**) Option "XkbLayout" "us"
(**) Generic Keyboard: XkbLayout: "us"
(**) Option "CustomKeycodes" "off"
(**) Generic Keyboard: CustomKeycodes disabled
(II) evaluating device (Configured Mouse)
(II) XINPUT: Adding extended input device "Configured Mouse" (type:
MOUSE)
(II) evaluating device (Generic Keyboard)
(II) XINPUT: Adding extended input device "Generic Keyboard" (type:
KEYBOARD)
(--) Configured Mouse: PnP-detected protocol: "ExplorerPS/2"
(II) Configured Mouse: ps2EnableDataReporting: succeeded
(II) Module evdev: vendor="X.Org Foundation"
compiled for 1.4.2, module version = 2.0.8
Module class: X.Org XInput Driver
ABI class: X.Org XInput driver, version 2.0
(**) eGalax Inc. USB TouchController: always reports core events
(**) eGalax Inc. USB TouchController: Device: "/dev/input/event4"
(II) eGalax Inc. USB TouchController: Found x and y absolute axes
(II) eGalax Inc. USB TouchController: Found absolute touchpad
(WW) eGalax Inc. USB TouchController: Don't know how to use device
(II) UnloadModule: "evdev"
(EE) PreInit returned NULL for "eGalax Inc. USB TouchController"
(**) eGalax Inc. USB TouchController: always reports core events
(**) eGalax Inc. USB TouchController: Device: "/dev/input/event3"
(II) eGalax Inc. USB TouchController: Found x and y absolute axes
(II) eGalax Inc. USB TouchController: Found mouse buttons
(II) eGalax Inc. USB TouchController: Configuring as mouse
(II) XINPUT: Adding extended input device "eGalax Inc. USB
TouchController" (type: MOUSE)
output of xinput list:
***********************
"eGalax Inc. USB TouchController" id=4 [XExtensionPointer]
Num_buttons is 32
Num_axes is 2
Mode is Absolute
Motion_buffer is 256
Axis 0 :
Min_value is 42
Max_value is 1981
Resolution is 10000
Axis 1 :
Min_value is 42
Max_value is 1981
Resolution is 10000
The touchscreen does seem to work, but the input appears to be coming to
my "Generic Mouse" Any clue as to how to troubleshoot this?
thanks,
~Ken
[Attachment #3 (text/html)]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.17097" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=573061215-19042011><FONT face=Arial
size=2>Hello,</FONT></SPAN></DIV>
<DIV><SPAN class=573061215-19042011><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=573061215-19042011><FONT face=Arial size=2>I tried to post this
yesterday but I am not sure if it showed up on the mailing list. I am trying to
get an egalax touchscreen working on an embedded PowerPC target using Debian
Lenny distribution and custom compiled kernel for 2.6.30.3. Xorg is 1.4.2 and
evdev is 2.0.8 (See log below). </FONT></SPAN></DIV>
<DIV><SPAN class=573061215-19042011></SPAN><SPAN class=573061215-19042011><FONT
face=Arial size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=573061215-19042011><FONT face=Arial size=2>Anyhow I have more
data:</FONT></SPAN></DIV>
<DIV><SPAN class=573061215-19042011><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=573061215-19042011><FONT face=Arial size=2>Using HAL I was able
to pass some information to the X server using this file:</FONT></SPAN></DIV>
<DIV><SPAN class=573061215-19042011><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=573061215-19042011><FONT face=Arial size=2><?xml
version="1.0" encoding="ISO-8859-1"?><BR><!-- 10-synaptics.fdi is claiming
all input.touchpad's as its<BR> own. This file is meant
to be loaded afterwards and to undo<BR> any wrong
assignments it did.<BR>--><BR><deviceinfo
version="0.2"><BR><device><BR><!-- <match
key="info.capabilities" contains="input.touchpad"> --><BR><match
key="info.product" contains="eGalax"><BR> <merge
key="input.x11_driver" type="string">evdev</merge><BR> <merge
key="input.x11_options.Calibration" type="string">32 3990 48
3990</merge><BR> <merge key="input.x11_options.InvertX"
type="string">true</merge><BR></match><BR><!--
</match>
--><BR></device><BR></deviceinfo><BR></FONT></SPAN></DIV>
<DIV><SPAN class=573061215-19042011><FONT face=Arial size=2>The xorg server
didn't seem to like loading the evdev driver though, and seems to be
interpreting my touchscreen as a mouse with absolute coordinates, and the wrong
calibration. See the following output:</FONT></SPAN></DIV>
<DIV><SPAN class=573061215-19042011><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=573061215-19042011><FONT face=Arial size=2>
<DIV><SPAN class=573061215-19042011><FONT face=Arial size=2>Log file output
pertaining to input (I have a USB mouse and the USB touchscreen plugged
in):</FONT></SPAN></DIV>
<DIV><SPAN class=573061215-19042011><FONT face=Arial
size=2>************************************************************************************************************</FONT></SPAN></DIV>
<DIV><SPAN class=573061215-19042011></SPAN> </DIV>
<DIV><SPAN class=573061215-19042011>(WW) Configured Mouse: No Device specified,
looking for one...<BR>(II) Configured Mouse: Setting Device option to
"/dev/input/mice"<BR>(--) Configured Mouse: Device: "/dev/input/mice"<BR>(==)
Configured Mouse: Protocol: "Auto"<BR>(**) Option "CorePointer"<BR>(**)
Configured Mouse: always reports core events<BR>(**) Option "Device"
"/dev/input/mice"<BR>(==) Configured Mouse: Emulate3Buttons, Emulate3Timeout:
50<BR>(**) Configured Mouse: ZAxisMapping: buttons 4 and 5<BR>(**) Configured
Mouse: Buttons: 9<BR>(**) Configured Mouse: Sensitivity: 1<BR>(**) Option
"CoreKeyboard"<BR>(**) Generic Keyboard: always reports core events<BR>(**)
Option "Protocol" "standard"<BR>(**) Generic Keyboard: Protocol:
standard<BR>(**) Option "AutoRepeat" "500 30"<BR>(**) Option "XkbRules"
"xorg"<BR>(**) Generic Keyboard: XkbRules: "xorg"<BR>(**) Option "XkbModel"
"pc105"<BR>(**) Generic Keyboard: XkbModel: "pc105"<BR>(**) Option "XkbLayout"
"us"<BR>(**) Generic Keyboard: XkbLayout: "us"<BR>(**) Option "CustomKeycodes"
"off"<BR>(**) Generic Keyboard: CustomKeycodes disabled<BR>(II) evaluating
device (Configured Mouse)<BR>(II) XINPUT: Adding extended input device
"Configured Mouse" (type: MOUSE)<BR>(II) evaluating device (Generic
Keyboard)<BR>(II) XINPUT: Adding extended input device "Generic Keyboard" (type:
KEYBOARD)<BR>(--) Configured Mouse: PnP-detected protocol:
"ExplorerPS/2"<BR>(II) Configured Mouse: ps2EnableDataReporting:
succeeded<BR></SPAN><SPAN class=573061215-19042011><FONT face=Arial size=2>(II)
Module evdev: vendor="X.Org
Foundation"<BR> compiled for 1.4.2,
module version = 2.0.8<BR> Module
class: X.Org XInput Driver<BR> ABI
class: X.Org XInput driver, version 2.0<BR>(**) eGalax Inc. USB TouchController:
always reports core events<BR>(**) eGalax Inc. USB TouchController: Device:
"/dev/input/event4"<BR>(II) eGalax Inc. USB TouchController: Found x and y
absolute axes<BR>(II) eGalax Inc. USB TouchController: Found absolute
touchpad<BR>(WW) eGalax Inc. USB TouchController: Don't know how to use
device<BR>(II) UnloadModule: "evdev"<BR>(EE) PreInit returned NULL for "eGalax
Inc. USB TouchController"<BR>(**) eGalax Inc. USB TouchController: always
reports core events<BR>(**) eGalax Inc. USB TouchController: Device:
"/dev/input/event3"<BR>(II) eGalax Inc. USB TouchController: Found x and y
absolute axes<BR>(II) eGalax Inc. USB TouchController: Found mouse
buttons<BR>(II) eGalax Inc. USB TouchController: Configuring as mouse<BR>(II)
XINPUT: Adding extended input device "eGalax Inc. USB TouchController" (type:
MOUSE)<BR></FONT></SPAN></DIV></DIV></FONT></SPAN>
<DIV><SPAN class=573061215-19042011><FONT face=Arial size=2>output of xinput
list:</FONT></SPAN></DIV>
<DIV><SPAN class=573061215-19042011><FONT face=Arial
size=2>***********************</FONT></SPAN></DIV>
<DIV><SPAN class=573061215-19042011><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=573061215-19042011><FONT face=Arial size=2>"eGalax Inc. USB
TouchController" id=4
[XExtensionPointer]<BR> Num_buttons is
32<BR> Num_axes is
2<BR> Mode is
Absolute<BR> Motion_buffer is
256<BR> Axis 0
> <BR> \
>
Min_value is
42<BR> \
Max_value is
1981<BR> \
Resolution is 10000<BR> Axis 1
> <BR> \
>
Min_value is
42<BR> \
Max_value is
1981<BR> \
Resolution is 10000<BR></FONT></SPAN></DIV>
<DIV><SPAN class=573061215-19042011><FONT face=Arial size=2>The touchscreen does
seem to work, but the input appears to be coming to my "Generic
Mouse" Any clue as to how to troubleshoot this? </FONT></SPAN></DIV>
<DIV><SPAN class=573061215-19042011><FONT face=Arial
size=2> </DIV></FONT></SPAN>
<DIV><SPAN class=573061215-19042011><FONT face=Arial
size=2>thanks,</FONT></SPAN></DIV>
<DIV><SPAN class=573061215-19042011><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=573061215-19042011><FONT face=Arial
size=2>~Ken</FONT></SPAN></DIV>
<!-- Begin Ninja Disclaimer ID d534d3aa-f4cb-4f9f-a804-d30c2280e3c2 -->
<P><SPAN class=365010914-13072007><SPAN><FONT face=Arial color=navy \
size=2><EM></EM></FONT></SPAN></SPAN> </P> <P><SPAN \
class=365010914-13072007><SPAN><FONT face=Arial color=navy size=2><EM>This message \
contains confidential information and is intended solely for the individual named. If \
you are not the intended recipient, please notify the sender immediately by e-mail \
and destroy all copies of this e-mail and its attachments. The sender does not accept \
liability for any errors, omissions or damage caused by any virus transmitted by this \
e-mail, for any failure to receive information in replies to this email, or for \
the receipt of any such information by unintended recipients.<SPAN> </SPAN>Any \
views or opinions expressed in this e-mail may be solely those of the author and not \
necessarily those of QA Technology Company, Inc.</EM></FONT></SPAN></SPAN></P> \
</BODY></HTML>
_______________________________________________
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: freedesktop-xorg@progressive-comp.com
--===============0407131489==--
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic