embedded linux - touchscreen ft5x06 not responding? -


i using kontron smarc-samx6i board run nxp imx6q processor. working yocto in need interface touch screen of ft5316 through i2c . edited device tree follows:

polytouch: edt_ft5x06@39 {          compatible = "edt","edt_ft5x06","edt-ft5x06";          reg = <0x39>;          pinctrl-names = "default";          pinctrl-0 = <&pinctrl_smx6_i2c_gpio_1>;          irq_pin=<&gpio3 1 0>;          interrupt-parent = <&gpio3>;          interrupts = <0 70 0x04>; }; 

when using i2cdump command touchscreen responds successfully, when working module won't respond.

when using below command getting following output

root@smarc-samx6i:~# cat /proc/bus/input/devices i: bus=0019 vendor=0001 product=0001 version=0100  n: name="gpio-keys.27"  p: phys=gpio-keys/input0  s: sysfs=/devices/soc0/gpio-keys.27/input/input0  u: uniq=  h: handlers=kbd event0 evbug  b: prop=0  b: ev=23  b: key=4000 100000 0 0 0  b: sw=1 

my device did not probe , not getting error while instantiating device using command:

echo edt_ft5x06 0x39> /sys/bus/i2c/devices/i2c-1/new_device instantiated device edt_ft5x06 @ 0x39 device 

how can make work!!

i assume "when working module won't respond" mean won't respond touch events on touchscreen. did driver module correctly load? built-in or used loadable module? did check "dmesg" confirming driver loaded or output of lsmod? if driver loaded properly, getting interrupts?

what output of "cat /proc/interrupts"? see interrupt requests increasing when press touchscreen? if not then, have problem interrupts. if see interrupts, can check utility "evtest" see if touchscreen events?


Comments

Popular posts from this blog

sql - invalid in the select list because it is not contained in either an aggregate function -

Angularjs unit testing - ng-disabled not working when adding text to textarea -

How to start daemon on android by adb -