Hopefully someone can help me here. I am not a PI or Linux expert, I just dabble and use them for small projects when I need to. I wanted to create an Octoprint server for my 3D printer and a PI seems the way to go. I purchased a PI4 4meg and Hyperpixel4 rectangle touchscreen.
I used the current Octopi image then installed the drivers as per the instructions using curl. Then I installed Octodash.
Everything works fine except the display is in portrait mode and I need it in landscape mode. I followed many instructions on the web (including the manufacturer ones) to rotate the display but nothing seems to work. I have re-imaged this now probably 30 times as I have tried different instructions.
I can rotate the display fine but the touchscreen doesn’t follow so the touch pointer is reversed. No matter what I do, I cannot rotate the touch. I see there are loads of articles on the web regarding this issue including a few on here but there doesn’t seem to be any definite solution. I have also tried this on a PI3b as well and the same problem exists.
I then went and tried the project with a standard 3.5 inch generic resistive screen which worked perfectly but I really want to use this 4inch capacitive touch screen. I also tried the official raspberry PI 7inch screen which also works perfectly but is too big for my project. So the issue is directly related to the Hyperpixel4 screen.
The instructions state to use the command hyperpixel4-rotate to rotate the screen, but that just gives errors such as cannot find xinput and cannot import module screenlayout. I have tried the many articles relating to changing /boot/config.txt but they still only rotate the display and not the touchscreen.
Does anyone know how to get this screen working with the Octopi image. It has proved a nightmare so far and I have been on this issue constantly for 4 days now with no success.
Failing that, can someone recommend a different 4inch 800x400ish capacitive touchscreen that actually works properly. This has been the biggest challenge I have had on a PI project and judging by the web, I am not alone.
What would be nice is if someone had a step by step guide on installing the drivers for the screen on an Octopi image and it working fully in landscape mode. I don’t really care whether the power socket is at the top or bottom just landscape mode where the touchscreen co-ordinates are correct.
Many thanks in advance for any assistance.