Add the environment variable that runs tslib to your development board's /etc/profile file (must be placed in /etc/profile, because export can only be useful in the current shell and its subshells, and can't affect logins) Shell)
#vi /etc/profileAdd the following: export TSLIB_ROOT=/usr/local/tslibexport TSLIB_TSDEVICE=/dev/input/event1 (touch screen device node of your development board!!!!!) Export TSLIB_TSEVENTTYPE=H3600export TSLIB_CONFFILE=/usr/local/tslib/etc/ts.confexport TSLIB_PLUGINDIR=/usr/local/tslib/lib/ts#export TSLIB_CALIBFILE=/etc/pointercalexport TSLIB_CALIBFILE=/mnt/disk/pointercal
export TSLIB_PLUGINDIR=$TSLIB_ROOT/lib/tsexport TSLIB_CONSOLEDEVICE=noneexport TSLIB_FBDEVICE=/dev/fb0
#export QWS_MOUSE_PROTO=Tslib:/dev/input/event1#export QWS_MOUSE_PROTO=TPanel:/dev/input/event1 #export QWS_MOUSE_PROTO="Tslib:/dev/input/event1 MouseMan:/dev/input/mice"#export QWS_MOUSE_PROTO=MouseMan:/dev/input/miceexport QWS_KEYBOARD="TTY:/dev/tty1"
export PATH=$QTDIR/bin:$ PATHexport LD_LIBRARY_PATH=$QTDIR/plugins/qtopialmigrate/:$QTDIR/qt_plugins/imageformats/:$QTDIR/lib:/root/tslib/build/lib:$LD_LIBRARY_PATH
#exec /usr/local/tslib/Bin/ts_calibrate 1>/dev/null 2>/dev/null
Then source /etc/profile will be fine
System Requirements: Unlimited release, requires PC platform (x86 architecture CPU), Glibc version
Ten years ago, Red Hat Enterprise Linux was released, marking the official entry of Linux into enter
On the linux device model online, there are some discussions, some things I used to use, to modify a
Speaking of the command, you have to mention this special command vi it is not only a command, but a
Rsync parameter parsing and rsync server
Linux, Mac and Windows platform installation Git diagram detailed tutorial
Linux to view a port usage and kill
Using the history command in Linux to improve efficiency
The virtual machine Debian NIC cannot be started
Linux scp command using tutorial
How to set up SSH login under Linux? Email reminder notification
Overview of the Role of the Linux Kernel
Apache's prefork mode and worker mode The
How to get the absolute path of the configuration file in Linux
Manage your app with Laravel+Grunt+Bower
Syskey command: XP and 2000 systems are not commonly used but powerful commands
How does Win7 compress image size? Method of compressing images
Intelligent crazy input method application skills
Window xp how to recover completely deleted files
How to find the shared folder in Win7 system? How to find the shared file on the LAN?
Win8 system slow speed solution
Searching multiple disk partitions at the same time under Windows XP
Win7 system photoshop software can not copy and paste text how to do