aboutsummaryrefslogtreecommitdiff
path: root/src/conf/ucm/rt5640/IN1-InternalMic.conf
diff options
context:
space:
mode:
Diffstat (limited to 'src/conf/ucm/rt5640/IN1-InternalMic.conf')
-rw-r--r--src/conf/ucm/rt5640/IN1-InternalMic.conf50
1 files changed, 50 insertions, 0 deletions
diff --git a/src/conf/ucm/rt5640/IN1-InternalMic.conf b/src/conf/ucm/rt5640/IN1-InternalMic.conf
new file mode 100644
index 00000000..3bf31e64
--- /dev/null
+++ b/src/conf/ucm/rt5640/IN1-InternalMic.conf
@@ -0,0 +1,50 @@
+SectionDevice."IN1-InternalMics" {
+ Comment "Internal Microphone on IN1"
+
+ ConflictingDevice [
+ "DigitalMics"
+ "HeadsetMic"
+ "IN3-InternalMics"
+ ]
+
+ EnableSequence [
+ cdev "hw:bytcrrt5640"
+
+ cset "name='Internal Mic Switch' on"
+
+ cset "name='RECMIXL BST1 Switch' on"
+ cset "name='RECMIXR BST1 Switch' on"
+ cset "name='RECMIXL BST3 Switch' off"
+ cset "name='RECMIXR BST3 Switch' off"
+
+ cset "name='Stereo ADC MIXL ADC1 Switch' on"
+ cset "name='Stereo ADC MIXR ADC1 Switch' on"
+
+ cset "name='Mono ADC MIXL ADC1 Switch' on"
+ cset "name='Mono ADC MIXR ADC1 Switch' on"
+
+ cset "name='Mono ADC Capture Switch' on"
+ ]
+
+ DisableSequence [
+ cdev "hw:bytcrrt5640"
+
+ cset "name='Stereo ADC MIXL ADC1 Switch' off"
+ cset "name='Stereo ADC MIXR ADC1 Switch' off"
+
+ cset "name='RECMIXL BST1 Switch' off"
+ cset "name='RECMIXR BST1 Switch' off"
+
+ cset "name='Internal Mic Switch' off"
+
+ cset "name='Mono ADC MIXL ADC1 Switch' off"
+ cset "name='Mono ADC MIXR ADC1 Switch' off"
+
+ cset "name='Mono ADC Capture Switch' off"
+
+ ]
+
+ Value {
+ CaptureChannels 2
+ }
+}