tslib移植的错误解决
如果移植好后运行屏幕校准程序出现
tslib: Selected device uses a different version of the event protocol than tslib was compiled for
解决方法:
进入tslib/plugins
编辑input-raw.c屏蔽掉一下语句重新编译即可
if (ioctl(ts->fd, EVIOCGVERSION, &version) < 0) {
82 fprintf(stderr, “tslib: Selected device is not a Linux input event d evice\n”);
83 return -1;
84 }
85
86 if (version < EV_VERSION) {
87 fprintf(stderr, “tslib: Selected device uses a different version of the event protocol than tslib was compiled for\n”);
88 return -1;
89 }