From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: [PATCH] ALSA: hda - Fix ALC660-VD/ALC861-VD capture/playback mixers Date: Thu, 25 Nov 2010 10:21:52 +0100 Message-ID: References: <20101125000801.3933b48b@mandriva.com.br> 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 160CE103BC7 for ; Thu, 25 Nov 2010 10:21:54 +0100 (CET) In-Reply-To: <20101125000801.3933b48b@mandriva.com.br> 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: Herton Ronaldo Krzesinski Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org At Thu, 25 Nov 2010 00:08:01 -0200, Herton Ronaldo Krzesinski wrote: > > The mixer nids passed to alc_auto_create_input_ctls are wrong: 0x15 is > a pin, and 0x09 is the ADC on both ALC660-VD/ALC861-VD. Thus with > current code, input playback volume/switches and input source mixer > controls are not created, and recording doesn't work. Select correct > mixers, 0x0b (input playback mixer) and 0x22 (capture source mixer). > > Reference: https://qa.mandriva.com/show_bug.cgi?id=61159 > > Signed-off-by: Herton Ronaldo Krzesinski Applied now. Thanks! Takashi > --- > sound/pci/hda/patch_realtek.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c > index b4b3afe..5aafae9 100644 > --- a/sound/pci/hda/patch_realtek.c > +++ b/sound/pci/hda/patch_realtek.c > @@ -16952,7 +16952,7 @@ static struct alc_config_preset alc861vd_presets[] = { > static int alc861vd_auto_create_input_ctls(struct hda_codec *codec, > const struct auto_pin_cfg *cfg) > { > - return alc_auto_create_input_ctls(codec, cfg, 0x15, 0x09, 0); > + return alc_auto_create_input_ctls(codec, cfg, 0x0b, 0x22, 0); > } > > > -- > 1.7.3.2 >