Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp3279043ybb; Tue, 31 Mar 2020 01:58:06 -0700 (PDT) X-Google-Smtp-Source: ADFU+vvo7rQjKfCNCIDPHO+EhPdi7RB3x+NRLV3UjBSSvjlcqhruYk7iUQiLJDfZeeaVNyZ9CEVf X-Received: by 2002:aca:3302:: with SMTP id z2mr1389364oiz.3.1585645086117; Tue, 31 Mar 2020 01:58:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585645086; cv=none; d=google.com; s=arc-20160816; b=RSdfJb2IOHz1aw5ar4TmfyHzPnnBBlzMUUTXg4392jwfs6beReYtspq7Cbl6LUw3gb lGsCxZthJ1GDhbjWs6c6qwweCewI/WKIg5P/vNYW6ZjMZl1dwpVomqLxNc3HKPwCLsGW BpC549GPrHHTajyo6IIE9rHaVi4KFWCTO7WL+Nj3E6JV/t7av47Tm8v0NskyeU4FeGCj ff6PTVSXFNvrGk9WrAZwuJQrQy4YKxeLIWuFYEYyWD4FkdJsiLOsgEvnVbOeCQZpTLHw k/smLoUpJECNt3kMjAtFJE8DIT0HAyQ9NxH98yGi7sUzai/8UiHiryKJ3S8ohbB4RTZu djcg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:subject:cc:to:from:message-id:date; bh=UfnnAR1cAy9z/k1KMFcBlvJtVgvqppORd8nFD19q/p8=; b=k/pkG/1zEQr+LqiswRzEj7fEvyR3aHhD9IAYmW7t2bfOtKOC8Or3yohp1rfW4IjQCM DNECNNPUTNfWkOSqSmdCmCvHSjEkexo/1EZ1g64XBW/ZIsramqWaKKdogTQ70n4WDRB+ +W781X8JNHBzLsDGJWC2b83M+hea9Ep6njynwH2/k/e/ULG+lHxxEjJH5AtdGjhPlk9T EatZPgPsKw4UXWrL55BLLBmvitCgWTS2cfLJyV474BLlJrL56e0xSCDWXO7WIbdZCyP3 YhRb4y+bslZO2ITi4FbrZdoPQ+cS9QEZ8mR0lgBN4ewZOvXo2C1bNHXQ/EuEKzpotseI n4Hw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s63si6837187oig.69.2020.03.31.01.57.54; Tue, 31 Mar 2020 01:58:06 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730228AbgCaI42 (ORCPT + 99 others); Tue, 31 Mar 2020 04:56:28 -0400 Received: from mx2.suse.de ([195.135.220.15]:49344 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726299AbgCaI41 (ORCPT ); Tue, 31 Mar 2020 04:56:27 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 4E22FAE12; Tue, 31 Mar 2020 08:56:25 +0000 (UTC) Date: Tue, 31 Mar 2020 10:56:22 +0200 Message-ID: From: Takashi Iwai To: Thomas Hebb Cc: alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, Kailang Yang , Greg Kroah-Hartman , Hui Wang , Jaroslav Kysela , Jian-Hong Pan , Jonathan Corbet , Kai-Heng Feng , =?UTF-8?B?TWljaGHFgiBNaXJvc8WCYXc=?= , Sergey Bostandzhyan , Takashi Iwai , Tomas Espeleta , linux-doc@vger.kernel.org Subject: Re: [PATCH v2 0/3] Properly fix headphone noise on the XPS 13 and other ALC256 devices In-Reply-To: References: 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 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 30 Mar 2020 18:09:36 +0200, Thomas Hebb wrote: > > > The root cause of various pervasive audio problems on the XPS 13 > 9350/9360, mostly relating to the headphone jack, turns out to be an > undocumented feature of the ALC256 and similar codecs that routes audio > along paths not exposed in the HDA node graph. The best we've had so far > to configure this feature is magic numbers provided by Realtek, none of > which have fully fixed all issues. > > This series documents the "PC Beep Hidden Register", which controls the > feature and which I've reverse engineered using black box techniques, > and uses my findings to hopefully fix the headphone issues on my XPS 13 > once and for all. > > Changes in v2: > - Change fixed value from 0x4727 to 0x5757, which should behave > identically, on advice from Kailang. > > Thomas Hebb (3): > ALSA: doc: Document PC Beep Hidden Register on Realtek ALC256 > ALSA: hda/realtek - Set principled PC Beep configuration for ALC256 > ALSA: hda/realtek - Remove now-unnecessary XPS 13 headphone noise > fixups Now applied all three patches. The patch 2 had an incorrect Fixes tag (pointing to the stable commit instead of the original commit) so I corrected locally. thanks, Takashi