
At Wed, 5 Dec 2012 16:20:29 +0800, Raymond Yau wrote:
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=24d...
The code handling shared mic/HP of Q1 is totally different from the generic multi-io handling.
Takashi