alsa-project/alsa-ucm-conf issue #325 was opened from myrkr: I'm currently testing an update of alsa-ucm-conf from version v1.2.5.1 to version v1.2.9 and noticed a regression. Kernel: v6.1.34 alsa-lib: v1.2.6.1 pulseaudio: 14.2 I use a Lenovo T14G1 with an HDMI monitor connected via USB-C (but the monitor is not in use by Xorg). I want to use the built-in speaker and microphone of the device. Before the update I got the following output from "pactl list": [pactl-before.log](https://github.com/alsa-project/alsa-ucm-conf/files/11788116/pactl-before.log) ``` Card #0 Name: alsa_card.pci-0000_00_1f.3-platform-skl_hda_dsp_generic Driver: module-alsa-card.c Owner Module: 1 Properties: alsa.card = "0" alsa.card_name = "sof-hda-dsp" alsa.long_card_name = "LENOVO-20S1S19N00-ThinkPadT14Gen1" device.bus_path = "pci-0000:00:1f.3-platform-skl_hda_dsp_generic" sysfs.path = "/devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0" device.bus = "pci" device.vendor.id = "8086" device.vendor.name = "Intel Corporation" device.product.id = "02c8" device.product.name = "Comet Lake PCH-LP cAVS" device.string = "0" device.description = "Comet Lake PCH-LP cAVS" module-udev-detect.discovered = "1" device.icon_name = "audio-card-pci" Profiles: HiFi: Play HiFi quality Music (sinks: 4, sources: 2, priority: 8000, available: yes) off: Off (sinks: 0, sources: 0, priority: 0, available: yes) Active Profile: HiFi Ports: [Out] HDMI3: HDMI / DisplayPort 3 Output (type: HDMI, priority: 700, latency offset: 0 usec, not available) Part of profile(s): HiFi [Out] HDMI2: HDMI / DisplayPort 2 Output (type: HDMI, priority: 600, latency offset: 0 usec, not available) Part of profile(s): HiFi [Out] HDMI1: HDMI / DisplayPort 1 Output (type: HDMI, priority: 500, latency offset: 0 usec, not available) Part of profile(s): HiFi [Out] Speaker: Speaker (type: Speaker, priority: 100, latency offset: 0 usec, availability unknown) Part of profile(s): HiFi [Out] Headphones: Headphones (type: Headphones, priority: 200, latency offset: 0 usec, not available) Part of profile(s): HiFi [In] Mic2: Headphones Stereo Microphone (type: Mic, priority: 200, latency offset: 0 usec, not available) Part of profile(s): HiFi [In] Mic1: Digital Microphone (type: Mic, priority: 100, latency offset: 0 usec, availability unknown) Part of profile(s): HiFi ``` On this cards the ports `Speaker` and `Mic1` are currently selected and usable. After the update to version v1.2.9 the output shows: [pactl-after.log](https://github.com/alsa-project/alsa-ucm-conf/files/11788117/pactl-after.log) ``` Card #0 Name: alsa_card.pci-0000_00_1f.3-platform-skl_hda_dsp_generic Driver: module-alsa-card.c Owner Module: 1 Properties: alsa.card = "0" alsa.card_name = "sof-hda-dsp" alsa.long_card_name = "LENOVO-20S1S19N00-ThinkPadT14Gen1" device.bus_path = "pci-0000:00:1f.3-platform-skl_hda_dsp_generic" sysfs.path = "/devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0" device.bus = "pci" device.vendor.id = "8086" device.vendor.name = "Intel Corporation" device.product.id = "02c8" device.product.name = "Comet Lake PCH-LP cAVS" device.string = "0" device.description = "Comet Lake PCH-LP cAVS" module-udev-detect.discovered = "1" device.icon_name = "audio-card-pci" Profiles: input:stereo-fallback: Stereo Input (sinks: 0, sources: 1, priority: 51, available: no) input:multichannel-input: Multichannel Input (sinks: 0, sources: 1, priority: 1, available: yes) output:stereo-fallback: Stereo Output (sinks: 1, sources: 0, priority: 5100, available: yes) output:stereo-fallback+input:stereo-fallback: Stereo Output + Stereo Input (sinks: 1, sources: 1, priority: 5151, available: no) output:stereo-fallback+input:multichannel-input: Stereo Output + Multichannel Input (sinks: 1, sources: 1, priority: 5101, available: yes) output:multichannel-output: Multichannel Output (sinks: 1, sources: 0, priority: 100, available: yes) output:multichannel-output+input:stereo-fallback: Multichannel Output + Stereo Input (sinks: 1, sources: 1, priority: 151, available: no) output:multichannel-output+input:multichannel-input: Multichannel Duplex (sinks: 1, sources: 1, priority: 101, available: yes) off: Off (sinks: 0, sources: 0, priority: 0, available: yes) Active Profile: output:stereo-fallback+input:multichannel-input Ports: analog-input-mic: Microphone (type: Mic, priority: 8700, latency offset: 0 usec, not available) Part of profile(s): input:stereo-fallback, output:stereo-fallback+input:stereo-fallback, output:multichannel-output+input:stereo-fallback analog-output-speaker: Speakers (type: Speaker, priority: 10000, latency offset: 0 usec, availability unknown) Properties: device.icon_name = "audio-speakers" Part of profile(s): output:stereo-fallback, output:stereo-fallback+input:stereo-fallback, output:stereo-fallback+input:multichannel-input analog-output-headphones: Headphones (type: Headphones, priority: 9900, latency offset: 0 usec, not available) Properties: device.icon_name = "audio-headphones" Part of profile(s): output:stereo-fallback, output:stereo-fallback+input:stereo-fallback, output:stereo-fallback+input:multichannel-input ``` The `Speakers` are selected for output but there is no port I can select for input. I did a `git bisect` and found out that reverting the following commit from v1.2.7 solves the problem: ``` commit e2cfda5b53f4718f1128fb4df75ec8fb7274d36b Author: Jaroslav Kysela <perex@xxxxxxxx> Date: Mon May 23 13:33:24 2022 +0200 HDMI - use new Macro syntax Signed-off-by: Jaroslav Kysela <perex@xxxxxxxx> ``` Issue URL : https://github.com/alsa-project/alsa-ucm-conf/issues/325 Repository URL: https://github.com/alsa-project/alsa-ucm-conf