Hello,
I just bought a Pi 3 A+ and a Pirate Audio 3w amp.
I installed Mopidy, everything is working fine ( including pirate audio screen ), except I can’t use the pirate-audio line out.
( mopidy plays music thru HDMI , but not thru the pirate audio board )
I’m new to raspberries, I guess I forgot something…
# Uncomment some or all of these to enable the optional hardware interfaces
#dtparam=i2c_arm=on
#dtparam=i2s=on
dtparam=spi=on
# Enable audio (loads snd_bcm2835)
dtparam=audio=off
...
gpio=25=op,dh
dtoverlay=hifiberry-dac
* mopidy.service - Mopidy music server
Loaded: loaded (/lib/systemd/system/mopidy.service; enabled; preset: enabled)
Active: active (running) since Mon 2024-04-15 19:08:01 CEST; 3min 20s ago
Process: 873 ExecStartPre=/bin/mkdir -p /var/cache/mopidy (code=exited, status=0/SUCCESS)
Process: 877 ExecStartPre=/bin/chown mopidy:audio /var/cache/mopidy (code=exited, status=0/SUCCESS)
Main PID: 878 (mopidy)
Tasks: 16 (limit: 370)
CPU: 7.664s
CGroup: /system.slice/mopidy.service
`-878 /usr/bin/python3 /usr/bin/mopidy --config /usr/share/mopidy/conf.d:/etc/mopidy/mopidy.conf
avril 15 19:08:13 raspberrypi mopidy[878]: INFO [IrisFrontend-7 (_actor_loop)] mopidy_iris.core Starting Iris 3.69.3
avril 15 19:08:14 raspberrypi mopidy[878]: INFO [Audio-2 (_actor_loop)] mopidy.audio.actor Audio output set to "alsasink device=hw:sndrpihifiberry"
avril 15 19:08:14 raspberrypi mopidy[878]: INFO [HttpFrontend-11 (_actor_loop)] mopidy.http.actor HTTP server running at [::ffff:0.0.0.0]:6680
avril 15 19:08:14 raspberrypi mopidy[878]: INFO [MainThread] mopidy.commands Starting GLib mainloop
avril 15 19:09:55 raspberrypi mopidy[878]: ERROR [MainThread] mopidy.audio.gst GStreamer error: Could not open audio device for playback.
avril 15 19:09:55 raspberrypi mopidy[878]: WARNING [Audio-2 (_actor_loop)] mopidy.audio.actor Setting GStreamer state to GST_STATE_PLAYING failed
avril 15 19:09:55 raspberrypi mopidy[878]: WARNING [Core-6 (_actor_loop)] mopidy.core.tracklist Track is not playable: local:track:test2.mp3
avril 15 19:10:57 raspberrypi mopidy[878]: ERROR [MainThread] mopidy.audio.gst GStreamer error: Could not open audio device for playback.
avril 15 19:10:57 raspberrypi mopidy[878]: WARNING [Audio-2 (_actor_loop)] mopidy.audio.actor Setting GStreamer state to GST_STATE_PLAYING failed
avril 15 19:10:57 raspberrypi mopidy[878]: WARNING [Core-6 (_actor_loop)] mopidy.core.tracklist Track is not playable: local:track:test2.mp3
I have a Pi Zero with bookworm on it, and a PirateAudio board sat on top working just fine. Like alphanumeric says, the location of the config.txt file has changed.