6410 selected device is not a touchscreen I understand
来源:互联网 发布:单片机驱动步进电机 编辑:程序博客网 时间:2024/06/05 09:44
之前移植了6410后,就没有测试过,今天编写程序烧进去后运行才发现触摸屏不起作用。
于是试了下系统里tslib的bin文件夹下的命令:
./ts_caliberate
结果总是报错:selected device is not a touchscreen I understand
先去飞凌的官方论坛逛了一圈,好多人有这个问题,但没一个解决办法有效。
先用cat命令试了下几个event,
cat /dev/input/event0
发现当用event2的时候,触摸屏幕,在串口终端会输出乱码,说明event2是有效的,于是在环境变量设置中更改:
export TSLIB_TSDEVICE=/dev/input/event2
export QWS_MOUSE_PROTO=tslib:/dev/input/event2
更改后,千万记得要将环境变量更新!!!我就是之前改了后没更新一直以为有问题,结果重启后就可以了!!
source /etc/profile
同时我在网上搜到一篇文章:《 ok6410 tslib 认不出touchscreen 问题》
不知道为什么连接被禁用不让发布= =
说是EV_VERSION的定义不对,要修改,但是又没说具体在哪里,这种人很讨厌!我找了半天没找到tslib的代码里的EV_VERSION定义。。。T T
0 0
- 6410 selected device is not a touchscreen I understand
- selected device is not a touchscreen I understand
- selected device is not a touchscreen I understand(./ts_calibrate)
- selected device is not a touchscreen I understand
- selected device is not a touchscreen I understand 以及tslib: Selected device uses a different version
- linux内核usb触摸屏驱动bug调试- selected device is not a touchscreen I understand
- linux 3.15.2 触摸屏移植之selected device is not a touchscreen I understand
- 移植tslib库出现selected device is not a touchscreen I understand
- linux内核usb触摸屏驱动bug调试- selected device is not a touchscreen I understand
- tslib移植-selected device is not a touchscreen I understand 错误解决
- OK6410出现selected device is not a touchscreen I understand解决办法
- tslib编译使用方法(selected device is not a touchscreen I understand)
- tslib库移植selected device is not a touchscreen I understand
- 出现device is not a touchscreen I understand
- tslib: Selected device is not a touchscreen (must support ABS and KEY event types)解决方法
- 在tslib移植中,出现tslib: Selected device is not a Linux input event device
- Warning the selected directory is not a valid tomcat home
- I do not understand it!
- svn安装,svn常用命令介绍
- Microsoft Azure 上的自定义数据和 Cloud-Init
- BroadcastReceiver的声明周期和使用
- 【Android】Android布局中实现圆角边框
- swing 界面编程
- 6410 selected device is not a touchscreen I understand
- HiveOptimization--Reduce进程缓慢问题
- 舞魔金星[读书笔记]
- ftk学习记(多窗口篇)
- oracle 行转列和列转行
- Android.os.NetworkOnMainThreadException异常
- 好用流程图工具
- Unity手游之路<一>C#版本Protobuf
- [Wikioi 1020]孪生蜘蛛