alsa-ucm-conf/ucm2
2024-06-19 08:45:57 +02:00
..
Allwinner/A64/PinePhone Initialise AIF2 ADC Stereo Capture Route 2024-01-09 15:51:45 +01:00
AMD ucm2: acp3x-es83xx: introduce UCM support for acp3x-es83xx 2024-01-29 13:48:14 +01:00
Amlogic/p241 meson: add initial p241 support 2023-10-30 11:06:10 +01:00
blobs/sof UCM2: SOF: Add example blobs customization for AAEON 2024-05-31 14:24:25 +02:00
codecs codecs: qcom-lpass/tx-macro: Move TX1 MODE ctrl to 2024-05-31 13:57:53 +02:00
common ucm2: common: pcm: Add hdmi.conf to handle the creation 2024-04-29 15:36:17 +02:00
conf.d Add support for Coachz with HDMI disabled 2024-04-18 11:07:32 +02:00
conf.virt.d ucm2: create empty conf.virt.d directory 2021-04-23 11:01:34 +02:00
HDA acp62: add initial support for AMD ACP v6.2 RPL 2023-06-28 12:46:00 +02:00
Intel sof-hda-dsp: Fix the case where sysfs dmi sys_vendor attribute is not set 2024-06-19 08:45:57 +02:00
lib ucm2: add lib / ctl-remap.conf generic device 2021-05-18 12:27:34 +02:00
MediaTek ucm2: MediaTek: mt8195-sof: Add support for Tomato RT5682s 2024-04-18 10:46:05 +02:00
module acp: move linked configuration from modules/ to conf.d/ 2021-11-22 13:02:16 +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
platforms/bytcr ucm2: use Include (Syntax 3) 2020-06-16 13:44:03 +02:00
Qualcomm ucm2: Qualcomm: x1e80100: add recording via DMIC01 2024-05-14 16:55:07 +02:00
Rockchip ucm2: Rockchip: Add UCM support for ES8316 on Rock 5B 2023-08-21 15:32:13 +02:00
Samsung/snow DAISY-I2S: move to Samsung/snow/snow.conf 2020-06-25 16:40:37 +02:00
sof-soundwire sof-soundwire: fix missing MultiCodec1 initialization and Empty condition 2024-06-10 08:48:22 +02:00
Tegra tegra: Add UCM for MAX98089 based LG Optimus 4X HD and Vu 2023-08-21 15:34:47 +02:00
USB-Audio USB-Audio: ALC4080: Add support for MSI MEG Z790 Ace 2024-04-18 10:51:22 +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

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