Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 247884

Summary: x11-drivers/xf86-input-evtouch - calibrate shows wrong coordinates
Product: Gentoo Linux Reporter: Balint Dobai-Pataky <dpblnt>
Component: [OLD] UnspecifiedAssignee: Doug Goldstein (RETIRED) <cardoe>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: High    
Version: 2008.0   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Balint Dobai-Pataky 2008-11-21 07:18:31 UTC
i have an egalax device, usbid: 0eef:0001 D-WAV Scientific Co., Ltd eGalax TouchScreen

dmesg:
usb 5-1: configuration #1 chosen from 1 choice
usb 5-1: New USB device found, idVendor=0eef, idProduct=0001
usb 5-1: New USB device strings: Mfr=1, Product=5, SerialNumber=3
usb 5-1: Manufacturer: eGalax Inc.
input: eGalax Inc. as /class/input/input0
usbcore: registered new interface driver usbtouchscreen

lahal:
udi = '/org/freedesktop/Hal/devices/usb_device_eef_1_noserial'
  info.linux.driver = 'usb'  (string)
  info.parent = '/org/freedesktop/Hal/devices/usb_device_1d6b_1_0000_00_1d_3'  (string)
  info.product = 'eGalax TouchScreen'  (string)
  info.subsystem = 'usb_device'  (string)
  info.udi = '/org/freedesktop/Hal/devices/usb_device_eef_1_noserial'  (string)
  info.vendor = 'D-WAV Scientific Co., Ltd'  (string)
  linux.device_file = '/dev/bus/usb/005/002'  (string)
  linux.hotplug_type = 2  (0x2)  (int)
  linux.subsystem = 'usb'  (string)
  linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1d.3/usb5/5-1'  (string)
  usb_device.bus_number = 5  (0x5)  (int)
  usb_device.can_wake_up = true  (bool)
  usb_device.configuration = 'USB TouchScreen'  (string)
  usb_device.configuration_value = 1  (0x1)  (int)
  usb_device.device_class = 0  (0x0)  (int)
  usb_device.device_protocol = 0  (0x0)  (int)
  usb_device.device_revision_bcd = 256  (0x100)  (int)
  usb_device.device_subclass = 0  (0x0)  (int)
  usb_device.is_self_powered = false  (bool)
  usb_device.linux.device_number = 2  (0x2)  (int)
  usb_device.linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1d.3/usb5/5-1'  (string)
  usb_device.max_power = 100  (0x64)  (int)
  usb_device.num_configurations = 1  (0x1)  (int)
  usb_device.num_interfaces = 1  (0x1)  (int)
  usb_device.num_ports = 0  (0x0)  (int)
  usb_device.product = 'eGalax TouchScreen'  (string)
  usb_device.product_id = 1  (0x1)  (int)
  usb_device.speed = 1.5 (1.5) (double)
  usb_device.vendor = 'D-WAV Scientific Co., Ltd'  (string)
  usb_device.vendor_id = 3823  (0xeef)  (int)
  usb_device.version = 1.1 (1.1) (double)

...
udi = '/org/freedesktop/Hal/devices/usb_device_eef_1_noserial_if0_logicaldev_input'
  button.has_state = false  (bool)
  info.addons.singleton = {'hald-addon-input'} (string list)
  info.capabilities = {'input', 'button', 'input.mouse'} (string list)
  info.category = 'input'  (string)
  info.parent = '/org/freedesktop/Hal/devices/usb_device_eef_1_noserial_if0'  (string)
  info.product = 'eGalax Inc.'  (string)
  info.subsystem = 'input'  (string)
  info.udi = '/org/freedesktop/Hal/devices/usb_device_eef_1_noserial_if0_logicaldev_input'  (string)
  input.device = '/dev/input/event0'  (string)
  input.originating_device = '/org/freedesktop/Hal/devices/usb_device_eef_1_noserial_if0'  (string)
  input.product = 'eGalax Inc.'  (string)
  input.x11_driver = 'evdev'  (string)
  linux.device_file = '/dev/input/event0'  (string)
  linux.hotplug_type = 2  (0x2)  (int)
  linux.subsystem = 'input'  (string)
  linux.sysfs_path = '/sys/class/input/input0/event0'  (string)

xorg.conf related:
Section "InputDevice"
    Identifier "touchscreen"
    Driver "evtouch"
    Option "Device" "/dev/input/event0"
    Option "DeviceName" "touchscreen"
    Option "ReportingMode" "Raw"
    Option "Emulate3Buttons" "false"
#    Option "Emulate3Timeout" "5000"
    Option "SendCoreEvents" "Off"
    Option "AlwaysCore"
    Option "ButtonNumber"  "1"
    Option "longtouch_button" "1"
    Option "longtouch_action" "click"
    Option "oneandahalftap_action" "click"
    Option "oneandahalftap_button" "1"
    
#    Option "longtouch_button" 3
#    Option     "Rotate" "CCW"
#    Option "SwapX" "true"
#    Option "SwapY" "true"
Option "Calibrate"      "1"
EndSection

the device works, i see it's led blinking when i touch/release it.
cat /dev/input/event0  shows the garbage when i touch the panel

touching the panel:
X -verbose 100
read 0x22 (")
read 0xae (.)
read 0x26 (&)
read 0x49 (I)
read 0x04 (.)
read 0xfa (.)
read 0x0d (.)
read 0x00 (.)
read 0x01 (.)
read 0x00 (.)
read 0x4a (J)
read 0x01 (.)
read 0x00 (.)
read 0x00 (.)
read 0x00 (.)
read 0x00 (.)
read 0x22 (")
read 0xae (.)
read 0x26 (&)
read 0x49 (I)
read 0x0a (.)
read 0xfa (.)
read 0x0d (.)
read 0x00 (.)
read 0x00 (.)
read 0x00 (.)
read 0x00 (.)
read 0x00 (.)
read 0x00 (.)
read 0x00 (.)
read 0x00 (.)
read 0x00 (.)
select returned 0

uname -a
Linux touch 2.6.25-gentoo-r9 #1 SMP PREEMPT Thu Nov 20 22:06:58 EET 2008 i686 Intel(R) Celeron(R) CPU 440 @ 2.00GHz GenuineIntel GNU/Linux

i'm calibrating, as described, but when i run X for the test no matter where i touch the panel the cursor only moves horizontally in the middle of the screen.

is this usbid not supported?
Comment 1 Chí-Thanh Christopher Nguyễn gentoo-dev 2010-04-07 21:30:21 UTC
Closing, xf86-input-evtouch is gone from the portage tree.