2007-05-09 09:19:21

by Nobin Mathew

[permalink] [raw]
Subject: [ASoC] Mic record is not working with wm9713 ASoC driver

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?

Nobin Mathew


2007-05-09 10:22:13

by Andrew Morton

[permalink] [raw]
Subject: Re: [ASoC] Mic record is not working with wm9713 ASoC driver

On Wed, 9 May 2007 14:48:54 +0530 "Nobin Mathew" <[email protected]> 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?
>

(maintainers cc'ed)

2007-05-09 10:44:28

by Nobin Mathew

[permalink] [raw]
Subject: Re: [ASoC] Mic record is not working with wm9713 ASoC driver

Liam Sorry for disturbing you again,

I could not find that reply on alsa devel mailing list

Can u send that to me

Thanks


On 5/9/07, Liam Girdwood <[email protected]> wrote:
> On Wed, 2007-05-09 at 14:48 +0530, Nobin Mathew wrote:
> > I am trying to record mic with AsoC wm9713 driver. My Mic is connected "Mic 1".
>
> I've replied to this duplicate post on alsa-dev.
>
> Liam
>
>

2007-05-09 10:47:23

by Liam Girdwood

[permalink] [raw]
Subject: Re: [ASoC] Mic record is not working with wm9713 ASoC driver

On Wed, 2007-05-09 at 14:48 +0530, Nobin Mathew wrote:
> I am trying to record mic with AsoC wm9713 driver. My Mic is connected "Mic 1".

I've replied to this duplicate post on alsa-dev.

Liam