diff --git a/alsa-ucm-conf.patch b/alsa-ucm-conf.patch index 51b93da..537d443 100644 --- a/alsa-ucm-conf.patch +++ b/alsa-ucm-conf.patch @@ -666,83 +666,6 @@ index 0000000..bf80b09 2.25.1 -From 340b8a1d6aaa164bc27bdb8811cc00d729ca2e45 Mon Sep 17 00:00:00 2001 -From: Jaroslav Kysela -Date: Mon, 30 Mar 2020 16:51:45 +0200 -Subject: [PATCH 05/10] update README files - -- UCM validator -- UCM paths for ucm2/ - -Signed-off-by: Jaroslav Kysela ---- - README.md | 6 ++++++ - ucm2/README.md | 34 +++++++++++++++++++++++++++++++--- - 2 files changed, 37 insertions(+), 3 deletions(-) - -diff --git a/README.md b/README.md -index 574c93c..c5afd96 100644 ---- a/README.md -+++ b/README.md -@@ -2,3 +2,9 @@ - ## ALSA Use Case Manager configuration - - ![Validate UCM configuration](https://github.com/alsa-project/alsa-ucm-conf/workflows/Validate%20UCM%20configuration/badge.svg?branch=master) -+ -+The UCM configurations are automatically valited using the UCM validator -+available at https://github.com/alsa-project/alsa-tests/tree/master/python/ucm-validator . -+ -+If you create a pull request for new hardware, please, add also the -+alsa-info.sh output to emulate this hardware in the UCM validator. -diff --git a/ucm2/README.md b/ucm2/README.md -index 3aefdf7..fc2a178 100644 ---- a/ucm2/README.md -+++ b/ucm2/README.md -@@ -7,9 +7,37 @@ Library directories: - codecs/ - dsps/ - --Those directories are not inspected for the list of --available UCM configurations. They contain files --included from other UCMs. -+Those directories are not inspected for the list of available UCM -+configurations. They contain files included from other UCMs. -+ -+UCM master configuration path lookup (by priority): -+ -+- {ucm_card_name}/{long_card_name}.conf -+- {ucm_card_name}/{ucm_card_name}.conf -+- {driver_name}/{long_card_name}.conf -+- {driver_name}/{driver_name}.conf -+ -+For example: -+ -+- 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 real driver name -+not the ucm card name configuration paths! -+ -+The 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 - ------------------- --- -2.25.1 - - From 85ca26a4f2b73888dbce3437a402df13faf628fa Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Sun, 5 Apr 2020 20:34:50 +0200