Questions? Call us: +1 760-918-6722

Touch screen not responding

Hi Team,

We are using imx6UL board and interfaced with DT070BTFT-PTS1. Configured my kernel and device tree as per the forum. Display part is working but touch not responding. I tested with calibration commands, my qt application etc but configured interrupt GPIO pin as input using command line (sys/class ..) and reading status from command line ideal time shwoing as 1 when i press changint to 0 value. My configuration and Logs are attached. Please help on this issues.

 

 

Regards,

Naveen.

Attachment: 

Replies

engineering_seacomp's picture
engineering_seacomp
June 3, 2019

Hi Naveen,

 

Use a scope and look at the touch interrupt and other signals on the PCAP.

 

The touch interrupt will toggle when you touch the screen.  This will narrow down hardware versus the software and your BSP.

 

Thanks,

Naveen's picture
Naveen
June 3, 2019

Hi Team,

Thanks for reply,

The Interrupt pin toggeld when press the touch conform with multi0meter. I am able to read number of touch ponts using i2cget command. I am using edt-ft5x06.c driver. this driver provided BSP. I changed my device tree as per schematics.

Test Logs :

root@imx6ul-var-dart:~# i2cget -y -f 1 0x38 0x02 (Number of touch points)
0x03

root@imx6ul-var-dart:~# i2cget -y -f 1 0x38 0x00 (working mode)
0x00

root@imx6ul-var-dart:~# cat /proc/interrupts
220:          0  gpio-mxc  17 Edge      edt-ft5x06

dmesg logs :
[    2.426747] input: EP0790M09 as /devices/soc0/soc/2100000.aips-bus/21a4000.i2c/i2c-1/1-0038/input/input1

Calibration Test :

root@imx6ul-var-dart:~# evtest /dev/input/touchscreen0
Input driver version is 1.0.1
Input device ID: bus 0x18 vendor 0x0 product 0x0 version 0x0
Input device name: "EP0790M09"
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     1023
    Event code 1 (ABS_Y)
      Value      0
      Min        0
      Max      599
    Event code 47 (ABS_MT_SLOT)
      Value      0
      Min        0
      Max        4
    Event code 53 (ABS_MT_POSITION_X)
      Value      0
      Min        0
      Max     1023
    Event code 54 (ABS_MT_POSITION_Y)
      Value      0
      Min        0
      Max      599
    Event code 57 (ABS_MT_TRACKING_ID)
      Value      0
      Min        0
      Max    65535
Properties:
  Property type 1 (INPUT_PROP_DIRECT)
Testing ... (interrupt to exit)

 

Regards,

Naveen

 

engineering_seacomp's picture
engineering_seacomp
June 4, 2019

Hi,

So it appears that the capactive touchscreen is working, and that now it is a driver issue?

In regards to "evtest /dev/input/touchscreen0" are sure this is for I2C capactive touch device (is it reading the proper thing in the proper way), or just for resistive touch?

Thanks,