Transplant touch screen driver to linux3.4.2

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.