[opensuse-factory] Leap 15.0 - Bluetooth - Failed to change profile to a2dp_sink

Hi, everyone! My laptop is an Acer Aspire E15 with a built-in Bluetooth 4.0 adapter, namely Qualcomm Atheros Bluetooth 4.0 (ID 04ca:3014). I had to tweak Leap 42.3 for it work, here is a brief of what I did: https://forums.opensuse.org/showthread.php/524410-Qualcomm-Atheros-Bluetooth... Then I was using the kernel-default 4.13.6 and kernel-firmware from the Kernel:stable OBS repo. When I upgraded to Leap 15.0 Beta, I switched to the kernel-default 4.12.14 and kernel-firmware from the Leap 15.0 OSS repo. Now, even though my Bluetooth adapter is working, I am not able to pair with my headset (Philips SHB3060) using the A2DP profile. I installed Blueman, which gives some more control and information than GNOME's System Settings. Using Blueman, when I try to change my headset to the A2DP profile I get this: "Failed to change profile to a2dp_sink" I tested downloading Leap 15.0 GNOME Live, flashing it into an USB stick and booting from it. Bluetooth was not recognized at first, but blacklisting the acer_wmi module (see my forum post for details) and rebooting was enough. Then, Bluetooth worked normally (including switching to the A2DP profile). So, I believe it is a problem on my setup, not on Leap 15.0 itself, i.e. a clean install would be half of the solution, the another half blacklisting the acer_wmi module and rebooting. Any ideas on what changed and how I can make the A2DP profile work again? Thank you! Antonio The Linux Kamarada Project http://kamarada.github.io/ -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org

вівторок, 22 травня 2018 р. 05:16:52 EEST Linux Kamarada написано:
Hm, I've got similar problem on auto connection, it's a PulseAudio bluetooth problem [1]. If I reconnect manually device using bluetooth plasmoid (I'm using KDE Plasma), A2DP works as expected. [1] https://bugs.freedesktop.org/show_bug.cgi?id=92102 -- Kind regards, Mykola Krachkovsky -- Найкращі побажання, Микола Крачковський

2018-05-22 5:59 GMT-03:00 Mykola Krachkovsky <w01dnick@gmail.com>:
It was that, thank you! Googling about that bug, I found this: https://wiki.archlinux.org/index.php/Bluetooth_headset#Gnome_with_GDM I'm going to copy and paste it here adjusting for openSUSE Leap 15.0 just in case anyone needs: The instructions below were tested on Gnome 3.26.2 and PulseAudio 11.1 however they may still be applicable and useful for other versions. If PulseAudio fails when changing the profile to A2DP while using GNOME with GDM, you need to prevent GDM from starting its own instance of PulseAudio: 1) Prevent Pulseaudio clients from automatically starting a server if one is not running by adding the following: $ su # nano /var/lib/gdm/.config/pulse/client.conf (new file with the following contents) ✂---------------------------------------- autospawn = no daemon-binary = /bin/true ✂---------------------------------------- 2) Prevent systemd from starting Pulseaudio anyway with socket activation: # sudo -ugdm mkdir -p /var/lib/gdm/.config/systemd/user # sudo -ugdm ln -s /dev/null /var/lib/gdm/.config/systemd/user/pulseaudio.socket 3) Restart, and check that there is no Pulseaudio process for the gdm user. Antonio The Linux Kamarada Project http://kamarada.github.io/ -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org

Le mardi 22 mai 2018 à 22:16 -0300, Linux Kamarada a écrit :
Please open a bug report for openSUSE Leap, we need to fix that to ensure things works out of the box. -- Frederic Crozat Enterprise Desktop Release Manager SUSE -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org

In data mercoledì 23 maggio 2018 09:38:11 CEST, Frederic Crozat ha scritto:
_________________________________________________________________ ________________________________________________________ Ihre E-Mail-Postf�cher sicher & zentral an einem Ort. Jetzt wechseln und alte E-Mail-Adresse mitnehmen! https://www.eclipso.de -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org

Sorry, I forgot to open a bug report for openSUSE Leap, but I found this one already opened for openSUSE Tumbleweed and commented on it: https://bugzilla.opensuse.org/show_bug.cgi?id=1094255#c3 I came back to this thread because recently I bought an SSD and made a clean openSUSE Leap 15.0 install. To pair with my headset using the A2DP profile, I needed to repeat the workaround I described on the bug report and previously here on this mailing list: https://lists.opensuse.org/opensuse-factory/2018-05/msg00325.html Antonio The Linux Kamarada Project http://kamarada.github.io/ Em ter, 19 de jun de 2018 às 17:39, stakanov <stakanov@eclipso.eu> escreveu:
-- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org

вівторок, 22 травня 2018 р. 05:16:52 EEST Linux Kamarada написано:
Hm, I've got similar problem on auto connection, it's a PulseAudio bluetooth problem [1]. If I reconnect manually device using bluetooth plasmoid (I'm using KDE Plasma), A2DP works as expected. [1] https://bugs.freedesktop.org/show_bug.cgi?id=92102 -- Kind regards, Mykola Krachkovsky -- Найкращі побажання, Микола Крачковський

2018-05-22 5:59 GMT-03:00 Mykola Krachkovsky <w01dnick@gmail.com>:
It was that, thank you! Googling about that bug, I found this: https://wiki.archlinux.org/index.php/Bluetooth_headset#Gnome_with_GDM I'm going to copy and paste it here adjusting for openSUSE Leap 15.0 just in case anyone needs: The instructions below were tested on Gnome 3.26.2 and PulseAudio 11.1 however they may still be applicable and useful for other versions. If PulseAudio fails when changing the profile to A2DP while using GNOME with GDM, you need to prevent GDM from starting its own instance of PulseAudio: 1) Prevent Pulseaudio clients from automatically starting a server if one is not running by adding the following: $ su # nano /var/lib/gdm/.config/pulse/client.conf (new file with the following contents) ✂---------------------------------------- autospawn = no daemon-binary = /bin/true ✂---------------------------------------- 2) Prevent systemd from starting Pulseaudio anyway with socket activation: # sudo -ugdm mkdir -p /var/lib/gdm/.config/systemd/user # sudo -ugdm ln -s /dev/null /var/lib/gdm/.config/systemd/user/pulseaudio.socket 3) Restart, and check that there is no Pulseaudio process for the gdm user. Antonio The Linux Kamarada Project http://kamarada.github.io/ -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org

Le mardi 22 mai 2018 à 22:16 -0300, Linux Kamarada a écrit :
Please open a bug report for openSUSE Leap, we need to fix that to ensure things works out of the box. -- Frederic Crozat Enterprise Desktop Release Manager SUSE -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org

In data mercoledì 23 maggio 2018 09:38:11 CEST, Frederic Crozat ha scritto:
_________________________________________________________________ ________________________________________________________ Ihre E-Mail-Postf�cher sicher & zentral an einem Ort. Jetzt wechseln und alte E-Mail-Adresse mitnehmen! https://www.eclipso.de -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org

Sorry, I forgot to open a bug report for openSUSE Leap, but I found this one already opened for openSUSE Tumbleweed and commented on it: https://bugzilla.opensuse.org/show_bug.cgi?id=1094255#c3 I came back to this thread because recently I bought an SSD and made a clean openSUSE Leap 15.0 install. To pair with my headset using the A2DP profile, I needed to repeat the workaround I described on the bug report and previously here on this mailing list: https://lists.opensuse.org/opensuse-factory/2018-05/msg00325.html Antonio The Linux Kamarada Project http://kamarada.github.io/ Em ter, 19 de jun de 2018 às 17:39, stakanov <stakanov@eclipso.eu> escreveu:
-- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (4)
-
Frederic Crozat
-
Linux Kamarada
-
Mykola Krachkovsky
-
stakanov