各位神仙,酋长,诸侯,有事没有事的请看1看
用友善的DVD
其中需要的库文件有libts-1.0.so.0,libts-0.0.so.0,dejitter.so,linear.so,variance.so,friendlyam-ts-input.so,pthres.so这些库文件,将它们拷贝到b/ts这个目录里面,然后用export TSLIB_PLUGINDIR=b/ts配置环境变量,从而使它生效。
环境变量配置如下:
#!/bin/sh
export TSLIB_TSDEVICE=/dev/touchscreen-1wire
export TSLIB_FBDEVICE=/dev/fb0
export TSLIB_CONFFILE=/etc/ts.conf
export TSLIB_PLUGINDIR=b/ts
export TSLIB_CALIBFLE=/etc/pointercal
export LD_LIBRARY_PATH=b
里面的配置文件ts.conf文件如下:
module_raw friendlyarm-ts-input
module pthres pmin=1
module variance delta=30
module dejitter delta=100
module linear
在LXDE下面
可以出来触摸屏校准
运行ts_cal
TouchDevice:/dev/touchscreen-1wire
CAT touchscreen-1wire有反应
但是界面里面,没有触摸功能
有什么经验分享下吗?
[ 此帖被kc87654321在2012-11-07 16:09重新编辑 ]