edt-ft5x06 driver issue

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

edt-ft5x06 driver issue

1,974 次查看
nigelevans
Contributor III

Hi,

I am trying to get edt-ft56x06 driver working with imx6sl.

I have added the driver in the Kernel and added dts entry. I have scoped the I2c, Reset and IRQ lines and all seems ok.

However, when I boot the system and touch the screen I get the following:

edt_ft5x06_ts_isr: 5 callbacks suppressed
edt_ft5x06 1-0038: Unexpected header: 000000!
edt_ft5x06 1-0038: Unexpected header: 000000!
edt_ft5x06 1-0038: Unexpected header: 000000!
edt_ft5x06 1-0038: Unexpected header: 000000!
edt_ft5x06 1-0038: Unexpected header: 000000!
edt_ft5x06 1-0038: Unexpected header: 000000!
edt_ft5x06 1-0038: Unexpected header: 000000!
edt_ft5x06 1-0038: Unexpected header: 000000!
edt_ft5x06 1-0038: Unexpected header: 000000!
edt_ft5x06 1-0038: Unexpected header: 000000!

Can anybody explain what could be wrong here?

Thanks.

标签 (3)
0 项奖励
3 回复数

1,163 次查看
nigelevans
Contributor III

Thanks for the answers,

 I managed to fix by pulling in a version of the driver from a newer kernel.

Now, I have touch screen fully probed. But for some reason, in Android, it seems that only top half of the touch panel reacts properly.

I have added simple touchscreen .idc file for the panel which got rid of the 'acting like a mouse with cursor' symptoms.

It seems when I run 'adb shell getevent -lt /dev/input/event0' 

The touches in top left and bottom right are correct values for the resolution of the screen. (240x320)

What could be causing this?

Thanks,

0 项奖励

1,163 次查看
igorpadykov
NXP Employee
NXP Employee

Hi nigel

one can check Documentation/bindings/devicetree/input/touchscreen/edt-ft5x06.txt

and debug edt_ft5x06 driver

linux-2.6-imx.git - Freescale i.MX Linux Tree 

log shows all data as nulls, one can try to check data with oscilloscope

Best regards
igor

0 项奖励

1,163 次查看
fabio_estevam
NXP Employee
NXP Employee

Maybe you could compare your dts against this one:

kernel/git/torvalds/linux.git - Linux kernel source tree 

Regards,

Fabio Estevam

0 项奖励