Activity log for bug #1891461

Date Who What changed Old value New value Message
2020-08-13 09:37:16 Kai-Heng Feng bug added bug
2020-08-13 09:37:29 Kai-Heng Feng bug task added alsa-lib (Ubuntu)
2020-08-13 09:37:38 Kai-Heng Feng bug task added alsa-ucm-conf (Ubuntu)
2020-08-13 11:06:18 Daniel van Vugt alsa-lib (Ubuntu): status New Incomplete
2020-08-13 11:06:21 Daniel van Vugt alsa-ucm-conf (Ubuntu): status New Incomplete
2020-08-13 11:06:24 Daniel van Vugt pulseaudio (Ubuntu): status New Incomplete
2020-08-13 11:06:45 Daniel van Vugt bug added subscriber Daniel van Vugt
2020-08-13 11:27:28 Kai-Heng Feng nominated for series Ubuntu Groovy
2020-08-13 11:27:28 Kai-Heng Feng bug task added alsa-lib (Ubuntu Groovy)
2020-08-13 11:27:28 Kai-Heng Feng bug task added pulseaudio (Ubuntu Groovy)
2020-08-13 11:27:28 Kai-Heng Feng bug task added alsa-ucm-conf (Ubuntu Groovy)
2020-08-13 11:27:28 Kai-Heng Feng nominated for series Ubuntu Focal
2020-08-13 11:27:28 Kai-Heng Feng bug task added alsa-lib (Ubuntu Focal)
2020-08-13 11:27:28 Kai-Heng Feng bug task added pulseaudio (Ubuntu Focal)
2020-08-13 11:27:28 Kai-Heng Feng bug task added alsa-ucm-conf (Ubuntu Focal)
2020-08-13 14:48:15 Kai-Heng Feng description TBD [Impact] Lenovo ThinkStation P620 uses TRX4 board, which doesn't have PCI audio in its chipset. Instead, it's equipped with two USB audio devices, "Main", which is for internal speaker and front headset, and "Rear", which is for rear panel I/Os. However, both USB audio don't really work out of the box. Issues and fixes will be described together below. [Fix for alsa-lib] 1) Both USB audio devices don't have S/PDIF port, so we need to disable them: https://git.alsa-project.org/?p=alsa-lib.git;a=commit;h=464c2f8b61855cb22d61c4b232f74d6767fac5fb [Fix for alsa-ucm-conf] 2) PulseAudio doesn't assign the correct stream for "Main" device, audio output stays at "Speaker" after "Headset" is selected. So we need UCM to let PulseAudio understand correct stream assignment. In addition to that, in order to not let headset port availability invalidate speaker profile, we need two UCM profiles to separate "Speaker" and "Headset" logically: https://github.com/alsa-project/alsa-ucm-conf/pull/42 [Fix for PulseAudio] 3) USB audio devices, UAC v2 and v3, support jack detection (insertion control). However, PulseAudio doesn't monitor USB jack mixer controls, so jack detection doesn't work at userspace level. We need to let PulseAudio be aware those jacks: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/commit/e153fb870618b1dcf65f6fce1667ea76acc5a28b 4) When a headset gets plugged, PulseAudio switches the profile from "Speaker" to "Headset" automatically. However, when headset gets unplugged, PulseAudio switch the profile from "Headset" to "HDMI", skipping the "Speaker" profile. We need to fix priorities for profiles that are created from UCM to avoid the problem: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/commit/dd70c3c5890ce27b9ba4bd041dea4a01c3e1fc0f [Test] Under g-c-c's Sound tab, "Speaker", "Headphone", "S/PDIF", etc. profiles are all selectable. Sound comes out from speaker even if "Headphone" is chosen. Microphone is already selected though there's no microphone plugged. With the above fix all applied, open Gnome Control Center -> Sound tab. Sink "Speaker" is selected. Only "Speaker" and "HDMI" are in the drop down menu. Plug a headset to front port, "Headphone" and "Microphone" appears and automatically becomes default. Unplug the headset, sink switches back to "Speaker", and source switches to none. Plug line-in, line-out and microphone to the rear panel, jack detection works for all three ports, and they all work correctly. Unplug rear line-in, line-out or microphone makes the option in dropdown menu disappears. On other systems, nothing changed. [Regression Potential] For fix 1) and 2), The UCM in alsa-lib and alsa-ucm-conf strictly match kernel provided profile name, so no other device will be affected. For fix 3), if there are UAC v2/v3 devices claim to support jack detection but don't really support it, this will make the PulseAudio consider its availability to "no". AFAIK, the USB audios that have jack ports are mostly docking stations, which already have their own UCM profiles or PulseAudio profile-sets, so they are unaffected by this change. If we ever see this kind of regression, the proper fix is to disable jack detection from kernel side. For fix 4), if user depends on the old behavior (i.e. switch to another card while other profiles are still available), this will bring a behavioral change. However, all available profiles will still be available after the fix, so users can still be chose the preferred profile from the g-c-c dropdown menu.
2020-08-13 14:50:12 Kai-Heng Feng attachment added pulseaudio_13.99.1-1ubuntu9.debdiff https://bugs.launchpad.net/ubuntu/+source/alsa-ucm-conf/+bug/1891461/+attachment/5401382/+files/pulseaudio_13.99.1-1ubuntu9.debdiff
2020-08-13 14:50:39 Kai-Heng Feng attachment added pulseaudio_13.99.1-1ubuntu3.6.debdiff https://bugs.launchpad.net/ubuntu/+source/alsa-ucm-conf/+bug/1891461/+attachment/5401383/+files/pulseaudio_13.99.1-1ubuntu3.6.debdiff
2020-08-13 16:30:37 Ubuntu Foundations Team Bug Bot tags patch
2020-08-13 16:30:45 Ubuntu Foundations Team Bug Bot bug added subscriber Ubuntu Sponsors Team
2020-08-14 02:19:23 Daniel van Vugt pulseaudio (Ubuntu Focal): status New In Progress
2020-08-14 02:19:27 Daniel van Vugt pulseaudio (Ubuntu Groovy): status Incomplete In Progress
2020-08-14 02:19:37 Daniel van Vugt pulseaudio (Ubuntu Focal): assignee Kai-Heng Feng (kaihengfeng)
2020-08-14 02:19:51 Daniel van Vugt pulseaudio (Ubuntu Groovy): assignee Kai-Heng Feng (kaihengfeng)
2020-08-14 02:42:56 Daniel van Vugt tags patch focal groovy patch
2020-08-14 02:43:11 Daniel van Vugt pulseaudio (Ubuntu Focal): importance Undecided Medium
2020-08-14 02:43:14 Daniel van Vugt pulseaudio (Ubuntu Groovy): importance Undecided Medium
2020-08-14 02:43:17 Daniel van Vugt alsa-lib (Ubuntu Groovy): status Incomplete New
2020-08-14 02:43:19 Daniel van Vugt alsa-ucm-conf (Ubuntu Groovy): status Incomplete New
2020-08-14 05:40:45 Kai-Heng Feng attachment removed pulseaudio_13.99.1-1ubuntu9.debdiff https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1891461/+attachment/5401382/+files/pulseaudio_13.99.1-1ubuntu9.debdiff
2020-08-18 09:14:35 Kai-Heng Feng attachment added alsa-lib_1.2.2-2.3ubuntu3.debdiff https://bugs.launchpad.net/ubuntu/focal/+source/pulseaudio/+bug/1891461/+attachment/5402432/+files/alsa-lib_1.2.2-2.3ubuntu3.debdiff
2020-08-18 09:14:58 Kai-Heng Feng attachment added alsa-lib_1.2.2-2.1ubuntu1.1.debdiff https://bugs.launchpad.net/ubuntu/focal/+source/pulseaudio/+bug/1891461/+attachment/5402433/+files/alsa-lib_1.2.2-2.1ubuntu1.1.debdiff
2020-08-18 09:48:55 Kai-Heng Feng attachment added alsa-ucm-conf_1.2.2-1ubuntu3.debdiff https://bugs.launchpad.net/ubuntu/focal/+source/pulseaudio/+bug/1891461/+attachment/5402454/+files/alsa-ucm-conf_1.2.2-1ubuntu3.debdiff
2020-08-18 09:49:21 Kai-Heng Feng attachment added alsa-ucm-conf_1.2.2-1ubuntu0.2.debdiff https://bugs.launchpad.net/ubuntu/focal/+source/pulseaudio/+bug/1891461/+attachment/5402455/+files/alsa-ucm-conf_1.2.2-1ubuntu0.2.debdiff
2020-08-19 03:57:25 Anthony Wong tags focal groovy patch focal groovy originate-from-1887127 originate-from-1887878 patch sutton
2020-08-19 15:07:29 Sebastien Bacher alsa-ucm-conf (Ubuntu Groovy): importance Undecided High
2020-08-19 15:07:29 Sebastien Bacher alsa-ucm-conf (Ubuntu Groovy): status New Fix Committed
2020-08-19 15:08:26 Sebastien Bacher alsa-ucm-conf (Ubuntu Groovy): assignee Kai-Heng Feng (kaihengfeng)
2020-08-19 15:08:49 Sebastien Bacher alsa-lib (Ubuntu Groovy): importance Undecided High
2020-08-19 15:08:49 Sebastien Bacher alsa-lib (Ubuntu Groovy): status New Fix Committed
2020-08-19 15:08:49 Sebastien Bacher alsa-lib (Ubuntu Groovy): assignee Kai-Heng Feng (kaihengfeng)
2020-08-19 15:14:15 Sebastien Bacher pulseaudio (Ubuntu Groovy): status In Progress Fix Committed
2020-08-19 15:17:35 Sebastien Bacher alsa-lib (Ubuntu Focal): assignee Kai-Heng Feng (kaihengfeng)
2020-08-19 15:17:38 Sebastien Bacher alsa-ucm-conf (Ubuntu Focal): assignee Kai-Heng Feng (kaihengfeng)
2020-08-19 16:46:55 Launchpad Janitor alsa-ucm-conf (Ubuntu Groovy): status Fix Committed Fix Released
2020-08-19 20:27:57 Sebastien Bacher alsa-lib (Ubuntu Focal): status New Fix Committed
2020-08-19 20:28:00 Sebastien Bacher alsa-ucm-conf (Ubuntu Focal): status New Fix Committed
2020-08-19 20:28:02 Sebastien Bacher pulseaudio (Ubuntu Focal): status In Progress Fix Committed
2020-08-20 02:16:19 Launchpad Janitor pulseaudio (Ubuntu Groovy): status Fix Committed Fix Released
2020-08-20 02:16:29 Launchpad Janitor alsa-lib (Ubuntu Groovy): status Fix Committed Fix Released
2020-08-20 09:01:41 Łukasz Zemczak bug added subscriber Ubuntu Stable Release Updates Team
2020-08-20 09:01:44 Łukasz Zemczak bug added subscriber SRU Verification
2020-08-20 09:01:46 Łukasz Zemczak tags focal groovy originate-from-1887127 originate-from-1887878 patch sutton focal groovy originate-from-1887127 originate-from-1887878 patch sutton verification-needed verification-needed-focal
2020-08-20 09:02:33 Łukasz Zemczak removed subscriber Ubuntu Sponsors Team
2020-08-23 09:40:36 Kai-Heng Feng tags focal groovy originate-from-1887127 originate-from-1887878 patch sutton verification-needed verification-needed-focal focal groovy originate-from-1887127 originate-from-1887878 patch sutton verification-done verification-done-focal
2020-08-31 13:46:20 Launchpad Janitor alsa-lib (Ubuntu Focal): status Fix Committed Fix Released
2020-08-31 13:46:30 Łukasz Zemczak removed subscriber Ubuntu Stable Release Updates Team
2020-08-31 13:46:41 Launchpad Janitor alsa-ucm-conf (Ubuntu Focal): status Fix Committed Fix Released
2020-08-31 13:46:43 Launchpad Janitor pulseaudio (Ubuntu Focal): status Fix Committed Fix Released
2020-09-01 02:54:15 Anthony Wong bug task added hwe-next
2020-09-01 02:54:26 Anthony Wong hwe-next: status New Fix Released