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 <sitter@kde.org> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
436fbad2a0
commit
b4896cf413
3 changed files with 40 additions and 0 deletions
21
ucm2/USB-Audio/Teufel/CAGE-PRO-HiFi.conf
Normal file
21
ucm2/USB-Audio/Teufel/CAGE-PRO-HiFi.conf
Normal file
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
9
ucm2/USB-Audio/Teufel/CAGE-PRO.conf
Normal file
9
ucm2/USB-Audio/Teufel/CAGE-PRO.conf
Normal file
|
|
@ -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"
|
||||
}
|
||||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue