Ralf Posted July 14, 2019 Posted July 14, 2019 (edited) Hello, I use Banana PI M1 with TFT touchscreen and Jessi Legacy Kernel 3.4.113 sun7i I have to stay with legacy kernel because it supports FEX configuration for TFT display and USB-OTG. (Mainstream Kernel does not seem to support TFT) Unfortunately the display touch changed to GT911 driver IC which seem not to be included in legacy. Can anybody help me to bring the Goodix GT9xx driver working on this system? I found following links of this driver but don't know how to compile and install it. http://linux-sunxi.org/Touchscreen#GT9xx https://github.com/reinforce/gt9xx https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/input/touchscreen/goodix.c Edited July 14, 2019 by Ralf
Staars Posted July 15, 2019 Posted July 15, 2019 I did a quick check and have to admit, that chances are low to backport this driver to such an old kernel. More than a few function calls initially appear in kernel versions >3.17 and you would have to rewrite a good part of this driver. This might not be impossible, but it is no quickie.
Staars Posted July 17, 2019 Posted July 17, 2019 Okay, that was more cumbersome than I had hoped. https://gist.github.com/Staars/d0076df23a70be5179b0fbb3f564d418.js This may completely break everything, but at least it produces a module "gt9xxf_ts.ko". For testing please copy this gist to output/patch in your build environment. Without the actual hardware I will probably not be able to help you any further.
Recommended Posts