-
Notifications
You must be signed in to change notification settings - Fork 1
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
Official Raspberry Pi 7" Touchscreen Display (v1.1) -- Touch Does Not Work with Bookworm on RPi4 (32-bit or 64-bit) #330
Comments
I've just tested this myself, and it all seems to be working fine "out of the box". Can you please confirm that you're using totally out-of-the box settings on a freshly-written image of the 2024-11-19 version of Raspberry Pi OS? Can you also confirm exactly what hardware you have attached to your Raspberry Pi 4? EDIT: Forgot to mention, but I was using Bookworm. |
Thanks for the quick reply! Before I go through and do this again... I noticed that you mentioned a "Touch Display 1". When I look at the picture of the board in your link, it reads "Raspberry Pi Display v1.0". Mine reads "Raspberry Pi Display v1.1". Is that difference significant enough to be relevant here? |
No, lurch is distinguishing between the 800x480 https://www.raspberrypi.com/products/raspberry-pi-touch-display/ vs the new 720x1280 https://www.raspberrypi.com/products/touch-display-2/ Please check the kernel logs for any errors ( |
Ok, I just gave it all another shot with no improvement unfortunately. I downloaded and "burned" the latest version of Bookwork 64-bit (2024-11-19) via the Raspberry Pi Imager via a Windows PC onto the microSD card. I was previously using customization settings. This time I clicked "No" and went absolutely "stock". I did connect a USB keyboard this time, but I could not quickly locate a wired-mouse (I'm not sure I even own one anymore). The keyboard did allow me to get through the setup wizard. Still no touch response even once the wizard completed. No additional hardware is installed on the Pi other than the USB keyboard and the Touch Display 1 (powered via the two wires from the Pi's GPIO header). I manually setup WiFi after the initial setup wizard, so I have nothing connected to the Ethernet jack either. I then enabled SSH and ran Just to leave no stone unturned, I ran I would start to think that this is a hardware issue, except that I was able to make the display work completely yesterday using Buster, and "sort-of" work in Bookworm. Full dmesg output attached. Do you guys see any smoking guns here? |
I'll have to check my own
I also see that your "Logitech G510s Gaming Keyboard" is appearing as multiple input devices, which might make investigating this trickier. Could you please disconnect that keyboard and post the |
Yeah, sorry about that. It has a mic and headphone jack on the keyboard. I've removed it entirely and attached here is the updated |
For some reason the kernel has failed to communicate with the touch controller. Could you try running |
This worked! Single tap, double-tap, and tap-and-hold are all working correctly on the desktop interface. Definitely a step in the right direction here. |
Just for the sake of comparison, here's the |
There's a report of a touch panel not being identified correctly, but unloading and reloading the module brings it to life. About the only thing this can be is that it hasn't come out of reset properly, so extend that delay. raspberrypi/bookworm-feedback#330 Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
As I've said, the driver delays by the documented time between having set the reset GPIO before trying to talk over I2C to the touch controller. https://www.displayfuture.com/Display/datasheet/controller/FT5x06.pdf figure 3-8 shows Tpon, which is then listed as 300ms in table 3-5. I've made a quick patch that extends that delay and see whether that helps in your case - raspberrypi/linux#6515 |
Interestingly, that patch did not appear to help ( |
Just to double-check, can you please report the output of |
I do still receive that same probe failure message in dmesg. In addition, there's also Edit: Nvm to the second log entry regarding the dummy regulator. I see that's in your dmesg, too. |
I did re-flash the bootloader back to the "factory default" version, power cycled a few times (both soft and hard), and then flashed again with |
On a fresh install of the latest Bookworm image from the Raspberry Pi Imager (default config.txt settings), the 7" official display works just fine as a monitor, but touch input is completely unrecognized. If I edit the config.txt to use the fkms driver rather then the kms driver, the touch input is acknowledged by the desktop interface, but the "click" action is not recognized.
apt update && apt full-upgrade
andrpi-update
have not changed this behavior. I have tried this on both the latest 32-bit Bookworm image and the latest 64-bit Bookworm image.Installing the "legacy" Bullseye images also results in the same default behavior. With Bullseye, changing the driver to fkms allows for a fully-functional touchscreen (the "click" action is recognized), unlike for Bookworm.
If I instead install the latest Buster image, the touchscreen functions as expected.
I have a vague understanding that the graphics stack has undergone change over the past few years in an effort to move away from x11, and it appears that (at least on a RPi4), that the driver that is currently packaged in Bookworm loads the LCD display properly, but not the edt-ft5x06 driver.
I'm happy to provide any logs or other troubleshooting information. Thanks in advance for any help!
The text was updated successfully, but these errors were encountered: