Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Oct 2008 14:11:38 +0300
From:      Alexander Motin <mav@FreeBSD.org>
To:        Tobias Grosser <grosser@fim.uni-passau.de>
Cc:        freebsd-multimedia@freebsd.org
Subject:   Re: T61p microphone not working after snd_hda import
Message-ID:  <4901AD6A.2030106@FreeBSD.org>
In-Reply-To: <1224796981.00028396.1224784203@10.7.7.3>
References:  <1224796981.00028396.1224784203@10.7.7.3>

next in thread | previous in thread | raw e-mail | index | archive | help
Tobias Grosser wrote:
> I can not get my microphone working with the new snd_hda.

AD1981HD is the most specific HDA codec I have seen. It has very
specific mixer organization which can be configured in several different
ways and which present driver's logic unable to handle properly.
Previous driver's logic was so tangled, that I am surprised that it
worked sometimes. I your case it must be a luck. My mic for example was
not working.

I have no place to experiment with this codec, so if you would like to
help me with debugging we can try to do something with it.

> dmesg attached.

How have you made it so dirty? It is all shredded in peaces. I can't
read some parts. Can you remade it somehow? Add also hw.snd.verbose=4 to
the loader.conf to enable additional debugging messages.

> It seems I do not have a "mic" entry any more. My be it is renamed to
> monitor, but monitor also does not work.
> At least it seams that my microphone is connected to pcm0, but I can not
> find/enable it in mixer.

Driver names internal microphone as "monitor" and external as "mic". In
your case pin reports itself as both internal and external. I don't know
how it should work in this case. Probably there is some off-codec logic.

> Is there somewhere more documentation to understand snd_hda?

If you have read new snd_hda man page and this mail list archive then
probably only HDA specification. Code is now also more readable and
commented.

-- 
Alexander Motin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4901AD6A.2030106>