- 积分
- 9
贡献31
飞刀4 FD
注册时间2016-3-2
在线时间6 小时
|
楼主 |
发表于 2013-12-17 16:59:53
|
显示全部楼层
我把从i2c总线上读出来的数据上上看,如果触摸时间稍长一点,从i2c读出来的数据就不正确,只能快速的点击看着数据才能正常一点,还有就是每个子串口的关闭按钮感觉是点不到正确位置上,偶尔能有效。快速点击正确的打印数据是[19124.875007]
[19124.875018] recdata=0,0,11,1,5a,5a,0,fe,0,0
[19124.881136] start read_data i2c_rxdata OK
[19124.885381] Touch down, x=15a y=fe
[19124.889042] Linux Touch down,it is start
[19124.893247] button down
[19124.924938]
[19124.924949] recdata=0,0,11,81,5a,5a,0,fe,0,0
[19124.931142] start read_data i2c_rxdata OK
[19124.935344] Touch down, x=15a y=fe
[19124.938998] Linux Touch down,it is start
[19124.943209] button down
[19124.964878]
[19124.964884] recdata=0,0,11,81,5a,5a,0,fe,0,0
[19124.971064] start read_data i2c_rxdata OK
[19124.975264] Touch down, x=15a y=fe
[19124.978907] Linux Touch down,it is start
[19124.983106] button down
[19125.004858]
[19125.004863] recdata=0,0,10,41,5a,5a,0,fe,0,0
[19125.011041] Touch up,it is end !
[19125.014419] start read_data i2c_rxdata OK
[19125.018606] Linux Touch up,it is end
[19125.022437] button down
其中recdata后面跟的是i2c读出来的数据,这个数据从协议上看是正确
稍微按触屏的时间长一点,也就是点击的2-3倍吧
[19312.444916]
[19312.444926] recdata=0,0,11,2,70,70,1,46,0,0
[19312.451034] start read_data i2c_rxdata OK
[19312.455238] Touch down, x=270 y=146
[19312.458990] Linux Touch down,it is start
[19312.463189] button down
[19312.484918]
[19312.484929] recdata=0,0,11,82,70,70,1,46,0,0
[19312.491114] start read_data i2c_rxdata OK
[19312.495312] Touch down, x=270 y=146
[19312.499048] Linux Touch down,it is start
[19312.503255] button down
[19312.524870]
[19312.524877] recdata=0,0,11,82,70,70,1,46,0,0
[19312.531054] start read_data i2c_rxdata OK
[19312.535251] Touch down, x=270 y=146
[19312.538982] Linux Touch down,it is start
[19312.543178] button down
[19312.564855]
[19312.564860] recdata=0,0,11,82,70,70,1,46,0,0
[19312.571033] start read_data i2c_rxdata OK
[19312.575231] Touch down, x=270 y=146
[19312.578963] Linux Touch down,it is start
[19312.583156] button down
[19312.604848]
[19312.604853] recdata=0,0,11,82,70,70,1,46,0,0
[19312.611026] start read_data i2c_rxdata OK
[19312.615218] Touch down, x=270 y=146
[19312.618952] Linux Touch down,it is start
[19312.623146] button down
[19312.644853]
[19312.644858] recdata=0,0,11,82,70,70,1,46,0,0
[19312.651035] start read_data i2c_rxdata OK
[19312.655229] Touch down, x=270 y=146
[19312.658959] Linux Touch down,it is start
[19312.663156] button down
[19312.684847]
[19312.684852] recdata=0,0,11,82,70,70,1,46,0,0
[19312.691029] start read_data i2c_rxdata OK
[19312.695223] Touch down, x=270 y=146
[19312.698953] Linux Touch down,it is start
[19312.703146] button down
[19312.724848]
[19312.724853] recdata=0,0,11,82,70,70,1,46,0,0
[19312.731026] start read_data i2c_rxdata OK
[19312.735222] Touch down, x=270 y=146
[19312.738953] Linux Touch down,it is start
[19312.743146] button down
[19312.764847]
[19312.764852] recdata=0,0,11,82,70,70,1,46,0,0
[19312.771028] start read_data i2c_rxdata OK
[19312.775222] Touch down, x=270 y=146
[19312.778956] Linux Touch down,it is start
[19312.783149] button down
[19312.806716]
[19312.806725] recdata=0,0,11,82,70,70,1,46,0,0
[19312.812955] start read_data i2c_rxdata OK
[19312.817137] Touch down, x=270 y=146
[19312.820873] Linux Touch down,it is start
[19312.825080] button down
[19312.844882]
[19312.844888] recdata=0,0,11,82,70,70,1,46,0,0
[19312.851068] start read_data i2c_rxdata OK
[19312.855264] Touch down, x=270 y=146
[19312.858996] Linux Touch down,it is start
[19312.863194] button down
[19312.884862]
[19312.884869] recdata=0,0,11,82,70,70,1,46,0,0
[19312.891044] start read_data i2c_rxdata OK
[19312.895240] Touch down, x=270 y=146
[19312.898971] Linux Touch down,it is start
[19312.903166] button down
[19312.924853]
[19312.924859] recdata=0,0,11,82,70,70,1,46,0,0
[19312.931034] start read_data i2c_rxdata OK
[19312.935226] Touch down, x=270 y=146
[19312.938959] Linux Touch down,it is start
[19312.943153] button down
[19312.964851]
[19312.964856] recdata=0,ff,5,ff,ff,ff,ff,ff,0,0
[19312.971124] start read_data i2c_rxdata OK
[19312.975317] Touch down, x=fff y=fff
[19312.979051] Linux Touch down,it is start
[19312.983243] Touch down, x=fff y=fff
[19312.986970] Linux Touch down,it is start
[19312.991148] Touch down, x=fff y=fff
[19312.994882] Linux Touch down,it is start
[19312.999064] Touch down, x=fff y=fff
[19313.002800] Linux Touch down,it is start
[19313.006978] Touch down, x=fff y=fff
[19313.010707] Linux Touch down,it is start
[19313.014897] button down
从数据上看没有抬起动作,后面还有好多ff的值,从这个现象上看是触屏本身发出来的数据不正确
点击关闭串口按钮的那个X键
[19496.895983]
[19496.895992] recdata=0,0,11,3,19,19,0,30,0,0
[19496.902161] start read_data i2c_rxdata OK
[19496.906344] Touch down, x=319 y=30
[19496.910007] Linux Touch down,it is start
[19496.914208] button down
[19496.944952]
[19496.944964] recdata=0,0,11,83,19,19,0,30,0,0
[19496.951149] start read_data i2c_rxdata OK
[19496.955351] Touch down, x=319 y=30
[19496.959003] Linux Touch down,it is start
[19496.963211] button down
[19496.984884]
[19496.984890] recdata=0,0,11,83,19,19,0,30,0,0
[19496.991072] start read_data i2c_rxdata OK
[19496.995269] Touch down, x=319 y=30
[19496.998913] Linux Touch down,it is start
[19497.003114] button down
[19497.024864]
[19497.024869] recdata=0,0,11,83,19,19,0,30,0,0
[19497.031044] start read_data i2c_rxdata OK
[19497.035241] Touch down, x=319 y=30
[19497.038882] Linux Touch down,it is start
[19497.043075] button down
[19497.064853]
[19497.064859] recdata=0,0,11,83,19,19,0,30,0,0
[19497.071034] start read_data i2c_rxdata OK
[19497.075229] Touch down, x=319 y=30
[19497.078873] Linux Touch down,it is start
[19497.083067] button down
[19497.104854]
[19497.104860] recdata=0,0,11,83,19,19,0,30,0,0
[19497.111034] start read_data i2c_rxdata OK
[19497.115228] Touch down, x=319 y=30
[19497.118872] Linux Touch down,it is start
[19497.123067] button down
[19497.144857]
[19497.144863] recdata=0,0,10,43,19,19,0,30,0,0
[19497.151040] Touch up,it is end !
[19497.154416] start read_data i2c_rxdata OK
[19497.158599] Linux Touch up,it is end
[19497.162430] button down
感觉事件时触发了,但是串口也关闭不上,偶尔能关上,不知道这是什么原因
|
|