Sonos-HDMI by Retired Guy isn't outputting graphics...

  • 11 January 2022
  • 31 replies
  • 452 views


Show first post
This topic has been closed for further comments. You can use the search bar to find a similar topic, or create a new one by clicking Create Topic at the top of the page.

31 replies

Best to wait for the network to be online, particularly since we’re using WiFi.  Here’s an example I use for one of my squeezelite renderers:

 

[Unit]
Description=Squeezelite
Wants=network-online.target
After=network-online.target

StartLimitIntervalSec=33
StartLimitBurst=5

[Service]
ExecStart=/usr/bin/squeezelite -o hw:CARD=sndrpijustboomd,DEV=0 -n "RME Coax" -a 80:4 -C 3

Restart=always
RestartSec=5
User=pi

[Install]
WantedBy=multi-user.target

Badge

That’s the input device (touchscreen).  Yours may be 0. 
 

Change this line, about line 294:

 

dev = InputDevice('/dev/input/event1')

 

Change the 1 to 0. 

Wow thanks! I’m pretty close now. The display worked initially before going through installation steps but it’s remained blank since following reboot. This is the output as I started and stopped music to the sonos device:

 


pi@raspberrypi:~/sonos $ python3 sonos.py
screen brightness set
timeout started!
timeout cancelled!
screen brightness set
timeout started!
timeout cancelled!
timeout started!
 

So seems like things are working I just need to figure out why my display stopped working (light’s up but remains blank). I wonder if it’s pigpio related. I tried undoing these /etc/rc.local settings but the display didn’t turn on. IE I made these changes (and then changed them back when it didn’t solve my problem).

# Start pigpiod

# /usr/bin/pigpiod

# Turn off HDMI
# /usr/bin/tvservice -o

 

I also tried turning off the pigpiod service but screen didn’t turn on- I haven’t tried figuring out how to stop the service from running at boot.

 

Edit: seems like there is an issue starting the service:


pi@raspberrypi:~ $ systemctl start hyperpixel-init
==== AUTHENTICATING FOR org.freedesktop.systemd1.manage-units ===
Authentication is required to start 'hyperpixel-init.service'.
Authenticating as: ,,, (pi)
Password:
==== AUTHENTICATION COMPLETE ===
Failed to start hyperpixel-init.service: Unit hyperpixel-init.service not found.
pi@raspberrypi:~ $
 

I’m going to try and install again via “curl -sSL https://get.pimoroni.com/hyperpixel4 | bash”.

 

Might be an issue after running sudo apt-get update. I’m going to try to go to an older stable install.

 

This didn’t work:

sudo apt-get update; sudo apt-get install --reinstall raspberrypi-bootloader raspberrypi-kernel

 

I’m going to do give more try at rolling back the kernel and then start from scratch.

I haven’t migrated to bullseye yet, still on buster. Looks like there are issues with the Hyperpixel on bullseye. Haven’t read the entire thread on GitHub, perhaps they’ve resolved it by now?

 

https://github.com/pimoroni/hyperpixel4/issues/155

 

Badge

Screen is now working! I shouldn’t have updated the kernel. Thank you so much for helping me through it!

 

Badge

I haven’t migrated to bullseye yet, still on buster. Looks like there are issues with the Hyperpixel on bullseye. Haven’t read the entire thread on GitHub, perhaps they’ve resolved it by now?

 

https://github.com/pimoroni/hyperpixel4/issues/155

 

I started from scratch without updating and all is well now. Thank you!

Good show!  
 

BTW, I’ve moved to the Oswald font for the Squeezelite version of this, as it provides a whole lot more text in the given space. 
 

https://github.com/retired-guy/Squeezebox-3.5/blob/main/sb.py