All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Henningsson <david.henningsson@canonical.com>
To: Takashi Iwai <tiwai@suse.de>
Cc: Julien Danjou <julien@danjou.info>, alsa-devel@alsa-project.org
Subject: Re: Constant noise on HDA ALC275
Date: Mon, 08 Oct 2012 16:39:35 +0200	[thread overview]
Message-ID: <5072E5A7.9040701@canonical.com> (raw)
In-Reply-To: <s5hr4p9hzw0.wl%tiwai@suse.de>

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"?


-- 
David Henningsson, Canonical Ltd.
https://launchpad.net/~diwic

  reply	other threads:[~2012-10-08 14:39 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-15 12:57 Constant noise on HDA ALC275 Julien Danjou
2012-09-21 12:33 ` Takashi Iwai
2012-09-21 12:43   ` Julien Danjou
2012-09-21 13:07     ` Takashi Iwai
2012-09-21 13:14       ` Julien Danjou
2012-09-21 13:24         ` Takashi Iwai
2012-09-21 13:37           ` Julien Danjou
2012-09-21 14:00             ` Takashi Iwai
2012-09-21 14:08               ` Julien Danjou
2012-09-21 15:01                 ` Takashi Iwai
2012-09-21 15:29                   ` Julien Danjou
2012-09-21 15:41                     ` Takashi Iwai
2012-09-21 15:55                       ` Julien Danjou
2012-09-21 16:07                         ` Takashi Iwai
2012-09-21 16:10                           ` Julien Danjou
2012-10-04 13:56                             ` Julien Danjou
2012-10-08 12:39                               ` Takashi Iwai
     [not found]                                 ` <87zk3xku73.fsf@dex.adm.naquadah.org>
2012-10-08 12:48                                   ` Takashi Iwai
2012-10-08 12:57                                     ` Julien Danjou
2012-10-08 13:11                                       ` Takashi Iwai
2012-10-08 14:39                                         ` David Henningsson [this message]
2012-10-08 15:07                                           ` Takashi Iwai
2012-10-08 15:24                                             ` Takashi Iwai
2012-10-08 15:41                                               ` Julien Danjou
2012-10-08 15:56                                                 ` Takashi Iwai
2012-10-08 16:09                                                   ` Julien Danjou
2012-10-08 16:12                                                     ` Takashi Iwai
2012-10-08 16:24                                         ` Julien Danjou
2012-10-08 16:28                                           ` Takashi Iwai
2012-10-08 16:52                                             ` Julien Danjou
2012-10-08 19:28                                               ` Takashi Iwai
2012-10-08 20:34                                                 ` Julien Danjou
2012-10-09  6:19                                                   ` David Henningsson
2012-10-09  6:39                                                     ` Takashi Iwai
2012-10-09  8:39                                                       ` Julien Danjou
2012-11-01 22:39                                                     ` Julien Danjou
2012-11-02  8:56                                                       ` Takashi Iwai
2012-11-02 11:29                                                         ` Julien Danjou
2012-11-03  8:02                                                           ` Takashi Iwai
2012-10-08 12:49                                   ` Julien Danjou

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=5072E5A7.9040701@canonical.com \
    --to=david.henningsson@canonical.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=julien@danjou.info \
    --cc=tiwai@suse.de \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.