From owner-freebsd-current@FreeBSD.ORG Sat Apr 30 06:00:42 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8C0241065673 for ; Sat, 30 Apr 2011 06:00:42 +0000 (UTC) (envelope-from mavbsd@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 135498FC16 for ; Sat, 30 Apr 2011 06:00:41 +0000 (UTC) Received: by bwz12 with SMTP id 12so5094618bwz.13 for ; Fri, 29 Apr 2011 23:00:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:sender:message-id:date:from:user-agent :mime-version:to:cc:subject:references:in-reply-to :x-enigmail-version:content-type:content-transfer-encoding; bh=HZp3BHZgseKPO2akx6sMF0bbyBQcNiG5CfgL9VGWooU=; b=sveOt3NEUHffiuxGE5n1Yl7vB0temNJ8ndNJpaZ2gku3ol//3/e30NpGQpd/TY3JKe XIjdtP8lWC4pVzba7wXqRN6yW+pWT9PcczdLB35UIjSBqHv5rwDb53KxH1W4qIzz/Spw h3a2B8ZWsBSzZWjJk0Mb8o+9PIEfTlg+BwM9k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; b=ZKh9rhyZcM4junlhd6izOYRJV/8RObE5/l1Hyl942PZLvZUzuP7QI5NUkT3r5MpfbT twG46ImJrjouw/EDbBeH5apckmS+XIUsWDEKejzNouN3ZKUPAmPBQFqfqygi0RBMjzcD NaAilnZtvGqqzpguEFIZNjm1Tt5jj8ogR+4nQ= Received: by 10.204.25.194 with SMTP id a2mr1454419bkc.197.1304143240777; Fri, 29 Apr 2011 23:00:40 -0700 (PDT) Received: from mavbook2.mavhome.dp.ua (pc.mavhome.dp.ua [212.86.226.226]) by mx.google.com with ESMTPS id x6sm1992365bkv.0.2011.04.29.23.00.38 (version=SSLv3 cipher=OTHER); Fri, 29 Apr 2011 23:00:40 -0700 (PDT) Sender: Alexander Motin Message-ID: <4DBBA576.9000001@FreeBSD.org> Date: Sat, 30 Apr 2011 09:00:22 +0300 From: Alexander Motin User-Agent: Thunderbird 2.0.0.23 (X11/20091212) MIME-Version: 1.0 To: Matias Kreder References: <4DBB37A6.7070000@FreeBSD.org> In-Reply-To: X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: FreeBSD-Current Subject: Re: line in problem with snd_hda in mother asus m2npv-vm X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Sat, 30 Apr 2011 06:00:42 -0000 Matias Kreder wrote: > there was a part of dmesg that I have not seen: > > hdac0: 3 associations found: > hdac0: Association 0 (1) out: > hdac0: Pin nid=27 seq=1 > hdac0: Pin nid=26 seq=15 > hdac0: Association 1 (8) in: > hdac0: Pin nid=28 seq=1 > hdac0: Pin nid=31 seq=3 > hdac0: Pin nid=32 seq=4 > hdac0: Pin nid=34 seq=5 > hdac0: Pin nid=36 seq=6 > hdac0: Association 2 (15) out: > hdac0: Pin nid=37 seq=0 > hdac0: Tracing association 0 (1) > hdac0: Pin 27 traced to DAC 3 > hdac0: Pin 26 traced to DAC 3 and hpredir 1 > hdac0: Association 0 (1) trace succeeded > hdac0: Tracing association 1 (8) > hdac0: Pin 28 traced to ADC 6 > hdac0: Pin 31 traced to ADC 6 > hdac0: Pin 32 traced to ADC 6 > hdac0: Pin 34 traced to ADC 6 > hdac0: Unable to trace pin 36 to ADC 6, undo traces > hdac0: Association 1 (8) trace failed Here is the problem. Pin 36 can't be routed to recording. It is an analog speaker input pin. > Would you please help me with what I need to put in dev.hints? I want > the fron panel mic input to work as a mic input, the headphone as a > headphone and in the back, the green one for speakers, and then line > in and mic as normal.. Try this: hint.hdac.0.cad0.nid36.config="as=0" Or instead you can try this kernel patch: Index: sys/dev/sound/pci/hda/hdac.c =================================================================== --- sys/dev/sound/pci/hda/hdac.c (revision 221156) +++ sys/dev/sound/pci/hda/hdac.c (working copy) @@ -2688,6 +2688,9 @@ case HDA_CODEC_AD1989B: beeper = 26; break; + case HDA_CODEC_AD1986A: + beeper = 36; + break; case HDA_CODEC_ALC260: beeper = 23; break; . If it helps, show me the new dmesg. > On Fri, Apr 29, 2011 at 7:11 PM, Alexander Motin wrote: >> Hi. >> >> On 29.04.2011 21:20, Matias Kreder wrote: >>> The problem is that I cannot get line in to work, there is not any >>> recording device displayed in mixer. I know that there may be >>> something to tweak in device.hints but I'm not sure how, and I never >>> touched this file. >>> >>> root@pearl ~]# cat /dev/sndstat >>> FreeBSD Audio Driver (newpcm: 32bit 2009061500/i386) >>> Installed devices: >>> pcm0: (play) default >>> pcm1: (play) >> Show full verbose dmesg please. Provided part is not enough to analyze your >> problem. -- Alexander Motin