line in problem with snd_hda in mother asus m2npv-vm
Alexander Motin
mav at FreeBSD.org
Sat Apr 30 06:00:42 UTC 2011
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 at 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 at 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
More information about the freebsd-current
mailing list