Re: laptop Acer Aspire One D250 / snd_hda(4) && internal mic not recording

From: Matthias Apitz <guru_at_unixarea.de>
Date: Tue, 9 Nov 2010 14:03:48 +0100
El día Friday, November 05, 2010 a las 01:13:15AM +0200, Alexander Motin escribió:

> Matthias Apitz wrote:
> > El día Friday, November 05, 2010 a las 12:46:50AM +0200, Alexander Motin escribió:
> >> Matthias Apitz wrote:
> >>> mixer(1) let me set for recoding only 'mic' or 'rec'. I'm attaching as
> >>> well the output of verbose messages grep'ed for pcm and hdac.
> >> Your CODEC configured to provide built-in microphone on separate device
> >> pcm1. You may record from there (Skype allows to choose device) or
> >> reconfigure CODEC using hints.
> > 
> > In Skype in let me choose between
> > /dev/dsp
> > /dev/dsp0
> > /dev/dsp1
> > 
> > When I set mic to /dev/dsp0 it records from the jack (headphone mic),
> > when I set it to /dev/dsp1 there is no recording. And the mixer for the
> > pcm1 says:
> > 
> > # mixer -f /dev/mixer1
> > Mixer rec      is currently set to 100:100
> > Mixer monitor  is currently set to 100:100
> > Recording source: monitor
> 
> That's strange. I would expect it working.
> 
> > Would you be so kind and give me the lines for reconfigure CODEC using
> > hints? I'm really lost in this.
> 
> OK, try this:
> hint.hdac.0.cad0.nid18.config="as=2 seq=1"

Hi Alexander,

While trying to get understandig of the verbose boot messages of
snd_hda(4), I found the following which seems to match the problem (only recording
from Jack):

hdac0:  nid 18 0x99a30930 as  3 seq  0           Mic Fixed jack  3 loc 25 color Unknown misc 9
...
hdac0:  nid 24 0x03a19820 as  2 seq  0           Mic  Jack jack  1 loc 3 color    Pink misc 8

i.e. the nid's are 18 (internal mic) and 24 (Jack);

But in the DUMPING's Playback/Record Paths the nid=18 and nid=24 look
different:

24:

pcm0: Record:
pcm0:
pcm0:     nid=8 [audio input]
pcm0:       |
pcm0:       + <- nid=35 [audio mixer] [src: mic, mix]
pcm0:              |
pcm0:              + <- nid=24 [pin: Mic (Pink Jack)] [src: mic]
pcm0:              + <- nid=11 [audio mixer] [src: mix]
pcm0:
pcm0: Input Mix:
pcm0:
pcm0:     nid=11 [audio mixer]
pcm0:       |
pcm0:       + <- nid=24 [pin: Mic (Pink Jack)] [src: mic]


18:

pcm1: Record:
pcm1:
pcm1:     nid=9 [audio input]
pcm1:       |
pcm1:       + <- nid=34 [audio mixer] [src: monitor]
pcm1:              |
pcm1:              + <- nid=18 [pin: Mic (Fixed)] [src: monitor]

(there is no 'Input Mix:' section part for nid=18)

Can this cause the problem?

What else could I debug to nail this down?

Thanks

	matthias

-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <guru_at_unixarea.de> - w http://www.unixarea.de/
Received on Tue Nov 09 2010 - 12:03:52 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:09 UTC