https://github.com/bertrik/kerneldrivercourse2015
Files for the Linux Kernel Driver Programming Course 2015, see https://revspace.nl/KernelDriverProgrammingCourse2015
https://github.com/bertrik/kerneldrivercourse2015
Last synced: 3 months ago
JSON representation
Files for the Linux Kernel Driver Programming Course 2015, see https://revspace.nl/KernelDriverProgrammingCourse2015
- Host: GitHub
- URL: https://github.com/bertrik/kerneldrivercourse2015
- Owner: bertrik
- Created: 2015-08-27T09:00:42.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-09-22T18:38:00.000Z (over 9 years ago)
- Last Synced: 2025-01-02T01:16:08.616Z (5 months ago)
- Language: C
- Size: 180 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# KernelDriverCourse2015
Files for the Linux Kernel Driver Programming Course 2015, see https://revspace.nl/KernelDriverProgrammingCourse2015focaltech_tf5x
==============
This is a simplified driver that talks to a focaltech ft5x touchscreen controller over i2c, interprets the touch data and creates events for the linux input event subsystem.
It uses the device tree.
This driver makes the touch screen work on a Chuwi V7 CW0825.NOTE: before this works, you also need an updated DTS for the Chuwi, see the .patch file.
To build:
* edit the Makefile to make it point to your kernel source tree
* run make
make ARCH=arm CROSS_COMPILE=
To use:
* copy the .ko file to the Chuwi storage (e.g. SD card)
* on the Chuwi, after booting, insert the kernel module
insmod focaltech_ft5x.ko
* touch the screen and see the cursor move