[alsa-devel] Constant noise on HDA ALC275

Takashi Iwai tiwai at suse.de
Mon Oct 8 17:24:42 CEST 2012


At Mon, 08 Oct 2012 17:07:44 +0200,
Takashi Iwai wrote:
> 
> At Mon, 08 Oct 2012 16:39:35 +0200,
> David Henningsson wrote:
> > 
> > On 10/08/2012 03:11 PM, Takashi Iwai wrote:
> > > At Mon, 08 Oct 2012 14:57:23 +0200,
> > > Julien Danjou wrote:
> > >>
> > >> On Mon, Oct 08 2012, Takashi Iwai wrote:
> > >>
> > >>> It's interesting.  So, _unmuting_ the input from NID 0x1d removes the
> > >>> noise?  (0x80 means the channel is muted.)
> > >>
> > >> Yes, that's it.
> > >>
> > >> (I just unloaded and reloaded the module and rechecked).
> > >
> > > OK, then could you try the patch below?
> > >
> > >
> > > Takashi
> > >
> > > ---
> > > diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
> > > index 8568aee..42dd605 100644
> > > --- a/sound/pci/hda/patch_realtek.c
> > > +++ b/sound/pci/hda/patch_realtek.c
> > > @@ -5988,10 +5988,22 @@ static void alc269_fixup_mic2_mute(struct hda_codec *codec,
> > >   	}
> > >   }
> > >
> > > +static void alc275_fixup_vaio_mixer(struct hda_codec *codec,
> > > +				    const struct alc_fixup *fix, int action)
> > > +{
> > > +	/* _UN_muting the input from NID 0x1d fixes the mysterious speaker
> > > +	 * noise on Sony VAIO Z
> > > +	 */
> > > +	if (action == ALC_FIXUP_ACT_INIT)
> > > +		snd_hda_codec_write(codec, 0x0b, 0,
> > > +				    AC_VERB_SET_AMP_GAIN_MUTE,
> > > +				    AMP_IN_UNMUTE(4));
> > > +}
> > 
> > Hmm, isn't it easier just to toggle "Beep Playback Switch"?
> 
> Good point.  I'm actually not sure whether the 0x1d is supposed to be
> beep on ALC275 as well.  It's been so for ALC269, but ALC275 might be
> different.

In other words: Julien, could you check whether beep volume from
speaker/headphone changes when you adjust "Beep" volume in alsa mixer?


Takashi


More information about the Alsa-devel mailing list