Intel: avs: Add new UCMs after recent kernel work

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.slawinski@xxxxxxxxxxxxxxx/

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



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux