]> git.alsa-project.org Git - alsa-ucm-conf.git/commitdiff
ucm2: Add config for Tascam US-2x2HR HEAD master
authorJake Fröberg <jfroberg@gmail.com>
Wed, 21 Jan 2026 18:13:52 +0000 (20:13 +0200)
committerJaroslav Kysela <perex@perex.cz>
Fri, 17 Apr 2026 14:56:50 +0000 (16:56 +0200)
USB ID 0644:8070 TEAC Corp. US-2x2HR

Line1/Mic1/Mic2 comments mostly match the device labels

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/693
Signed-off-by: Jake Fröberg <jfroberg@gmail.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
ucm2/USB-Audio/TASCAM/US2x2HR-HiFi.conf [new file with mode: 0644]
ucm2/USB-Audio/TASCAM/US2x2HR.conf [new file with mode: 0644]
ucm2/USB-Audio/USB-Audio.conf

diff --git a/ucm2/USB-Audio/TASCAM/US2x2HR-HiFi.conf b/ucm2/USB-Audio/TASCAM/US2x2HR-HiFi.conf
new file mode 100644 (file)
index 0000000..dfaefe9
--- /dev/null
@@ -0,0 +1,54 @@
+Include.pcm_split.File "/common/pcm/split.conf"
+
+Macro [
+       {
+               SplitPCM {
+                       Name "us2x2hr_mono_in"
+                       Direction Capture
+                       Channels 1
+                       HWChannels 2
+                       HWChannelPos0 MONO
+                       HWChannelPos1 MONO
+               }
+       }
+]
+
+SectionDevice."Line1" {
+       Comment "Line Out / Phones"
+       Value {
+               PlaybackPriority 200
+               PlaybackPCM "hw:${CardId}"
+       }
+}
+
+SectionDevice."Mic1" {
+       Comment "IN1"
+
+       Value {
+               CapturePriority 200
+       }
+       Macro.pcm_split.SplitPCMDevice {
+               Name "us2x2hr_mono_in"
+               Direction Capture
+               HWChannels 2
+               Channels 1
+               Channel0 0
+               ChannelPos0 MONO
+       }
+}
+
+SectionDevice."Mic2" {
+       Comment "IN2"
+
+       Value {
+               CapturePriority 100
+       }
+       Macro.pcm_split.SplitPCMDevice {
+               Name "us2x2hr_mono_in"
+               Direction Capture
+               HWChannels 2
+               Channels 1
+               Channel0 1
+               ChannelPos0 MONO
+       }
+}
diff --git a/ucm2/USB-Audio/TASCAM/US2x2HR.conf b/ucm2/USB-Audio/TASCAM/US2x2HR.conf
new file mode 100644 (file)
index 0000000..b75f813
--- /dev/null
@@ -0,0 +1,10 @@
+Comment "TASCAM US-2x2HR"
+
+SectionUseCase."HiFi" {
+       Comment "Default"
+       File "/USB-Audio/TASCAM/US2x2HR-HiFi.conf"
+}
+
+Include.dhw.File "/common/directm.conf"
+
+Macro.0.DirectUseCase { Id="Direct" PlaybackChannels=2 CaptureChannels=2 }
\ No newline at end of file
index f223bbcd64f19f0d6a985aa3680b50d5a38930bc..3064a7ded21af4c08087408e2c600a3c10facecd 100644 (file)
@@ -166,6 +166,7 @@ Macro.roland-bridgecastv2.RegexMatch        "Id='0582:03((1e)|(0d))' Profile='Roland/Br
 
 Macro.roland-bridgecastx.StringMatch   "Id='0582:0321' Profile='Roland/BridgeCastXV2'"
 Macro.tascam-m12.StringMatch           "Id='0644:805f' Profile='TASCAM/Model12'"
+Macro.tascam-us2xhr.StringMatch                "Id='0644:8070' Profile='TASCAM/US2x2HR'"
 Macro.maudio-fast-track-ultra.StringMatch "Id='0763:2080' Profile='M-Audio/Fast-Track-Ultra' Remap='yes'"
 
 If.motu-m246 {