Public bug reported:
[ Impact ]
On desktop systems whose HDA codec offers 'Rear Mic' / 'Front Mic' in the
'Input Source' enum (e.g. Realtek ALC1220 next to an AMD ACP digital mic),
the 3.5mm microphone jack is not exposed to PipeWire at all. No analog input
device appears in Settings > Sound or in applications; only the digital mic
is available. Audio output works.
This is a regression from Ubuntu 24.04 (alsa-ucm-conf 1.2.10), where the rear
mic jack works with the same kernel. It was introduced upstream by commit
19fc5b9 ("ucm2: HDA: HiFi-analog/mic: Refactor the analog mic discovery",
v1.2.14), which only recognizes the "Internal Mic", "Headphone Mic", "Mic" and
"Headset Mic" enum items. The kernel HDA generic parser can also produce
"Rear Mic", "Front Mic" and "Dock Mic" (hda_get_input_pin_label()).
Fixed upstream in 418278d ("ucm2: HDA: mic - add Rear Mic, Front Mic and Dock
Mic input source enums"), not yet in a release. The upstream version relies on
a new alsa-lib feature (optional ConflictingDevice references, Syntax 10), so
the attached patch is a backport to the 1.2.15.x / 1.2.16.x HiFi-mic.conf
layout that needs no alsa-lib change. It applies unmodified to 1.2.15.3 and
1.2.16.1.
Affected: resolute (1.2.15.3-1ubuntu1.7), stonking (1.2.16.1-1ubuntu1),
tenacious (1.2.16.1-1ubuntu2). Not affected: noble (1.2.10).
[ Test Plan ]
On an affected system (HDA codec with 'Rear Mic' in 'Input Source'; check with
`amixer -c <card> sget 'Input Source'`), with a headset plugged into the rear
pink jack:
1. Before the update:
`alsaucm -c hw:<card> set _verb HiFi list _devices` lists no analog mic
device; `wpctl status` shows only the digital microphone source.
2. After the update and restarting PipeWire/WirePlumber (or logging out/in):
- alsaucm lists "Rear Stereo Microphone" and "Front Stereo Microphone"
devices, conflicting only with each other.
- Selecting the Rear profile / "Rear Stereo Microphone" input sets
'Input Source' to 'Rear Mic' and the input level responds to speech.
- Unplugging the headset marks the Rear mic port as not available;
plugging it back makes it available again.
3. Regression check on a system with 'Internal Mic' / 'Mic' / 'Headset Mic'
enum items (typical laptop): the same devices as before the update are
listed, with no load errors from alsaucm.
Tested on an AMD desktop reference board (Realtek ALC1220 + AMD ACP PDM
DMIC),
** Affects: alsa-ucm-conf (Ubuntu)
Importance: Undecided
Status: New
** Tags: regression-release resolute stonking tenacious
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2178385
Title:
[SRU] No analog microphone on HDA codecs with 'Rear Mic' / 'Front Mic'
input source (regression from 24.04)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/alsa-ucm-conf/+bug/2178385/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs