Action Item #299

Add touchscreen driver to kernel build

Added by Hammel over 4 years ago. Updated over 3 years ago.

Status:In ProgressStart date:22 Mar 2014
Priority:NormalDue date:
Assignee:Hammel% Done:


Category:03 - Linux Kernel
Target version:2.0 - Harkonnen
Severity:03 - Medium


According to this information, the ADS7846 driver is needed in order to support the touchscreen interface on the HY28A display. This needs to be enabled in the kernel to be able to utilize the touchscreen interface on the texy display (see RM#240).

Associated revisions

Revision a71d6224
Added by Hammel over 4 years ago

RM #299: Add xinput and tslib.

Revision 790c5c39
Added by Hammel over 4 years ago

RM #299: Add ads7846 touchscreen input device.

Revision 5a0e7eb1
Added by Hammel over 4 years ago

RM #299: Enable ads7846 in modules.conf.


#1 Updated by Hammel over 4 years ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 10

Apparently I need to integrate this driver into the build too:

#2 Updated by Hammel over 4 years ago

  • % Done changed from 10 to 20

This repo is designed to be built out-of-kernel. It requires work to make it into a real driver tree.

What I may be able to do is modify the Makefile and add a Kconfig file for just the ads7846_device, which is all that's missing for touchscreen support. There are other drivers in there but they aren't required.

#3 Updated by Hammel over 4 years ago

  • % Done changed from 20 to 50

Added fbtft_tools to kernel build. The drivers are installed under lib/modules/<version>/extra.

They have not been tested on the target yet.

#4 Updated by Hammel over 4 years ago

Drivers required:
  1. Kernel
    1. ads7846
    2. ads7846_device (from fbtft_tools)
    3. evdev
  2. Buildroot
    1. xinput

ads7846 was not configured in the kernel.
ads7846_device is currently being built by the kernel-build-drivers target.
evdev was already enabled as a module in the kernel.

xinput was not enabled as an driver module in Buildroot.

Updating both configs and rebuilding. S90UI will be updated to make sure these are all loaded when the fbtft driver is loaded.

#6 Updated by Hammel over 4 years ago

  • % Done changed from 50 to 70

Enabled driver in modules.conf so it gets loaded by S11dev now. All that's left is to verify it can be used if the touchscreen is actually available and that it doesn't cause a problem if it isn't available.

#7 Updated by Hammel about 4 years ago

  • Priority changed from Immediate to Normal
  • Target version changed from 0.9.0 to 0.10.0

Additional work on this is being pushed to 0.10.0 so I can get the media specific stuff completed in time for camping season.

#8 Updated by Hammel over 3 years ago

  • Target version changed from 0.10.0 to 2.0 - Harkonnen

A touchscreen interface is not really required until we get to the "Nest"-like feature set that supports home automation, which isn't target till the 2.0 release.

Moving to 2.0 target version.

Also available in: Atom PDF