Subject: Bug#980006: pulseaudio: fails to prompt Gnome for headphone/headset selection (regression in 14.x)

From: Harlan Lieberman-Berg <[email-masked]>
Date: Tue, 12 Jan 2021 15:06:52 -0500

Package: pulseaudio
Version: 14.0-2
Severity: normal
Tags: upstream
X-Debbugs-Cc: [email-masked], [email-masked]

Hello maintainers,

Not entirely sure whether this is a GNOME issue or a pulseaudio issue, but since
the breakage occured due to a change in the pulseaudio API, I'm putting it here
for now. Feel free to move it if appropriate.

Since upgrading from the 13.x branch, GNOME no longer prompts whether a device
is a headphone or headset on plug insertion. After talking with i-garrison on
freenode/#pulseaudio, our guess is that this is related to the creation of
availability groups in 13.99.2 and the changes made to module
switch-on-port-available.

https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/issues/1028 is related,
though not specifically covering the breakage between GNOME and PA, but rather
mistakes in the way PA did selection from g-s-d.

Sincerely,

-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (900, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.9.0-5-amd64 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages pulseaudio depends on:
ii  adduser                      3.118
ii  init-system-helpers          1.60
ii  libasound2                   1.2.4-1.1
ii  libasound2-plugins           1.2.2-2
ii  libc6                        2.31-6
ii  libcap2                      1:2.44-1
ii  libdbus-1-3                  1.12.20-1
ii  libgcc-s1                    10.2.1-3
ii  libice6                      2:1.0.10-1
ii  libltdl7                     2.4.6-14
ii  liborc-0.4-0                 1:0.4.32-1
ii  libpulse0                    14.0-2
ii  libsm6                       2:1.2.3-1
ii  libsndfile1                  1.0.28-8
ii  libsoxr0                     0.1.3-4
ii  libspeexdsp1                 1.2~rc1.2-1.1
ii  libstdc++6                   10.2.1-3
ii  libsystemd0                  247.2-4
ii  libtdb1                      1.4.3-1+b1
ii  libudev1                     247.2-4
ii  libwebrtc-audio-processing1  0.3-1+b1
ii  libx11-6                     2:1.6.12-1
ii  libx11-xcb1                  2:1.6.12-1
ii  libxcb1                      1.14-2.1
ii  libxtst6                     2:1.2.3-1
ii  lsb-base                     11.1.0
ii  pulseaudio-utils             14.0-2

Versions of packages pulseaudio recommends:
ii  dbus-user-session        1.12.20-1
ii  libpam-systemd [logind]  247.2-4
ii  rtkit                    0.13-4

Versions of packages pulseaudio suggests:
pn  paprefs      <none>
ii  pavucontrol  4.0-2
pn  pavumeter    <none>
ii  udev         247.2-4

-- no debconf information