Skip to contentSkip to conversation

Intel: avs: Add new UCMs after recent kernel work

DISCUSSION GitHub pull_request - opened 1 participant 1 message Jun 4, 2025 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): alsa-project/alsa-ucm-conf/pr/[email protected]

#1 lore raw

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/[email protected]/

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