Reg: Touch Screen

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Reg: Touch Screen

6,058 Views
vishvapathi
Contributor V

Hi All,

I am interested in interfacing Touch Screen with my EVB. I am getting Display in my screen, but not able to use Touch Screen.

Kindly advice how to enable and calibrate for touch screen.

Vishva

DaianeAngolini

Labels (2)
34 Replies

1,938 Views
daiane_angolini
NXP Employee
NXP Employee

Let´s start from the beginning:

What´s your board?

What´s your kernel?

What´s your rootfs maker?

0 Kudos

1,938 Views
vishvapathi
Contributor V

I am using I.MX 6Q SABRE SDB. Kernel - L3.0.35. LTIB

0 Kudos

1,938 Views
daiane_angolini
NXP Employee
NXP Employee

I think it´s 2 step debug;

* Are your touchscreen driver working?

- try with "evtest" and see if you can get the touch events from kernel

* Are your touch calibrated?

- try Qt-embedded Touch screen problem on IMX53 (SABRE tablet)

Please, let me know

0 Kudos

1,938 Views
vishvapathi
Contributor V

Hi Daiane,

evtest /dev/input/event0                                
Input driver version is 1.0.1                                             
Input device ID: bus 0x0 vendor 0x0 product 0x0 version 0x0               
Input device name: "ads7846"                                              
Supported events:                                                         
  Event type 0 (Sync)                                                     
  Event type 1 (Key)                                                      
Event code 330 (Touch)                                                
  Event type 3 (Absolute)                                                 
Event code 0 (X)                                                      
  Value  0                                                        
  Min    0                                                        
  Max 4095                                                        
Event code 1 (Y)                                                      
  Value  0                                                        
  Min    0                                                        
  Max 4095                                                        
Event code 24 (Pressure)                                              
  Value  0                                                        
  Min    0                                                        
  Max    0                                                        

Testing ... (interrupt to exit)

0 Kudos

1,938 Views
daiane_angolini
NXP Employee
NXP Employee

and, when you tap your display you can see data coming?

0 Kudos

1,938 Views
vishvapathi
Contributor V

Nope... its just blank...

0 Kudos

1,938 Views
daiane_angolini
NXP Employee
NXP Employee

So, the problem is the driver

Do you know what LCD/LVDS panel you have?

0 Kudos

1,938 Views
vishvapathi
Contributor V

Bought it from embest technologies.. not sure abt make.....

0 Kudos

1,938 Views
daiane_angolini
NXP Employee
NXP Employee

Do you have a picture?

Partnumber?

0 Kudos

1,938 Views
vishvapathi
Contributor V
0 Kudos

1,938 Views
daiane_angolini
NXP Employee
NXP Employee

is this connected as USB?

0 Kudos

1,938 Views
vishvapathi
Contributor V

No... Lvds..

0 Kudos

1,938 Views
daiane_angolini
NXP Employee
NXP Employee

Have you changed your kernel command line?

0 Kudos

1,938 Views
vishvapathi
Contributor V

To wat???

0 Kudos

1,938 Views
daiane_angolini
NXP Employee
NXP Employee

ussualy I add

video=mxcfb1:dev=ldb,LDBXGA,if=RGB666



to the default LVDS pannel for imx6qsabresd

0 Kudos

1,938 Views
vishvapathi
Contributor V

Ya.. to set environment I did the same. M getting display, only touch is not working...

0 Kudos

1,938 Views
daiane_angolini
NXP Employee
NXP Employee

double check if the touchscreen driver is selected in menuconfig.

make sure to use the right one for your display

0 Kudos

1,938 Views
vishvapathi
Contributor V

Hi,

  I tried the same in MarS board also. I am getting only the display, touch is not working.:smileysad:

0 Kudos

1,937 Views
daiane_angolini
NXP Employee
NXP Employee

Could you share what do you changed on your kernel configuration? (make menuconfig)

0 Kudos

1,937 Views
vishvapathi
Contributor V

I have selected ADS7846/TSC2046/AD7873 and AS(S)7843 based touch screens in device drivers selection. i am recompiling and trying it again..