1. Modify the makefile under drivers/input/touchscreen/
#obj-$ (config_touchscreen_s3c2410) + = s3c2410_ts.oobj-$ (config_touchscreen_s3c2410) + = S3C_TS.O
2. Modify the. config, locate config_touchscreen_s3c2410, and change to
is Set config_touchscreen_s3c2410=isset
3. Make Uimage
4. Download the new kernel, launch the Development Board, CD/MNT
5. CD Ts_dir
6. CP */-RFD
7. Sh tslib.sh
8. Implementation of Ts_calibrate and Ts_test, successful
/MNT # Ts_calibrate
Xres = 480, Yres = 272
Took 3 Samples ...
Top left:x = 267 Y = 157
Took 4 Samples ...
Top right:x = Y = 873
Took 4 Samples ...
Bot right:x = 743 Y = 871
Took 3 Samples ...
Bot left:x = 741 Y = 150
Took 4 Samples ...
center:x = 504 Y = 507
-33.081360 0.005015 0.528829
-46.786865 0.363238-0.001267
Calibration constants:-2168020 328 34657-3066224 23805-83 65536
/MNT # Ts_test
1792.029177:372 24 1
1792.045631:371 24 1
1792.051086:371 25 0
1793.147675:109 137 1
1793.165649:109 138 1
1793.185634:109 142 1
1793.251078:107 159 0
1793.369837:83 157 1
1793.38571:83 157 1
1793.405633:83 159 1
Transplant touch screen driver to linux3.4.2