野火电子论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 201|回复: 12

[求助] 鲁班猫3接5.5寸1080P的MIPI屏能显示但是触摸没反应

[复制链接]
发表于 2025-12-5 23:27:03 | 显示全部楼层 |阅读模式
鲁班猫3的8+64款,MIPI DSI LCD口接的5.5寸1080P的MIPI屏,能正常点亮,但是触摸没反应,刷的2025-07-08-rk3576_lubancat_3_mipi1080p.7z镜像,有没有大神指点迷津?谢谢!

[url=]图片[/url]
微信图片_20251205232157_38_136.jpg
回复

使用道具 举报

发表于 6 天前 | 显示全部楼层
是野火的5.5寸屏幕吗,还是自己适配的屏幕
回复 支持 反对

使用道具 举报

发表于 6 天前 | 显示全部楼层
如果是自己的屏幕,确认触摸ic,然后确认内核有对应驱动并开启,没有驱动就要移植,最后修改对应的设备树就行
回复 支持 反对

使用道具 举报

 楼主| 发表于 6 天前 | 显示全部楼层
おおおじ。 发表于 2025-12-8 09:05
是野火的5.5寸屏幕吗,还是自己适配的屏幕

买的别的淘宝店的 给的资料里显示用的是 液晶屏:HX8399C + 触摸:GT911 说是和 野火5.5寸MIPI芯片参数一样
回复 支持 反对

使用道具 举报

 楼主| 发表于 6 天前 | 显示全部楼层
おおおじ。 发表于 2025-12-8 09:06
如果是自己的屏幕,确认触摸ic,然后确认内核有对应驱动并开启,没有驱动就要移植,最后修改对应的设备树就 ...

刚开始学 能说下“确认触摸ic,然后确认内核有对应驱动并开启,没有驱动就要移植,最后修改对应的设备树”的操作步骤么?谢谢!
回复 支持 反对

使用道具 举报

发表于 6 天前 | 显示全部楼层
野火的屏幕触摸芯片也是gt911,理论上接上去是可以用,adb shell 执行下i2cdetect -a 2 看下有没有5d或者14地址下有设备,也执行下dmesg | grep Goodix看下内核有没有对应信息打印
回复 支持 反对

使用道具 举报

 楼主| 发表于 6 天前 | 显示全部楼层
おおおじ。 发表于 2025-12-8 09:50
野火的屏幕触摸芯片也是gt911,理论上接上去是可以用,adb shell 执行下i2cdetect -a 2 看下有没有5d或者14 ...
  1. Microsoft Windows [版本 10.0.19045.3086]
  2. (c) Microsoft Corporation。保留所有权利。

  3. C:\Users\Administrator>adb devices
  4. List of devices attached
  5. 73740e12        device
  6. ec05c820e0d2cba7        device


  7. C:\Users\Administrator>adb -s ec05c820e0d2cba7 shell
  8. rk3576_lubancat_3_mipi1080p:/ $
  9. rk3576_lubancat_3_mipi1080p:/ $
  10. rk3576_lubancat_3_mipi1080p:/ $ i2cdetect -a 2
  11. Probe chips 0x00-0x7f on bus 2? (Y/n):y
  12. i2cdetect: /dev/i2c-2: Permission denied
  13. 1|rk3576_lubancat_3_mipi1080p:/ $ dmesg | grep Goodix
  14. [    2.995799] [    T1] Goodix-TS 2-005d: supply AVDD28 not found, using dummy regulator
  15. [    2.995873] [    T1] Goodix-TS 2-005d: supply VDDIO not found, using dummy regulator
  16. [    3.095774] [    T1] Goodix-TS 2-005d: ID 911, version: 1060
  17. [    3.095853] [  T101] Goodix-TS 2-005d: Direct firmware load for goodix_911_cfg.bin failed with error -2
  18. [    3.113335] [  T101] Goodix-TS 2-005d: No touchscreen properties in eeprom, using defaults
  19. [    3.113424] [  T101] input: Goodix Capacitive TouchScreen as /devices/platform/2ac50000.i2c/i2c-2/2-005d/input/input2
  20. rk3576_lubancat_3_mipi1080p:/ $
复制代码


回复 支持 反对

使用道具 举报

 楼主| 发表于 5 天前 | 显示全部楼层
おおおじ。 发表于 2025-12-8 09:50
野火的屏幕触摸芯片也是gt911,理论上接上去是可以用,adb shell 执行下i2cdetect -a 2 看下有没有5d或者14 ...
  1. Microsoft Windows [版本 10.0.19045.3086]
  2. (c) Microsoft Corporation。保留所有权利。

  3. C:\Users\Administrator>adb devices
  4. List of devices attached
  5. 73740e12        device
  6. ec05c820e0d2cba7        device


  7. C:\Users\Administrator>adb -s ec05c820e0d2cba7 shell
  8. rk3576_lubancat_3_mipi1080p:/ $ su
  9. rk3576_lubancat_3_mipi1080p:/ # i2cdetect -a 2
  10. Probe chips 0x00-0x7f on bus 2? (Y/n):y
  11.      0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
  12. 00: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
  13. 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
  14. 20: -- -- UU -- -- -- -- -- -- -- -- -- -- -- -- --
  15. 30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
  16. 40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
  17. 50: -- 51 -- -- -- -- -- -- -- -- -- -- -- UU -- --
  18. 60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
  19. 70: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
  20. rk3576_lubancat_3_mipi1080p:/ # dmesg | grep Goodix
  21. [    3.040057] Goodix-TS 2-005d: supply AVDD28 not found, using dummy regulator
  22. [    3.040128] Goodix-TS 2-005d: supply VDDIO not found, using dummy regulator
  23. [    3.138224] Goodix-TS 2-005d: ID 911, version: 1060
  24. [    3.138873] Goodix-TS 2-005d: Direct firmware load for goodix_911_cfg.bin failed with error -2
  25. [    3.156357] Goodix-TS 2-005d: No touchscreen properties in eeprom, using defaults
  26. [    3.156451] input: Goodix Capacitive TouchScreen as /devices/platform/2ac50000.i2c/i2c-2/2-005d/input/input2
  27. rk3576_lubancat_3_mipi1080p:/ #
复制代码
回复 支持 反对

使用道具 举报

发表于 5 天前 | 显示全部楼层
看着日志也没问题,驱动也匹配了

adb shell执行getevent 然后选择Goodix的事件编号,再点击屏幕看有没有事件上报
回复 支持 反对

使用道具 举报

发表于 5 天前 | 显示全部楼层
也可以去淘宝找技术支持看一下
回复 支持 反对

使用道具 举报

 楼主| 发表于 5 天前 | 显示全部楼层
おおおじ。 发表于 2025-12-9 09:23
看着日志也没问题,驱动也匹配了

adb shell执行getevent 然后选择Goodix的事件编号,再点击屏幕看有没有事 ...

没有触摸屏的event上报,用表量了下MIPI DSI LCD接口和触摸有关的电压,12PIN CTP_RST是1.092V,11PIN CTP_INT几乎为零,手指按上屏幕后能到0.1xV,怀疑有脉冲信号,但是没示波器确认不了。
  1. C:\Users\Administrator>adb -s ec05c820e0d2cba7 shell
  2. rk3576_lubancat_3_mipi1080p:/ $ i2cdetect -a 2
  3. Probe chips 0x00-0x7f on bus 2? (Y/n):y
  4. i2cdetect: /dev/i2c-2: Permission denied
  5. 1|rk3576_lubancat_3_mipi1080p:/ $ su
  6. rk3576_lubancat_3_mipi1080p:/ # i2cdetect -a 2
  7. Probe chips 0x00-0x7f on bus 2? (Y/n):y
  8.      0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
  9. 00: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
  10. 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
  11. 20: -- -- UU -- -- -- -- -- -- -- -- -- -- -- -- --
  12. 30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
  13. 40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
  14. 50: -- 51 -- -- -- -- -- -- -- -- -- -- -- UU -- --
  15. 60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
  16. 70: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
  17. rk3576_lubancat_3_mipi1080p:/ # dmesg | grep Goodix
  18. [    2.851444] Goodix-TS 2-005d: supply AVDD28 not found, using dummy regulator
  19. [    2.851513] Goodix-TS 2-005d: supply VDDIO not found, using dummy regulator
  20. [    2.949372] Goodix-TS 2-005d: ID 911, version: 1060
  21. [    2.950019] Goodix-TS 2-005d: Direct firmware load for goodix_911_cfg.bin failed with error -2
  22. [    2.967503] Goodix-TS 2-005d: No touchscreen properties in eeprom, using defaults
  23. [    2.967596] input: Goodix Capacitive TouchScreen as /devices/platform/2ac50000.i2c/i2c-2/2-005d/input/input2
  24. rk3576_lubancat_3_mipi1080p:/ # getevent
  25. add device 1: /dev/input/event4
  26.   name:     "rockchip-es8388 Headset"
  27. add device 2: /dev/input/event6
  28.   name:     "adc-keys"
  29. add device 3: /dev/input/event3
  30.   name:     "headset-keys"
  31. add device 4: /dev/input/event0
  32.   name:     "27330000.pwm"
  33. add device 5: /dev/input/event1
  34.   name:     "rk805 pwrkey"
  35. add device 6: /dev/input/event5
  36.   name:     "SIGMACHIP Usb Mouse"
  37. add device 7: /dev/input/event2
  38.   name:     "Goodix Capacitive TouchScreen"
  39. /dev/input/event6: 0001 0074 00000001
  40. /dev/input/event6: 0000 0000 00000000
  41. /dev/input/event6: 0001 0074 00000000
  42. /dev/input/event6: 0000 0000 00000000
  43. /dev/input/event1: 0001 0074 00000001
  44. /dev/input/event1: 0000 0000 00000000
  45. /dev/input/event1: 0001 0074 00000000
  46. /dev/input/event1: 0000 0000 00000000
复制代码
回复 支持 反对

使用道具 举报

发表于 4 天前 | 显示全部楼层
moneng 发表于 2025-12-9 21:37
没有触摸屏的event上报,用表量了下MIPI DSI LCD接口和触摸有关的电压,12PIN CTP_RST是1.092V,11PIN CT ...

event2不就是触摸中断事件么,输入evtest去检测一下这个event然后触摸看看有没有中断事件返回。
回复 支持 反对

使用道具 举报

 楼主| 发表于 4 天前 | 显示全部楼层
触摸功能无效的问题解决了,在这里大致总结一下:
用鲁班猫3跑Android MIPI的镜像,外接淘宝上的“正点原子野火通用”MIPI屏,屏幕能亮,触摸无反应;
测量TP_RST和TP_INT发现TP_RST电压1.0xV,TP_INT电平一直低;
对比野火/正点原子/正点原子野火通用三种屏的原理图,发现野火的屏是在TP_RST上加了RC上电初始化电路,在TP_INT上加了上拉,而正点原子/正点原子野火的这两个引脚未做外部上下拉;
所以推测野火的触摸驱动中,TP_RST是开漏输出,TP_INT是浮空输入,如修改驱动应该也能实现触摸功能,但是我用的是修改电路的方法,补焊了上拉电阻和RC复位电路,触摸功能就正常了;
如果后面熟悉了开发流程后可能会尝试使用TP_RST推挽输出TP_INT上拉输入的方式试试。
回复 支持 反对

使用道具 举报

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

本版积分规则

联系站长|手机版|野火电子官网|野火淘宝店铺|野火电子论坛 ( 粤ICP备14069197号 ) 大学生ARM嵌入式2群

GMT+8, 2025-12-14 15:18 , Processed in 0.191696 second(s), 29 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表