From patchwork Thu Jul 22 03:11:32 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hui Wang X-Patchwork-Id: 1508515 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=canonical.com header.i=@canonical.com header.a=rsa-sha256 header.s=20210705 header.b=k9gWPf0O; dkim-atps=neutral Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4GVctr2R86z9shx; Thu, 22 Jul 2021 13:12:03 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1m6P7s-0003jc-TG; Thu, 22 Jul 2021 03:11:56 +0000 Received: from smtp-relay-canonical-0.internal ([10.131.114.83] helo=smtp-relay-canonical-0.canonical.com) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1m6P7r-0003jW-M3 for kernel-team@lists.ubuntu.com; Thu, 22 Jul 2021 03:11:55 +0000 Received: from localhost.localdomain (1.general.hwang4.us.vpn [10.172.67.16]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-canonical-0.canonical.com (Postfix) with ESMTPSA id 0AB5B3F234 for ; Thu, 22 Jul 2021 03:11:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1626923515; bh=a5mFAmnXPweL4D9wF8Y3xrOS7YkhBcgzI9o203Din3o=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=k9gWPf0O/A6yuHkIHVmJ++uULfW4wDWX8dBpx6rQeYkcS3SWS5pegGV3hj598U2Fx wCq76d0jjPUCmFvmYqhFlWhuPDdmuT6nCi2E7DQW8htBt3DSLj5oiTfiKnqfiS4/VJ tjYVeYiJ6hh7yyHeu39vevo5tM7w5rHlBW2KJEqG9jiXfwFPcexY1R2f+ya+CBTyMO hNs52mFvK6gxPbNikQX/UdLJaFP79/9uH7AuJQ4f1+Gc+tGoi2utY5SbjZ02K2YIeH VJdlHi1W+ehwtyMoJk+sf4gpVx/8+UE46ZvBIwwXhVjUsXAGR2Y1PgOHEEsNSYuRIL aPVgQVd0uEBmA== From: Hui Wang To: kernel-team@lists.ubuntu.com Subject: [SRU][OEM-5.10][PATCH 0/1] The front mic can't be detected on a lenovo thinkstation machine Date: Thu, 22 Jul 2021 11:11:32 +0800 Message-Id: <20210722031133.8014-1-hui.wang@canonical.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" BugLink: https://bugs.launchpad.net/bugs/1937144 The patch is sent to oem-5.10 first, and other ubuntu kernels will merge this patch with stable update since this patch was already CCed to stable. [Impact] Users plug a headset or microphone to the front mic jack, but the system can't detect the plug and will not set the mic to be the active input device. [Fix] Backport a upstream patch, this will change the front mic jack's name from Front Mic to Mic, then the pulseaudio could handle the plug/unplug. [Test] Plug a headset to the front mic jack, open the gnome-sound-setting, the front mic is the active input device, use this device to record sound, it could record the sound successfully. [Where problems could occur] It could make the other mic can't be detected, but this possibility is very low and I alreaed tested all audio jacks on that machine, all worked well as before. Hui Wang (1): ALSA: hda/realtek: Fix pop noise and 2 Front Mic issues on a machine sound/pci/hda/patch_realtek.c | 1 + 1 file changed, 1 insertion(+) Acked-By: AceLan Kao