- Segmentation fault
ts.conf没修改,或者修改后前边的空格没有删除掉
vi /opt/ts.conf 最后内容如下:
module_raw input
module pthres pmin=1
module variance delta=30
module dejitter delta=100
module linear
a)、ts.conf文件中的各个设置选项之前不能有空格,否则会出现:Segmentation fault 错误,我就不小心在module…之前多了个空格,害我查了好久。
b)、 不要在pointercal对应的目录下,建立一个空的pointercal文件,否则在运行ts_calibrate时,也可能会出现Segmentation fault - ts_open: No such file or directory
导出触摸屏的环境变量:export TSLIB_TSDEVICE=/dev/input/event0 - open tty:No such file or directory
KDSETMODE:Bad file descriptor
导出控制台环境变量:export TSLIB_CONSOLEDEVICE=none - Couldnt load module pthres
No raw modules loaded.
ts_config: Success
解决办法:
export TSLIB_PLUGINDIR=$T_ROOT/lib/ts - Couldnt open tslib config file: No such file or directory
ts_config: Illegalseek
解决办法:
export TSLIB_CONFFILE=$T_ROOT/etc/ts.conf - No raw modules loaded.
Ts_config: No such file or directory
解决办法:
修改$T_ROOT/etc/ts.conf, 至少放开一个module_raw,并去掉前面空格 - Couldnt load module pthres
No raw modules loaded.
ts_config: Success
解决办法:
#export TSLIB_PLUGINDIR=$T_ROOT/lib/ts