[alsa-devel] [2.6.34-rc1 REGRESSION] alsa: no mixer controls (and no sound) with 2.6.24-rc1+ on Realtek ALC260

Takashi Iwai tiwai at suse.de
Mon Mar 15 08:23:46 CET 2010


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,


More information about the Alsa-devel mailing list