New NHD-5.0-800480TF-ATXL#-CTP with FT5426 does not work as drop-in replacement
I have been working with a NHD-5.0-800480TF-ATXL#-CTP bought a couple years ago, which has a FT5306 CTP controller. The display is on an RPi CM3 board, running Raspbian. The FT5306 worked fine with the standard edt_ft5x06 driver.
I bought a new display, which I see now has the FT5426 touch controller. Several online sources suggested that the 5426 should be backward compatible with the 5x06, so I expected it to function as a drop-in replacement. However, on powering it up, I observe that touch does not work on the new display.
After digging in further, I see that events are logged on /dev/input/event1 when I touch the display. However, output on /dev/input/mouse0 is degenerate. I do not get a stream of data on it. On the old, functioning display, I do see data on /dev/input/mouse0 upon touch.
Does FT5426 not work out-of-the-box with the edt_ft5x06 driver? If not, what changes are needed? Note, I am NOT running under Xorg. This is intended for a Qt application that launches from console.
-
I got this to work by switching to Qt internal evdev handling instead of libinput, which was being used earlier. I'm not sure why the new display did not work with libinput, but can confirm that the mainline edt_ft5x06 driver does work just fine with FT5426.
0 -
It's good to hear you have solved this.
Thanks for providing the solution as this will be useful for others facing the same issue.
Best Regards,0
Please sign in to leave a comment.
Comments
2 comments