Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Gabriele Mazzotta <gabriele.mzt@gmail.com>
Cc: alsa-devel@alsa-project.org
Subject: Re: Pop noise on startup when headphones are plugged in (Dell XPS13 9333)
Date: Mon, 20 Apr 2015 09:18:40 +0200	[thread overview]
Message-ID: <s5h1tjfw9m7.wl-tiwai@suse.de> (raw)
In-Reply-To: <s5h618rwdc8.wl-tiwai@suse.de>

At Mon, 20 Apr 2015 07:58:15 +0200,
Takashi Iwai wrote:
> 
> At Sun, 19 Apr 2015 19:26:58 +0200,
> Gabriele Mazzotta wrote:
> > 
> > Hi,
> > 
> > I've recently found that commit a551d91473 ("ALSA: hda - Use regmap for
> > command verb caches, too") is somehow causing a pop noise on startup
> > when headphones are plugged in, but I couldn't figure out the exact
> > cause. Was this observed on other systems (mine is a Dell XPS13 9333,
> > Realtek ALC3661)? Does anyone have any idea of what the cause might be?
> 
> Are you sure that the commit is the culprit?  There are lots of other
> changes like the widget-based power saving.

FYI, the widget power-saving can be disabled by the following.  (It
can be done by hints, too.)

If this fixes the problem, we likely need more tweaks at path power
activation.  Or, as a last resort, put this to the fixup for your
model.


Takashi

---
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index 231d0e4b9a95..637ff2b70f6e 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -5584,7 +5584,7 @@ static int patch_alc269(struct hda_codec *codec)
 
 	spec = codec->spec;
 	spec->gen.shared_mic_vref_pin = 0x18;
-	codec->power_save_node = 1;
+	/* codec->power_save_node = 1; */
 
 	snd_hda_pick_fixup(codec, alc269_fixup_models,
 		       alc269_fixup_tbl, alc269_fixups);

  reply	other threads:[~2015-04-20  7:18 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-19 17:26 Pop noise on startup when headphones are plugged in (Dell XPS13 9333) Gabriele Mazzotta
2015-04-20  5:58 ` Takashi Iwai
2015-04-20  7:18   ` Takashi Iwai [this message]
2015-04-20 19:51     ` Gabriele Mazzotta
2015-04-20 19:49   ` Gabriele Mazzotta
2015-04-21  2:13     ` Raymond Yau
2015-04-21  9:50       ` Gabriele Mazzotta
2015-04-21  9:58 ` Gabriele Mazzotta
2015-04-21 10:04   ` Takashi Iwai
2015-04-23 19:12 ` Gabriele Mazzotta
2015-04-24  6:13   ` Takashi Iwai
2015-04-24 15:14     ` Gabriele Mazzotta
2015-04-24 15:34       ` Takashi Iwai
2015-04-25 11:51         ` Gabriele Mazzotta
2015-04-25 13:57           ` Gabriele Mazzotta
2015-04-26 16:26             ` Takashi Iwai
2015-04-26 17:05               ` Gabriele Mazzotta
2015-04-27  8:49                 ` Takashi Iwai

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=s5h1tjfw9m7.wl-tiwai@suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=gabriele.mzt@gmail.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox