Issues with BlueALSA and BOSE A2DP Speaker on DietPi (Mopidy Setup)

Hi everyone,

I’m trying to set up my BOSE Bluetooth speaker on DietPi using BlueALSA as an A2DP device for Mopidy, but I’m running into connection issues. I would appreciate any guidance.

What I’ve done so far:

  1. Installed BlueALSA:
which bluealsa
/usr/bin/bluealsa
  1. Started BlueALSA:
sudo bluealsa -p a2dp-sink
  • BlueALSA starts and logs:
Acquired D-Bus service name: org.bluealsa
Registering media application: /org/bluez/hci0
Exporting media endpoint object: /org/bluez/hci0/A2DP/SBC/sink/1
  1. Prepared the speaker in pairing mode
  2. Tried connecting the speaker via bluetoothctl:
bluetoothctl
power on
agent on
default-agent
scan on
trust xx:C6:xx:66:xx:99
connect xx:xx:xx:66:xx:99
  • Result:
Failed to connect: org.bluez.Error.Failed br-connection-profile-unavailable
  1. Tried testing audio via ALSA:
aplay -D BOSE /usr/share/sounds/alsa/Front_Center.wav
  • Result:
Couldn't get BlueALSA PCM: PCM not found
  1. BlueALSA virtual PCMs are not listed yet (bluealsa-aplay -L shows nothing)

System:

  • DietPi (latest version) on Raspberry Pi
  • Mopidy installed
  • BlueZ + BlueALSA Utilities installed

Problem / Question:

  • The BOSE speaker does not connect properly; the A2DP profiles are unavailable even though BlueALSA is running.
  • How can I get the speaker to connect correctly so BlueALSA creates the PCM and I can use it in Mopidy?
  • Are there any special considerations for DietPi / headless setups for Bluetooth A2DP?

Thanks in advance for your help!