Jump to content

ft6x driver for legacy kernel


Farzad Forughi

Recommended Posts

Hi all,

I've been trying to install ft6x drivers on a nanopi neo air, which has armbian with legacy kernel, but it seems there is no support for ft6x capacitive touch panels.
There is a code from Focaltech here, which is ft6x06 driver code. I added the code to kernel and compiled it, but the problem is:

  • what should I do with fex file?
  • Or is it right to do this? (I was not surprised that it didn't work).
  • Can I change the current ft5x code to make ft6x works?

 

There is also a support for ft6x family on mainline kernel. Is there any hope to adopt that code?

Thanks.

Link to comment
Share on other sites

On 21.09.2017 at 2:21 PM, Farzad Forughi said:
  • what should I do with fex file?

Patch the driver to use data from the FEX file (if you want to use the fex)

 

On 21.09.2017 at 2:21 PM, Farzad Forughi said:

Or is it right to do this? (I was not surprised that it didn't work).

You need to supply the driver with platform data (check the header file in the repository you linked). You can either use fex, module arguments or hardcode the values as constants or defines.

 

On 21.09.2017 at 2:21 PM, Farzad Forughi said:

Can I change the current ft5x code to make ft6x works?

No idea, you can compare the drivers to check the differences.

 

On 21.09.2017 at 2:21 PM, Farzad Forughi said:

There is also a support for ft6x family on mainline kernel. Is there any hope to adopt that code?

You still will need to add the platform data hacks/code if you want to use this driver on sunxi 3.4.x kernel, in addition to possible backporting issues.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines