[Pkg-utopia-maintainers] Bug#1052682: pipewire-pulse: Updated section in /etc/pipewire/pipewire-pulse.conf.d/ not loading module-switch-on-connect

S. sb56637 at gmail.com
Tue Sep 26 06:57:22 BST 2023


Package: pipewire-pulse
Version: 0.3.65-3
Severity: normal
X-Debbugs-Cc: sb56637 at gmail.com

Dear Maintainer,

I am following these instructions to enable module-switch-on-connect for
pipewire-pulse by adding just the section I want to modify in
/etc/pipewire/pipewire-pulse.conf.d/my.conf

https://docs.pipewire.org/page_module_protocol_pulse.html#autotoc_md380

----------------------------
pulse.cmd = [
    { cmd = "load-module" args = "module-always-sink" flags = [ ] }
    { cmd = "load-module" args = "module-switch-on-connect" }
]
----------------------------

However this does not work, i.e. `pactl list modules short` does not show
`module-switch-on-connect` and streams don't switch automatically when plugging
in a new USB audio device.

Yet, when I `sudo cp /usr/share/pipewire/pipewire-pulse.conf /etc/pipewire/`
and uncomment `{ cmd = "load-module" args = "module-switch-on-connect" }` it
works as expected.

Thanks, and best regards.


-- System Information:
Debian Release: 12.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable'), (100, 'bookworm-fasttrack'), (100, 'bookworm-backports-staging')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.1.0-12-amd64 (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages pipewire-pulse depends on:
ii  init-system-helpers  1.65.2
ii  pipewire             0.3.65-3

Versions of packages pipewire-pulse recommends:
ii  wireplumber  0.4.13-1

Versions of packages pipewire-pulse suggests:
ii  libspa-0.2-bluetooth  0.3.65-3
ii  pulseaudio-utils      16.1+dfsg1-2+b1

-- no debconf information



More information about the Pkg-utopia-maintainers mailing list