Firefly开源社区

标题: rk3288主板,关于电阻屏触控问题请教 [打印本页]

作者: ab13402364    时间: 2020-6-8 17:20
标题: rk3288主板,关于电阻屏触控问题请教
当前现象:已经加入触控芯片AR1021(I2C接口)的驱动, 使用板子的GPIO7_A6作为中断IO,芯片数据引脚使用的是板子的I2C1, 现在在后台终端使用 cat /dev/inout/event0 然后点击触控屏,中断有输出, 但是android系统界面没有任何响应
请问这是什么问题呢
作者: ab13402364    时间: 2020-6-9 13:50
使用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




欢迎光临 Firefly开源社区 (https://dev.t-firefly.com/) Powered by Discuz! X3.1