]> git.alsa-project.org Git - alsa-ucm-conf.git/commitdiff
update ucm2/README.md - more kernel module lookup clarifications
authorJaroslav Kysela <perex@perex.cz>
Tue, 18 Aug 2020 14:00:31 +0000 (16:00 +0200)
committerJaroslav Kysela <perex@perex.cz>
Tue, 18 Aug 2020 15:05:58 +0000 (17:05 +0200)
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
ucm2/README.md

index b5a4196e50e86586bbe6e2f5f0c22826e8cb0758..3f07548a8aef614e5dd35351cdf0efa4e2cd5ffc 100644 (file)
@@ -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: