From: Jaroslav Kysela Date: Fri, 27 May 2022 08:41:35 +0000 (+0200) Subject: USB-Audio: reorder the match table (by USB device ID) X-Git-Tag: v1.2.7~1 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=9dc0f752d6d546bdc9a001bad2ac8270b7dae344;p=alsa-ucm-conf.git USB-Audio: reorder the match table (by USB device ID) Signed-off-by: Jaroslav Kysela --- diff --git a/ucm2/USB-Audio/USB-Audio.conf b/ucm2/USB-Audio/USB-Audio.conf index f82bb9e..b8e0267 100644 --- a/ucm2/USB-Audio/USB-Audio.conf +++ b/ucm2/USB-Audio/USB-Audio.conf @@ -52,6 +52,15 @@ If.gigabyte-aorus-main { True.Define.ProfileName "Gigabyte/Aorus-Master-Main-Audio" } +If.steinberg-ur44 { + Condition { + Type String + Haystack "${CardComponents}" + Needle "USB0499:1700" + } + True.Define.ProfileName "Steinberg/UR44" +} + If.dell-wd15 { Condition { Type RegexMatch @@ -88,22 +97,16 @@ If.goxlr { True.Define.ProfileName "GoXLR/GoXLR" } -If.steinberg-ur44 { +If.behringer-umc204hd { Condition { Type String Haystack "${CardComponents}" - Needle "USB0499:1700" + Needle "USB1397:0508" } - True.Define.ProfileName "Steinberg/UR44" -} - -If.id4 { - Condition { - Type String - Haystack "${CardComponents}" - Needle "USB2708:0009" + True.Define { + ProfileName "Behringer/UMC204HD" + MixerRemap yes } - True.Define.ProfileName "Audient/Audient-iD4" } If.lenovo-p620-rear { @@ -124,16 +127,22 @@ If.lenovo-p620-main { True.Define.ProfileName "Lenovo/ThinkStation-P620-Main" } -If.behringer-umc204hd { +If.minifuse2 { Condition { Type String Haystack "${CardComponents}" - Needle "USB1397:0508" + Needle "USB1c75:af90" } - True.Define { - ProfileName "Behringer/UMC204HD" - MixerRemap yes + True.Define.ProfileName "Arturia/Minifuse-2" +} + +If.id4 { + Condition { + Type String + Haystack "${CardComponents}" + Needle "USB2708:0009" } + True.Define.ProfileName "Audient/Audient-iD4" } If.mixremap { @@ -147,15 +156,6 @@ If.mixremap { } } -If.minifuse2 { - Condition { - Type String - Haystack "${CardComponents}" - Needle "USB1c75:af90" - } - True.Define.ProfileName "Arturia/Minifuse-2" -} - If.inc { Condition { Type String