From owner-freebsd-multimedia@FreeBSD.ORG Tue Nov 9 13:03:52 2010 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 92317106564A; Tue, 9 Nov 2010 13:03:52 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id 0584D8FC0A; Tue, 9 Nov 2010 13:03:52 +0000 (UTC) Received: from [193.31.11.193] (helo=current.Sisis.de) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1PFnrZ-0004Ra-3m; Tue, 09 Nov 2010 14:03:49 +0100 Received: from current.Sisis.de (current [127.0.0.1]) by current.Sisis.de (8.14.3/8.14.3) with ESMTP id oA9D3mDw010155; Tue, 9 Nov 2010 14:03:48 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by current.Sisis.de (8.14.3/8.14.3/Submit) id oA9D3mXD010154; Tue, 9 Nov 2010 14:03:48 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: current.Sisis.de: guru set sender to guru@unixarea.de using -f Date: Tue, 9 Nov 2010 14:03:48 +0100 From: Matthias Apitz To: Alexander Motin Message-ID: <20101109130348.GA10059@current.Sisis.de> References: <4CD337DA.7030902@FreeBSD.org> <20101104230735.GA6686@current.Sisis.de> <4CD33E0B.1070304@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4CD33E0B.1070304@FreeBSD.org> X-Operating-System: FreeBSD 8.0-CURRENT (i386) User-Agent: Mutt/1.5.19 (2009-01-05) X-Con-Id: 51246 X-Originating-IP: 193.31.11.193 Cc: freebsd-multimedia@freebsd.org, FreeBSD-Current Subject: Re: laptop Acer Aspire One D250 / snd_hda(4) && internal mic not recording X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Nov 2010 13:03:52 -0000 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 - w http://www.unixarea.de/