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>
--- /dev/null
+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
+ }
+}
--- /dev/null
+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
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 {