Received: by 2002:a19:651b:0:0:0:0:0 with SMTP id z27csp1076lfb; Wed, 11 May 2022 08:14:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyQs3QtaaLeido304rRMZKg8Q/Vfxsp0/zaWLxPv1HiT2dcE5uyNIuJgaFTJcgAyCy7LM4Y X-Received: by 2002:a17:90b:4d90:b0:1de:b54f:c5d with SMTP id oj16-20020a17090b4d9000b001deb54f0c5dmr5816422pjb.27.1652282034877; Wed, 11 May 2022 08:13:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652282034; cv=none; d=google.com; s=arc-20160816; b=gbjEeAuqdPWHJOd7N8INW8zaebTiXvZz/rEZfijszQhctz6bQEfvvtmLDaf0m47Q+c xtMQNQjnEi5+Bl0gOy+0VwJFncunwJQ6HhnXf0K03LGt6ZNBy7Di0TbYrzZBQO96oKfc Wxle92xg5R4y4KVBXLbxnZauUBg/Byz/WHOcPkmO92OCfV2HwJMgZRPRe/thkpc3rX62 rCCYSmzMdAM562WypOnfG7yyWEzM0+KF4ot316dzmiQ8CuxNWHsxKa6kujK+cY+w8KGc 10yj7nc/CuDReHCXVrDCecGFv7pLjTQejGvKX+94ch4gxvPjubVF03fzzZ/+xr7G1Tt2 4BmA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=c1Vb4p1vkGSJItTRwAlpO5sgwGTX5UJ++paeVDEPj5o=; b=NxwXzr8YYiVmpQQXRgyi1xVi4dvT4XCPIfme6CJ5HBYaSZfEiREqFhW1PTgp/lrp7W ZKifhMCR+//iKVJItq7HacP8KuLWG++ahTZZT7GrLZI5oR5ODcdUdAbWFB+fazYiTflw qEmZ4L4TWWoUnbHkKPP6yd/al+R0dwEr/38Yv96MVquf4rgUK4/dS4oupFkPKkgn0YjR nM5KX24z7HTyX0Sodxni5Jz+ahJfhvUFWxv6drdKvd/Z8HV0hvLmbsUCTGmyjUtzzVqA pW5P9/DMiy5wly63qv91nmp2CHvfnJg+IXWRE+dfPGPJE9AhTSYgUHFVdVN28tqhAQVQ 8v6w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=tuxedocomputers.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a193-20020a6390ca000000b003a2ece8b92bsi181290pge.219.2022.05.11.08.13.06; Wed, 11 May 2022 08:13:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=tuxedocomputers.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244273AbiEKN6Q (ORCPT + 99 others); Wed, 11 May 2022 09:58:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44804 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240080AbiEKN6K (ORCPT ); Wed, 11 May 2022 09:58:10 -0400 Received: from srv6.fidu.org (srv6.fidu.org [IPv6:2a01:4f8:231:de0::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A8BF35B3C5 for ; Wed, 11 May 2022 06:58:08 -0700 (PDT) Received: from localhost (localhost.localdomain [127.0.0.1]) by srv6.fidu.org (Postfix) with ESMTP id B4B55C80099; Wed, 11 May 2022 15:58:04 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at srv6.fidu.org Received: from srv6.fidu.org ([127.0.0.1]) by localhost (srv6.fidu.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id fSmKOxGlGNEQ; Wed, 11 May 2022 15:58:04 +0200 (CEST) Received: from [192.168.178.82] (host-212-18-30-247.customer.m-online.net [212.18.30.247]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: wse@tuxedocomputers.com) by srv6.fidu.org (Postfix) with ESMTPSA id E1A7AC80091; Wed, 11 May 2022 15:58:03 +0200 (CEST) Message-ID: <71fadca3-7750-2fc0-c04a-f05ab4e85112@tuxedocomputers.com> Date: Wed, 11 May 2022 15:58:03 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.1 Subject: Re: [PATCH] ALSA: hda/intel: Add quirk for TongFang devices with pop noise Content-Language: en-US To: Takashi Iwai Cc: alsa-devel@alsa-project.org, kai.vehmanen@linux.intel.com, linux-kernel@vger.kernel.org, imre.deak@intel.com, pierre-louis.bossart@linux.intel.com, tiwai@suse.com References: <20220511133828.13724-1-wse@tuxedocomputers.com> From: Werner Sembach In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,NICE_REPLY_A, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am 11.05.22 um 15:41 schrieb Takashi Iwai: > On Wed, 11 May 2022 15:38:28 +0200, > Werner Sembach wrote: >> When audio stops playing and sometimes when it starts playing, there is an >> audible "pop" noise when using headphones on most Tongfang GMxMxxx, >> GKxNxxx, GMxZxxx, GMxTxxx, and GMxAxxx devices. >> >> Disabling power saving for the Realtek codec fixes this noise. Presumably >> it is triggered on some power event in the audio circuit. >> >> Signed-off-by: Werner Sembach >> Cc: stable@vger.kernel.org > Usually this denylist is a last resort if any other methods never > helped. Is it the case? I also tried setting codec->power_save_node = 0; in a patch_realtek.c quirk. static void alc274_fixup_pop_noise(struct hda_codec *codec, const struct hda_fixup *fix, int action) {        codec->power_save_node = 0; } That initially seemed to work, but when I tested it again a day later after a fresh install, it didn't anymore. I don't know what is different. On the install before, I did some debugging with boot parameters and other stuff, cant reproduce anymore what exactly. I took the line from alc274_fixup_bind_dacs which fixes the pop noise when applied to the devices, but does a lot of random other stuff too not meant for the device. I think I only ever warm rebooted when trying other fixes including that one, maybe that's the reason for the different behavior a day later .. Kind Regards, Werner Sembach > > > thanks, > > Takashi