[alsa-devel] [PATCH 1/5] DAISY-I2S: add Samsung ARM Chromebook UCM config from ChromeOS

Marcin Juszkiewicz marcin at juszkiewicz.com.pl
Fri May 10 14:51:06 CEST 2013


Signed-off-by: Marcin Juszkiewicz <marcin at juszkiewicz.com.pl>
---
 DAISY-I2S/DAISY-I2S.conf |  6 +++++
 DAISY-I2S/HiFi.conf      | 61 ++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 67 insertions(+)
 create mode 100644 DAISY-I2S/DAISY-I2S.conf
 create mode 100644 DAISY-I2S/HiFi.conf

diff --git a/DAISY-I2S/DAISY-I2S.conf b/DAISY-I2S/DAISY-I2S.conf
new file mode 100644
index 0000000..0f4b5fc
--- /dev/null
+++ b/DAISY-I2S/DAISY-I2S.conf
@@ -0,0 +1,6 @@
+Comment "Daisy internal card"
+
+SectionUseCase."HiFi" {
+	File "HiFi.conf"
+	Comment "Default"
+}
diff --git a/DAISY-I2S/HiFi.conf b/DAISY-I2S/HiFi.conf
new file mode 100644
index 0000000..66b0afa
--- /dev/null
+++ b/DAISY-I2S/HiFi.conf
@@ -0,0 +1,61 @@
+SectionVerb {
+	EnableSequence [
+		cdev "hw:DAISYI2S"
+		cset "name='Left Speaker Mixer Left DAC1 Switch' on"
+		cset "name='Right Speaker Mixer Right DAC1 Switch' on"
+		cset "name='Left Headphone Mixer Left DAC1 Switch' on"
+		cset "name='Right Headphone Mixer Right DAC1 Switch' on"
+		cset "name='DMIC1 Left Capture Switch' on"
+		cset "name='DMIC1 Right Capture Switch' on"
+		cset "name='MIC2 External Mic Switch' on"
+		cset "name='Left ADC Mixer MIC2 Switch' on"
+		cset "name='Right ADC Mixer MIC2 Switch' on"
+		cset "name='EQ1 Mode' Default"
+	]
+	DisableSequence [
+	]
+}
+
+SectionDevice."Headphone".0 {
+	Value {
+		JackName "DAISY-I2S Headphone Jack"
+	}
+
+	EnableSequence [
+		cdev "hw:DAISYI2S"
+		cset "name='EQ1 Switch' off"
+		cset "name='Left Headphone Mixer Left DAC1 Switch' on"
+		cset "name='Right Headphone Mixer Right DAC1 Switch' on"
+	]
+	DisableSequence [
+		cdev "hw:DAISYI2S"
+		cset "name='EQ1 Mode' Default"
+		cset "name='EQ1 Switch' on"
+		cset "name='Left Speaker Mixer Left DAC1 Switch' on"
+		cset "name='Right Speaker Mixer Right DAC1 Switch' on"
+	]
+}
+
+SectionDevice."Mic".0 {
+	Value {
+		JackName "DAISY-I2S Mic Jack"
+	}
+
+	EnableSequence [
+		cdev "hw:DAISYI2S"
+
+		cset "name='DMIC1 Left Capture Switch' off"
+		cset "name='DMIC1 Right Capture Switch' off"
+		cset "name='Left ADC Mixer MIC2 Switch' on"
+		cset "name='Right ADC Mixer MIC2 Switch' on"
+	]
+
+	DisableSequence [
+		cdev "hw:DAISYI2S"
+
+		cset "name='Left ADC Mixer MIC2 Switch' off"
+		cset "name='Right ADC Mixer MIC2 Switch' off"
+		cset "name='DMIC1 Left Capture Switch' on"
+		cset "name='DMIC1 Right Capture Switch' on"
+	]
+}
-- 
1.8.1.2



More information about the Alsa-devel mailing list