egalax USB touchscreen problems

Ken Emmons Jr. kemmons at qatech.com
Tue Apr 19 08:54:05 PDT 2011


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg/attachments/20110419/258e8b15/attachment.html>


More information about the xorg mailing list