From f9590567adede8febdd07168a4caaf7ddfa02d2e Mon Sep 17 00:00:00 2001 From: Kevin Cox Date: Mon, 29 Dec 2025 16:12:41 -0500 Subject: [PATCH] Add support for the Behringer ULM200D wireless microphones. This is a USB receiver for two wireless microphones. Each microphone appears on a different channel. By default these would be detected as left and right. Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/669 Signed-off-by: Kevin Cox Signed-off-by: Jaroslav Kysela --- ucm2/USB-Audio/Behringer/ULM200D-HiFi.conf | 40 ++++++++++++++++++++++ ucm2/USB-Audio/Behringer/ULM200D.conf | 8 +++++ ucm2/USB-Audio/USB-Audio.conf | 9 +++++ 3 files changed, 57 insertions(+) create mode 100644 ucm2/USB-Audio/Behringer/ULM200D-HiFi.conf create mode 100644 ucm2/USB-Audio/Behringer/ULM200D.conf diff --git a/ucm2/USB-Audio/Behringer/ULM200D-HiFi.conf b/ucm2/USB-Audio/Behringer/ULM200D-HiFi.conf new file mode 100644 index 0000000..f12cf2f --- /dev/null +++ b/ucm2/USB-Audio/Behringer/ULM200D-HiFi.conf @@ -0,0 +1,40 @@ +Include.pcm_split.File "/common/pcm/split.conf" + +Macro [ + { + SplitPCM { + Name "ulm200d_mono_in" + Direction Capture + Channels 1 + HWChannels 2 + HWChannelPos0 MONO + HWChannelPos1 MONO + } + } +] + +SectionDevice."Mic1" { + Comment "Mic 1" + + Macro.pcm_split.SplitPCMDevice { + Name "ulm200d_mono_in" + Direction Capture + HWChannels 2 + Channels 1 + Channel0 0 + ChannelPos0 MONO + } +} + +SectionDevice."Mic2" { + Comment "Mic 2" + + Macro.pcm_split.SplitPCMDevice { + Name "ulm200d_mono_in" + Direction Capture + HWChannels 2 + Channels 1 + Channel0 1 + ChannelPos0 MONO + } +} diff --git a/ucm2/USB-Audio/Behringer/ULM200D.conf b/ucm2/USB-Audio/Behringer/ULM200D.conf new file mode 100644 index 0000000..c9883f7 --- /dev/null +++ b/ucm2/USB-Audio/Behringer/ULM200D.conf @@ -0,0 +1,8 @@ +Comment "Behringer ULM200D" + +SectionUseCase."HiFi" { + Comment "Default" + File "/USB-Audio/Behringer/ULM200D-HiFi.conf" +} + +Macro.0.DirectUseCase { Id="Direct" PlaybackChannels=0 CaptureChannels=2 } diff --git a/ucm2/USB-Audio/USB-Audio.conf b/ucm2/USB-Audio/USB-Audio.conf index 0841af6..ab23845 100644 --- a/ucm2/USB-Audio/USB-Audio.conf +++ b/ucm2/USB-Audio/USB-Audio.conf @@ -397,6 +397,15 @@ If.focusrite-scarlett-18i20 { True.Define.ProfileName "Focusrite/Scarlett-18i20" } +If.behringer-ulm200d { + Condition { + Type String + Haystack "${CardComponents}" + Needle "USB1397:00f1" + } + True.Define.ProfileName "Behringer/ULM200D" +} + If.behringer-umc202hd { Condition { Type String -- 2.47.3