温州网站建设专家,珠宝网站源码,如何在电网网站做备案,中山搜索引擎优化qt的tslib的具体移植步骤和过程就不多讲了#xff0c;我说说我按照手册移植好tslib后在开发板运行提示的错误以及我的解决方法#xff0c;当然每个人的提示可能一样#xff0c;解决方法就不一样#xff0c;我也是个初学者#xff0c;所以方法仅供大家参考#xff01;问题… qt的tslib的具体移植步骤和过程就不多讲了我说说我按照手册移植好tslib后在开发板运行提示的错误以及我的解决方法当然每个人的提示可能一样解决方法就不一样我也是个初学者所以方法仅供大家参考 问题一 Segmentation fault Could not read calibration: /etc/pointercal 解决方法 编辑rootfs/usr/localtslib/etc/ts.conf文件(这是我的文件夹位置)编译内容如下 vi etc/ts.conf module_raw input module pthres pmin1 module variance delta30 module dejitter delta100 module linear 注意确保module_raw前面没有空格否则会弹出Segmentation fault的错误。 好了我的问题解决了保存编译下载接着又问题了 问题二 Please press Enter to activate this console. xres 480, yres 272 selected device is not a touchscreen I understand触摸屏矫正画面已经显示出来了可是点击没放应 解决方法看到网上很多人写的解决方法修改usr/bin/qtconfig 修改内容如下 export TSLIB_TSDEVICE/dev/input/event0 export TSLIB_FBDEVICE/dev/fb0 export TSLIB_PLUGINDIR/usr/local/lib/ts export TSLIB_CXXXOLEDEVICEnone export TSLIB_CONFFILE/usr/local/etc/ts.conf export POINTERCAL_FILE/etc/pointercal export TSLIB_CALIBFILE/etc/pointercal export QWS_MOUSE_PROTOTslib:/dev/input/event0 照着上面修改后编译下载还是有问题 提示 ts_open: No such file or directory Could not read calibration: /etc/pointercal 网上搜了很多发现dev目录下没有input文件夹只有event0event1event2event3 然后仔细看开发板带的源码我的是event2只要修改export TSLIB_TSDEVICE/dev/event2就可以 然后编译下载正常显示 上述只是个人经历本人初学如有不懂参考高手文章 Linux移植随笔http://blog.csdn.net/glorin/article/details/6527598 移植tslib到开发板及部分问题解决 http://blog.csdn.net/subfate/article/details/6319834