alsa-ucm-conf/ucm2
Nedko Arnaudov 7de158eb63 Merge branch 'Behringer-UMC404HD' into branch 'main' 2023-08-05 18:51:27 +03:00
..
AMD ucm2: Add initial support for AMD Vangogh (acp5x) on Steam Deck 2023-01-29 17:42:18 +01:00
Allwinner/A64/PinePhone ucm2: PinePhone: use "Mix Mono" routing for earpiece 2023-06-28 12:50:05 +02:00
HDA acp62: add initial support for AMD ACP v6.2 RPL 2023-06-28 12:46:00 +02:00
Intel Intel/sof-essx8336: Fix HiFi.conf 2023-06-28 13:30:32 +02:00
MediaTek ucm2: MediaTek: mt8365-evk: Add alsa-ucm support 2023-01-29 18:06:23 +01:00
NXP/iMX8 ucm2: add profile for the Librem 5 2022-11-16 15:57:45 +01:00
OMAP/abe-twl6040 SDP4430: Move to OMAP/abe-twl6040/SDP4430 tree 2020-06-25 21:20:43 +02:00
Qualcomm ucm2: Qualcomm: sc8280xp: fix device numbers 2023-06-28 12:47:58 +02:00
Rockchip ucm2: Rockchip: rk817: Add ALSA UCM support 2023-03-02 14:37:34 +01:00
Samsung/snow DAISY-I2S: move to Samsung/snow/snow.conf 2020-06-25 16:40:37 +02:00
Tegra tegra: max98090: cleanups 2022-07-08 17:00:04 +02:00
USB-Audio Merge branch 'Behringer-UMC404HD' into branch 'main' 2023-08-05 18:51:27 +03:00
codecs ucm2: codecs: va-macro: fix dmic1 mux setting 2023-04-17 10:13:03 +02:00
common Behringer UCM204HD - use S32_LE format for dshare/dsnoop 2022-08-01 17:48:50 +02:00
conf.d acp62: add initial support for AMD ACP v6.2 RPL 2023-06-28 12:46:00 +02:00
conf.virt.d ucm2: create empty conf.virt.d directory 2021-04-23 11:01:34 +02:00
lib ucm2: add lib / ctl-remap.conf generic device 2021-05-18 12:27:34 +02:00
module acp: move linked configuration from modules/ to conf.d/ 2021-11-22 13:02:16 +01:00
platforms/bytcr
sof-soundwire sof-hda-dsp,sof-soundwire: add CaptureMicInfoFile fields for dmics 2023-05-16 16:26:38 +02:00
DEBUG.md DEBUG.md: add systemctl restart command for pipewire 2023-02-04 20:59:10 +01:00
README.md fix ucm2/README.md - ALSA driver name has the precedence 2021-05-19 14:48:56 +02:00
ucm.conf ucm.conf: turn off support for V2Module and V2Name by default 2021-11-23 14:52:39 +01:00

README.md

Use Case Configuration files

Library directories:

platforms/ codecs/ dsps/

Those directories are not inspected for the list of available UCM configurations. They contain files included from other UCMs.

UCM master configuration path lookup is defined in the top level ucm.conf file. This file allows custom directory layout. The new ucm2 layout is based on the ALSA driver name with the kernel driver name as fallback. The virtual cards (no direct hw bound) lookups are placed to the separate conf.virt.d directory.

The lookup configuration:

https://git.alsa-project.org/?p=alsa-ucm-conf.git;a=blob;f=ucm2/ucm.conf

Example paths - new conf.d scheme:

  • conf.d/USB-Audio/Dell-WD15-Dock.conf -- special configuration for the Dell docking station with USB soundcard
  • conf.virt.d/TwoCardsMix.conf -- virtual UCM from two soundcards

Example paths - no conf.d scheme (may be invalidated):

  • USB-Audio/Dell-WD15-Dock.conf -- special configuration for the Dell docking station with USB soundcard
  • TwoCardsMix/TwoCardsMix.conf -- virtual UCM from two soundcards

Note: For the driver configurations, use always the ALSA driver name or the real kernel driver name - not the ucm card name configuration paths!

The kernel driver name is obtained using sysfs like (last part of the path is used from the symlink):

  /sys/class/sound/card0/device/driver

The ALSA driver name can be obtained using procfs like:

  cat /proc/asound/cards
  1 [NVidia         ]: HDA-Intel - HDA NVidia
                       HDA NVidia at 0xb5080000 irq 17

  driver name: HDA-Intel
  card short name: HDA NVidia
  card long name: HDA NVidia at 0xb5080000 irq 17

Syntax, value names

https://git.alsa-project.org/?p=alsa-lib.git;a=blob;f=include/use-case.h