[pulseaudio-discuss] [PATCH] alsa-mixer: Don't let "Mic Jack Mode" alone create a "Line In" path

Raymond Yau superquad.vortex2 at gmail.com
Tue Oct 16 04:34:46 PDT 2012


2012-10-16 下午5:49 於 "David Henningsson" <david.henningsson at canonical.com>
寫道:
>
> The IDT/Sigmatel codec driver often creates a "Mic Jack Mode" for
> every mic jack, so it can change functionality between Mic and Line In.
>
> However, as the "Mic Jack" is the standard naming, our current solution
> does not make the Line In port unavailable when nothing is plugged in.
>
> This patch makes the "Line In" port not to be created just because there
> is a "Mic Jack Mode" that could be set to "Line". This makes the behaviour
> consistent with e g "Dock Mic Jack Mode", "Front Mic Jack Mode" etc, where
> we don't create a "Dock Line" or "Dock Mic" port either.
>
> Signed-off-by: David Henningsson <david.henningsson at canonical.com>
> ---
>  .../alsa/mixer/paths/analog-input-linein.conf      |    1 -
>  1 file changed, 1 deletion(-)
>
> Note: One can wonder why this feature is implemented for the IDT codec
> only, as the same logic would apply to other codecs as well.
> Maybe someone wanted IDT to be special. However; it is not - there is a
normal
> "mic" icon (not a mic/line icon) on these jacks.
>
> The other option would be to create a special path for this use case, and
possibly
> also add "Dock Line" / "Front Line" / "Rear Line" paths for consistency.
> I'm ususally hestitant to removing existing functionality that could be
useful,
> but maybe this scenario adds more confusion than practical use? What do
others think?


there are some dell notebook(e.g xps m1530) with two headphone jacks and
mic jack which can support 5.1

http://support.dell.com/support/edocs/systems/xpsm1530/en/om/specs.htm

the main problem is alsa driver don't know which headphone  is retasked as
rear or center/lfe

mic jack can be retasked as line in or line out to support 5.1 , this
require the disable of auto mic selection to use internal mic

Help configuring Surround Sound 5.1 and Internal Mic Ubuntu 11.04

http://ubuntuforums.org/showthread.php?t=1761804
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20121016/5f91bd12/attachment-0001.html>


More information about the pulseaudio-discuss mailing list