Store Logo
My Account  Cart Contents  Checkout  
  Top » Catalog » Linux Port Tutorial TQ2440 » TUT 16 Port of touch screen driver Log In |  Cart Contents  |  Checkout | 
Advance Search
box
 
Use keywords to find the product you are looking for.
box
Categories
box
Arduino

Arduino Kits

Arduino Shields

Breakout Board

Cables->

Cellular

Component->

Development Tools->

Ethernet

FPGA

GPS

LCD

Powerline Communication->

Programmer/Emulator

Project Case

Prototyping->

Python-On-A-Chip

Robotics

Sensor->

Services

Storage

Tools->

Tracking

Video

Wireless->

View All Products ->

All Products sorted by Categories ->

All Products sorted by Manufacturers ->
box
Specials more
box
WiFi Shield WiShield V2.0 for Arduino
WiFi Shield WiShield V2.0 for Arduino
 $55.00  $52.50 
box
Quick Find
box
 
Use keywords to find the product you are looking for.
Advanced Search
box
Latest products more
box
LinkSprite Weather Proof JPEG Serial Port Camera
LinkSprite Weather Proof JPEG Serial Port Camera
 $109.00 
box
Featured more
box
Altera Cyclone II EP2C8 FPGA SOPC Development Board
Altera Cyclone II EP2C8 FPGA SOPC Development Board
 $199.00 
box
Articles
box
New Articles (0)
All Articles (38)
Android
GPS (2)
Industry News (5)
Linux Port Tutorial TQ2440 (24)
MCU Zone (3)
PCB/SMT Assembly Service (2)
Smart Home (2)
box
TUT 16 Port of touch screen driver   by Patrick

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 

This article was published on Saturday 29 May, 2010.
Current Reviews: 0 Write Review
Tell a friend
box
Tell a friend about this article:  
box
Shopping Cart more
box
0 items
box
Cards We Accept
box
BOX_INFORMATION_CARD
BOX_INFORMATION_CARD
BOX_INFORMATION_CARD
BOX_INFORMATION_CARD
box
Affiliate Info
box
Affiliate Program FAQ
Affiliate Log In
box
Information
box
Terms and Conditions
Shipping and returns
Privacy
Contact Us
box


Copyright © 2008-2010 CuteDigi Technologies, Inc
CuteDigi Technologies. Inc, Longmont, CO 80503