Ts

  
 

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

Copyright © Windows knowledge All Rights Reserved