Do I really need to recompile stuff to get this work? Or should this work out of the box? I installed the dirvers as described in https://learn.pimoroni.com/tutorial/sandyj/getting-started-with-hyperpixel-4
If there’s additional installation/compiling needed, a step-by-step guide would be appreciated.
It would be great to have this basic feature covered in the FAQ at https://github.com/pimoroni/hyperpixel/wiki
Trying to make sense of Hyper Pixel - Rotate I noticed that I do not have a /usr/bin/hyperpixel-touch or a hyperpixel4-touch.service - should those have been installed by the installer?
Okay, I figured it out. Turns out I was looking at the wrong repository the whole time. For the HyperPixel4 there’s a repository at https://github.com/pimoroni/hyperpixel4 which describes how to get the rotation working in the README.
It’s still a bit weird to me that the installer script isn’t doing the compile step for you. But at least I got it working in the end.
I found that somehow I had gotten the hyperpixel4 drivers installed with working touchscreen so all I needed to do was to
sudo nano /boot/config.txt and change the following lines:
Change dtoverlay=hyperpixel4 to dtoverlay=hyperpixel4:rotate
Change display_rotate=3 to display_rotate=1
For anyone else trying to rotate their hyperpixel 4 screen, who is a Linux noob like me, this might be helpful to know.
if you use the pwd command on raspbian you will find you’re you’re most likely starting off in the directory /home/pi if you are logged in as user “pi.”
So for you, the “/src” folder the instructions are referring to is probably located here:
/home/pi/Pimoroni/hyperpixel4/src
You’ll have to cd /home/pi/Pimoroni/hyperpixel4/src and then run make from there.