Resistive Touchscreen not working

We are using Colibri VF50/VF61, Iris carrier board, oe-core with qt application and 7 inch display with resistive touch panel. We have got the display part (18-bit interface) working but the resistive touch panel does not detect touch signal. We have crosschecked the connections. Also we are getting the analog signals changing on X19 connector on Iris board when screen is touched.
We tried calling ts_calibrate to calibrate the touch screen but the touch is not detected on any part of screen. We tried ts_test, ts_print_raw but no output is received on command line.
We tried replacing the touch panel but no response on screen only analog signals are observed on scope. We have tested the touch panel on other system and found to be working.

Is there any way or command to check the adc count for the touch signals.

Please suggest solution to make touch panel work.

You are saying that it does not work both on Colibri VF50 as well as VF61? As those two module SKUs actually have completely different touch controllers. While the VF50 uses a discrete circuit of FETs together with the SoC built-in ADCs the VF61 uses the resistive touch controller as built-in to the WM9712 AC97 codec. So it is rather unlikely that both would not be working. A handy tool for testing in our demo images would be evtest.

Yes we connected both VF50 & VF61 and it does not work. Please find output of evtest below on VF50:

root@colibri-vf:~# evtest 
No device specified, trying to scan all of /dev/input/event*
Available devices:
/dev/input/event0:      colibri-vf50-ts
/dev/input/event1:      gpio-keys
Select the device event number [0-1]: 0
Input driver version is 1.0.1
Input device ID: bus 0x19 vendor 0x0 product 0x0 version 0x0
Input device name: "colibri-vf50-ts"
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     4095
    Event code 1 (ABS_Y)
      Value      0
      Min        0
      Max     4095
    Event code 24 (ABS_PRESSURE)
      Value      0
      Min        0
      Max     4095
Properties:
Testing ... (interrupt to exit)
root@colibri-vf:~#

How about cat /proc/interrupts before and after touching the panel?

Before touching the screen

root@colibri-vf:~# cat /proc/interrupts 
           CPU0       
 16:      83890       GIC  27 Edge      gt
 17:        308  vf610-gpc   8 Edge      eDMA tx
 18:          0  vf610-gpc   9 Edge      eDMA err
 19:          0  vf610-gpc  61 Edge      fsl-lpuart
 22:          0  vf610-gpc  68 Edge      4002d000.dspi1
 24:          1  vf610-gpc  53 Edge      4003b000.adc
 33:        301  vf610-gpc  30 Edge      fsl-dcu-drm
 34:         32  vf610-gpc  71 Edge      40066000.i2c
 35:          0  vf610-gpc  92 Edge      wkpu-vf610
 36:          0  vf610-gpc  75 Edge      40034000.usb
 38:          0  vf610-gpc  10 Edge      eDMA tx
 39:          0  vf610-gpc  11 Edge      eDMA err
 40:          0  vf610-gpc 100 Edge      rtc alarm
 41:          1  vf610-gpc  54 Edge      400bb000.adc
 42:       3919  vf610-gpc  28 Edge      mmc0
 43:          0  vf610-gpc  76 Edge      400b4000.usb
 44:       1669  vf610-gpc  79 Edge      400d1000.ethernet
 45:          8  vf610-gpc  83 Edge      vf610_nfc
 55:          2  gpio-vf610   8 Level     vf50 touch
 88:          0  gpio-vf610   9 Edge      Wake-Up
 89:          0  gpio-vf610  10 Edge      400b2000.esdhc cd
149:          0  gpio-vf610   6 Edge      usbc_det
Err:          0  

After touching the screen

root@colibri-vf:~# cat /proc/interrupts 
           CPU0       
 16:      85746       GIC  27 Edge      gt
 17:        313  vf610-gpc   8 Edge      eDMA tx
 18:          0  vf610-gpc   9 Edge      eDMA err
 19:          0  vf610-gpc  61 Edge      fsl-lpuart
 22:          0  vf610-gpc  68 Edge      4002d000.dspi1
 24:          1  vf610-gpc  53 Edge      4003b000.adc
 33:        301  vf610-gpc  30 Edge      fsl-dcu-drm
 34:         32  vf610-gpc  71 Edge      40066000.i2c
 35:          0  vf610-gpc  92 Edge      wkpu-vf610
 36:          0  vf610-gpc  75 Edge      40034000.usb
 38:          0  vf610-gpc  10 Edge      eDMA tx
 39:          0  vf610-gpc  11 Edge      eDMA err
 40:          0  vf610-gpc 100 Edge      rtc alarm
 41:          1  vf610-gpc  54 Edge      400bb000.adc
 42:       3919  vf610-gpc  28 Edge      mmc0
 43:          0  vf610-gpc  76 Edge      400b4000.usb
 44:       1709  vf610-gpc  79 Edge      400d1000.ethernet
 45:          8  vf610-gpc  83 Edge      vf610_nfc
 55:          2  gpio-vf610   8 Level     vf50 touch
 88:          0  gpio-vf610   9 Edge      Wake-Up
 89:          0  gpio-vf610  10 Edge      400b2000.esdhc cd
149:          0  gpio-vf610   6 Edge      usbc_det
Err:          0
root@colibri-vf:~#

To rule out any kind of build/configuration issue on your side could you please try the same with our latest regular stock BSP 2.7b4? As for the screen may I suggest you trying with our stock EDT or later Resistive Touch Display 7" Parallel?

Also the same evtest and /proc/interrupts output from Colibri VF61 may reveal more.

We are using the latest BSP 2.7b4 and checked on Iris as well as Colibri Evaluation board. 18bit LCD display works but ts_calibrate does not detect touch input.
We currently do not have EDT display have requested for same. Once we receive will update on EDT display testing.

Please note that our regular LXDE based BSP demo images are not using ts_calibrate but rather xinput_calibrator. Could you please also validate whether or not that would be working as I suspect some software misconfiguration? This is why I previously suggested to try our latest regular stock BSP as well which BTW now would be 2.8b1.

Already shared output of evtest and /proc/interrupts above.

Sorry we have used Colibri-VF_Qt4e-Image_2.7.3 and not 2.7.4. Do you think updating to 2.7.4 will resolve our issue.

Yes, 2.7b3 is definitely no longer supported. However what I really suggested is trying it with our regular Embedded Linux Demo with LXDE 2.7b4. Once that is confirmed working you may try Qt4e as well.

We tried Colibri-VF_LXDE-Image_2.8.1, but ts_calibrate accepts mouse input and not touch panel input.

There really is no such thing as ts_calibrate in the LXDE image!

We tested on EDT display with 7inch Resistive touch display and found to be working with VF50, and does not work with VF61.
Then we tested our display with VF50 and found that our touch panel requires more force to operate.

Could you please post full debug information from the Colibri VF61 in this case (e.g. just as you provided above from the Colibri VF50)?

Sorry we have returned the VF61 module taken on loan basis for testing purpose.