mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Alessandro Guido <ag@alessandroguido.name>
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
Date: Mon, 15 Mar 2010 08:23:46 +0100	[thread overview]
Message-ID: <s5hiq8yjbel.wl%tiwai@suse.de> (raw)
In-Reply-To: <4B9D79F9.9080607@alessandroguido.name>

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,

  reply	other threads:[~2010-03-15  7:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-15  0:06 Alessandro Guido
2010-03-15  7:23 ` Takashi Iwai [this message]
     [not found]   ` <5c949ce71003150541o45a288fflb54643a5fa09de3e@mail.gmail.com>
2010-03-15 13:38     ` Takashi Iwai

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=s5hiq8yjbel.wl%tiwai@suse.de \
    --to=tiwai@suse.de \
    --cc=ag@alessandroguido.name \
    --cc=alsa-devel@alsa-project.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®