From: Takashi Iwai Subject: Re: Conexant 5051 lenovo-x200 fixes Date: Wed, 24 Aug 2011 10:59:19 +0200 Message-ID: References: <4E4C60AD.2090806@osa.pri.ee> <4E4DA7BA.5020704@osa.pri.ee> <4E4FCF4C.5070402@osa.pri.ee> <4E538FC5.5020600@osa.pri.ee> <4E546F46.2040803@osa.pri.ee> 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 EDBCA2493A for ; Wed, 24 Aug 2011 10:59:21 +0200 (CEST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Ulo Mets Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org At Wed, 24 Aug 2011 07:53:00 +0200, Takashi Iwai wrote: > > > In Rec screen of Alsamixer all three mic volume and boost controls are present. > > Autosensing of Dock Mic works, and so do its controls. Internal mic works too, but > > autosensing of Ext mic does not. > > Does ext-mic pin (0x18) jack-sense work with hda-emu at all? > When this pin is selected, the recording is done via another ADC > (0x15) instead of the one for int-mic and dock-mic (0x14). > Try to reopen the recording stream when you plug the ext-mic. > It might be a bug in the dynamic ADC-switching of the running stream. The patch below should fix the ADC-switching behavior. Takashi --- From: Takashi Iwai Subject: [PATCH] ALSA: hda/conexant - Enable ADC-switching for auto-mic mode, too The ADC-switching can work also in the auto-mic mode, too. Signed-off-by: Takashi Iwai --- sound/pci/hda/patch_conexant.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/sound/pci/hda/patch_conexant.c b/sound/pci/hda/patch_conexant.c index 4c462c3..5616444 100644 --- a/sound/pci/hda/patch_conexant.c +++ b/sound/pci/hda/patch_conexant.c @@ -3866,7 +3866,7 @@ static void cx_auto_parse_input(struct hda_codec *codec) } if (imux->num_items >= 2 && cfg->num_inputs == imux->num_items) cx_auto_check_auto_mic(codec); - if (imux->num_items > 1 && !spec->auto_mic) { + if (imux->num_items > 1) { for (i = 1; i < imux->num_items; i++) { if (spec->imux_info[i].adc != spec->imux_info[0].adc) { spec->adc_switching = 1; -- 1.7.6