[Bug 1221702] New: Bluetooth headphones not reconnecting upon logging in
https://bugzilla.suse.com/show_bug.cgi?id=1221702 Bug ID: 1221702 Summary: Bluetooth headphones not reconnecting upon logging in Classification: openSUSE Product: openSUSE Distribution Version: Leap 15.6 Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Sound Assignee: tiwai@suse.com Reporter: kjchmielewski@gmail.com QA Contact: qa-bugs@suse.de Target Milestone: --- Found By: --- Blocker: --- Created attachment 873633 --> https://bugzilla.suse.com/attachment.cgi?id=873633&action=edit hwinfo I installed opensuse leap 15.6 beta on my laptop using official ISO, then I installed the pipewire-pulseaudio package. Next, I paired Bluetooth headphones in the Bluetooth settings, and the output device was correctly added in the sound settings. The problem is that after logging out or restarting the system, the headphones do not automatically connect if they are turned on all the time. I have to turn off and turn on the headphones' power again, or initiate connection manually for them to connect and become available as an output device in the sound settings. Is this expected beheviour? In leap version 15.5, this works as I expect, that is, after logging out or restarting, the Bluetooth connection disconnects, but upon logging in, the devices are automatically connected, even if they are continuously powered on and there is no need to turn them on again, or reconnect manually. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1221702 https://bugzilla.suse.com/show_bug.cgi?id=1221702#c2 --- Comment #2 from Krzysztof Chmielewski <kjchmielewski@gmail.com> --- I installed kernel in OBS Kernel:SLE15-SP6 repo, but the issue is still there. I shared a video that better shows what the problem is: https://drive.google.com/file/d/1exnMeSRchynV6WGmpAWizn1TJuHvzmYp/view?usp=d... -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1221702 https://bugzilla.suse.com/show_bug.cgi?id=1221702#c4 --- Comment #4 from Krzysztof Chmielewski <kjchmielewski@gmail.com> --- I'm using pipewire. I installed pavucontrol, the BT device is picked up as the primary device when BT connection is established. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1221702 https://bugzilla.suse.com/show_bug.cgi?id=1221702#c6 --- Comment #6 from Krzysztof Chmielewski <kjchmielewski@gmail.com> --- I also installed XFCE, and the behavior is identical; after logging in, I have to re-establish the connection using blueman-manager in this case. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1221702 https://bugzilla.suse.com/show_bug.cgi?id=1221702#c8 --- Comment #8 from Krzysztof Chmielewski <kjchmielewski@gmail.com> --- I installed Leap 15.5 kernel 5.14.21-150500.55.52-default, and booted with it. It didn't change anything, I have to reconnect BT headphones manually, unless I switch them off and on again. Devices are paired, but upon logging out, the connection is closed and is not automatically re-established upon logging back in. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1221702 https://bugzilla.suse.com/show_bug.cgi?id=1221702#c9 --- Comment #9 from Krzysztof Chmielewski <kjchmielewski@gmail.com> --- It works as it used to work in leap 15.5 when I downgraded pipewire and wireplumber to the versions from repositories for leap 15.5 (certain additional packages downgraded due to dependencies) altair:/var/log # zypper pa --installed-only --repo Packman | grep i+ i+ | Packman | libpipewire-0_3-0 | 0.3.64-150500.3.7.pm.1 | x86_64 i+ | Packman | pipewire | 0.3.64-150500.3.7.pm.1 | x86_64 i+ | Packman | pipewire-alsa | 0.3.64-150500.3.7.pm.1 | x86_64 i+ | Packman | pipewire-lang | 0.3.64-150500.3.7.pm.1 | noarch i+ | Packman | pipewire-libjack-0_3 | 0.3.64-150500.3.7.pm.1 | x86_64 i+ | Packman | pipewire-modules-0_3 | 0.3.64-150500.3.7.pm.1 | x86_64 i+ | Packman | pipewire-pulseaudio | 0.3.64-150500.3.7.pm.1 | x86_64 i+ | Packman | pipewire-spa-plugins-0_2 | 0.3.64-150500.3.7.pm.1 | x86_64 i+ | Packman | pipewire-spa-tools | 0.3.64-150500.3.7.pm.1 | x86_64 i+ | Packman | pipewire-tools | 0.3.64-150500.3.7.pm.1 | x86_64 altair:/var/log # zypper pa --installed-only --repo leap_15.5 | grep i+ i+ | leap 15.5 | chrony | 4.1-150400.19.4 | x86_64 i+ | leap 15.5 | dosfstools | 4.1-3.6.1 | x86_64 i+ | leap 15.5 | irqbalance | 1.9.2-150500.1.3 | x86_64 i+ | leap 15.5 | libvdpau_va_gl1 | 0.4.2-bp155.4.8 | x86_64 i+ | leap 15.5 | libwireplumber-0_4-0 | 0.4.13-150500.1.2 | x86_64 i+ | leap 15.5 | ntfs-3g | 2022.5.17-150000.3.16.1 | x86_64 i+ | leap 15.5 | ntfsprogs | 2022.5.17-150000.3.16.1 | x86_64 i+ | leap 15.5 | numactl | 2.0.14.20.g4ee5e0c-150400.1.24 | x86_64 i+ | leap 15.5 | os-prober | 1.76-150100.4.2.1 | x86_64 i+ | leap 15.5 | pavucontrol | 5.0-150400.1.8 | x86_64 i+ | leap 15.5 | shim | 15.7-150300.4.16.1 | x86_64 i+ | leap 15.5 | wireplumber | 0.4.13-150500.1.2 | x86_64 i+ | leap 15.5 | wireplumber-audio | 0.4.13-150500.1.2 | noarch i+ | leap 15.5 | wireplumber-lang | 0.4.13-150500.1.2 | noarch -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1221702 https://bugzilla.suse.com/show_bug.cgi?id=1221702#c12 --- Comment #12 from Krzysztof Chmielewski <kjchmielewski@gmail.com> --- I added OBS multimedia:libs repository https://download.opensuse.org/repositories/multimedia:/libs/15.6/ and upgraded pipewire and wireplumber to the versions below: i+ | obs multimedia:libs | libpipewire-0_3-0 | 1.0.4-lp156.193.11 i+ | obs multimedia:libs | pipewire | 1.0.4-lp156.193.11 i+ | obs multimedia:libs | pipewire-alsa | 1.0.4-lp156.193.11 i+ | obs multimedia:libs | pipewire-lang | 1.0.4-lp156.193.11 i+ | obs multimedia:libs | pipewire-libjack-0_3 | 1.0.4-lp156.193.11 i+ | obs multimedia:libs | pipewire-modules-0_3 | 1.0.4-lp156.193.11 i+ | obs multimedia:libs | pipewire-pulseaudio | 1.0.4-lp156.193.11 i+ | obs multimedia:libs | pipewire-spa-plugins-0_2 | 1.0.4-lp156.193.11 i+ | obs multimedia:libs | pipewire-spa-tools | 1.0.4-lp156.193.11 i+ | obs multimedia:libs | pipewire-tools | 1.0.4-lp156.193.11 i+ | obs multimedia:libs | wireplumber | 0.5.0-lp156.1.1 i+ | obs multimedia:libs | wireplumber-audio | 0.5.0-lp156.1.1 i+ | obs multimedia:libs | wireplumber-lang | 0.5.0-lp156.1.1 I tested with the kernels 5.14.21 from leap 15.5 and 6.4.0 from leap 15.6, also with GNOME and XFCE. For these versions of Pipewire and WirePlumber, the effect is the same/incorrect as for versions included in Leap 15.6, i.e. after logging in, I must manually initiate the connection using the applet if the headphones were powered on during that time. If I turn on the power after logging in, the connection is established automatically. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1221702 https://bugzilla.suse.com/show_bug.cgi?id=1221702#c13 --- Comment #13 from Krzysztof Chmielewski <kjchmielewski@gmail.com> --- I figured out the issue. It seems it's a feature not a bug :-) I created ~/.config/wireplumber/wireplumber.conf.d/bluetooth.conf containing : [...] monitor.bluez.rules = [ ## The list of monitor rules # This rule example allows changing properties on all Bluetooth devices. { matches = [ { ## This matches all bluetooth devices. device.name = "~bluez_card.*" } ] actions = { update-props = { ## Auto-connect device profiles on start up or when only partial ## profiles have connected. Disabled by default if the property ## is not specified. bluez5.auto-connect = [ a2dp_sink a2dp_source ] # # ## Hardware volume control (default: [ hfp_ag hsp_ag a2dp_source ]) # bluez5.hw-volume = [ hfp_hf hsp_hs a2dp_sink hfp_ag hsp_ag a2dp_source ] # # ## LDAC encoding quality # ## Available values: auto (Adaptive Bitrate, default) # ## hq (High Quality, 990/909kbps) # ## sq (Standard Quality, 660/606kbps) # ## mq (Mobile use Quality, 330/303kbps) # bluez5.a2dp.ldac.quality = "auto" # # ## AAC variable bitrate mode # ## Available values: 0 (cbr, default), 1-5 (quality level) # bluez5.a2dp.aac.bitratemode = 0 # # ## Opus Pro Audio encoding mode: audio, voip, lowdelay # bluez5.a2dp.opus.pro.application = "audio" # bluez5.a2dp.opus.pro.bidi.application = "audio" } } } setting property: bluez5.auto-connect = [ a2dp_sink a2dp_source ] causes desired behavior, headphones are automatically connecting upon logging into user session, when they are already paired and powered on. I think this setting was enabled by default in leap 15.5, because I did not set it previously for sure. Otherwise everything seems to work as expected. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com