From: Jaroslav Kysela Date: Tue, 18 Aug 2020 14:00:31 +0000 (+0200) Subject: update ucm2/README.md - more kernel module lookup clarifications X-Git-Tag: v1.2.4~20 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=db3a362d7523ef30a1640a76f2e460ce582f82fc;p=alsa-ucm-conf.git update ucm2/README.md - more kernel module lookup clarifications Signed-off-by: Jaroslav Kysela --- diff --git a/ucm2/README.md b/ucm2/README.md index b5a4196..3f07548 100644 --- a/ucm2/README.md +++ b/ucm2/README.md @@ -12,7 +12,12 @@ 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 driver name. +ucm2 layout is based on the kernel module driver name with the +ALSA driver name fallback. + +The lookup configuration: + + https://git.alsa-project.org/?p=alsa-ucm-conf.git;a=blob;f=ucm2/ucm.conf Example paths: @@ -21,8 +26,15 @@ Example paths: - TwoCardsMix/TwoCardsMix.conf -- virtual UCM from two soundcards -Note: For the driver configurations, use always the real driver name -not the ucm card name configuration paths! +Note: For the driver configurations, use always the real kernel driver +name or the ALSA 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 driver name can be obtained using procfs like: