All of lore.kernel.org
 help / color / mirror / Atom feed
* Intel: avs: Add new UCMs after recent kernel work
       [not found] <alsa-project/alsa-ucm-conf/pr/571@alsa-project.org>
@ 2025-06-04 12:12 ` GitHub pull_request - opened
  0 siblings, 0 replies; only message in thread
From: GitHub pull_request - opened @ 2025-06-04 12:12 UTC (permalink / raw)
  To: alsa-devel

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@linux.intel.com/

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-06-04 12:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <alsa-project/alsa-ucm-conf/pr/571@alsa-project.org>
2025-06-04 12:12 ` Intel: avs: Add new UCMs after recent kernel work GitHub pull_request - opened

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.