Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

ft6x driver for legacy kernel

Featured Replies

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.

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.

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.