From owner-freebsd-current@FreeBSD.ORG Mon May 6 06:27:20 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 72F62E00; Mon, 6 May 2013 06:27:20 +0000 (UTC) (envelope-from mavbsd@gmail.com) Received: from mail-ee0-f52.google.com (mail-ee0-f52.google.com [74.125.83.52]) by mx1.freebsd.org (Postfix) with ESMTP id D71182B1; Mon, 6 May 2013 06:27:19 +0000 (UTC) Received: by mail-ee0-f52.google.com with SMTP id d41so1534593eek.11 for ; Sun, 05 May 2013 23:27:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=bsQX8O6zjZZYVGYw4W9GxVuRQmLqvllMGSnVFIWWtCI=; b=E6SIyUGOC6ZHfTsAa8uIc/dhJ+eAGvYJzmADWR5b+HpeuoopwMHPDCptNbkJa7DXEt N401WmLIXAEMgT8oSrCj82th58T4hmn1tf1tNucHYJNL8ZZzemfDrR3iTLTSh7mvS0V0 AM3JHhqmmITQqyHyWOsKvRb13JolXy8okJQHLh85gQE+kK9dON9ZTwZcF7mhKrd2kZB1 lMGBNTWJcLf7iAzlbpAPqe/BVCN3goG74OQ1qHtHnDihW6218kI2aEnkP4qi3CWTkKaG +UoZcn1std2MLsrO43Wffay8rTPM9biwjp6229ZfKQXSpLQBO+i6FrpsDeqPafsW5zbq opCg== X-Received: by 10.14.202.201 with SMTP id d49mr25904447eeo.1.1367821632619; Sun, 05 May 2013 23:27:12 -0700 (PDT) Received: from mavbook.mavhome.dp.ua (mavhome.mavhome.dp.ua. [213.227.240.37]) by mx.google.com with ESMTPSA id x41sm22419037eey.17.2013.05.05.23.27.10 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 05 May 2013 23:27:11 -0700 (PDT) Sender: Alexander Motin Message-ID: <51874D3C.1070003@FreeBSD.org> Date: Mon, 06 May 2013 09:27:08 +0300 From: Alexander Motin User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130413 Thunderbird/17.0.5 MIME-Version: 1.0 To: sbruno@freebsd.org Subject: Re: Audio Hints, T520? References: <1367640856.1348.216.camel@localhost> <5187069B.70001@gmx.net> <1367808221.1302.4.camel@localhost> In-Reply-To: <1367808221.1302.4.camel@localhost> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Sean Bruno , "freebsd-current@freebsd.org" , Michael Schmiedgen X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 May 2013 06:27:20 -0000 On 06.05.2013 05:43, Sean Bruno wrote: > On Mon, 2013-05-06 at 03:25 +0200, Michael Schmiedgen wrote: >> On 04.05.2013 06:14, Sean Bruno wrote: >>> Speaker/headphones working great on Current. >>> >>> Was trying to get the microphone working, but it seems to not quite be >>> working. >> >> I got the same problem with my X220. Before the last Lenovo >> HDA quirk commits everything worked fine, but I had to set >> the default sound unit to 1. >> Now I do not need to set the sound unit, audio output works >> out of the box but recording does not work anymore. I fiddled >> with nid config but got bored after the fifth reboot. >> >> The behaviour changed at my last world build a month ago. >> >> I can supply dmesg or sysctl output if you want. > > Ok, this smells like a recent regression. From information provided by Sean I can't see why added quirk for playback may affect recording in any way. More likely I would guess that change from two playback pcm/dsp devices to one, while still having two record ones, made hw.snd.default_unit less usable (because there is no choice of output devices for it any more). Respective two input pcm/dsp device may require to be chosen manually in recording application. Or you can try additional hints to join both mics in one dsp/pcm device, provided by Kevin Oberman: hint.hdac.0.cad0.nid35.config="as=2" hint.hdac.0.cad0.nid27.config="as=2 seq=15" PS: When checking mixer, remember that there is separate mixer for every pcm/dsp device. Sean. you've provided output only for one. I guess that other (internal) microphone is on another pcm device/mixer. -- Alexander Motin