[alsa-devel] Commit d6cc9fabd58f33e829a3182aa856db0d57c726ef breaks built-in mic on ASUS F6A

Takashi Iwai tiwai at suse.de
Tue Nov 22 08:09:24 CET 2011


At Tue, 22 Nov 2011 08:02:44 +0100,
Takashi Iwai wrote:
> 
> At Mon, 21 Nov 2011 20:38:16 +0200,
> Dmitry Nezhevenko wrote:
> > 
> > On Mon, Nov 21, 2011 at 06:47:29PM +0100, Takashi Iwai wrote:
> > > At Mon, 21 Nov 2011 21:27:13 +0200,
> > > Dmitry Nezhevenko wrote:
> > > > 
> > > > Hi,
> > > > 
> > > > I've found that internal doesn't work on kernel 3.1 while previous verison
> > > > (3.0) is ok.
> > > 
> > > This should have been already fixed in 3.1.1 kernel.  Give it a try.
> > 
> > Sorry. I've not mentioned it before. I'm on 3.1.1 now and still no luck.
> > arecord just get silence and VU-meter display nothing.
> 
> OK, then pass model=auto option to snd-hda-intel module (and adjust
> the mixer elements appropriately after that).  It seems that the
> static model config  got broken, and it's no longer needed.
> In 3.2 tree, these static setups have been already removed.

Alternatively, try the patch below.  This will fix just the capture
bug but anything else is untouched.  If it's confirmed to work, I'll
send it to stable kernel separately since this can't be applied to the
upstream tree any longer.


thanks,

Takashi

---
diff --git a/sound/pci/hda/alc662_quirks.c b/sound/pci/hda/alc662_quirks.c
index e69a6ea..e5ea997 100644
--- a/sound/pci/hda/alc662_quirks.c
+++ b/sound/pci/hda/alc662_quirks.c
@@ -1230,7 +1230,6 @@ static const struct alc_config_preset alc662_presets[] = {
 	},
 	[ALC663_ASUS_MODE1] = {
 		.mixers = { alc663_m51va_mixer },
-		.cap_mixer = alc662_auto_capture_mixer,
 		.init_verbs = { alc662_init_verbs,
 				alc662_eapd_init_verbs,
 				alc663_21jd_amic_init_verbs },
@@ -1246,7 +1245,6 @@ static const struct alc_config_preset alc662_presets[] = {
 	},
 	[ALC662_ASUS_MODE2] = {
 		.mixers = { alc662_1bjd_mixer },
-		.cap_mixer = alc662_auto_capture_mixer,
 		.init_verbs = { alc662_init_verbs,
 				alc662_eapd_init_verbs,
 				alc662_1bjd_amic_init_verbs },
@@ -1261,7 +1259,6 @@ static const struct alc_config_preset alc662_presets[] = {
 	},
 	[ALC663_ASUS_MODE3] = {
 		.mixers = { alc663_two_hp_m1_mixer },
-		.cap_mixer = alc662_auto_capture_mixer,
 		.init_verbs = { alc662_init_verbs,
 				alc662_eapd_init_verbs,
 				alc663_two_hp_amic_m1_init_verbs },
@@ -1277,7 +1274,6 @@ static const struct alc_config_preset alc662_presets[] = {
 	},
 	[ALC663_ASUS_MODE4] = {
 		.mixers = { alc663_asus_21jd_clfe_mixer },
-		.cap_mixer = alc662_auto_capture_mixer,
 		.init_verbs = { alc662_init_verbs,
 				alc662_eapd_init_verbs,
 				alc663_21jd_amic_init_verbs},
@@ -1293,7 +1289,6 @@ static const struct alc_config_preset alc662_presets[] = {
 	},
 	[ALC663_ASUS_MODE5] = {
 		.mixers = { alc663_asus_15jd_clfe_mixer },
-		.cap_mixer = alc662_auto_capture_mixer,
 		.init_verbs = { alc662_init_verbs,
 				alc662_eapd_init_verbs,
 				alc663_15jd_amic_init_verbs },
@@ -1309,7 +1304,6 @@ static const struct alc_config_preset alc662_presets[] = {
 	},
 	[ALC663_ASUS_MODE6] = {
 		.mixers = { alc663_two_hp_m2_mixer },
-		.cap_mixer = alc662_auto_capture_mixer,
 		.init_verbs = { alc662_init_verbs,
 				alc662_eapd_init_verbs,
 				alc663_two_hp_amic_m2_init_verbs },
@@ -1325,7 +1319,6 @@ static const struct alc_config_preset alc662_presets[] = {
 	},
 	[ALC663_ASUS_MODE7] = {
 		.mixers = { alc663_mode7_mixer },
-		.cap_mixer = alc662_auto_capture_mixer,
 		.init_verbs = { alc662_init_verbs,
 				alc662_eapd_init_verbs,
 				alc663_mode7_init_verbs },
@@ -1341,7 +1334,6 @@ static const struct alc_config_preset alc662_presets[] = {
 	},
 	[ALC663_ASUS_MODE8] = {
 		.mixers = { alc663_mode8_mixer },
-		.cap_mixer = alc662_auto_capture_mixer,
 		.init_verbs = { alc662_init_verbs,
 				alc662_eapd_init_verbs,
 				alc663_mode8_init_verbs },


More information about the Alsa-devel mailing list