先谢谢JeefJiang的分享。
in /etc/init.d/rcS
#/bin/qtopia &
cd /home/frank/work/linux-2.6.32.2/
make menuconfig
driver-->input device support--->disable touchscreen
driver-->character devices--->disable ADC
make
get zimage
Reflash the kernel on MINI2440 board with zimage
Reboot it.
download mini2440_ts.ko to /home/plg
insmod mini2440_ts.ko
download touch_sense to /home/plg
touch_sense
[root@FriendlyARM plg]# ./touch_sense
x= 121,y= 0
x= 121,y= 875
x= 121,y= 875
x= 120,y= 875
x= 121,y= 875
x= 121,y= 874
x= 125,y= 874
x= 125,y= 869
x= 130,y= 869
........
[attachment=1212]