Hello. BlueZ seems to have been updated from API 4 to 5 in the last days. I could connect my headset in A2DP mode correctly with BlueZ 4, but not anymore with BlueZ 5: when using bluetoothctl to test the connection, I get: [bluetooth]# connect 00:18:91:D0:7A:24 Attempting to connect to 00:18:91:D0:7A:24 Failed to connect: org.bluez.Error.Failed and /var/log/messages shows Jan 30 18:15:15 smug bluetoothd[1390]: a2dp-sink profile connect failed for 00:18:91:D0:7A:24: Protocol not available
I'm facing the same issue after upgrade from gnome-3.8 to gnome-3.10 which pulled in bluez-5. Things were working just fine with gnome-3.8 and bluez-4.
Same problem with a headset here.
The device is paired. This is my asound.conf: pcm.bluetooth { type bluetooth device "00:02:3C:31:96:12" profile "auto" }
Please retry with 5.14
Still the same with 5.14: 2月 09 15:01:54 melforce bluetoothd[12825]: a2dp-sink profile connect failed for 00:02:3C:31:96:12: Protocol not available
Umm, this could be caused by we don't having a pulseaudio version compatible with bluez5
I don't use PulseAudio, it must be something else
Maybe mailing to upstream ML could help: linux-bluetooth@vger.kernel.org
I have seen in ML that you are using bluedevil, I guess you are using 2.0-rc version (since older are incompatible with bluez-5)
Yes, 2.0_rc5 for Bluez 5 and 1.3.2 for Bluez 4.
Got bit by this one too. I have only ALSA + .asoundrc: pcm.bt { type plug slave { pcm { type bluetooth device 00:02:3C:29:61:5C profile "auto" } } hint { show on description "BT Speaker" } } ctl.bt { type bluetooth } Then, on trying to play with "mplayer -ao alsa:device=bt" I get: alsa-lib: /var/tmp/portage/media-libs/alsa-lib-1.0.27.2/work/alsa-lib-1.0.27.2/src/dlmisc.c:252:(snd1_dlobj_cache_get) Cannot open shared library /usr/lib64/alsa-lib/libasound_module_pcm_bluetooth.so This file existed in bluez-4, and no more in bluez-5. Recompiling alsa-lib does not help.
After googling here and there I found out that audio socket API and ALSA plugin is removed and PulseAudio is the only choice. I'll try it later.
Were you able to make it work with pulseaudio? :|
Yes
Then, I guess we cannot do much more downstream as looks like upstream expects people to use pulseaudio for this with bluez- Thanks for feedback
I've run into this same issue, but I'm using PulseAudio (and was using it with the previous release). I never did get bluez+pulseaudio working with pulseaudio-4, so I had it masked as was using 2.x for the longest time. This week I decided to do the big update and went up to pulseaudio-5.0, net-wireless/bluez-5.15. I uninstalled blueman and emerged bluedevil. But even when I just use the command line bluetoothctl and try to issue a connect for my A2DP headphones, I see the following in the logs: Mar 28 10:45:55 [bluetoothd] a2dp-sink profile connect failed for 34:DF:2A:09:A5:D0: Protocol not available Mar 28 10:46:01 [pulseaudio] [pulseaudio] bluez5-util.c: Properties changed in a device which information is unknown or invalid - Last output repeated twice - Mar 28 10:48:47 [pulseaudio] [pulseaudio] bluez5-util.c: Properties changed in unknown device Mar 28 10:48:47 [pulseaudio] [pulseaudio] bluez5-util.c: Properties changed in a device which information is unknown or invalid Mar 28 10:48:47 [pulseaudio] [pulseaudio] bluez5-util.c: Properties changed in unknown adapter I seem to be running the right versions of everything. What's going on?