Hey guys, I spend some hours to figure out how to get the Hyperpixel 4 running with my Pi4.
Want to share my results to help the next ones with trouble to get this thing running.
So long story short I want to build this, but running repetier instead of Octoprint: https://www.prusaprinters.org/prints/69731-hyperpixel-4-touchscreen-lcd-raspberry-pi4-for-oct/files<br/><br/>Just to repeat what cosmith71 already descripbed
Install the HyperPixel 4 drivers:
curl
https://get.pimoroni.com/hyperpixel4 | bash
Choose option 2, Pi 4 with rectangular screen (changed with the latest update)
Yes when asked are you sure
Reboot
hyperpixel-rotate left
Ignore the error message.
sudo nano /boot/config.txt
Add [all] and display_lcd_rotate=3 so that the end of config.txt looks like this:
As well you need to make some other tweaks as well.
first kill dtoverlay=vc4-fkms-v3d with an # in the config.txt, this cause trouble.
then add also touchscreen-swapped-x-y, touchscreen-inverted-x, touchscreen-inverted-y based on your display orientation.
In my case it will look like this:
[pi4]
# Enable DRM VC4 V3D driver on top of the dispmanx display stack
#display_lcd_rotate=3
#dtoverlay=vc4-fkms-v3d
max_framebuffers=2
[all]
#dtoverlay=vc4-fkms-v3d
start_x=gpu_mem=128
dtoverlay=hyperpixel4,touchscreen-swapped-x-y,touchscreen-inverted-x
#dtoverlay=hyperpixel4
gpio=0-25=a2
enable_dpi_lcd=1
dpi_group=2
dpi_mode=87
dpi_output_format=0x7f216
dpi_timings=480 0 10 16 59 800 0 15 113 15 0 0 0 60 0 32000000 6
display_rotate=3
#display_lcd_rotate=3
Reboot and Repetier-Server should come up on the HyperPixel as well with all touchscreen function.
Hope that will help somebody else to not spend to much time to figure it out and thanks to cosmith71.