I am affected by this problem and possibly another very similar issue using a 
Sony MDR-100ABN headset.
Using two different computers (one with BT built-in, one with a USB-Dongle), 
both running Ubuntu 17.04 (same bluez and pulseaudio versions), I experience 
different behavior.

On PC1 I have the same error as described but after several pairing/unpairing 
or connecting/disconnecting tries this can is often resolved. This means 
switching between A2DP (stereo output) and HFP/HSP (mono output, mono input) is 
working just fine.
Ultimately this looks like an actual bt connection issue to me.

On PC2 the behavior is similar, but with a different error message:
"[pulseaudio] backend-native.c: connect(): Die angeforderte Funktion ist
nicht implementiert" (I think the original libc string is "Function not
implemented"). Here I haven't been able to get HFP/HSP working at all.

Both systems show the headset connected as 'Headset', 'Handsfree' and 
'Audio-Ausgabe' (='Audio output').
The output from bluetoothctl is also the same:
<snip>
[h.ear (MDR-100ABN)]# show
Controller 00:15:83:E8:XX:XX (masked)
        Name: XXX (masked)
        Alias: XXX (masked)
        Class: 0x0c0104
        Powered: yes
        Discoverable: yes
        Pairable: yes
        UUID: Headset AG                (00001112-0000-1000-8000-00805f9b34fb)
        UUID: Generic Attribute Profile (00001801-0000-1000-8000-00805f9b34fb)
        UUID: A/V Remote Control        (0000110e-0000-1000-8000-00805f9b34fb)
        UUID: Generic Access Profile    (00001800-0000-1000-8000-00805f9b34fb)
        UUID: PnP Information           (00001200-0000-1000-8000-00805f9b34fb)
        UUID: A/V Remote Control Target (0000110c-0000-1000-8000-00805f9b34fb)
        UUID: Audio Sink                (0000110b-0000-1000-8000-00805f9b34fb)
        UUID: Audio Source              (0000110a-0000-1000-8000-00805f9b34fb)
        Modalias: usb:v1D6Bp0246d052B
        Discovering: no
</snip>

Software versions:
pulseaudio, pulseaudio-module-bluetooth and pulseaudio-utils: 1:10.0-1ubuntu2 
(amd64)
bluez: 5.43-0ubuntu1 (amd64)

Please let me know what other type of information you need and I will
try to provide that.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1704297

Title:
  Bluetooth audio stuck in A2DP profile ([pulseaudio] module-
  bluez5-device.c: Refused to switch profile to headset_head_unit: Not
  connected)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1704297/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to