
alsa-project/alsa-ucm-conf pull request #571 was opened from amadeuszslawinski-intel:
After recent work to rename cards [1], userspace expects different card names and device numbers.
[1] https://lore.kernel.org/linux-sound/20250407124154.1713039-1-amadeuszx.slawi...
There is one problem with HDMI not working. As far as I can tell, this is due to macro not handling pcm=0 correctly, but I have no idea how to fix that. ``` numid=1,iface=CARD,name='HDMI/DP Jack' numid=7,iface=CARD,name='HDMI/DP,pcm=1 Jack' numid=13,iface=CARD,name='HDMI/DP,pcm=2 Jack' ```
``` DefineMacro.HDMI.If.hdmi { Condition { Type ControlExists Control "iface=CARD,name='HDMI/DP,pcm=${var:__Device} Jack'" } ```
I've opted for adding files instead of moving and editing them, because there may be users who currently use old card names.
Main differences are: * HDAudio macros can now be used for HD-Audio card * DMIC now automatically constraints number of channels, so no need for two separate files * rewrote some files to make use of conditional syntax
Request URL : https://github.com/alsa-project/alsa-ucm-conf/pull/571 Patch URL : https://github.com/alsa-project/alsa-ucm-conf/pull/571.patch Repository URL: https://github.com/alsa-project/alsa-ucm-conf