Mailinglist Archive: opensuse-factory (536 mails)

< Previous Next >
Re: [opensuse-factory] Leap 15.0 - Bluetooth - Failed to change profile to a2dp_sink
2018-05-22 5:59 GMT-03:00 Mykola Krachkovsky <w01dnick@xxxxxxxxx>:
вівторок, 22 травня 2018 р. 05:16:52 EEST Linux Kamarada написано:
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"

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.


It was that, thank you! Googling about that bug, I found this:

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.

The Linux Kamarada Project
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-factory+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups