(I'm not using Ubuntu for my desktop but I'have had the same problem. I'm 
running Pulseaudio 13 built with enable_bluez5_native_headset and Bluez 5.54)
Solved it by adding headset=native forthe module module-bluetooth-discover in 
default.pa :
 load-module module-bluetooth-discover headset=native
in ~/.pulse/default.pa  (or /etc/pulse/default.pa)
then restarting pulseaudio with pulseaudio -k
Since Pulseaudio 11.0 has ofono support, "headset=auto" option enabled by 

pactl list shows that both profiles with available: yes

Generally when using VoIP application automatically switch bluetooth
profile to HSP works , but when not or when switch back to A2DP need to
be done annually (for me, Blueman does the job with a few clicks).

Sound with HSP profile isn't very good and HFP doesn't seems to work as
I haven't setup phonesimp (ref

You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to pulseaudio in Ubuntu.

  Refused to switch profile to headset_head_unit: Not connected

Status in PulseAudio:
Status in pulseaudio package in Ubuntu:

Bug description:
  I'm trying to connect a bluetooth-speaker-with-microphone (Mi
  Bluetooth Speaker) to Ubuntu. It works well as an A2DP sync, but can't
  use it as a headset with microphone.

  The device doesn't list in the "Input Devices" by default, and using
  the sound settings to change the profile of the device to HSP/HFP
  results in this log message:

  W: [pulseaudio] module-bluez5-device.c: Refused to switch profile to
  headset_head_unit: Not connected

  I'm running Ubuntu 16.04 LTS. I did an upgrade from Ubuntu 15.10.

    Installed: 1:8.0-0ubuntu3

    Installed: 5.37-0ubuntu5

To manage notifications about this bug go to:

Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to