-
Notifications
You must be signed in to change notification settings - Fork 5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
kernel 6.1.53-v8+ broke official 7'' touchscreen #5619
Comments
Do you have a Last Known Good kernel version? |
I was using something like 6.1.3x, and it was all good. I can try to pinpoint at least the minor version which broke. Do you happen to know how to use rpi-update to make it install older kernel versions? |
I see that 6.1.21 is working - I'll bisect from there. |
6.1.21 is definitely working, indeed, as available via the apt repository (from Raspberry OS) or from the official Raspberry OS images. |
for the reference, my config.txt:
|
Fix the touchscreen. See: raspberrypi#5619 Signed-off-by: Phil Elwell <[email protected]>
This is caused by vc4-kms-dsi-7inch overlay, which got damaged between 6.1.47 and 6.1.48, when the support for i2c_csi_dsi0 was added, by the addition of another level of fragment merging. Fragments should be thought of as being merged in order, where the order is the order in which they appear in the file, not by the numerical ordering of the fragments. However, the firmware and other overlay tools have an additional rule saying that fragments that patch things within the overlay ("intra" fragments) should be merged before fragments which patch the base DTB ("extra" fragments). What they can't do is detect and correctly order a chain of patches. In this case, fragment 5 patched fragment 12, fragment 12 patched fragment 13, and fragment 13 patched the base DTB - which sounds OK written like that, but not when fragment 5 appears after fragment 13 in the file. At the point the overlay is applied, the intra fragments get merged first, with 12 patching 13 and 5 patching 12 in that order, so the contributions from fragment 5 - Combining fragments 12 and 13 removes the extra level of dependency, and the disabling of fragment 12 can be replaced by setting its #5622 is my proposed solution. If you wait about an hour until the build checks complete you'll be able to run |
[ Previous description updated to correct a few errors ] |
I will test ASAP. Thanks a lot! |
Tested and confirmed it works! Yay! |
Fix the touchscreen. See: #5619 Signed-off-by: Phil Elwell <[email protected]>
Thanks - that patch will be in all future kernel builds. |
Hey , thank you for following the issue, been waiting for over a week for a solution, can you help me how to apply the fix please |
Apply it to what? If you are building your own kernel then just clone this repo and you'll get the fix. If you just want to install a kernel with the fix run |
Yay! @pelwell, can we close the issue? |
still experiencing this on
RPI4B, Bookworm (PIOS Lite) 64Bit edit:
different error message though. I tested all the pins on the screen to the pi and they all had continuity... |
After running
|
|
Thanks - to me that shows that the overlay is doing what is should (both vcc-supply and reset-gpio are present). The fact that you are getting errors on the latest(ish) kernel and 6.1.21 suggest, while for other people it is working, suggests a hardware/wiring fault in your setup. |
does |
Yes - an I2C access is failing, i.e. a hardware problem. Error -121 is similar:
|
I'm chiming in with another unresponsive touchscreen. Same errors for me:
This Pi was running the bullseye image up until yesterday, and the touchscreen worked without issue. Once I booted bookworm, the touchscreen was unresponsive, and all attempts to revive it, including the aforementioned Edit: no vcc-supply or reset-gpio here for me.
|
I just tried this with a 32-bit Bookworm image running the latest stable kernel on a 4B:
Attaching only the display ribbon, 5V and GND, and making no configuration changes, it just works - I can click, double-click and drag. Relevant messages in the kernel log are:
Switching the same image and display over to a 3B+ I get the same result (just slower), although of course it's running the pre-Wayland lxpanel desktop:
|
(To install the latest stable kernel, run |
And hopefully this kind of error will be caught by the improved overlay checks. |
Touch Screen on 6.1.69-v8+ #1711 not working any help is appreciated. |
Describe the bug
The touchscreen was working flawless for years... until kernel 6.1.53 broke it.
[ 8.914075] edt_ft5x06 10-0038: supply vcc not found, using dummy regulator
[ 8.914404] edt_ft5x06 10-0038: supply iovcc not found, using dummy regulator
[ 8.915006] edt_ft5x06 10-0038: touchscreen probe failed
[ 8.915382] edt_ft5x06: probe of 10-0038 failed with error -5
More reports at:
https://forums.raspberrypi.com/viewtopic.php?t=356352
Steps to reproduce the behaviour
Just use a kernel 6.1.53 or newer ( 6.1.54 has the same problem).
Using Raspberry OS Bullseye 64 bit here.
Device (s)
Raspberry Pi 4 Mod. B
System
Raspberry Pi reference 2023-05-03
Generated using pi-gen, https://github.com/RPi-Distro/pi-gen, 7c750947a959fb626a70c09fd17c65815df192ac, stage2
Sep 21 2023 18:42:00
Copyright (c) 2012 Broadcom
version 3094eda5aadf2c719edd2c68d1900884abc3dbca (clean) (release) (start)
Linux blablabla 6.1.54-v8+ #1682 SMP PREEMPT Wed Sep 20 15:19:57 BST 2023 aarch64 GNU/Linux
Logs
[ 8.914075] edt_ft5x06 10-0038: supply vcc not found, using dummy regulator
[ 8.914404] edt_ft5x06 10-0038: supply iovcc not found, using dummy regulator
[ 8.915006] edt_ft5x06 10-0038: touchscreen probe failed
[ 8.915382] edt_ft5x06: probe of 10-0038 failed with error -5
Additional context
The text was updated successfully, but these errors were encountered: