Firefly开源社区

打印 上一主题 下一主题

《如何移植一款新的触摸IC驱动到firefly-rk3288或3128,以FT5X0X为例》

119

积分

0

威望

0

贡献

技术小白

积分
119
发表于 2017-3-23 17:39:37        只看该作者  21#
跟着做,但是摸屏幕后SDA SCL有波形了,但是屏幕没有反应。
求解
回复

使用道具 举报

119

积分

0

威望

0

贡献

技术小白

积分
119
发表于 2017-3-23 17:40:56        只看该作者  22#

我也移植focal家的屏幕,现在IIC有波形,地址我问了FAE,理论上没问题,但是就是不能滑动屏幕,我要怎么debug
回复

使用道具 举报

620

积分

0

威望

0

贡献

技术大神

Rank: 3Rank: 3

积分
620
发表于 2017-3-23 20:01:49        只看该作者  23#
你要加trace看有没有中断,有没有上报数据,一般来说和report有关。
回复

使用道具 举报

119

积分

0

威望

0

贡献

技术小白

积分
119
发表于 2017-3-25 22:55:36        只看该作者  24#
hi,你附件的FT5x06_ts.c文件是不是有错误?
我编译后点起来 发现touch坐标是不对的 ,我是FHD屏幕,有相应改了里面的参数。
有没有更新的文件可以share给我下,不胜感激!
回复

使用道具 举报

119

积分

0

威望

0

贡献

技术小白

积分
119
发表于 2017-3-25 23:04:41        只看该作者  25#
carlinluo 发表于 2015-8-25 17:11
:lol比较暴力粗糙(我很懒),驱动只是差不多了,具体还要修改,也没有实物调试,就这样了有问题,在群里沟通

求进展
回复

使用道具 举报

119

积分

0

威望

0

贡献

技术小白

积分
119
发表于 2017-3-25 23:05:31        只看该作者  26#

有需要在修改什么,我可以动作了,但是位置不大对
回复

使用道具 举报

119

积分

0

威望

0

贡献

技术小白

积分
119
发表于 2017-3-25 23:10:23        只看该作者  27#
xueyuking 发表于 2017-3-23 20:01
你要加trace看有没有中断,有没有上报数据,一般来说和report有关。

有中断,也有数据。
我觉得跟中断事件或者坐标转换有关,可能楼主给的ts.c中哪里还需要转换,我还不得要领。
ps. 要两点触控屏幕才能正常超控(两根手指下去)
回复

使用道具 举报

119

积分

0

威望

0

贡献

技术小白

积分
119
发表于 2017-3-25 23:53:19        只看该作者  28#
[    21322] Read the Ethernet MAC address from IDB:00:00:00:00:00:00
[   17.527693] eth0: device MAC address 1e:82:e1:b1:c2:d4
l 8 su.536361] libphy: stmmac: probed
[   17.539706] eth0: No PHY found
Sysctl 11 s39] wifi_driver_write: wifi driver already rmmod
rv_clk.676492] acc_open
[   17.678656] acc_release
   8.7.310954] FAT-fs (mmcblk0p14): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[   18.341061] avc:  denied  { set } for property=sys.vold.hasAsec scontext=u:r:vold:s0 _discext=u:object_r:system_prop:s0 tclass=property_service
[   18.354310] init: sys_prop: permission denied uid:0  name:sys.vold.hasAsec
[   18.361492] init: no such service 'fuse_internal_sd'
(31): ca61788] init: sys_prop: permission denied uid:10012  name:sys.gmali.version
camsy.715005] init: sys_prop: permi[    8denied uid:10039  name:sys.gmali.version
amsys_marv784] init: sys_prop: permission denied uid:1003  name:service.bootanim.exit
msys_mar93146] f28c7234,f28c7234,f28c7234
.775259] 5437] type=1400 audit(86411.870:4): avc:  denied  { execute } for  pid=1114 comm="Thread-68" name="libestool2.so" dev="mmcblk0p12" ino=519 scontext=u:r:untrusted_app:s0 tcontext=u:object_rev(devata_file:s0 tclass=file permissive=1
[   21.726689] type=1400 audit(86411.890:5): ain_cb(enied  { execute_no_trans } for  pid=1114 comm="Thread-68" path="/data/data/com.estrongs.android.pop/files/libestool2.so" dev="mmcblk0p12" ino=519 scontexsp_Sofuntrusted_app:s0 tcontext=u:object_r:app_data_file:s0 tclass=file permissive=1
te: 24.500849] ==ft5x0x_t[    8rrupt =
[   28.504332] ==ft5x0x_ts_pen_work =
[   28.510448] ==ft5x0x_ts_interrupt =
[   28.513964] ==ft5x0x_ts_pen_work =
tl 8 f.519535] ==ft5x0x_ts_interrupt =
[   28.522974] ==ft5x0x_ts_pen_work =
[   28.528943] ==ft5x0x_ts_interrupt =
[   28.532400] ==ft5x0x_ts_pen_work =
[   28.538061] ==ft5x0xailed!terrupt =
[   28.541497] ==ft5x0x_ts_pen_work =
[   28.547412] ==ft5x0x_ts_interrupt =
[   28.550847] ==ft5x0x_ts_pen_work =
Sysct.556590] ==ft5x0x_ts_interrupt =
[   28.560053] ==ft5x0x_ts_pen_work =
[   28.565957] ==ft5x0x_ts_interrupt =
[   28.569451] ==ft5x0x_ts_pen_worv_clk[   28.575102] ==ft5x0x_ts_interrupt =
[   28.578551] ==ft5x0x_ts_pen_work =
[   28.584443] ==ft5x0x_ts_interrt turn
[   28.587909] ==ft5x0x_ts_pen_work =
[   28.593612] ==ft5x0x_ts_interrupt =
[   28.597072] ==ft5x0x_ts_pen_work =
[   28.602irq_di=ft5x0x_ts_interrupt =
[   28.606433] ==ft5x0x_ts_pen_work =
[   28.612118] ==ft5x0x_ts_interrupt =
[   28.615558] ==ft5x0x_ts_pen_work =
turn o.621459] ==ft5x0x_ts_interrupt =
[   28.624899] ==ft5x0x_ts_pen_work =
[   28.630617] ==ft5x0x_ts_interrupt =
[   28.634(741):=ft5x0x_ts_pen_work =
[   28.639956] ==ft5x0x_ts_interrupt =
[   28.643395] ==ft5x0x_ts_pen_work =
s.gmal.649129] ==ft5x0x_ts_interrupt =
[   28.652575] ==ft5x0x_ts_pen_work =
[   28.658057] ==ft5x0x_ts_in18656]t =
[   28.661491] ==ft5x0x_ts_pen_work =

[   .1.3987] ==ft5x0x_ts_interrupt =
[   39.712594] ==ft5x0x_ts_pen_work =
[   39.718555] ==ft5x0x_ts_interrupt =
[   39.722104] ==ftnterrus_pen_work =
[   39.727715] ==ft5x0x_ts_interrupt =
[   39.731149] ==ft5x0x_ts_pen_work =
[   39.736887] ==ft5x0x_ts_interrupt =
[   39.740******=ft5x0x_ts_pen_work =
[   39.746242] ==ft5x0x_ts_interrupt =
[   39.749684] ==ft5x0x_ts_pen_work =
[   39.755408] ==ft5x0xCTED
nterrupt =
[   39.758848] ==ft5x0x_ts_pen_work =
[   39.764753] ==ft5x0x_ts_interrupt =
[   39.768189] ==ft5x0x_ts_pen_work =
[   39.773924] ==ft5x0x_battererrupt =
[   39.777405] ==ft5x0x_ts_pen_work =
[   39.783239] ==ft5x0x_ts_interrupt =
[   39.786711] ==ft5x0x_ts_p   17.k =
[   39.792441] ==ft5x0x_ts_interrupt =
[   39.795913] ==ft5x0x_ts_pen_work =
[   39.801800] ==ft5xcore_ainterrupt =
[   39.805260] ==ft5x0x_ts_pen_work =
[   39.810949] ==ft5x0x_ts_interrupt =
[   39.814445] adj 3 0x_ts_pen_work =
[   39.820306] ==ft5x0x_ts_interrupt =
[   39.823761] ==ft5x0x_ts_pen_work =
[   39.829489] ==ft5xoom_a_interrupt =
[   39.832947] ==ft5x0x_ts_pen_work =
[   39.838826] ==ft5x0x_ts_interrupt =
[   39.842259] ==ft5x0x_ts_pen_work00:00   39.847992] ==ft5x0x_ts_interrupt =
[   39.851452] ==ft5x0x_ts_pen_work =
[   39.857340] ==ft5x0x_ts_in
[   t =
[   39.860774] ==ft5x0x_ts_pen_work =
[   39.866504] ==ft5x0x_ts_interrupt =
[   39.869960] ==ft5x0x_ts_pen_work =
.67865.875849] ==ft5x0x_ts_interrupt =
[   39.879280] ==ft5x0x_ts_pen_work =
[   39.885006] ==ftdata ms_interrupt =
[   39.888448] ==ft5x0x_ts_pen_work =
[   39.894364] ==ft5x0x_ts_interrupt =
[   39.897798] ==r:vold_ts_pen_work =
[   39.903525] ==ft5x0x_ts_interrupt =
[   39.906983] ==ft5x0x_ts_pen_work =
[   39.9on den ==ft5x0x_ts_interrupt =
[   39.916304] ==ft5x0x_ts_pen_work =
[   39.922038] ==ft5x0x_ts_interrupt =
[   39.925488]p: perx0x_ts_pen_work =
[   39.931390] ==ft5x0x_ts_interrupt =
[   39.934850] ==ft5x0x_ts_pen_work =
uid:1.940564] ==ft5x0x_ts_interrupt =
[   39.944028] ==ft5x0x_ts_pen_work =
[   39.949883] ==ft5x0x_ts_interrupt =
[   39  20.30] ==ft5x0x_ts_pen_work =
[   39.959048] ==ft5x0x_ts_interrupt =
[   39.962499] ==ft5x0x_ts_pen_work =
[   39.968403] ==ft5x0x_ts_interrupt =
[ tool2.71857] ==ft5x0x_ts_pen_work =
[   39.977550] ==ft5x0x_ts_interrupt =
[   39.980995] ==ft5x0x_ts_pen_work =
rmissi.986893] ==ft5x0x_ts_interrupt =
[   39.990323] ==ft5x0x_ts_pen_work =
[   39.996082] ==ft5x0x_ts_interrupt =
[   39.999517ta/dat5x0x_ts_pen_work =
[   40.005423] ==ft5x0x_ts_interrupt =
[   40.008852] ==ft5x0x_ts_pen_work =
:s0 tc.014599] ==ft5x0x_ts_interrupt =
[   40.018033] ==ft5x0x_ts_pen_work =
[   40.023906] ==ft5x0x_ts_interrupt =
[] ==ft027335] ==ft5x0x_ts_pen_work =
[   40.033101] ==ft5x0x_ts_interrupt =
[   40.036538] ==ft5x0x_ts_pen_work =
[   40.042425s_inte5x0x_ts_interrupt =
[   40.045853] ==ft5x0x_ts_pen_work =
[   40.051617] ==ft5x0x_ts_interrupt =
[   40.055052] ==ft5x0x_=
[ n_work =
[   40.060953] ==ft5x0x_ts_interrupt =
[   40.064380] ==ft5x0x_ts_pen_work =
[   40.070107s_inte5x0x_ts_interrupt =
[   40.073541] ==ft5x0x_ts_pen_work =
[   40.079430] ==ft5x0x_ts_interrupt =
[   40.082857]_pen_wx0x_ts_pen_work =
[   40.088598] ==ft5x0x_ts_interrupt =
[   40.092050] ==ft5x0x_ts_pen_work =
[   40.097957s_inte5x0x_ts_interrupt =
[   40.101393] ==ft5x0x_ts_pen_work =
[   40.107121] ==ft5x0x_ts_interrupt =
[   40.110569] ==ft5x0x_ts_pen 28.5 =
[   40.116466] ==ft5x0x_ts_interrupt =
[   40.119907] ==ft5x0x_ts_pen_work =
6] ==f.125614] ==ft5x0x_ts_interrupt =
[   40.129063] ==ft5x0x_ts_pen_work =
[   40.134965] ==ft5x0x_ts_interrupt =
[   40.138400] ==ft5x0x_ts_pen_work =
9] ==f.144121] ==ft5x0x_ts_interrupt =
[   40.147547] ==ft5x0x_ts_pen_work =
[   40.153446] interr0x_ts_interrupt =
[   40.156874] ==ft5x0x_ts_pen_work =
[   40.161992] ==ft5x0x_ts_interrupt =
[   40.165430] ==ft5x0x_ts_pen_work =
9] ==f.202002] healthd: battery l=50 v=3 ] ==fth=2 st=3 chg=au
=
[  
回复

使用道具 举报

620

积分

0

威望

0

贡献

技术大神

Rank: 3Rank: 3

积分
620
发表于 2017-3-28 11:36:07        只看该作者  29#
werren 发表于 2017-3-25 23:10
有中断,也有数据。
我觉得跟中断事件或者坐标转换有关,可能楼主给的ts.c中哪里还需要转换,我还不得要 ...

在probe里上__set_bit(INPUT_PROP_DIRECT, ft5x0x_ts->input_dev->propbit);这个是改一指点无效的。
回复

使用道具 举报

119

积分

0

威望

0

贡献

技术小白

积分
119
发表于 2017-3-28 17:33:45        只看该作者  30#
xueyuking 发表于 2017-3-28 11:36
在probe里上__set_bit(INPUT_PROP_DIRECT, ft5x0x_ts->input_dev->propbit);这个是改一指点无效的。

感谢回复,已解决!
回复

使用道具 举报

返回列表
12345... 9
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

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