RPI 3.5 Inch Display with XPT2046 Touch Controller

I’m trying to use this Display in my Rock 4B+ but it turns out, when installing the driver found on the same site, it calls to routines only available for Raspberry OS’es. I’ve tried the same task on Arch, Kali and Debian 11, but i keep getting the same response: Unable to make changes or file not found, which, makes sense as “raspi-config” is not available for Rock.

Does someone found a workaround for this problem? i’d like to not only have exclusive output via the display BUT have the same output on the HDMI port too just in case, i need a bigger display. Hope someone knows the answer or at least, guide me into crafting a new driver. Thanks

Uploading 2 photos of my SBC and the LCD:


Hi @XarlesEHeat, you need enable compatible Overlay, such as:

And you need to use Radxa Utils Rsetup to enable it.

Hello Nasca.

Finally i can sit with my board for a few days, so i enabled Waveshare C overlay, and now, touch function works, but display only shows umm… “something weird”

If i hold my finger on the display, each line will fill up with that “red pattern”

At least, it’s something, but i guess there’s something left to do, right?

But as said, at least, if i touch the display, my mouse cursor moves reacting the touch

please send me the fllowing cmd log :

sudo dmesg | grep spi1

This is the result. Not really sure mine have that chipset?

Edit: Okay, so i followed my instincts, and i tried to fit what I do think its the correct driver, called “TFT35a overlay.dtb” but i think i have a missing step, because rsetup, doesn’t thinks this “driver” is recognizable, maybe i’m leaving something behind, maybe i just only need to change name to fit along with the rest of the files in the folder

it seems works well.

please follow this guide to config display and touch.

That didn’t worked and on top, damaged my system to the point it doesnt boots anymore. right now, i’m trying to fix it using a Debian VM

let me see the file /etc/X11/xorg.conf.d/20-modesetting.conf

fixed it deleting the “new” and going back to the backup

Edit: fb1 is the correct framebuffer as fb0 is HDMI. Remember i’d like to have both outputs at the same time. My project is about a portable PC, so i’d use the display as main, and the HDMI output at certain times i need full control in a desktop

I also added the “touch configuration” file by the side of this one. That works

I’ve never tried to display spi lcd and hdmi at the same time before. What happens if you add that fb1 to the original file?
I mean two Screen and two Device.

I don’t really know yet, first i need to fix the display and when i have video there, i will make a few backups and try new stuff, when i learn how these work, i’ll try to improve it