]> git.alsa-project.org Git - alsa-ucm-conf.git/commitdiff
DAISY-I2S: adapt to ucm2
authorJaroslav Kysela <perex@perex.cz>
Sun, 10 Nov 2019 19:56:23 +0000 (20:56 +0100)
committerJaroslav Kysela <perex@perex.cz>
Mon, 11 Nov 2019 11:51:01 +0000 (12:51 +0100)
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
ucm2/DAISY-I2S/DAISY-I2S.conf [moved from ucm/DAISY-I2S/DAISY-I2S.conf with 90% similarity]
ucm2/DAISY-I2S/HiFi.conf [moved from ucm/DAISY-I2S/HiFi.conf with 88% similarity]

similarity index 90%
rename from ucm/DAISY-I2S/DAISY-I2S.conf
rename to ucm2/DAISY-I2S/DAISY-I2S.conf
index 0f4b5fcc32d41361f1638bda56a27c32119d7a1e..040db6379b34c91515eab0e99d5ee6f7e2cbc216 100644 (file)
@@ -1,3 +1,5 @@
+Syntax 2
+
 Comment "Daisy internal card"
 
 SectionUseCase."HiFi" {
similarity index 88%
rename from ucm/DAISY-I2S/HiFi.conf
rename to ucm2/DAISY-I2S/HiFi.conf
index d8c06ad03a661e05dfad56bb7491195759e0a76d..373c34517ec27e7a0edb373301db58c641ad5694 100644 (file)
@@ -1,6 +1,5 @@
 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"
@@ -13,23 +12,20 @@ SectionVerb {
                cset "name='EQ1 Mode' Default"
                cset "name='DAI1 Filter Mode' Music"
        ]
-       DisableSequence [
-       ]
 }
 
-SectionDevice."Headphone".0 {
+SectionDevice."Headphone" {
        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"
@@ -37,14 +33,12 @@ SectionDevice."Headphone".0 {
        ]
 }
 
-SectionDevice."Mic".0 {
+SectionDevice."Mic" {
        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"
@@ -52,8 +46,6 @@ SectionDevice."Mic".0 {
        ]
 
        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"