Bluetooth Audio Issues

Switch HSV to A2DP

A2DP not working with PulseAudio

Here is the explanation from ArchWiki: A2DP not working with PulseAudio

With Blueman-manager version 2.06 and PulseAudio version 12.2 , there is an issue that one cannot switch to A2DP with GUI. It will post the error message that Fail to change profile to A2DP . It seems only happening in Gnome. One need to avoid the GDM to start PulseAudio. The solution is:

  1. Edit /etc/pulse/default.pa to close the default Bluetooth discover of pulse.

    nano /etc/pulse/default.pa
    
    # load-module module-bluetooth-discover
    
  2. Edit /usr/bin/start-pulseaudio-x11 to open bluetooth discover by pactl . It should be:

    nano /usr/bin/start-pulseaudio-x11
    if
    ...
        if [ x”$SESSION_MANAGER” != x ] ; then
        /usr/bin/pactl load-module module-x11-xsmp “display=$DISPLAY session_manager=$SESSION_MANAGER” > /dev/null
        fi
    
     #Insert this line#
     /usr/bin/pactl load-module module-bluetooth-discover
     fi
    

    Usually this block of code is at the last line.

This solution is from:

  1. Linux & Bluetooth
  2. BBS. Arch at #17
  3. ArchWiki.Chinese Simplified