2. # gedit drivers/input/touchscreen/Kconfig 在12行找到: if INPUT_TOUCHSCREEN
在其后加入以下:
config TOUCHSCREEN_S3C2410
tristate "Samsung S3C2410 touchscreen input driver"
help
Say Y here if you have the s3c2410 touchscreen. If unsure, say N.
To compile this driver as a module, choose M here: the
module will be called s3c2410_ts.
config DEVKMEM
bool "/dev/kmem virtual device support"
default y
help
Say Y here if you want to support the /dev/kmem device. The
/dev/kmem device is rarely used, but can be used for certain
kind of kernel debugging operations.
When in doubt, say "N".
在其后加入以下:
config MINI2440_ADC
bool "ADC driver for FriendlyARM Mini2440/QQ2440 development boards"
default y if MACH_FRIENDLY_ARM_MINI2440
help this is ADC driver for FriendlyARM Mini2440/QQ2440 development boards
Notes: the touch-screen-driver required thisoption
if[-e $TS_INFO_FILE -a "/bin/grep -q TouchScreen < $TS_INFO_FILE"]; then
export QWS_MOUSE_PROTO="TPanel:/dev/input/event0 USB:/dev/input/mice" if[-e /etc/pointercal -a !-s /etc/pointercal ]; then
rm /etc/pointercal
fi else
export QWS_MOUSE_PROTO="USB:/dev/input/mice" >/etc/pointercal
fi
unset TS_INFO_FILE