All of lore.kernel.org
 help / color / mirror / Atom feed
From: Liam Girdwood <lg@opensource.wolfsonmicro.com>
To: Nobin Mathew <nobin.mathew@gmail.com>
Cc: alsa-devel@alsa-project.org
Subject: Re: [ASoC] Mic record is not working with wm9713 ASoC	driver
Date: Wed, 09 May 2007 11:42:11 +0100	[thread overview]
Message-ID: <1178707331.3740.28.camel@a10072.wolfsonmicro.main> (raw)
In-Reply-To: <8d6898730705090032k375babefl973819bd3d9d85@mail.gmail.com>

On Wed, 2007-05-09 at 13:02 +0530, Nobin Mathew wrote:
> I am trying to record mic with AsoC wm9713 driver. My Mic is connected "Mic 1".
> 
> My settings
> 
> 'Mic A Source' -> "Mic 1"
> 'Mic Boost (+20dB)' [on]
> 'Capture' [on]
> 'Left Capture Source' "Mic 1"
> 'Right Capture Source' "Mic 1"
> 
> 
> i am issuing following command to record
> "arecord -M -f S16_LE sound.wav"
> 
> But what i found is driver is not enabling "Mic bias" and "Mic A PGA"
> 
> this dump of /sys/devices/platform/soc-audio/dapm_widget while
> "arecord" is running is given below
> 
> 
> Mic Bias: Off
> Mic B Pre Amp: Off
> Mic A Pre Amp: On
> Mic B PGA: Off
> Mic A PGA: Off
> Mono In: Off
> Right Line In: Off
> Left Line In: Off
> Mono Out: Off
> Out 4: Off
> Out 3: Off
> Right Speaker: Off
> Left Speaker: Off
> Right Headphone: Off
> Left Headphone: Off
> Right ADC: On
> Left ADC: On
> Aux DAC: Off
> Voice DAC: Off
> Capture Mixer: Off
> HP Mixer: Off
> AC97 Mixer: Off
> Right DAC: Off
> Left DAC: Off
> Speaker Mixer: Off
> Mono Mixer: Off
> Right HP Mixer: Off
> Left HP Mixer: Off
> PM State: D0
> 
> In idea why this is happening?
> what is going wrong with my settings?

It looks like there is an incomplete audio path from Mic1 --> ADC, hence
DAPM will power down all unused components. Fwiw, I have captured from
WM9713 Mic1 in the past on Mainstone. Machine driver is here for
reference :-

http://opensource.wolfsonmicro.com/cgi-bin/gitweb/gitweb.cgi?p=linux-2.6-asoc;a=blob;f=sound/soc/pxa/mainstone_wm9713.c;h=65c6517e60bc88478796c67fbbfe9c2243c14a88;hb=dev


Can you post your machine driver. It may help with debugging.

Liam

  reply	other threads:[~2007-05-09 10:42 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-09  7:32 [ASoC] Mic record is not working with wm9713 ASoC driver Nobin Mathew
2007-05-09 10:42 ` Liam Girdwood [this message]
  -- strict thread matches above, loose matches on Subject: below --
2007-05-09  9:15 Nobin Mathew
2007-05-09  9:18 Nobin Mathew
2007-05-09 10:21 ` Andrew Morton
2007-05-09 10:25 ` Liam Girdwood
2007-05-09 10:44   ` Nobin Mathew

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=1178707331.3740.28.camel@a10072.wolfsonmicro.main \
    --to=lg@opensource.wolfsonmicro.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=nobin.mathew@gmail.com \
    /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.