Selected device is not a touchscreen I understand

Source: Internet
Author: User

Tslib version Problems

1. Git clone https://github.com/kergoth/tslib

2../autogen. Sh
3../configure -- Host = arm-Linux -- prefix =/home/tslib
4. Make
5. Make install
6. After make install, four subdirectories will be generated in the/home/tslib directory:
Include lib etc Bin
The generated library is located in Lib, and there is a sub-directory TS under this directory, which contains many libraries used for calibration (such as input. So ).
TS. conf under etc is the configuration file, and the bin directory is the calibration and testing tool (such as the calibrated ts_calibrate, ts_test for testing ).
The content of the configuration file ts. conf is as follows:
Module_raw Input
Module pthres pmin = 1
Module variance Delta = 30
Module dejitter Delta = 100
Module linear
Module_raw has many types. Here, only input is used (that is, the input subsystem of Linux. The device file name is/dev/event1)
/Dev/event1 is the device node of the screen.
7. Copy files under tslib to rootfs
Copy tslib/etc/ts. conf to/etc
8. Modify rootfs/etc/profile
# Tslib Environment
Export tslib_tsdevice =/dev/event1
Export tslib_conffile =/etc/ts. conf
Export tslib_plugindir =/tslib/lib/TS
Export tslib_calibfile =/etc/pointercal
Export Path =/tslib/bin: $ path
Export LD_LIBRARY_PATH = $ LIBRARY_PATH:/tslib/lib:

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.