All of lore.kernel.org
 help / color / mirror / Atom feed
From: Vinod Koul <vinod.koul@intel.com>
To: "Lu, Han" <han.lu@intel.com>
Cc: "alsa-devel@alsa-project.org" <alsa-devel@alsa-project.org>,
	General PulseAudio Discussion
	<pulseaudio-discuss@lists.freedesktop.org>,
	Takashi Iwai <tiwai@suse.de>, Mark Brown <broonie@kernel.org>,
	"han.lu" <han.lu@linux.intel.com>,
	Linux Upstreaming Team <linux@endlessm.com>
Subject: Re: [alsa-devel]  ASoC and pulseaudio
Date: Thu, 17 Mar 2016 21:59:26 +0530	[thread overview]
Message-ID: <20160317162925.GA2490@localhost> (raw)
In-Reply-To: <B51200AC81AB024499A3C2C9A1BB90A83D3AB901@SHSMSX101.ccr.corp.intel.com>

On Thu, Mar 17, 2016 at 04:58:11PM +0530, Lu, Han wrote:
> Sorry, I manually wrapped lines but the format looks corrupted from my "sent"
> folder. Do you have any suggestions to avoid this? Thanks.

Yes, don't use M$ tools to send Linux Code :)

You can use evolution, mutt or any other tool, they work well with our
corporate accounts...

> 
> BR,
> Han Lu
> 
> 
> > -----Original Message-----
> > From: Lu, Han
> > Sent: Thursday, March 17, 2016 7:23 PM
> > To: General PulseAudio Discussion <pulseaudio-
> > discuss@lists.freedesktop.org>; Koul, Vinod <vinod.koul@intel.com>;
> > liam.r.girdwood@linux.intel.com
> > Cc: alsa-devel@alsa-project.org; Takashi Iwai <tiwai@suse.de>; Mark Brown
> > <broonie@kernel.org>; han.lu <han.lu@linux.intel.com>; Linux Upstreaming
> > Team <linux@endlessm.com>
> > Subject: RE: [pulseaudio-discuss] [alsa-devel] ASoC and pulseaudio
> > 
> > > -----Original Message-----
> > > From: pulseaudio-discuss [mailto:pulseaudio-discuss-
> > > bounces@lists.freedesktop.org] On Behalf Of Liam Girdwood
> > > Sent: Thursday, March 17, 2016 2:00 AM
> > > To: Koul, Vinod <vinod.koul@intel.com>
> > > Cc: alsa-devel@alsa-project.org; General PulseAudio Discussion
> > > <pulseaudio- discuss@lists.freedesktop.org>; Takashi Iwai
> > > <tiwai@suse.de>; Mark Brown <broonie@kernel.org>; han.lu
> > > <han.lu@linux.intel.com>; Linux Upstreaming Team <linux@endlessm.com>
> > > Subject: Re: [pulseaudio-discuss] [alsa-devel] ASoC and pulseaudio
> > >
> > > On Wed, 2016-03-16 at 21:23 +0530, Vinod Koul wrote:
> > >
> > > >
> > > > > Yeah, that should be feasible.  Also, there is a "component" field
> > > > > assigned to the card.  This is supposed to be referred by
> > > > > user-space as additional information.  See snd_component_add().
> > > >
> > > > Will add this to my ever growing list of things to do... :D
> > >
> > > You don't have to :)
> > >
> > > It's on Han's list.
> > >
> > > Liam
> > >
> > 
> > I installed Ubuntu 14.04 to T100 and update the kernel to 4.5.0+ today, and I
> > tested with a simple patch, which only added long_name in format
> > "DMI_PRODUCT_NAME:card->name", and now in T100, command "cat
> > /proc/sound/cards" will print
> >  0  [bytcrrt5640    ]: bytcr-rt5640 - bytcr-rt5640
> >                                       T100TA:bytcr-rt5640 Please find details below. I'll continue
> > to add fw name.
> > Or shall we use sysfs and snd_component_add instead?
> > 
> > From 511e6f6a606438a977d9e006c4629fa9b967d6a8 Mon Sep 17 00:00:00
> > 2001
> > From: "Lu, Han" <han.lu@intel.com>
> > Date: Thu, 17 Mar 2016 16:50:54 +0800
> > Subject: [PATCH RFC 1/1] Asoc: rt5640: add more machine/board information
> > for  user
> > 
> > Add more machine/board information for PA and UCM.
> > 
> > Signed-off-by: Lu, Han <han.lu@intel.com>
> > 
> > diff --git a/sound/soc/intel/boards/bytcr_rt5640.c
> >  b/sound/soc/intel/boards/bytcr_rt5640.c
> > index 032a2e7..9bd5e21 100644
> > --- a/sound/soc/intel/boards/bytcr_rt5640.c
> > +++ b/sound/soc/intel/boards/bytcr_rt5640.c
> > @@ -160,6 +160,12 @@ static int byt_rt5640_init(struct
> > snd_soc_pcm_runtime
> >  *runtime)
> >         const struct snd_soc_dapm_route *custom_map;
> >         int num_routes;
> > 
> > +       if (!card->long_name) {
> > +               card->long_name = dmi_get_system_info(DMI_PRODUCT_NAME);
> > +               strcat((char *)card->long_name, ":");
> > +               strcat((char *)card->long_name, card->name);
> > +       }
> > +
> >         card->dapm.idle_bias_off = true;
> > 
> >         rt5640_sel_asrc_clk_src(codec,
> > --
> > 2.5.0
> > 
> > BR,
> > Han
> > >
> > > _______________________________________________
> > > pulseaudio-discuss mailing list
> > > pulseaudio-discuss@lists.freedesktop.org
> > > https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss

-- 
~Vinod
_______________________________________________
pulseaudio-discuss mailing list
pulseaudio-discuss@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss

  reply	other threads:[~2016-03-17 16:29 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAL9uMOHRjcCJomr6zzR0ySh384AVj1FRvASZSp3KsPqfeS8Lzw@mail.gmail.com>
     [not found] ` <56C8AEFD.4060808@linux.intel.com>
     [not found]   ` <1456225994.6424.35.camel@loki>
     [not found]     ` <B51200AC81AB024499A3C2C9A1BB90A83D3AABF9@SHSMSX101.ccr.corp.intel.com>
2016-03-14  8:19       ` ASoC and pulseaudio Liam Girdwood
2016-03-14 15:23         ` [alsa-devel] " Pierre-Louis Bossart
2016-03-14 16:06         ` Mark Brown
2016-03-15  6:01           ` Liam Girdwood
2016-03-15  8:45             ` Mark Brown
2016-03-15  8:55               ` Takashi Iwai
2016-03-15  9:48                 ` Liam Girdwood
2016-03-15  9:56                   ` Takashi Iwai
2016-03-15 10:58                     ` Liam Girdwood
2016-03-16 14:57                       ` [pulseaudio-discuss] " Vinod Koul
2016-03-16 15:09                         ` [alsa-devel] " Mark Brown
2016-03-16 15:17                           ` Takashi Iwai
2016-03-16 15:53                             ` [pulseaudio-discuss] " Vinod Koul
2016-03-16 17:59                               ` [alsa-devel] " Liam Girdwood
2016-03-17 11:23                                 ` [pulseaudio-discuss] " Lu, Han
2016-03-17 11:28                                 ` [alsa-devel] " Lu, Han
2016-03-17 16:29                                   ` Vinod Koul [this message]
2016-03-16 17:58                             ` Liam Girdwood
2016-03-16 17:57                         ` Liam Girdwood
2016-03-15 10:00                   ` Mark Brown
2016-03-15 10:48                     ` [alsa-devel] " Liam Girdwood

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=20160317162925.GA2490@localhost \
    --to=vinod.koul@intel.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@kernel.org \
    --cc=han.lu@intel.com \
    --cc=han.lu@linux.intel.com \
    --cc=linux@endlessm.com \
    --cc=pulseaudio-discuss@lists.freedesktop.org \
    --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.