From: Takashi Iwai Subject: Re: [PATCH] ALSA: hda/realtek: Disable PC beep in passthrough on alc285 Date: Thu, 14 Feb 2019 08:54:24 +0100 Message-ID: References: <20190214034133.8164-1-hui.wang@canonical.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Return-path: In-Reply-To: <20190214034133.8164-1-hui.wang@canonical.com> Sender: stable-owner@vger.kernel.org To: Hui Wang Cc: alsa-devel@alsa-project.org, stable@vger.kernel.org List-Id: alsa-devel@alsa-project.org On Thu, 14 Feb 2019 04:41:33 +0100, Hui Wang wrote: > > It is reported that there's a constant background "hum/whitenoise" > in the headset on the Lenovo X1 machines with the codec alc285, and it > is confirmed that if we run the command below, the noise will stop. > sudo hda-verb /dev/snd/hwC0D0 0x1d SET_PIN_WIDGET_CONTROL 0x0 > > Then I consulted this issue with Kailang, he told me the pin 0x1d on > this codec is used for PC beep in, the noise probably comes from this > pin and we can also disable the PC beep in passthrough, then the PC > beep in will not affect other sound playback. > > Fixes: c4cfcf6f4297 ("ALSA: hda/realtek - fix the pop noise on headphone for lenovo laptops") > Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1660581 > Cc: > Signed-off-by: Kailang Yang > Signed-off-by: Hui Wang Thanks, applied now. Takashi