New Hyperpixel (non-touchscreen) with Raspberry Pi 3B issue

I have a test Raspberry Pi that I use for new components
I need to replace on old Display-O-Tron so have purchased this Hyperpixel

I have inserted the Hyperpixel and all the pins are aligned and I have good contact

I use Raspberry Pi Imager v1.8.5 with the following settings

Device: Raspberry Pi 3
Operating System Raspberry Pi OS (64 Bit) with the Respberry Pi Desktop (Recommnded) released 2024-07-04
Storage: 16 Gb Card

Settings hostname pi96
Username/Password pi/rapsberry
Wireless LAN (local config)
Locale gb
Enable SSH

I insert the card and plug in a Raspberry Pi Power supply

There is a slight brightness on the screen as power is applied which implies it is getting power
(Similar to a cscreen with power but no signal)

I do ‘ssh pi@192.168.1.147’ and add the ssh key to the authorized keys file
I then do

Notice: building hyperpixel4.dtbo
Created symlink /etc/systemd/system/multi-user.target.wants/hyperpixel4-init.service → /etc/systemd/system/hyperpixel4-init.service.
Installed: /usr/bin/hyperpixel4-init
Installed: /etc/systemd/system/hyperpixel4-init.service
Installed: /usr/bin/hyperpixel4-rotate
Installed: /boot/overlays/hyperpixel4.dtbo
Config: Added dtoverlay=hyperpixel4 to /boot/config.txt
Config: Added overscan_left=0 to /boot/config.txt
Config: Added overscan_right=0 to /boot/config.txt
Config: Added overscan_top=0 to /boot/config.txt
Config: Added overscan_bottom=0 to /boot/config.txt
Config: Added enable_dpi_lcd=1 to /boot/config.txt
Config: Added display_default_lcd=1 to /boot/config.txt
Config: Added display_rotate=0 to /boot/config.txt
Config: Added dpi_group=2 to /boot/config.txt
Config: Added dpi_mode=87 to /boot/config.txt
Config: Added dpi_output_format=0x7f216 to /boot/config.txt
Config: Added hdmi_timings=480 0 10 16 59 800 0 15 113 15 0 0 0 60 0 32000000 6 to /boot/config.txt

Before rebooting, use ‘hyperpixel4-rotate left/right/normal/inverted’ to rotate your display!

left - Landscape, power/HDMI on bottom
right - Landscape, power/HDMI on top
normal - Portrait, USB ports on top
inverted - Portrait, USB ports on bottom

  • sudo hyperpixel4-rotate left

Rotating display
Setting matrix: 0 -1 1 1 0 0
Authorization required, but no authorization protocol specified

Unable to connect to X server
Saving touch settings to /etc/udev/rules.d/98-hyperpixel4-calibration.rules
Please reboot for changes to take effect!

  • sudo reboot

After it reboots I can still ssh to it

If I shut it down and then plug in a HDMI cable ( the Hyperpixel is still on board) then I get the standard Desktop on the screen but still nothing on the Hyperpixel

Any suggestions on what is going wrong?

Thanks

David

The answer after lots of playing around is a combination of things based on Issue 177 and the fact that /boot/config.txt has moved to /boot/firmware/config.txt in Bookworm

The specific steps are:

  1. curl -sSL get.pimoroni.com/hyperpixel4-legacy but do not reboot
  2. Copy the contents of /boot/config.txt to the [all] section of /boot/firmware/config.txt
  3. Reboot
  4. Download the script from Issue 177
  5. Modify the script to use /boot/firmware/config.txt and NOT /boot/config.txt
  6. Run the script
  7. Reboot

And you are working

Some observations:

  • The GitHub instructions are out of date
  • The scripts could usefully be added to GitHub and modified to support an if bookworm then use alt file locations
  • There is a -y option that forces most of the standard prompts but it would be useful to be able to default other prompts (in my case option2 for the type) so that it can be included in tools like teraform or ansible

Thanks

David