Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1119366

Bug#998073: wireplumber: fails to automatically switch to headphones when connected

From Dylan Aïssi <daissi@debian.org>
Newsgroups linux.debian.bugs.dist
Subject Bug#998073: wireplumber: fails to automatically switch to headphones when connected
Date 2022-09-30 16:40 +0200
Message-ID <Fbplf-b71t-11@gated-at.bofh.it> (permalink)
References (1 earlier) <EsP29-1lOW-9@gated-at.bofh.it> <Faeid-aoCC-5@gated-at.bofh.it> <FaZh7-aRCk-1@gated-at.bofh.it> <DdCVr-6LH-1@gated-at.bofh.it> <FaZh7-aRCk-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi Vincent,

Le jeu. 29 sept. 2022 à 12:39, Vincent Lefevre <vincent@vinc17.net> a écrit :
>
> The problem is still there. The headphones autoconnect as usual but
> the audio is not switched to them automatically. I need to manually
> do the switch from pavucontrol. When I switch off the headphones,
> the audio is switched back to the bluetooth speakers automatically.
> When I switch on the headphones, the audio is still connected to
> the speakers. So the problem is reproducible.

I discussed technical details of this issue on #pipewire.

This autoswitch is not the default behavior of pulseaudio, but it can be
enabled using the module-switch-on-connect pulseaudio module [1] (the same
module is available for pipewire [2]). Usually, this module is not enabled by
default because it is too aggressive, so it might not be loaded in your case.

If this module if not loaded, then your autoswitch is done via a behavior of
pulseaudio which prioritize previous configured defaults. The same logic has
just been merged in wireplumber and should be available in the next release [3].

Dylan

[1] https://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/Modules/#module-switch-on-connect
[2] https://gitlab.freedesktop.org/pipewire/pipewire/-/wikis/Migrate-PulseAudio#module-switch-on-connect
[3] https://gitlab.freedesktop.org/pipewire/wireplumber/-/commit/7a1b48b7

Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#998073: wireplumber: fails to automatically switch to headphones when connected Dylan Aïssi <daissi@debian.org> - 2022-09-27 10:40 +0200
  Bug#998073: wireplumber: fails to automatically switch to headphones when connected Samuel Thibault <sthibault@debian.org> - 2022-09-27 11:00 +0200
    Bug#998073: wireplumber: fails to automatically switch to headphones when connected Dylan Aïssi <daissi@debian.org> - 2022-09-27 11:20 +0200
      Bug#998073: wireplumber: fails to automatically switch to headphones when connected Samuel Thibault <sthibault@debian.org> - 2022-09-27 11:30 +0200
    Bug#998073: wireplumber: fails to automatically switch to headphones when connected Vincent Lefevre <vincent@vinc17.net> - 2022-09-27 13:40 +0200
  Bug#998073: wireplumber: fails to automatically switch to headphones when connected Vincent Lefevre <vincent@vinc17.net> - 2022-09-29 12:50 +0200
    Bug#998073: wireplumber: fails to automatically switch to headphones when connected Dylan Aïssi <daissi@debian.org> - 2022-09-30 16:40 +0200
      Bug#998073: wireplumber: fails to automatically switch to headphones when connected Dylan Aïssi <daissi@debian.org> - 2022-10-05 10:00 +0200

csiph-web