selected device is not a touchscreen I understand 以及tslib: Selected device uses a different version
来源:互联网 发布:深圳市软件产业基地 编辑:程序博客网 时间:2024/05/18 01:57
1 selected device is not a touchscreen I understand
2 tslib: Selected device uses a different version
3 No raw modules loaded
对于错误1: 错误的原因有各式各样,这里仅以我自己遇到的问题记录:
第一种原因是: 内核和交叉编译器的EV_VERSION值不一样,修改一下就可以
内核:我的在目录 /usr/src/linux/include/linux/input.h
#define EV_VERSION 0x010001
图1
交叉编译器:
arm/usr/include/linux/input.h中给出的:
#define EV_VERSION 0x010000
解决方法: 只需要将内核的
#define EV_VERSION 0x010001 改为
#define EV_VERSION 0x010000
当然也可以把 交叉编译器的改为和内核 一样, 但是有区别
第二种情况是:我改了以上两个值,为一样,还是出现selected device was not 。。。。 很是郁闷,后面自己重新更新了一下tslib ,重新编译之类的。。。。balabala
可以用
git clone https://github.com/kergoth/tslib
或者 http://pan.baidu.com/s/1hsqBrY8
###############################################
以为到此完美的收场,可是可是。。。。。
错误2 就冒出来了
2 tslib: Selected device uses a different version
但是到底是什么让我这么伤心
查了一下 tslib/plugins/input-raw.c 里面的代码,发现问题就出在这了
图2
一看,咋又是这个EV—VERSION ,一气之下把这段直接给注释掉了,hiahia;;;;。。。。。这回 ts_calidate 就能正常运行了吧???
###########
可是 ,又冒出来一个错误3
No raw modules loaded
不过这个比较容易处理
只需要将 tslib下、/etc/ts.conf 第二行修改一下就可以了
删除 # 号,留下modules_input raw(记得顶格)
哎呀,终于可以了,,,,好心塞,,,,
放张图消遣下
图3
- selected device is not a touchscreen I understand 以及tslib: Selected device uses a different version
- selected device is not a touchscreen I understand
- 6410 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
- 移植tslib库出现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)
- tslib库移植selected device is not a touchscreen I understand
- linux内核usb触摸屏驱动bug调试- selected device is not a touchscreen I understand
- linux 3.15.2 触摸屏移植之selected device is not a touchscreen I understand
- linux内核usb触摸屏驱动bug调试- selected device is not a touchscreen I understand
- OK6410出现selected device is not a touchscreen I understand解决办法
- tslib: Selected device is not a touchscreen (must support ABS and KEY event types)解决方法
- 出现device is not a touchscreen I understand
- 在tslib移植中,出现tslib: Selected device is not a Linux input event device
- “(null)” is of a model that is not supported by this version of Xcode. Please use a different device
- “(null)” is of a model that is not supported by this version of Xcode. Please use a different device
- 关于request.setAttribute如果里面存的是类似于javabean的样子你怎么办?
- nand flash的读写操作
- ubuntu下mysql-python模块的安装
- 特征选择
- 使用软引用解决Handler内存泄露和显示Popupwindow、Dialog时提示"Unable to add Window-token is null"的问题
- selected device is not a touchscreen I understand 以及tslib: Selected device uses a different version
- 兼容IOS android 页面滑动的CSS设置
- Python 的 Magic Methods 指南
- mysql - 内存表使用总结
- 打包下载
- VirtualBox Host-only Adapter,Failed to create the host-only adapter
- caffe for windows(win7+VS2012+CUDA6.5)(下)
- STM32_外部中断
- java中equals的用法以及与==的区别