I have a pi5 running a Qt application with no X server that uses pulseaudio(which would be pipewire-pulse since pulse itself is not installed) as the audio backend. You don't ever login, the application starts immediately on boot via supervisord. I don't want/ever need audio being output via the onboard HDMI devices, it only uses the bluetooth device. The speaker is paired via bluetooth:
I am able to playback a test .WAV via aplay, so I know it's at least working in ASLA:pipewire is also running:The problem is I can't figure out how to use the bluetooth using pipewire(and I'm not really sure how to configure it for this) as pw-play defaults to the HDMI connection, and the audio comes out of that speaker. I can't find any bluetooth configuration in pipewire, either:
Code:
smah@raspberrypi:~ $ bluetoothctl devicesDevice 30:50:84:C5:19:66 BTCode:
root@raspberrypi:~# aplay -D bluealsa /home/smah/ice.wavD: bluealsa-pcm.c:1309: Getting BlueALSA PCM: PLAYBACK 00:00:00:00:00:00 a2dpD: bluealsa-pcm.c:1062: /org/bluealsa/hci0/dev_30_50_84_C5_19_66/a2dpsrc/sink: Setting constraintsPlaying WAVE '/home/smah/ice.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, StereoD: bluealsa-pcm.c:532: /org/bluealsa/hci0/dev_30_50_84_C5_19_66/a2dpsrc/sink: Initializing HWD: bluealsa-pcm.c:567: /org/bluealsa/hci0/dev_30_50_84_C5_19_66/a2dpsrc/sink: FIFO buffer size: 4096 framesD: bluealsa-pcm.c:581: /org/bluealsa/hci0/dev_30_50_84_C5_19_66/a2dpsrc/sink: Selected HW buffer: 4 periods x 24000 bytes == 96000 bytesCode:
root@raspberrypi:~# ps -Afl | grep -i pipewire0 S smah 866 850 0 80 0 - 6559 do_epo Jan08 ? 00:00:01 /usr/bin/pipewire0 S smah 867 850 0 80 0 - 5484 do_epo Jan08 ? 00:00:00 /usr/bin/pipewire -c filter-chain.conf0 S smah 869 850 0 80 0 - 10870 do_epo Jan08 ? 00:00:00 /usr/bin/pipewire-pulseCode:
pw-cli ls | grep bluesmah@raspberrypi:~ $Statistics: Posted by Wafflemachine — Tue Jan 13, 2026 8:46 pm