From owner-freebsd-mobile@FreeBSD.ORG Sat Nov 6 07:21:00 2010 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2A496106564A; Sat, 6 Nov 2010 07:21:00 +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 AC8698FC0C; Sat, 6 Nov 2010 07:20:59 +0000 (UTC) Received: from [88.217.8.67] (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 1PEd57-00082q-Vq; Sat, 06 Nov 2010 08:20:58 +0100 Received: from current.Sisis.de (current [127.0.0.1]) by current.Sisis.de (8.14.3/8.14.3) with ESMTP id oA67Kw9J002051; Sat, 6 Nov 2010 08:20:58 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by current.Sisis.de (8.14.3/8.14.3/Submit) id oA67Kvwk002050; Sat, 6 Nov 2010 08:20:57 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: current.Sisis.de: guru set sender to guru@unixarea.de using -f Date: Sat, 6 Nov 2010 08:20:52 +0100 From: Matthias Apitz To: App Deb Message-ID: <20101106072052.GB1927@current.Sisis.de> References: <20101104073430.GA2548@current.Sisis.de> <20101105175951.GA6473@current.Sisis.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Operating-System: FreeBSD 8.0-CURRENT (i386) User-Agent: Mutt/1.5.19 (2009-01-05) X-Con-Id: 51246 X-Originating-IP: 88.217.8.67 Cc: freebsd-multimedia@freebsd.org, freebsd-mobile@freebsd.org Subject: Re: laptop Acer Aspire One D250 / snd_hda(4) && internal mic not recording X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Nov 2010 07:21:00 -0000 El día Friday, November 05, 2010 a las 10:59:02PM +0200, App Deb escribió: > On Fri, Nov 5, 2010 at 7:59 PM, Matthias Apitz wrote: > > > Concerning the man page, without any kind of background or glossary > > I can not understand, for example, the options for 'hint.hdac.%d.config' > > or the meaning of 'colores'. > > > Looking at your log for your 2 mics (internal and 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 > ... > > > You can see that the 2 microphones are in different associations (2 > and 3) so in different devices (default dsp0 and dsp1). Yes, I see; > So you should use something like that in your /boot/loader.conf to > group them together in the same association #2 (default dsp0). > > hint.hdac.0.cad0.nid18.config="as=2 seq=1" > > You could try that (,reboot) and see if it works. After that you > should use "mixer" to toggle/control mics etc. I tried the above already (following a hint) and as well hint.hdac.0.cad0.nid18.config="as=2 seq=0" hint.hdac.0.cad0.nid24.config="as=2 seq=1" in device.hints(4); the result is, that /dev/dsp1 disappears, as well /dev/mixer1; and in /dev/mixer0 there is another recording source 'monitor': # mixer Mixer vol is currently set to 93:93 Mixer pcm is currently set to 88:88 Mixer mic is currently set to 70:70 Mixer mix is currently set to 81:81 Mixer rec is currently set to 70:70 Mixer igain is currently set to 78:78 Mixer ogain is currently set to 65:65 Mixer monitor is currently set to 74:74 Recording source: mix, monitor but the internal mic does not record (even if jack is unpluged), only jack records (if pluged, of course); if I set # mixer =rec monitor Recording source: monitor the jack as well stops recording; > The manpage doesn't say how sequence numbers work in "input" (so that > a connected jack mic can mute the internal one). So you could also > experiment with sequence numbers "15" or "0" in nid18 or nid24 to see > if you can get it perfectly working. > will try now sequence number "15"... > Also, if skype (or any other program) allows you to select different > DSP device "just for input", you could select "dsp1" instead of > standard "dsp" and your internal mic should work without the above > stuff. (Of course after you have configured it correctly with "mixer > -f /dev/mixer1"). > > Hope it helps. Thanks for your help matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/