[pulseaudio-discuss] [PATCH] alsa-mixer: Don't let "Mic Jack Mode" alone create a "Line In" path
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
> "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
> also add "Dock Line" / "Front Line" / "Rear Line" paths for consistency.
> I'm ususally hestitant to removing existing functionality that could be
> but maybe this scenario adds more confusion than practical use? What do
there are some dell notebook(e.g xps m1530) with two headphone jacks and
mic jack which can support 5.1
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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the pulseaudio-discuss