]> git.alsa-project.org Git - alsa-ucm-conf.git/commitdiff
USB-Audio: Add support for the SSL 2 MK II and SSL2+ MK II
authorJaroslav Kysela <perex@perex.cz>
Thu, 15 Jan 2026 15:02:06 +0000 (16:02 +0100)
committerJaroslav Kysela <perex@perex.cz>
Thu, 15 Jan 2026 15:02:06 +0000 (16:02 +0100)
Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/681
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
ucm2/USB-Audio/USB-Audio.conf

index b6af583e617ec2f0bd1a77558b52bdc4a275be0f..0841af6fe613952ef7d985c9867d00439e9e76c1 100644 (file)
@@ -592,9 +592,11 @@ If.teufel-cage-pro {
 
 If.ssl2 {
        Condition {
-               Type String
-               Haystack "${CardComponents}"
-               Needle "USB31e9:0001"
+               Type RegexMatch
+               String "${CardComponents}"
+               # 0001 MK I
+               # 0008 MK II
+               Regex "USB31e9:000[18]"
        }
        True.Define {
                ProfileName "SolidStateLabs/SSL2"
@@ -603,9 +605,11 @@ If.ssl2 {
 
 If.ssl2plus {
        Condition {
-               Type String
-               Haystack "${CardComponents}"
-               Needle "USB31e9:0002"
+               Type RegexMatch
+               String "${CardComponents}"
+               # 0002 MK I
+               # 0009 MK II
+               Regex "USB31e9:000[29]"
        }
        True.Define {
                ProfileName "SolidStateLabs/SSL2Plus"