Skip to content

Commit

Permalink
ucm2: USB-Audio test config
Browse files Browse the repository at this point in the history
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
  • Loading branch information
perexg committed Nov 11, 2021
1 parent 85eea19 commit 74ced65
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions ucm2/USB-Audio/USB-Audio.conf
@@ -0,0 +1,30 @@
Version 4

Define.ProfileFile ""

If.dell-desktop-front {
Condition {
Type String
Haystack "${CardComponents}"
Needle "USB0bda:4c54"
}
True.Define.ProfileName "Dell-Desktop-Front"
}

If.dell-desktop-rear {
Condition {
Type String
Haystack "${CardComponents}"
Needle "USB0bda:4c55"
}
True.Define.ProfileName "Dell-Desktop-Rear"
}

If.inc {
Condition {
Type String
Empty "${var:ProfileName}"
}
True.Error "UCM is not supported for this USB device (${CardLongName} @ ${CardComponents})"
False.Include.prof.File "${var:ProfileName}.conf"
}

0 comments on commit 74ced65

Please sign in to comment.