Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D2A72C433ED for ; Fri, 16 Apr 2021 08:06:46 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id AEDB36113D for ; Fri, 16 Apr 2021 08:06:45 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org AEDB36113D Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=suse.de Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 1D270167B; Fri, 16 Apr 2021 10:05:54 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 1D270167B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1618560404; bh=b3r11gEs93ztMQJ479pEaSfMAsuNYk+Icq9/e06yvGQ=; h=Date:From:To:Subject:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=ppohyraoX1ovXWBAX0QQCvrSnELIYWVPhhrkRDEprZCQjzowcxb54Hd658bL/3219 LwQwC0EkFhKsk1wYXo5gapiomxVaAGzaRd+B5B5bX9lfrAx/lXcYCQtD29Qim8EO45 B+f3vK7PCPZadouVt5+v99i+QYLTmLtwVFX0Q3LA= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 9DF8AF80254; Fri, 16 Apr 2021 10:05:53 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 2A9DAF8025B; Fri, 16 Apr 2021 10:05:50 +0200 (CEST) Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id AB32BF800FF for ; Fri, 16 Apr 2021 10:05:34 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz AB32BF800FF X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 9914FABB1; Fri, 16 Apr 2021 08:05:33 +0000 (UTC) Date: Fri, 16 Apr 2021 10:05:33 +0200 Message-ID: From: Takashi Iwai To: Phil Calvin Subject: Re: [PATCH 1/1] ALSA: hda/realtek: fix mic boost on Intel NUC 8 In-Reply-To: <80dc5663-7734-e7e5-25ef-15b5df24511a@philcalvin.com> References: <80dc5663-7734-e7e5-25ef-15b5df24511a@philcalvin.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 Emacs/25.3 (x86_64-suse-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Cc: alsa-devel@alsa-project.org, Takashi Iwai X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" On Fri, 16 Apr 2021 00:01:29 +0200, Phil Calvin wrote: > > Fix two bugs with the Intel HDA Realtek ALC233 sound codec > present in Intel NUC NUC8i7BEH and probably a few other similar > NUC models. > > These codecs advertise a 4-level microphone input boost amplifier on > pin 0x19, but the highest two boost settings do not work correctly, > and produce only low analog noise that does not seem to contain any > discernible signal. There is an existing fixup for this exact problem > but for a different PCI subsystem ID, so we re-use that logic. > > Changing the boost level also triggers a DC spike in the input signal > that bleeds off over about a second and overwhelms any input during > that time. Thankfully, the existing fixup has the side effect of > making the boost control show up in userspace as a mute/unmute switch, > and this keeps (e.g.) PulseAudio from fiddling with it during normal > input volume adjustments. > > Finally, the NUC hardware has built-in inverted stereo mics. This > patch also enables the usual fixup for this so the two channels cancel > noise instead of the actual signal. > > Signed-off-by: Phil Calvin Thanks, applied now with a minor fix of the quirk entry position (sorted in order). But the patch text wasn't cleanly applicable and I had to edit it manually. I guess this is due to your MUA setup. Please check it and fix at the next time. Takashi