pimoroni / hyperpixel4

Driver for the Pimoroni HyperPixel 4.0" Touchscreen Display
https://shop.pimoroni.com/products/hyperpixel-4?variant=12569485443155
329 stars 47 forks source link

Square - Instructions for Raspberry pi Zero 2 W #217

Open Hangman228 opened 4 months ago

Hangman228 commented 4 months ago

I had few problems with my HyperPixel 4 Square on my raspberry pi zero 2 W so here is the instructions to get it works :

Yannick-hildenbrand commented 4 months ago

So far I know, RPI Zero W is a single core 32-bit processor, that does not support the 64-bit version of RPI OS. Therefore, I wonder how you installed the 64-bit version, which is in theory not compatible (I'd like to live in theory, because in theory, everything works ^^). Additionnally, there are two hardware releases for the square display. The "old" one, before 2021 that, (according to Pimironi product page) does not work with the new drivers (after debian Buster), and the new one (marked "Hyperpixel XP" - see https://shop.pimoroni.com/products/hyperpixel-4-square?variant=30138251444307) that is compatible. From my POV, early hyperpixel HW variants cannot run under Bullseye or Bookworm versions. I finally installed the latest Buster version from the archive, 32-bit, combined with the legacy drivers (curl -sSL https://get.pimoroni.com/hyperpixel4-legacy | bash).

This is the only combination that worked for me.

If you have an old display (2019 in my case), follow the steps below:

This was the key for me.

This is not completely satisfying. I'd prefer an up to date configuration that works with the new drivers, but haven't found an answer to this, despite my searches on the web.

If someone has a better solution with the latest RPI OS versions, please let me know :)

Hope this helps !

Cheers.

Yannick.

Hangman228 commented 4 months ago

My bad, I wanted to write "Raspberry Pi Zero 2W"... didn't try on old raspberry pi zero W.... I will modify my post