主题 : 关于tslib问题 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 7439
精华: 1
发帖: 16
金钱: 130 两
威望: 50 点
贡献值: 10 点
综合积分: 52 分
注册时间: 2009-07-15
最后登录: 2020-04-20
楼主  发表于: 2009-11-24 13:14

 关于tslib问题

管理提醒: 本帖被 kasim 执行加亮操作(2009-11-25)
从网上下载了一个tslib-1.3,编译通过,在运行ts_calibrate时,出现了下面的语句,大家帮我看看,问题可能出现在哪?

xres = 800, yres = 480
ts_read: Invalid argument  --就是这句出错了
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
贡献值: 71 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
1楼  发表于: 2009-11-24 13:52
自己交叉编译一个strace工具(http://freshmeat.net/urls/29cda9d96336bdc19b9e73c1dc89a454)放到开发板的/bin目录下,用strace ts_calibrate命令执行,把输出的结果贴出来。
关于strace的详细信息,参考http://www.ibm.com/developerworks/cn/linux/l-tsl
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
贡献值: 71 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
2楼  发表于: 2009-11-24 22:41
我 编译了一个strace工具,应该可以在目前的Linux 2.6.29.4 EABI系统上使用。
附件: strace-bin_4.5.19.tar.gz (182 K) 下载次数:145
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
贡献值: 71 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
3楼  发表于: 2009-11-25 11:14

 回 4楼(ragdoll) 的帖子

strace只是一个工具,通过工具找到并解决问题之后再高兴也还来得及吧
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
贡献值: 71 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
4楼  发表于: 2009-11-25 13:06
呵呵,算是比较圆满的完成了,加精:)
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."