Hi all
I have installed the lasest version of Pi OS onto a Raspberry Pi 4. I wont Mopidy to output via the headphone jack.
I have tried to folllow the instructions at:
https://docs.mopidy.com/stable/installation/raspberrypi/
The test
aplay /usr/share/sounds/alsa/Front_Center.wav
is correctly playing sound out of the headphone jack into the speaker.
However Mopidy it’s self outputs no sound. I think this is possbly becuase Rpi OS not uses pipewire be default and not alsa.
Is there a newer of the instrustions available with the solution to this please?
I think you were meaning to say that Rpi OS uses pipewire by default. And for anyone curious, their bookworm lite image still uses ALSA.
Got a pipewire setup, try Add documentation for running as a user service · Issue #1974 · mopidy/mopidy · GitHub
Hi
I’ve just tried this and no dice.
And you have pipewire-pulse installed?
I do indeed.
pipewire-pulse is already the newest version (0.3.65-3+rpt6+deb12u1).
mej
June 6, 2024, 3:44am
6
Just ran into this issue. The problem is that the install script modifies /boot/config.txt, but in bookworm, the file that needs to be modified is /boot/firmware/config.txt.
You can fix this by modifying the install script before running it:
if [ "$RESULT" == "0" ]; then
inform "Stopping Mopidy service..."
systemctl stop mopidy
echo
fi
# Enable SPI
raspi-config nonint do_spi 0
# Add necessary lines to config.txt (if they don't exist)
add_to_config_text "gpio=25=op,dh" /boot/config.txt
add_to_config_text "dtoverlay=hifiberry-dac" /boot/config.txt
if [ -f "$MOPIDY_CONFIG" ]; then
inform "Backing up mopidy config to: $MOPIDY_CONFIG.backup-$DATESTAMP"
cp "$MOPIDY_CONFIG" "$MOPIDY_CONFIG.backup-$DATESTAMP"
EXISTING_CONFIG=true
echo
fi
# Install apt list for Mopidy, see: https://docs.mopidy.com/en/latest/installation/debian/.
just change the path to the config.txt file. Also, @kingosticks or any other maintainer, I put up a PR to fix this.