[pulseaudio-discuss] Make paired (but not connected) BT device available as sink?

Josef Wolf jw at raven.inka.de
Sun Jan 2 11:32:10 UTC 2022


Hello all,

is there any way to make paired (but currently not connected) BT devices
available as a sink? The autodetect finds only connected devices and the BT
modules don't seem to have any options to specifically create a sink e.g. by
its MAC address.

Background of the question: for Libreelec on RPi4, I want simultanous output
to HDMI-TV and to some BT-Speaker. I can achieve the desired behavior by
connecting the BT-speaker and then executing:

 pactl load-module module-udev-detect
 pactl load-module module-combine-sink slaves=alsa_output.0.hdmi-stereo,bluez_sink.A4_77_58_02_93_FB.a2dp_sink

Once those commands were successfully executed, I can switch the BT-speaker
off and on and PA catches up without any noticeable problems.

Unfortunately, those commands will NOT work from boot-scripts, since
module-combine-sink will error out complaining that the BT-sink is not
available.

Any ideas how to work around this?

-- 
Josef Wolf
jw at raven.inka.de


More information about the pulseaudio-discuss mailing list