Problem with linux touch controler of Capacitive touch display

Dear all,

I have an issue with the touch function of my Capacitive Touch Display 7 Inch Parallel. I have followed this article First Steps with Capacitive Touch Display 7" Parallel, i have modified the device tree according to the article, compile it and update the device tree of my IMX6 from u-boot (for this step i just replace the original .dtb in my SD card by the new one and using run update_fdt ).

The touchscreen “works” for the first touch : the cursor move to the first touch position but then the touchscreen doesn’t respond, only the “push” is detect not the “release” event. If i move the cursor with a mouse after the touch a select field appears.

I have the following messages from dmesg when i am loading the driver

[ 2109.383677] atmel_mxt_ts 2-004a: Direct firmware load for maxtouch.cfg failed with error -2
[ 2109.392048] atmel_mxt_ts 2-004a: Falling back to user helper
[ 2109.412282] atmel_mxt_ts 2-004a: T100 Touchscreen size X799Y479
[ 2109.420917] input: Atmel maXTouch Touchscreen as /devices/soc0/soc/2100000.aips-bus/21a8000.i2c/i2c-2/2-004a/input/input15
[ 2109.437566] atmel_mxt_ts 2-004a: Family: 164 Variant: 11 Firmware V1.2.AA Objects: 41

And i have the following output from evtest /dev/input/event5 after the first touch:

Input driver version is 1.0.1
Input device ID: bus 0x18 vendor 0x0 product 0x0 version 0x0
Input device name: "Atmel maXTouch Touchscreen"
Supported events:
  Event type 0 (EV_SYN)
  Event type 1 (EV_KEY)
    Event code 330 (BTN_TOUCH)
  Event type 3 (EV_ABS)
    Event code 0 (ABS_X)
      Value      0
      Min        0
      Max      799
    Event code 1 (ABS_Y)
      Value      0
      Min        0
      Max      479
    Event code 47 (ABS_MT_SLOT)
      Value      0
      Min        0
      Max       15
    Event code 53 (ABS_MT_POSITION_X)
      Value      0
      Min        0
      Max      799
    Event code 54 (ABS_MT_POSITION_Y)
      Value      0
      Min        0
      Max      479
    Event code 55 (ABS_MT_TOOL_TYPE)
      Value      0
      Min        0
      Max        2
    Event code 57 (ABS_MT_TRACKING_ID)
      Value      0
      Min        0
      Max    65535
    Event code 59 (ABS_MT_DISTANCE)
      Value      0
      Min        0
      Max        1
Properties:
Testing ... (interrupt to exit)
Event: time 1517931198.037698, type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value 0
Event: time 1517931198.037698, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 199
Event: time 1517931198.037698, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 209
Event: time 1517931198.037698, type 1 (EV_KEY), code 330 (BTN_TOUCH), value 1
Event: time 1517931198.037698, type 3 (EV_ABS), code 0 (ABS_X), value 199
Event: time 1517931198.037698, type 3 (EV_ABS), code 1 (ABS_Y), value 209
Event: time 1517931198.037698, -------------- SYN_REPORT ------------

After the first touch, no events are detected.

Thank you in advance for your help,

Regards
Rkdm

Please follow instructions available here:
https://www.toradex.com/community/questions/18034/problems-with-touch-controller-of-capacitive-touch.html

Thank you for your reply, it is working now.
I just had to modify the command line as below to be compatible with IMX6 ( I2C-2 is used ) :

 ./mxt-app -d i2c-dev:2-004a --load LTCTP070-3-GG_mXT1066T2_tdx_20170911.xcfg

I have noticed that the display is not longer provided, do you plan to provide another one ? or did you choose to not provide a Capacitive touch display anymore ?

Best regards
Rk

Hi,

The Capacitive Touch Display is currently not on stock. We’ll put it back in the webshop once we have stocked up again. However, due to long lead times it will most probably be out of stock until early May.

Best regards,
Stefan