<!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>