From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: Pop noise on startup when headphones are plugged in (Dell XPS13 9333) Date: Tue, 21 Apr 2015 12:04:41 +0200 Message-ID: References: <23057263.IjMh4t6SYF@xps13> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.suse.de (cantor2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id B0AD6260845 for ; Tue, 21 Apr 2015 12:04:41 +0200 (CEST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: Gabriele Mazzotta Cc: Raymond Yau , ALSA Development Mailing List List-Id: alsa-devel@alsa-project.org At Tue, 21 Apr 2015 11:58:54 +0200, Gabriele Mazzotta wrote: > > 2015-04-19 19:26 GMT+02:00 Gabriele Mazzotta : > > 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? > > > Small update: I found that if I add a printk in alc_shutup_dell_xps13() > or I increase the delay from 20ms to 200ms, I get the pop noise on > start, with or without a551d91473 reverted. I will try to find out what > this delay is exactly affecting. Interesting. I didn't think that increasing the delay affects (not decreasing). Maybe you'd be better to trace the verbs that are issued around the headphone jack plugging. The tracepoints are your friend. See HD-audio.txt for a brief instruction. thanks, Takashi