Page 1 of 3 123 LastLast
Results 1 to 10 of 29

Thread: calibrating Elo touchscreen - ubuntu 9.10 or 10.4

  1. #1
    Join Date
    Mar 2010
    Beans
    11

    calibrating Elo touchscreen - ubuntu 9.10 or 10.4

    I am having tough time connecting my external Elotouch intelitouch monitor to Dell latitude D420 laptop.
    (via USB)

    That is kernel is properly detecting the device - however the coordinates are reversed.
    e.g. up is down and right is left

    I have found examples how to configure it via xorg.conf -- however I belive that under recent version of x.org that file is not used anymore.

    Moreover the utility for calibration does not work:
    root@wali:/etc/X11# ts_calibrate
    ts_open: No such file or directory


    I tried both 9.10 and now I am struggling with 10.4 --- with no success.

    I would appreciate any pointers - anything that I was able to google on the web seems to be outdated.

    Thanks


    ----------------------------------------------------------------

    Apr 23 20:58:30 wali kernel: [ 2270.329073] usb 4-1: new full speed USB device using uhci_hcd and address 2
    Apr 23 20:58:30 wali kernel: [ 2270.539306] usb 4-1: configuration #1 chosen from 1 choice
    Apr 23 20:58:30 wali kernel: [ 2270.542169] hub 4-1:1.0: USB hub found
    Apr 23 20:58:30 wali kernel: [ 2270.546002] hub 4-1:1.0: 4 ports detected
    Apr 23 20:58:30 wali kernel: [ 2270.834111] usb 4-1.1: new low speed USB device using uhci_hcd and address 3
    Apr 23 20:58:30 wali kernel: [ 2270.982346] usb 4-1.1: configuration #1 chosen from 1 choice
    Apr 23 20:58:30 wali kernel: [ 2271.000637] input: Microsft Microsoft Wireless Optical Desktop® 2.20 as /devices/pci0000:00/0000:00:1d.2/usb4/4-1/4-1.1/4-1.1:1.0/input/input15
    Apr 23 20:58:30 wali kernel: [ 2271.000926] generic-usb 0003:045E:00E3.0004: input,hidraw0: USB HID v1.11 Keyboard [Microsft Microsoft Wireless Optical Desktop® 2.20] on usb-0000:00:1d.2-1.1/input0
    Apr 23 20:58:30 wali kernel: [ 2271.142513] input: Microsft Microsoft Wireless Optical Desktop® 2.20 as /devices/pci0000:00/0000:00:1d.2/usb4/4-1/4-1.1/4-1.1:1.1/input/input16
    Apr 23 20:58:30 wali kernel: [ 2271.142790] generic-usb 0003:045E:00E3.0005: input,hidraw1: USB HID v1.11 Mouse [Microsft Microsoft Wireless Optical Desktop® 2.20] on usb-0000:00:1d.2-1.1/input1
    Apr 23 20:58:31 wali kernel: [ 2271.217144] usb 4-1.3: new full speed USB device using uhci_hcd and address 4
    Apr 23 20:58:31 wali kernel: [ 2271.378383] usb 4-1.3: configuration #1 chosen from 1 choice
    Apr 23 20:58:31 wali kernel: [ 2271.412319] input: Elo TouchSystems, Inc. Elo TouchSystems IntelliTouch 2500U as /devices/pci0000:00/0000:00:1d.2/usb4/4-1/4-1.3/4-1.3:1.0/input/input17
    Apr 23 20:58:31 wali kernel: [ 2271.412615] generic-usb 0003:04E7:0007.0006: input,hidraw2: USB HID v1.00 Pointer [Elo TouchSystems, Inc. Elo TouchSystems IntelliTouch 2500U] on usb-0000:00:1d.2-1.3/input0
    root@wali:/etc/X11#

  2. #2
    Join Date
    Mar 2010
    Beans
    11

    Re: calibrating Elo touchscreen - ubuntu 9.10 or 10.4

    I guess the question is should I try to install additional drivers for xorg
    and try to configure it via xconf.org -- as most sites suggest (albeit for older version of kernel / xorg)

    or is there any way to pass arguments to kernel
    since it seems to be doing OK job of detecting the elo touch screen:

    some people suggested passing arguments to HAL (for instance: "wacom.fdi" in /etc/hal/fdi/policy) --- but no HAL anymore in 10.04 ...... and anyway I have Elo.



    root@wali:/home/# xinput --list
    ⎡ Virtual core pointer id=2 [master pointer (3)]
    ⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
    ⎜ ↳ DualPoint Stick id=11 [slave pointer (2)]
    ⎜ ↳ AlpsPS/2 ALPS DualPoint TouchPad id=12 [slave pointer (2)]
    ⎜ ↳ Macintosh mouse button emulation id=13 [slave pointer (2)]
    ⎜ ↳ Elo TouchSystems, Inc. Elo TouchSystems IntelliTouch 2500U id=16 [slave pointer (2)]
    ⎜ ↳ Microsft Microsoft Wireless Optical Desktop® 2.20 id=17 [slave pointer (2)]
    ⎣ Virtual core keyboard id=3 [master keyboard (2)]
    ↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
    ↳ Video Bus id=6 [slave keyboard (3)]
    ↳ Video Bus id=7 [slave keyboard (3)]
    ↳ Power Button id=8 [slave keyboard (3)]
    ↳ Sleep Button id=9 [slave keyboard (3)]
    ↳ AT Translated Set 2 keyboard id=10 [slave keyboard (3)]
    ↳ Dell WMI hotkeys id=14 [slave keyboard (3)]
    ↳ Microsft Microsoft Wireless Optical Desktop® 2.20 id=15 [slave keyboard (3)]
    root@wali:/home/#



    ----------------------------



    root@wali:/home/j# /usr/lib/xf86-input-evtouch/calibrate.sh
    Could not initialise connection to hald.
    Normally this means the HAL daemon (hald) is not running or not ready.

    root@wali:/home/# lshal
    Could not initialise connection to hald.
    Normally this means the HAL daemon (hald) is not running or not ready.
    root@wali:/home/#
    Last edited by ahoros; April 25th, 2010 at 09:26 AM.

  3. #3
    Join Date
    Mar 2010
    Beans
    11

    Re: calibrating Elo touchscreen - ubuntu 9.10 or 10.4

    Hurray!

    I found a solution in the following thread:
    http://ubuntuforums.org/showthread.p...light=elotouch

    (also adjusted TAGS to link it better)


    And here is the summary of what has worked for me - re: the ELO touchscreen is reversed/backwards problem:


    a@wali:~$ cat /proc/bus/input/devices
    (...)

    I: Bus=0003 Vendor=045e Product=00e3 Version=0111
    N: Name="Microsft Microsoft Wireless Optical Desktop® 2.20"
    P: Phys=usb-0000:00:1d.2-1.1/input0
    S: Sysfs=/devices/pci0000:00/0000:00:1d.2/usb4/4-1/4-1.1/4-1.1:1.0/input/input12
    U: Uniq=
    H: Handlers=kbd event12
    B: EV=120013
    B: KEY=10000 7 ff800000 7ff febeffdf f3cfffff ffffffff fffffffe
    B: MSC=10
    B: LED=107

    I: Bus=0003 Vendor=045e Product=00e3 Version=0111
    N: Name="Microsft Microsoft Wireless Optical Desktop® 2.20"
    P: Phys=usb-0000:00:1d.2-1.1/input1
    S: Sysfs=/devices/pci0000:00/0000:00:1d.2/usb4/4-1/4-1.1/4-1.1:1.1/input/input13
    U: Uniq=
    H: Handlers=kbd mouse3 event13 js0
    B: EV=10001f
    B: KEY=837fff 2c3027 bf004444 0 c000000 1f0001 10f84 8a27c007 ffff7bfa d941dfff febeffdf ffefffff ffffffff fffffffe
    B: REL=fc3
    B: ABS=ffffff01 701ff
    B: MSC=10

    I: Bus=0003 Vendor=04e7 Product=0007 Version=0100
    N: Name="Elo TouchSystems, Inc. Elo TouchSystems IntelliTouch 2500U"
    P: Phys=usb-0000:00:1d.2-1.3/input0
    S: Sysfs=/devices/pci0000:00/0000:00:1d.2/usb4/4-1/4-1.3/4-1.3:1.0/input/input14
    U: Uniq=07I11787
    H: Handlers=mouse4 event14 js1
    B: EV=1b
    B: KEY=10000 0 0 0 0 0 0 0 0
    B: ABS=100 3
    B: MSC=10


    a@wali:~$ xinput list-props "Elo TouchSystems, Inc. Elo TouchSystems IntelliTouch 2500U"
    Device 'Elo TouchSystems, Inc. Elo TouchSystems IntelliTouch 2500U':
    Device Enabled (114): 1
    Device Accel Profile (233): 0
    Device Accel Constant Deceleration (234): 1.000000
    Device Accel Adaptive Deceleration (236): 1.000000
    Device Accel Velocity Scaling (237): 10.000000
    Evdev Reopen Attempts (231): 10
    Evdev Axis Inversion (238): 0, 0
    Evdev Axis Calibration (239): <no items>
    Evdev Axes Swap (240): 0
    Axis Labels (241): "Abs X" (501), "Abs Y" (502), "None" (0)
    Button Labels (242): "Button Left" (115), "Button Unknown" (232), "Button Unknown" (232), "Button Wheel Up" (118), "Button Wheel Down" (119)
    Evdev Middle Button Emulation (243): 2
    Evdev Middle Button Timeout (244): 50
    Evdev Wheel Emulation (245): 0
    Evdev Wheel Emulation Axes (246): 0, 0, 4, 5
    Evdev Wheel Emulation Inertia (247): 10
    Evdev Wheel Emulation Timeout (248): 200
    Evdev Wheel Emulation Button (249): 4
    Evdev Drag Lock Buttons (250): 0


    ====> AND THE SOLUTION IS:
    a@wali:~$ xinput set-int-prop "Elo TouchSystems, Inc. Elo TouchSystems IntelliTouch 2500U" "Evdev Axis Inversion" 8 1 1



    After issuing this command the properties look now like this:
    a@wali:~$ xinput list-props "Elo TouchSystems, Inc. Elo TouchSystems IntelliTouch 2500U"
    Device 'Elo TouchSystems, Inc. Elo TouchSystems IntelliTouch 2500U':
    Device Enabled (114): 1
    Device Accel Profile (233): 0
    Device Accel Constant Deceleration (234): 1.000000
    Device Accel Adaptive Deceleration (236): 1.000000
    Device Accel Velocity Scaling (237): 10.000000
    Evdev Reopen Attempts (231): 10
    Evdev Axis Inversion (238): 1, 1
    Evdev Axis Calibration (239): <no items>
    Evdev Axes Swap (240): 0
    Axis Labels (241): "Abs X" (501), "Abs Y" (502), "None" (0)
    Button Labels (242): "Button Left" (115), "Button Unknown" (232), "Button Unknown" (232), "Button Wheel Up" (118), "Button Wheel Down" (119)
    Evdev Middle Button Emulation (243): 2
    Evdev Middle Button Timeout (244): 50
    Evdev Wheel Emulation (245): 0
    Evdev Wheel Emulation Axes (246): 0, 0, 4, 5
    Evdev Wheel Emulation Inertia (247): 10
    Evdev Wheel Emulation Timeout (248): 200
    Evdev Wheel Emulation Button (249): 4
    Evdev Drag Lock Buttons (250): 0

  4. #4
    Join Date
    Mar 2010
    Beans
    11

    Re: calibrating Elo touchscreen - ubuntu 9.10 or 10.4

    Still need help! --> how to calibrate touchscreen

    direction reversal problem is solved - but the screen still needs calibration - on the right hand side of the screen the mouse movement to actual touch area is off by about 1 centimeter!

    The tslib calibration library seems to be still broken despite 10.4 final status )-:

  5. #5
    Join Date
    Dec 2008
    Location
    Kyiv, Ukraine
    Beans
    46

    Lightbulb Re: calibrating Elo touchscreen - ubuntu 9.10 or 10.4

    I've made this [quick and ugly] script to calibrate "Elo TouchSystems Inc. Elo TouchSystems IntelliTouch 2500U"
    Code:
    device_id=$(zenity --entry --text="`xinput list`\n_________\n\ndevice id:")
    minx=1000
    maxx=3655
    miny=960
    maxy=3314
    errors_status=""
    while `zenity --question --text="$errors_status\n___\n\n$minx,$maxx,$miny,$maxy\nAgain?"`; do 
    	minx=`zenity --scale --text="min-x" --value=$minx --min-value=500 --max-value=1100 --step=5`
    	maxx=`zenity --scale --text="max-x" --value=$maxx --min-value=3200 --max-value=4000 --step=5`
    	miny=`zenity --scale --text="min-y" --value=$miny --min-value=800 --max-value=1100 --step=5`
    	maxy=`zenity --scale --text="max-y" --value=$maxy --min-value=3000 --max-value=3600 --step=5`
    	errors_status="`xinput --set-prop "$device_id" "Evdev Axis Calibration" $minx, $maxx, $miny, $maxy 2>&1`"
    done
    For sitting: 1000,3655,970,3325
    For standing: 1000,3655,960,3314
    Last edited by Interruptor; May 6th, 2010 at 02:35 PM. Reason: script improvements

  6. #6
    Join Date
    Aug 2008
    Location
    Canada
    Beans
    10

    Re: calibrating Elo touchscreen - ubuntu 9.10 or 10.4

    Thanks so much for that calibration script. I had to change the min and max values past what you were allowing.
    min-x 50
    max-x 3990
    min-y 50
    max-y 4080

  7. #7
    Join Date
    Dec 2008
    Location
    Kyiv, Ukraine
    Beans
    46

    Lightbulb Re: calibrating Elo touchscreen - ubuntu 9.10 or 10.4

    Detection of device id:
    Code:
    device_id=`xinput list | grep Touch | grep -o "id=[0-9]*" | sed 's/id=//'`

  8. #8
    Join Date
    Dec 2008
    Location
    Kyiv, Ukraine
    Beans
    46

    Exclamation Re: calibrating Elo touchscreen - ubuntu 9.10 or 10.4

    Just found http://sourceforge.net/projects/evcalibrate/
    Can someone test it and post returned values here?
    Because I will be able to test it myself only in 2+ days.

    If it's working, then we can mark thread as solved.

  9. #9
    Join Date
    Nov 2008
    Beans
    9,635
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: calibrating Elo touchscreen - ubuntu 9.10 or 10.4

    Hi,

    On this elo thread dglnz used touchcal to calibrate.

  10. #10
    Join Date
    Dec 2008
    Location
    Kyiv, Ukraine
    Beans
    46

    Smile Re: calibrating Elo touchscreen - ubuntu 9.10 or 10.4

    Yeap, evcalibrate working perfectly.

    Code:
    $ sudo ./evcalibrate /dev/input/by-id/usb-Elo_TouchSystems_Inc._Elo_TouchSystems_IntelliTouch_2500U_07U01964-event-mouse
    xinput set-int-prop "Elo TouchSystems Inc. Elo TouchSystems IntelliTouch 2500U" "Evdev Axis Calibration" 32 990 3686 936 3341
    xinput set-int-prop "Elo TouchSystems Inc. Elo TouchSystems IntelliTouch 2500U" "Evdev Axis Inversion" 8 0 1
    xinput set-int-prop "Elo TouchSystems Inc. Elo TouchSystems IntelliTouch 2500U" "Evdev Axes Swap" 8 0
    So, 990 3686 936 3341 for 17" IntelliTouch 2500U

    Just had to make and run it under root and installed next packages before compiling:
    libqt4-opengl-dev
    qt4-qmake
    I think this should be added to first post and thread marked as solved.

    Favux, thanks, but touchcal is not my case:
    Supported Hardware
    ------------------
    - EloGraphics(R) IntelliTouch E281-2310 (serial)
    - MicroTouch(R) SMT3 (serial)

    No USB touchscreens are supported at this time, but patches to support
    different configurations and new hardware are very welcome.
    Last edited by Interruptor; June 15th, 2010 at 12:09 PM.

Page 1 of 3 123 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •