tslib configuration files in armlinux root filesystem

 

./autogen.sh
./configure --prefix=/path/to/tslib-build/ --host=arm-linux ac_cv_func_malloc_0_nonnull=yes 
make
make install

 

# /etc/profile
export TSLIB_ROOT=/
export TSLIB_TSDEVICE=/dev/input/event0
export TSLIB_CALIBFILE=/etc/pointercal
export TSLIB_CONFFILE=$TSLIB_ROOT/etc/ts.conf
export TSLIB_PLUGINDIR=$TSLIB_ROOT/lib/ts
export TSLIB_CONSOLEDEVICE=none
export TSLIB_FBDEVICE=/dev/fb0
#export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$TSLIB_ROOT/lib

 

#$TSLIB_ROOT/etc/ts.conf
# Uncomment if you wish to use the linux input layer event interface
# module_raw input
module_raw input
# remove the "#" and " " before "module_raw input"


# Uncomment if youre using a Sharp Zaurus SL-5500/SL-5000d
# module_raw collie

# Uncomment if youre using a Sharp Zaurus SL-C700/C750/C760/C860
# module_raw corgi

# Uncomment if youre using a device with a UCB1200/1300/1400 TS interface
# module_raw ucb1x00

# Uncomment if youre using an HP iPaq h3600 or similar
# module_raw h3600

# Uncomment if youre using a Hitachi Webpad
# module_raw mk712

# Uncomment if youre using an IBM Arctic II
# module_raw arctic2

module pthres pmin=1
module variance delta=30
module dejitter delta=100
module linea

 

郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。