Discussion:
[pulseaudio-discuss] A2DP Bluetooth headset issues with PulseAudio 6.0
Saad Malik
2015-02-25 20:13:37 UTC
Permalink
Hi All,
With the upgrade to PulseAudio 6.0 last week, my *Bose OE SoundLink*
bluetooth headset no longer connects to the A2DP profile.

The new PulseAudio 6.0 upgrade added a *headset_head_unit: Headset Head
Unit (HSP/HFP)* profile that actually works! Unfortunately, I get a
"Refused to switch profile to a2dp_sink: Not connected" when I attempt to
switch to the a2dp_sink profile.

Switch pulseaudio profile:

*$ pacmd set-card-profile 1 a2dp_sink*
Failed to set card profile to 'a2dp_sink'.


Started pulseaudio in foreground and the interesting logs are here:

*$ pulseaudio -k && pulseaudio -vvvvv*
... (lots of logs)...
... (above set-card-profile command executed) ...
I: [pulseaudio] client.c: Created 6 "UNIX socket client"
W: [pulseaudio] module-bluez5-device.c: Refused to switch profile to
a2dp_sink: Not connected
D: [pulseaudio] cli.c: CLI got EOF from user.
I: [pulseaudio] client.c: Freed 6 "UNIX socket client"



*$ pacmd ls*
index: 1
name: <bluez_card.00_0C_8A_EA_B3_96>
driver: <module-bluez5-device.c>
owner module: 27
properties:
device.description = "Bose OE SoundLink"
device.string = "00:0C:8A:EA:B3:96"
device.api = "bluez"
device.class = "sound"
device.bus = "bluetooth"
device.form_factor = "headphone"
bluez.path = "/org/bluez/hci0/dev_00_0C_8A_EA_B3_96"
bluez.class = "0x240418"
bluez.alias = "Bose OE SoundLink"
device.icon_name = "audio-headphones-bluetooth"
profiles:
headset_head_unit: Headset Head Unit (HSP/HFP) (priority
20, available: unknown)
a2dp_sink: High Fidelity Playback (A2DP Sink) (priority 10,
available: no)
off: Off (priority 0, available: yes)
active profile: <headset_head_unit>

Uploaded full logs of pacmd ls and pulseaudio -vvvv:
https://gist.github.com/saamalik/7fd15b9826cbede2665c

Anyone have any ideas why A2DP stopped working after PulseAudio 6.0 upgrade?

Thanks,
Saad
Georg Chini
2015-02-26 06:22:39 UTC
Permalink
Post by Saad Malik
Hi All,
With the upgrade to PulseAudio 6.0 last week, my /Bose OE SoundLink/
bluetooth headset no longer connects to the A2DP profile.
The new PulseAudio 6.0 upgrade added a /headset_head_unit: Headset
Head Unit (HSP/HFP)/ profile that actually works! Unfortunately, I get
a "Refused to switch profile to a2dp_sink: Not connected" when I
attempt to switch to the a2dp_sink profile.
It's probably just that - a2dp is not connected. Have you tried to
connect it manually?
Run bluetoothctl and enter following commands:
agent on
default-agent
connect aa:bb:cc:dd:ee:ff (address of your device)

After that a2dp should be available again.
Post by Saad Malik
*$ pacmd set-card-profile 1 a2dp_sink*
Failed to set card profile to 'a2dp_sink'.
*$ pulseaudio -k && pulseaudio -vvvvv*
... (lots of logs)...
... (above set-card-profile command executed) ...
I: [pulseaudio] client.c: Created 6 "UNIX socket client"
W: [pulseaudio] module-bluez5-device.c: Refused to switch profile
to a2dp_sink: Not connected
D: [pulseaudio] cli.c: CLI got EOF from user.
I: [pulseaudio] client.c: Freed 6 "UNIX socket client"
*$ pacmd ls*
index: 1
name: <bluez_card.00_0C_8A_EA_B3_96>
driver: <module-bluez5-device.c>
owner module: 27
device.description = "Bose OE SoundLink"
device.string = "00:0C:8A:EA:B3:96"
device.api = "bluez"
device.class = "sound"
device.bus = "bluetooth"
device.form_factor = "headphone"
bluez.path = "/org/bluez/hci0/dev_00_0C_8A_EA_B3_96"
bluez.class = "0x240418"
bluez.alias = "Bose OE SoundLink"
device.icon_name = "audio-headphones-bluetooth"
headset_head_unit: Headset Head Unit (HSP/HFP)
(priority 20, available: unknown)
a2dp_sink: High Fidelity Playback (A2DP Sink)
(priority 10, available: no)
off: Off (priority 0, available: yes)
active profile: <headset_head_unit>
https://gist.github.com/saamalik/7fd15b9826cbede2665c
Anyone have any ideas why A2DP stopped working after PulseAudio 6.0 upgrade?
Thanks,
Saad
_______________________________________________
pulseaudio-discuss mailing list
http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss
Loading...