From: Takashi Iwai Subject: Re: [PATCH 4/5] ALSA: hda - Implement shared front mic/hp jack for HP Z220 Date: Fri, 30 Nov 2012 08:59:42 +0100 Message-ID: References: <1354202489-12769-1-git-send-email-tiwai@suse.de> <1354202489-12769-5-git-send-email-tiwai@suse.de> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.suse.de (cantor2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id F0EF7264FE3 for ; Fri, 30 Nov 2012 08:59:42 +0100 (CET) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: Raymond Yau Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org At Fri, 30 Nov 2012 15:21:42 +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. thanks, Takashi