]> git.alsa-project.org Git - alsa-ucm-conf.git/commitdiff
USB-Audio: reorder the match table (by USB device ID)
authorJaroslav Kysela <perex@perex.cz>
Fri, 27 May 2022 08:41:35 +0000 (10:41 +0200)
committerJaroslav Kysela <perex@perex.cz>
Fri, 27 May 2022 08:41:35 +0000 (10:41 +0200)
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
ucm2/USB-Audio/USB-Audio.conf

index f82bb9e79dbcab03cdfa56e63b5fa294b41d295c..b8e02677b4a5aad0dcd7ad1fc696be314a5e65f5 100644 (file)
@@ -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