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

Takashi Iwai tiwai at suse.de
Tue May 14 18:15:56 CEST 2013


At Fri, 10 May 2013 07:09:03 -0700,
Dylan Reid wrote:
> 
> On Fri, May 10, 2013 at 5:51 AM, Marcin Juszkiewicz
> <marcin at juszkiewicz.com.pl> wrote:
> > 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"
> 
> The current version has one additional line here:
> cset "name='DAI1 Filter Mode' Music"

Could you submit a fix patch?
It's been merged in alsa-lib git tree now.


thanks,

Takashi

> 
> Thanks for finding a potential home for this.
> 
> > +       ]
> > +       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
> >
> > _______________________________________________
> > Alsa-devel mailing list
> > Alsa-devel at alsa-project.org
> > http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel at alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
> 


More information about the Alsa-devel mailing list