[alsa-devel] [PATCH 4/5] ALSA: hda - Implement shared front mic/hp jack for HP Z220

Raymond Yau superquad.vortex2 at gmail.com
Wed Dec 5 09:20:29 CET 2012


> >
> > > HP Z220 with ALC221 codec has a front jack that should work as both
> > > the front mic and the secondary headphone.  This patch adds a new
> > > mixer enum to change the jack behavior.
> > >
> > > In the headphone mode, the auto-mic switching is disabled and the
> > > input is fixed to the rear line-in.
> > >
> >
> > I expect when any input jack(line in or mic) is retasked as output e.g.
> > alc_set_multi_io() the corresponding jack detection kcontrol should
change
> > to false
>
> In the current implementation, this doesn't matter because the front
> panel has no capability of multi-io.  The multi-io is enabled only
> when all jacks are located in the same place.  On the front panel,
> there are only two.
>
> But it's a thing to be considered in future if we'll need to extend
> such retasking functionalities more generically.
>
>

if mic_event change to hp_event in this case, does it mean that hp_event
should change to mic_event in Q1-ultra

http://git.kernel.org/?p=linux/kernel/git/tiwai/sound.git;a=commitdiff;h=24de183ed0369d73af89e6752fcc1ecbde59053d;hp=82e14a4754599952f5504c1f696bbc77bdfd6009


More information about the Alsa-devel mailing list