From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935392Ab0COHXw (ORCPT ); Mon, 15 Mar 2010 03:23:52 -0400 Received: from cantor2.suse.de ([195.135.220.15]:34879 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934520Ab0COHXr (ORCPT ); Mon, 15 Mar 2010 03:23:47 -0400 Date: Mon, 15 Mar 2010 08:23:46 +0100 Message-ID: From: Takashi Iwai To: Alessandro Guido Cc: linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org Subject: Re: [2.6.34-rc1 REGRESSION] alsa: no mixer controls (and no sound) with 2.6.24-rc1+ on Realtek ALC260 In-Reply-To: <4B9D79F9.9080607@alessandroguido.name> References: <4B9D79F9.9080607@alessandroguido.name> User-Agent: Wanderlust/2.15.6 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.7 Emacs/23.1 (x86_64-suse-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org At Mon, 15 Mar 2010 01:06:17 +0100, Alessandro Guido wrote: > > With 2.6.34-rc1+ my laptop (Sony Vaio VGN-FS215S) can't reproduce any > sound. All controls are missing from alsamixer and this message is found > in dmesg: > > hda_codec: cannot build controlsfor #0 (error -22) > > Kernel config is attached, and the output from alsa-info.sh follows: Does the patch below fix? Takashi --- diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index 3a83719..ba45868 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -6477,7 +6477,7 @@ static struct alc_config_preset alc260_presets[] = { .num_dacs = ARRAY_SIZE(alc260_dac_nids), .dac_nids = alc260_dac_nids, .num_adc_nids = ARRAY_SIZE(alc260_dual_adc_nids), - .adc_nids = alc260_adc_nids, + .adc_nids = alc260_dual_adc_nids, .num_channel_mode = ARRAY_SIZE(alc260_modes), .channel_mode = alc260_modes, .input_mux = &alc260_capture_source,