Please note: Friday June 18 is a holiday celebrating Juneteenth, please allow extra time for your order to arrive and plan accordingly.
0

PiTFT 2.4 problem with touchscreen on Pi4
Moderators: adafruit_support_bill, adafruit

Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/
Please be positive and constructive with your questions and comments.

PiTFT 2.4 problem with touchscreen on Pi4

by illydone on Sun Apr 18, 2021 1:18 pm

Hi

The screen was perfectly working on Raspberry 3B+. The OS has been updated till the original install but not the configuration.

It is now essentially used as a console screen on a 4B /Raspbian lite, used as a nano laptop for shell, so I don't really need the touch fonctionnality for daily use.

First problem:
I switched to GUI on he Pi4, and the touch isn't working. I tried to reinstall pitft with the latest script, I also tried to manually load stmpe-ts, but touch isn't working. In dmesg, I get:
stmpe-spi spi 0.1: unknown chip id: 0x0
stmpe-spi: probe of spi 0.1 failed with error -22

The same SD card and the same screen on another Pi4B gives the same error.
The same SD card and the same screen back on a Pi3B+ is perfectly working.

The problem seems to be linked to the Pi4. Is it a know issue?

Second problem (not the most important):
I don't exactly remember how it was installed first, but I had the console very quickly during boot/shutdown and when I changed to desktop using raspi-config, I didn't have to change/reinstall anything about pitft and the UI was displayed in 320x240. It worked perfectly except touch.

After reinstalling yesterday with your latest python scripts, I have to choose between console or fbcp. If it starts in console, I never have access to the UI and keep stucked in console. If it starts in fbcp, the console appears but very lately and I don't have the boot/shutdown sequence. However, UI is starting.
What is the configuration to have both the console and the UI as it was the case before reinstalling pitft?

illydone
 
Posts: 7
Joined: Sun Apr 18, 2021 12:37 pm

Re: PiTFT 2.4 problem with touchscreen on Pi4

by adafruit2 on Mon Apr 19, 2021 1:06 pm

ok what if you turn off everything. wait a few minutes, then turn it back on?

adafruit2
Site Admin
 
Posts: 20054
Joined: Fri Mar 11, 2005 7:36 pm

Re: PiTFT 2.4 problem with touchscreen on Pi4

by illydone on Tue Apr 20, 2021 5:12 am

I just started the pi after 2 days off: no change. Still unknown chip id and error -22 and no touch link in /dev.

BTW, I tested several official Raspberry Pi power supplies with no change.

illydone
 
Posts: 7
Joined: Sun Apr 18, 2021 12:37 pm

Re: PiTFT 2.4 problem with touchscreen on Pi4

by illydone on Mon Apr 26, 2021 11:40 am

Anybody has an idea? Seems the touch screen is not compatible with pi4.

illydone
 
Posts: 7
Joined: Sun Apr 18, 2021 12:37 pm

Re: PiTFT 2.4 problem with touchscreen on Pi4

by adafruit2 on Mon Apr 26, 2021 10:48 pm

its so weird, it works fine on the Pi3 but not Pi4?

adafruit2
Site Admin
 
Posts: 20054
Joined: Fri Mar 11, 2005 7:36 pm

Re: PiTFT 2.4 problem with touchscreen on Pi4

by illydone on Tue Apr 27, 2021 6:32 am

You're right, same SD card/system/parameters.
Except the board, the only difference is the power supply (although I also tested with the Pi3 power supply and a USB C adapter).

illydone
 
Posts: 7
Joined: Sun Apr 18, 2021 12:37 pm

Re: PiTFT 2.4 problem with touchscreen on Pi4

by illydone on Wed Apr 28, 2021 2:27 am

Does anybody have tests I can make or parameters I can set?

illydone
 
Posts: 7
Joined: Sun Apr 18, 2021 12:37 pm

Please be positive and constructive with your questions and comments.