Closed kyngs closed 4 months ago
After about 1000 seconds it seems like it started to complain about I2C issues:
[ 2656.824823] i2c-bcm2835 fe205000.i2c: i2c transfer timed out
[ 2656.824844] edt_ft5x06 10-0038: Unable to fetch data, error: -110
[ 2656.825214] edt_ft5x06 10-0038: Unable to fetch data, error: -5
[ 2659.886729] edt_ft5x06 10-0038: Unable to fetch data, error: -5
[ 2660.817678] edt_ft5x06 10-0038: Unable to fetch data, error: -5
[ 2661.944847] i2c-bcm2835 fe205000.i2c: i2c transfer timed out
[ 2661.944868] edt_ft5x06 10-0038: Unable to fetch data, error: -110
[ 2661.945238] edt_ft5x06 10-0038: Unable to fetch data, error: -5
At that moment, my camera also stopped working. However, (from my understanding) this shouldn't happen as it should work together with the imx477 driver, right?
The vc4-kms-dsi-7inch overlay is written to work with the Raspberry Pi 7" panel. Whether it works with clones of that panel is down to the implementer of the clone, not with Raspberry Pi. The cloner is welcome to submit an overlay/driver for their panel if it does something different.
The edt_ft5x06 driver is written to work with EDT FT5x06 family of touchscreen controllers.
I suspect that Waveshare have done the same as DF Robot did in their panels and have a different touch controller on the panel with a microcontroller acting as a protocol translator. DF Robot emulated the bits of the FT5x06 protocol that the firmware happened to use. The kernel edt_ft5x06 driver uses some other commands within the FT5x06 protocol definition and they hadn't emulated them, hence it doesn't work. There was discussion over this on one of the mainline Linux mailing lists over this. https://lore.kernel.org/all/CAJ+vNU3ZQy2SodE0sxiep-FaSUc4ugGK5BkZxowJF79tZ9iTpA@mail.gmail.com/T/ looks to be the link. It was followed up by https://www.spinics.net/lists/linux-input/msg75981.html being created as an RFC. I don't believe it was ever merged or taken further.
Support for third party products needs to come from the third party, not Raspberry Pi. Waveshare should be your first point of contact.
Describe the bug
Hi, I'm having issues getting my Waveshare 4.3" touchscreen to work properly. It appears that the correct driver (
edt_ft5x06
) does get loaded and even registers an input (in my case/dev/input/event2
), however, when I attachevtest
to the input and try to interact with the touchscreen, nothing happens. It almost behaves as if the touchscreen was broken, however, that is not the case as using the legacydtoverlay=rpi-ft5406
works flawlessly. Unfortunately, I cannot userpi-ft5406
as it doesn't work together with libcamera due to SPI conflictsSteps to reproduce the behaviour
evtest
to verify whether the touchscreen worksDevice (s)
Raspberry Pi 4 Mod. B
System
Raspberry Pi reference 2022-09-22 Generated using pi-gen, https://github.com/RPi-Distro/pi-gen, 8a42abcd1dbd8c9c1fdfca4e0c3778255b2f9cc4, stage2
Mar 17 2023 10:51:33 Copyright (c) 2012 Broadcom version 82f3750a65fadae9a38077e3c2e217ad158c8d54 (clean) (release) (start_x)
Linux milada 6.1.21-v7l+ #1642 SMP Mon Apr 3 17:22:30 BST 2023 armv7l GNU/Linux (I can also reproduce this on the latest stable kernel)
Logs
Additional context
Here's my whole /boot/config.txt in case you find it relevant: