]> git.alsa-project.org Git - alsa-ucm-conf.git/commitdiff
ucm2: USB-Audio: Add Teufel CAGE PRO
authorHarald Sitter <sitter@kde.org>
Sat, 21 Jun 2025 15:10:20 +0000 (17:10 +0200)
committerJaroslav Kysela <perex@perex.cz>
Tue, 24 Jun 2025 13:10:06 +0000 (15:10 +0200)
two stereo outputs: one for "game" and one for "chat".
one mono input

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/582
Signed-off-by: Harald Sitter <sitter@kde.org>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
ucm2/USB-Audio/Teufel/CAGE-PRO-HiFi.conf [new file with mode: 0644]
ucm2/USB-Audio/Teufel/CAGE-PRO.conf [new file with mode: 0644]
ucm2/USB-Audio/USB-Audio.conf

diff --git a/ucm2/USB-Audio/Teufel/CAGE-PRO-HiFi.conf b/ucm2/USB-Audio/Teufel/CAGE-PRO-HiFi.conf
new file mode 100644 (file)
index 0000000..c0fbe7b
--- /dev/null
@@ -0,0 +1,21 @@
+# SPDX-License-Identifier: MIT
+# SPDX-FileCopyrightText: 2025 Harald Sitter <sitter@kde.org>
+
+SectionDevice."Headset" {
+       Comment "Chat"
+       Value {
+               PlaybackPCM "hw:${CardId},0"
+               PlaybackMixerElem "PCM"
+               CapturePCM "hw:${CardId},0"
+               CaptureMixerElem "Mic"
+               CaptureChannels 1
+       }
+}
+
+SectionDevice."Headphones" {
+       Comment "Game"
+       Value {
+               PlaybackPCM "hw:${CardId},1"
+               PlaybackMixerElem "PCM,1"
+       }
+}
diff --git a/ucm2/USB-Audio/Teufel/CAGE-PRO.conf b/ucm2/USB-Audio/Teufel/CAGE-PRO.conf
new file mode 100644 (file)
index 0000000..bf75033
--- /dev/null
@@ -0,0 +1,9 @@
+# SPDX-License-Identifier: MIT
+# SPDX-FileCopyrightText: 2025 Harald Sitter <sitter@kde.org>
+
+Comment "Lautsprecher Teufel GmbH CAGE PRO"
+
+SectionUseCase."HiFi" {
+       Comment "Default"
+       File "/USB-Audio/Teufel/CAGE-PRO-HiFi.conf"
+}
index ef88ded8ec9b471d073d3d999f76f9f0e9834cee..7a6a0ac559859dc1e309fc690ba81118fdd4bb7f 100644 (file)
@@ -521,6 +521,15 @@ If.ua-volt2 {
        }
 }
 
+If.teufel-cage-pro {
+       Condition {
+               Type String
+               Haystack "${CardComponents}"
+               Needle "USB2cc2:0033"
+       }
+       True.Define.ProfileName "Teufel/CAGE-PRO"
+}
+
 If.ssl2 {
        Condition {
                Type String
@@ -559,6 +568,7 @@ If.beacn-studio {
        }
        True.Define.ProfileName "Beacn/Beacn-Studio"
 }
+
 If.mixremap {
        Condition {
                Type String