All of lore.kernel.org
 help / color / mirror / Atom feed
From: Vinod Koul <vinod.koul@intel.com>
To: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Cc: Michele Curti <michele.curti@gmail.com>,
	Luka Karinja <luka.karinja@gmail.com>,
	Takashi Iwai <tiwai@suse.de>, Antonio Ospite <ao2@ao2.it>,
	alsa-devel@alsa-project.org, "Nikula,
	Jarkko" <jarkko.nikula@intel.com>,
	Bard Liao <bardliao@realtek.com>
Subject: Re: writing an alsa driver
Date: Wed, 24 Jun 2015 21:34:28 +0530	[thread overview]
Message-ID: <20150624160428.GN19530@localhost> (raw)
In-Reply-To: <1435146021.2655.62.camel@loki>

On Wed, Jun 24, 2015 at 12:40:21PM +0100, Liam Girdwood wrote:
> On Wed, 2015-06-24 at 13:31 +0200, Antonio Ospite wrote:
> > On Wed, 24 Jun 2015 15:51:57 +0530
> > Vinod Koul <vinod.koul@intel.com> wrote:
> > 
> > [...]
> > > For Playback you can try:
> > > 
> > > #DSP routing
> > > amixer -c0 sset 'codec_out0 mix 0 pcm0_in' on
> > > amixer -c0 sset 'media0_out mix 0 media1_in' on
> > > amixer -c0 sset 'media1_in Gain 0' 80% 
> > > amixer -c0 sset 'media1_in Gain 0 Ramp Delay' 50
> > > amixer -c0 sset 'media1_in Gain 0' off
> > > amixer -c0 sset 'pcm0_in Gain 0' 80% 
> > > amixer -c0 sset 'pcm0_in Gain 0 Ramp Delay' 50
> > > amixer -c0 sset 'pcm0_in Gain 0' off
> > > amixer -c0 sset 'codec_out0 Gain 0' 80%
> > > amixer -c0 sset 'codec_out0 Gain 0 Ramp Delay' 50
> > > amixer -c0 sset 'codec_out0 Gain 0' off
> > > 
> > > #Codec routin, if you have different one please modfiy
> > > amixer -c0 sset "DAC MIXL INF1" on
> > > amixer -c0 sset "DAC MIXR INF1" on
> > > amixer -c0 sset "Stereo DAC MIXL DAC L1" on
> > > amixer -c0 sset "Stereo DAC MIXR DAC R1" on
> > > amixer -c0 sset "SPK MIXL DAC L1" on
> > > amixer -c0 sset "SPK MIXR DAC R1" on
> > > amixer -c0 sset "SPOL MIX SPKVOL L" on
> > > amixer -c0 sset "SPOR MIX SPKVOL R" on
> > > amixer -c0 sset "SPOL MIX DAC L1" on
> > > amixer -c0 sset "SPOR MIX DAC R1" on
> > > amixer -c0 sset "Speaker L" on
> > > amixer -c0 sset "Speaker R" on
> > > amixer -c0 sset "Headphone" off
> > > amixer -c0 sset "Ext Spk" on
> > > 
> > > I have used this in T100.
> > > 
> > 
> > OK, I guess this answers my request for a state file :)
> > I had not read this message yet when I wrote the other one.
> > 
> 
> Might be worth creating a UCM config for this machine since there are
> several different outputs.
Yes that is a good idea, let this be verified and then we can do this. I do
have configs for all cases, so need to get the file created now

-- 
~Vinod

  reply	other threads:[~2015-06-24 16:02 UTC|newest]

Thread overview: 50+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-21 14:52 writing an alsa driver Michele Curti
2015-05-23 16:32 ` Michele Curti
2015-05-27  6:45   ` Takashi Iwai
2015-05-27  8:54     ` Michele Curti
2015-05-27 18:41       ` Liam Girdwood
2015-05-27 20:13         ` Michele Curti
2015-05-28 11:31           ` Liam Girdwood
2015-05-28 12:53             ` Michele Curti
2015-05-28 13:21               ` Liam Girdwood
2015-05-28 19:17                 ` Michele Curti
2015-05-29  9:42                   ` Liam Girdwood
2015-05-29 13:17                     ` Michele Curti
2015-06-01 11:06                       ` Liam Girdwood
2015-06-04  7:09                         ` Marcus Bannerman
2015-06-04  9:04                           ` Michele Curti
2015-06-04  8:59                         ` Michele Curti
2015-06-04 10:33                           ` Liam Girdwood
2015-06-04 17:44                             ` Juergen Bausa
2015-06-04 19:39                         ` Michele Curti
2015-06-05  7:00                           ` Jarkko Nikula
2015-06-08  8:26                             ` Michele Curti
2015-06-08  8:49                         ` Michele Curti
2015-06-13 13:47                           ` Luka Karinja
2015-06-15 16:46                             ` Michele Curti
2015-06-15 17:04                               ` Liam Girdwood
2015-06-16 20:50                                 ` Michele Curti
2015-06-17  9:16                                   ` Liam Girdwood
2015-06-17 21:34                                     ` Michele Curti
2015-06-18 11:14                                       ` Vinod Koul
2015-06-18 18:47                                         ` Michele Curti
2015-06-19  7:54                                           ` Vinod Koul
2015-06-19  8:12                                             ` Michele Curti
2015-06-17  6:39                                 ` Jarkko Nikula
2015-06-23  9:09                                 ` Michele Curti
2015-06-23  9:51                                   ` Liam Girdwood
2015-06-24 10:21                                   ` Vinod Koul
2015-06-24 11:31                                     ` Antonio Ospite
2015-06-24 11:40                                       ` Liam Girdwood
2015-06-24 16:04                                         ` Vinod Koul [this message]
2015-06-24 18:21                                     ` Michele Curti
2015-06-25  3:24                                       ` Vinod Koul
2015-06-25  7:39                                         ` Michele Curti
2016-03-03 11:11                                         ` Michele Curti
2016-03-03 11:27                                           ` Vinod Koul
2016-03-03 13:08                                             ` Michele Curti
2016-03-03 16:20                                             ` Pierre-Louis Bossart
2016-03-04 11:07                                               ` Michele Curti
  -- strict thread matches above, loose matches on Subject: below --
2015-07-22 20:05 Marco Bodega
2015-07-24 20:54 ` Michele Curti
2015-08-10 14:12 Johnny

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150624160428.GN19530@localhost \
    --to=vinod.koul@intel.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=ao2@ao2.it \
    --cc=bardliao@realtek.com \
    --cc=jarkko.nikula@intel.com \
    --cc=liam.r.girdwood@linux.intel.com \
    --cc=luka.karinja@gmail.com \
    --cc=michele.curti@gmail.com \
    --cc=tiwai@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.