This bug was fixed in the package pulseaudio - 1:13.99.1-1ubuntu3.11 --------------- pulseaudio (1:13.99.1-1ubuntu3.11) focal; urgency=medium
* d/p/0016-check_off_profile_when_switching_profile.patch * d/p/0017-add_dynamic_priority_bonus_base_for_alsa_profiles.patch Fix a "Rear Mic" always showing on input list when using dual codec. (LP: #1929371) [ Hui Wang ] * d/p/0704-alsa-mixer-use-safe-dB-range-values-when-the-overrid.patch * d/p/0705-alsa-mixer-add-support-up-8-mixer-channels.patch - The linux kernel 5.11 starts supporting more than 2 channels for the digital mic, we need to add the support of 8 channels for a single alsa mixer, otherwise the PA can't change the hardware input volume of the digital mic. (LP: #1929817) -- Jeremy Szu <jeremy....@canonical.com> Tue, 25 May 2021 16:04:07 +0000 -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to pulseaudio in Ubuntu. https://bugs.launchpad.net/bugs/1929371 Title: [SRU] there is always a "Rear Microphone - Built-in Audio" option on the input device list even if the microphone is unplugged Status in OEM Priority Project: Triaged Status in alsa-ucm-conf package in Ubuntu: Fix Released Status in pulseaudio package in Ubuntu: Fix Released Status in alsa-ucm-conf source package in Focal: Fix Released Status in pulseaudio source package in Focal: Fix Released Status in alsa-ucm-conf source package in Hirsute: Fix Released Status in pulseaudio source package in Hirsute: Fix Released Bug description: [Impact] In Lenovo P520, which using a codec for front panel, the other codec for rear panel and both are on a same card. In this case, the rear Mic will present on input devices of "Sound Settings" even if attaching nothing to rear mic jack. [Fix] For alsa-ucm-conf part, the Mic 2 should use "Rear Mic Jack" as JackControl because of ``` control.18 { iface CARD name 'Rear Mic Jack' value true comment { access read type BOOLEAN count 1 } } ``` After applying "Rear Mic Jack", the rear Mic will not always there anymore but it's not there as well if hot-plugging audio device on rear mic. Thus, it needs to change pulseaudio to handle if all devices are off cases. For pulseaudio, if there is no any audio devices attached, then attaching an input device on rear mic jack. The port will not be selected automatically because the profiles is off. It needs patch pulseaudio to check off profiles (for dual codec case). [Test] After applying these patches, the rear mic jack works good in all cases (boot without mic and then attach mic, boot with mic and then hotplug it) and other functions (line-in / line-out) work pretty well. [Where problems could occur] This change only apply the bonus on below cases: ``` if ((has_input_port && found_available_input_port && !has_output_port) || (has_output_port && found_available_output_port && !has_input_port) || (has_input_port && found_available_input_port && has_output_port && found_available_output_port)) ``` and these cases have been tested. If there are some complex codec design then it might cause problem but so far we didn't see that. To manage notifications about this bug go to: https://bugs.launchpad.net/oem-priority/+bug/1929371/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp