Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/681
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
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"
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"