Firefly开源社区

[Android] 请教, rk3288主板,关于电阻屏触控问题

21

积分

0

威望

0

贡献

技术小白

积分
21
发表于 2020-6-9 13:54:01     
当前现象:已经加入触控芯片AR1021(I2C接口)的驱动, 使用板子的GPIO7_A6作为中断IO,芯片数据引脚使用的是板子的I2C1, 现在在后台终端使用 cat /dev/inout/event0 然后点击触控屏,中断有输出, 但是android系统界面没有任何响应
请问这是什么问题呢

使用tslib校准时,执行ts_calibrate 提示
oading module linear
__ts_load_module_static:-------139
__ts_load_module:-------233
__ts_load_module:-------237
xres = 1366, yres = 768
tslib: Selected device is not a touchscreen (must support ABS event type)
环境变量都是设置对了的,点击触控屏也是有输出的(在驱动中加入了打印信息),如下
[ 1372.528289] ar1021_i2c_irq : X = 1869, Y = 2093, count = 1
[ 1372.539872] ar1021_i2c_irq : X = 1869, Y = 2091, count = 1
[ 1372.578968] ar1021_i2c_irq : X = 1869, Y = 2090, count = 1
[ 1372.675845] ar1021_i2c_irq : X = 1869, Y = 2090, count = 0
[ 1372.837736] ar1021_i2c_irq : X = 1859, Y = 2090, count = 0
[ 1372.849173] ar1021_i2c_irq : X = 1859, Y = 2090, count = 1
[ 1372.860617] ar1021_i2c_irq : X = 1857, Y = 2090, count = 1
[ 1372.944873] ar1021_i2c_irq : X = 1857, Y = 2090, count = 0
[ 1373.059827] ar1021_i2c_irq : X = 1883, Y = 2086, count = 0
[ 1373.071427] ar1021_i2c_irq : X = 1883, Y = 2086, count = 1
[ 1373.082549] ar1021_i2c_irq : X = 1886, Y = 2086, count = 1
[ 1373.169764] ar1021_i2c_irq : X = 1886, Y = 2086, count = 0
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

友情链接 : 爱板网 电子发烧友论坛 云汉电子社区 粤ICP备14022046号-2
快速回复 返回顶部 返回列表