6

Got a Logitech X300, it wont connect via A2DP. I have done few things in Pulse and /etc/bluetooth/audio.conf to not avail. Please help. I just want things to work and get on with my life.

This is one of the post I tried to follow Bluetooth speaker no sound in Ubuntu 16.04

It has made things worse and I cannot even get my speaker to stay connected for more than a second.

I tried purging all the things, but I do not even know how to reset drivers. I am a general computer user that wants a solid alternative to windows, but can't get shit like a bluetooth speaker to work.

1 Answers1

7

I had (I guess...) the exact same problem as Richard Grant using a headset Creative WP-350. It used to work fine on Ubuntu 16.04 and then the problem occurs when I switched to Ubuntu GNOME 17.04. I was able to connect and pair the headset, and use it with "HFP/HSP" audio profile. When trying to switch to "A2DP" profile, it didn't work and indicate "Failed to change profile to a2dp_sink".

As doug indicated in his comment, the fix is to disable pulseaudio's bluetooth in gdm. Actually I don't understand the reason why pulseaudio's BT is enabled in Gnome Display Manager but there might be a good reason for that... if anyone can clarify this I'd like to understand.

So the fix is pretty easy, based on this link provided by doug, here is what I did:

  1. Open a terminal window and type (This first point is user-dependant, the main info follow...)

    gksudo nautilus
    
  2. then navigate to /var/lib/gdm3/.config/pulse

  3. Open default.pa if it exists or create it (I had to), as a regular text file.
  4. Add the following lines in the file default.pa

    #!/usr/bin/pulseaudio -nF
    #
    
    # load system wide configuration
    .include /etc/pulse/default.pa
    
    ### unload driver modules for Bluetooth hardware
    .ifexists module-bluetooth-policy.so
      unload-module module-bluetooth-policy
    .endif
    
    .ifexists module-bluetooth-discover.so
      unload-module module-bluetooth-discover
    .endif
    
  5. Save the file, close the Terminal window and reboot.

Dr J
  • 81