eGalax touch calibration

Discussion in 'Android' started by idorel77, Nov 8, 2014.

  1. idorel77

    idorel77 Member

    Joined:
    Jul 25, 2014
    Messages:
    131
    Likes Received:
    2
    Hello,
    i managed to work my egalax touch screen, but i have a problem with calibration, is up side down/ swap y.

    Who knows how to calibrate the touchscreen or only swap y?
    The calibration app. is not recognized my touchscreen.

    Thank you.
     
  2. idorel77

    idorel77 Member

    Joined:
    Jul 25, 2014
    Messages:
    131
    Likes Received:
    2
    Nobody?
    Is this so hard for you guys?
    :(

    Is not any application or command for calibration?

    My touchscreen working but i can't use :(
     
  3. ekirei

    ekirei Administrator

    Joined:
    Jun 14, 2013
    Messages:
    78
    Likes Received:
    3
    Hi,

    Are you talking about UDOObuntu or Android?

    in UDOObuntu could you try with the application TopLeft Menu -> System Tools -> Calibrate Touchscreen

    or with command "xinput_calibrator"

    if the app not recognize the touch screen you could try to edit the file /etc/X11/xorg.conf.d/99-calibration.conf and insert your own touch with

    Code:
    Option   "SwapAxis"    "0"
    Option   "InvertY"        "1"
    Option   "InvertX"        "0"
    
     
  4. modjo

    modjo Active Member

    Joined:
    Sep 29, 2014
    Messages:
    417
    Likes Received:
    127
    i'm under udoobuntu with egalax touch controller and it work like a charm since the beginning ! But it don't work on android ...
     
  5. idorel77

    idorel77 Member

    Joined:
    Jul 25, 2014
    Messages:
    131
    Likes Received:
    2
    Hi ekirei,
    Thank you, but here is android section and i talking about android.
     
  6. ekirei

    ekirei Administrator

    Joined:
    Jun 14, 2013
    Messages:
    78
    Likes Received:
    3
    oh sorry my mistake, i haven't noticed the section. :oops: :oops:

    In Android you should change the values in the file:
    /sys/module/usbtouchscreen/parameters/calibration

    this is the same file that is modified by the TSCalibration App for the official usb 3M touchscreen of the LCD 15" kit.
    You can find the calculations that the app does in the Android source package:
    http://www.udoo.org/downloads/#tab3
    in the file:
    packages/apps/TSCalibration/src/com/udoo/touchscreencalibration/TouchScreenCalibration.java
     
  7. idorel77

    idorel77 Member

    Joined:
    Jul 25, 2014
    Messages:
    131
    Likes Received:
    2
    Hi ekirei,
    thank you, i will try.

    How can i edit the file and save?
    connected with adb and edit with echo command?

    Thanks
     
  8. iddqd

    iddqd Member

    Joined:
    Mar 24, 2014
    Messages:
    56
    Likes Received:
    11
    To invert x or y you can reorder pins on cable from touch panel to controller.
     
  9. idorel77

    idorel77 Member

    Joined:
    Jul 25, 2014
    Messages:
    131
    Likes Received:
    2
    Thanks but wich pins? The pins before the driver?
    I was tinking to do that but i will need to calibrate anyway, the margins are 1 cm inside.
     
  10. iddqd

    iddqd Member

    Joined:
    Mar 24, 2014
    Messages:
    56
    Likes Received:
    11
    unfortunatelly I don't have this controller now.
    On one of its side should be 4pin pld connector (betwen touch panel and controller) and you can experiment to find which combination is suitable for you.
     
  11. idorel77

    idorel77 Member

    Joined:
    Jul 25, 2014
    Messages:
    131
    Likes Received:
    2
    Thanks i will try :)
     
  12. idorel77

    idorel77 Member

    Joined:
    Jul 25, 2014
    Messages:
    131
    Likes Received:
    2

    Sorry but i don't understud how to calculate parameters.

    Somebody with 7 inch touch , can send me the file /sys/module/usbtouchscreen/parameters/calibration
    to have a start point.

    Thanks.
     

Share This Page