[alsa-devel] ALC268 - Acer Aspire 5720 - mic source switch disappered

Maxim Levitsky maximlevitsky at gmail.com
Wed Sep 30 19:33:28 CEST 2009


On Wed, 2009-09-30 at 08:11 +0200, Takashi Iwai wrote: 
> At Tue, 29 Sep 2009 18:51:43 +0200,
> Maxim Levitsky wrote:
> > 
> > On Tue, 2009-09-29 at 18:50 +0200, Maxim Levitsky wrote: 
> > > On Tue, 2009-09-29 at 17:36 +0200, Takashi Iwai wrote: 
> > > > At Tue, 29 Sep 2009 17:23:15 +0200,
> > > > Maxim Levitsky wrote:
> > > > > 
> > > > > On Tue, 2009-09-29 at 08:47 +0200, Takashi Iwai wrote: 
> > > > > > At Tue, 29 Sep 2009 03:13:18 +0200,
> > > > > > Maxim Levitsky wrote:
> > > > > > > 
> > > > > > > Hi,
> > > > > > > 
> > > > > > > I have installed 2.6.32-rc1 (well -rc2...)
> > > > > > > 
> > > > > > > And I notice that 'Input source' is missing.
> > > > > > 
> > > > > > Now it's selected automatically per mic-jack plugging.
> > > > > > 
> > > > > > 
> > > > > > Takashi
> > > > > 
> > > > > Nice, but driver doesn't record from internal mic now, despite the fact
> > > > > that no external mic is plugged in.
> > > > 
> > > > That's a bug, obviously :)
> > > > 
> > > > Could you run alsa-info.sh (with --no-upload option) with and without
> > > > the mic plugged, and attach the files?
> > > > 
> > > > 
> > > > thanks,
> > > > 
> > > > Takashi
> > > 
> > > Sure, I already did, but it mostly contains the /proc/asound/Intel/...
> > > codec#0 stuff...
> > Here the attachment I forgot...
> 
> Ah, this is no aspire-one-like model.
> 
> Looks like I mistakenly removed the input source mixer element.
> The fixed patch is below.
> 
> 
> thanks,
> 
> Takashi
> 
> ---
> diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
> index 1296058..bc057a8 100644
> --- a/sound/pci/hda/patch_realtek.c
> +++ b/sound/pci/hda/patch_realtek.c
> @@ -12660,7 +12660,7 @@ static struct alc_config_preset alc268_presets[] = {
>  		.init_hook = alc268_toshiba_automute,
>  	},
>  	[ALC268_ACER] = {
> -		.mixers = { alc268_acer_mixer, alc268_capture_nosrc_mixer,
> +		.mixers = { alc268_acer_mixer, alc268_capture_alt_mixer,
>  			    alc268_beep_mixer },
>  		.init_verbs = { alc268_base_init_verbs, alc268_eapd_verbs,
>  				alc268_acer_verbs },

Thank you very much. Works fine now!

Best regards,
Maxim Levitsky



More information about the Alsa-devel mailing list