很抱歉,从您提供的一切信息我看不出有什么问题,这里是一份测试屏幕的程序,您可以尝试解压后发送到luckfox pico上运行一下,在运行后点击屏幕就可以进入触摸测试画面。
usb设置为host模式后RGB屏幕不能正常显示
请问解决了吗?sml008 wrote: ↑2024-09-26 5:48[root@luckfox root]# evtest
No device specified, trying to scan all of /dev/input/event*
Available devices:
/dev/input/event0: Goodix Capacitive TouchScreen
/dev/input/event1: adc-keys
Select the device event number [0-1]: 0
Input driver version is 1.0.1
Input device ID: bus 0x18 vendor 0x416 product 0x38f version 0x1060
Input device name: "Goodix Capacitive TouchScreen"
Supported events:
Event type 0 (EV_SYN)
[root@luckfox root]# i2cdetect -y 3
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- UU -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --
[root@luckfox smltest]# hexdump /dev/input/event0
0000000 6287 5fef 4dab 0004 0003 002f 0000 0000
0000010 6287 5fef 4dab 0004 0003 0039 005e 0000
0000020 6287 5fef 4dab 0004 0003 0035 0091 0000
0000030 6287 5fef 4dab 0004 0003 0036 0056 0000
0000040 6287 5fef 4dab 0004 0003 0030 0014 0000
0000050 6287 5fef 4dab 0004 0003 0032 0014 0000
[root@luckfox root]# cat /sys/devices/platform/ff3e0000.usb2-phy/otg_mode
peripheral
LVGL的示例程序 是在正常运行的:cpu使用率在变化,时钟也在走。
[root@luckfox lvgl]# ./luckfox_lvgl_demo
Mode 0: 480x480 @ 60Hz
就是触摸按键没有反应