-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
i2c_designware: controller timed out when DSI LCD is plugged in #5988
Comments
You already have a discussion going on the forums over this - https://forums.raspberrypi.com/viewtopic.php?t=366281. Please don't duplicate issues between the forums and Github, and certainly not without providing a link to the other discussion, otherwise you just waste other people's time. |
Problem is fixed when Linux kernel is downgraded to 6.1.63 (official Bookworm kernel version that worked). I guess the fixes in i2c_designware that was introduced after 6.1.63 doesn't really get along with some of the devices. |
I encountered the same issue as you, and when I ran the fix by @pelwell, the problem was perfectly resolved: You can install a trial, beta kernel containing the fix by running sudo rpi-update pulls/6050. Take care to back up any important data in your image before updating in case there is a regression." |
Describe the bug
Hi,
I am working on a Yocto-based distro where I want to interface Pi 5 with Waveshare DSI 4.3 inch display. (Rev 2.1)
Unfortunately, so far wasn't able to get past the following backlight problem and somehow i2c controller looks timed out when I plug the module in:
It seems based on logs that at least DSI panel is recognized but this backlight / i2c_designware is the issue.
Since I dont have much Pi 5 specific knowledge I wanted to ask about you guys' opinions. What do you think the problem might be? I didn't try this in the default Raspbian OS but Waveshare website says it works with Pi 5.
DSI LCD seem to work on Bookworm (6.1.63), but when I compile kernel from here (6.1.74 or 6.1.77) it just doesn't work on a custom kernel. I am forgetting something for sure.
I would really appreciate if people with the knowledge could help here. Thanks in advance.
Steps to reproduce the behaviour
I am compiling raspberrypi kernel 6.1.77 from rpi-6.1.y branch where the last commits is with hash afd5f65.
Plugging in Waveshare DSI 4.3 Capacitive to the DSI1.
and set the following config:
Device (s)
Raspberry Pi 5
System
raspberrypi kernel 6.1.77 from rpi-6.1.y branch where the last commits is with hash afd5f65.
Yocto-based custom distro
Linux raspberrypi5_custom 6.1.77-v8-16k #1 SMP PREEMPT Tue Feb 20 18:18:05 UTC 2024 aarch64 GNU/Linux
Logs
Here is the output of raspinfo (some of it):
Here is the output from i2cdetect -y 4 where DSI1 i2c should be:
Here are some extra kernel config options I am enabling:
Here is output from xrandr:
lsmod when the problem occurs:
lsmod from Bookworm when it actually works:
Additional context
No response
The text was updated successfully, but these errors were encountered: