Reg: Touch Screen

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Reg: Touch Screen

12,054 次查看
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

标签 (2)
34 回复数

6,691 次查看
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 项奖励
回复

6,691 次查看
vishvapathi
Contributor V

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

0 项奖励
回复

6,691 次查看
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 项奖励
回复

6,691 次查看
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 项奖励
回复

6,691 次查看
daiane_angolini
NXP Employee
NXP Employee

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

0 项奖励
回复

6,691 次查看
vishvapathi
Contributor V

Nope... its just blank...

0 项奖励
回复

6,691 次查看
daiane_angolini
NXP Employee
NXP Employee

So, the problem is the driver

Do you know what LCD/LVDS panel you have?

0 项奖励
回复

6,691 次查看
vishvapathi
Contributor V

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

0 项奖励
回复

6,691 次查看
daiane_angolini
NXP Employee
NXP Employee

Do you have a picture?

Partnumber?

0 项奖励
回复

6,691 次查看
vishvapathi
Contributor V
0 项奖励
回复

6,691 次查看
daiane_angolini
NXP Employee
NXP Employee

is this connected as USB?

0 项奖励
回复

6,691 次查看
vishvapathi
Contributor V

No... Lvds..

0 项奖励
回复

6,691 次查看
daiane_angolini
NXP Employee
NXP Employee

Have you changed your kernel command line?

0 项奖励
回复

6,691 次查看
vishvapathi
Contributor V

To wat???

0 项奖励
回复

6,691 次查看
daiane_angolini
NXP Employee
NXP Employee

ussualy I add

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



to the default LVDS pannel for imx6qsabresd

0 项奖励
回复

6,691 次查看
vishvapathi
Contributor V

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

0 项奖励
回复

6,691 次查看
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 项奖励
回复

6,691 次查看
vishvapathi
Contributor V

Hi,

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

0 项奖励
回复

6,690 次查看
daiane_angolini
NXP Employee
NXP Employee

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

0 项奖励
回复

6,690 次查看
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..