• Home
  • pcDuino
  • WiKi
  • Store
  • Distributors
  • Home
  • pcDuino
  • WiKi
  • Store
  • Distributors
HomeLinuxTQ2440TUT 16 Port of touch screen driver
Previous Next

TUT 16 Port of touch screen driver

Posted by: Alvin Jin , January 16, 2014

16.1 Patch touch screen driver

In linux 2.6.25.8, there is no touch screen driver for S3C2440. So we need to patch the driver first. First, copy the driver source code we provided

£¨name£ºEmbedSky_ts.c£©to kernel directory “drivers/input/touchscreen/”, and copy header file£¨name£ºts.h£©to kernel directory “include/asm-arm/arch-s3c2410/”. Add “clock.h” to kernel directory “include/asm-arm/hardware/”.

Modify “Kconfig”and“Makefile”under “drivers/input/touchscreen/”to support the newly added files.

Modify file “Kconfig” under “drivers/input/touchscreen/”:

config TOUCHSCREEN_USB_GOTOP

default y

bool “GoTop Super_Q2/GogoPen/PenPower tablet device support” if EMBEDDED

depends on TOUCHSCREEN_USB_COMPOSITE

config EmbedSky_TOUCHSCREEN

tristate “EmbedSky touchscreen”

depends on ARCH_S3C2410 && INPUT && INPUT_TOUCHSCREEN

select SERIO

help

To compile this driver as a module, choose M here: the

module will be called EmbedSky_ts.ko.

For full article:  http://www.cutedigi.com/pub/Linux/LinuxPort/TUT16.pdf

Tags: TQ2440

Share!
Tweet

Alvin Jin

About the author

Leave a Reply Cancel reply

You must be logged in to post a comment.

Category

  • Home
  • pcDuino
  • WiKi
  • Store
  • Distributors