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 you're using a Sharp Zaurus SL-5500/SL-5000d
# module_raw collie

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

# Uncomment if you're using a device with a UCB1200/1300/1400 TS interface
# module_raw ucb1x00

# Uncomment if you're using an HP iPaq h3600 or similar
# module_raw h3600

# Uncomment if you're using a Hitachi Webpad
# module_raw mk712

# Uncomment if you're using an IBM Arctic II
# module_raw arctic2

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

 

posted @ 2015-01-02 10:38  Kozmers  阅读(262)  评论(0编辑  收藏  举报