Date: Sat, 30 Apr 2011 09:00:22 +0300 From: Alexander Motin <mav@FreeBSD.org> To: Matias Kreder <mkreder@gmail.com> Cc: FreeBSD-Current <freebsd-current@freebsd.org> Subject: Re: line in problem with snd_hda in mother asus m2npv-vm Message-ID: <4DBBA576.9000001@FreeBSD.org> In-Reply-To: <BANLkTik=Yc0c9M2qa3knTkJej9MMmzv-ZA@mail.gmail.com> References: <mailpost.1304102677.5009690.32175.mailing.freebsd.current@FreeBSD.cs.nctu.edu.tw> <4DBB37A6.7070000@FreeBSD.org> <BANLkTik=Yc0c9M2qa3knTkJej9MMmzv-ZA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <mav@freebsd.org> 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:<HDA Analog Devices AD1986A PCM #0 Analog> (play) default >>> pcm1:<HDA Analog Devices AD1986A PCM #1 Digital> (play) >> Show full verbose dmesg please. Provided part is not enough to analyze your >> problem. -- Alexander Motin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4DBBA576.9000001>