From: Harald Sitter Date: Sat, 21 Jun 2025 15:10:20 +0000 (+0200) Subject: ucm2: USB-Audio: Add Teufel CAGE PRO X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=b4896cf413e618f4b20c570544a4e668aaa72f64;p=alsa-ucm-conf.git ucm2: USB-Audio: Add Teufel CAGE PRO 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 Signed-off-by: Jaroslav Kysela --- diff --git a/ucm2/USB-Audio/Teufel/CAGE-PRO-HiFi.conf b/ucm2/USB-Audio/Teufel/CAGE-PRO-HiFi.conf new file mode 100644 index 0000000..c0fbe7b --- /dev/null +++ b/ucm2/USB-Audio/Teufel/CAGE-PRO-HiFi.conf @@ -0,0 +1,21 @@ +# SPDX-License-Identifier: MIT +# SPDX-FileCopyrightText: 2025 Harald Sitter + +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 index 0000000..bf75033 --- /dev/null +++ b/ucm2/USB-Audio/Teufel/CAGE-PRO.conf @@ -0,0 +1,9 @@ +# SPDX-License-Identifier: MIT +# SPDX-FileCopyrightText: 2025 Harald Sitter + +Comment "Lautsprecher Teufel GmbH CAGE PRO" + +SectionUseCase."HiFi" { + Comment "Default" + File "/USB-Audio/Teufel/CAGE-PRO-HiFi.conf" +} diff --git a/ucm2/USB-Audio/USB-Audio.conf b/ucm2/USB-Audio/USB-Audio.conf index ef88ded..7a6a0ac 100644 --- a/ucm2/USB-Audio/USB-Audio.conf +++ b/ucm2/USB-Audio/USB-Audio.conf @@ -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