From patchwork Tue Jul 27 06:18:24 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hui Wang X-Patchwork-Id: 1510331 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=CuMl3wY3; 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 4GYmny61wQz9sT6; Tue, 27 Jul 2021 16:18:46 +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 1m8GQH-0002j3-E5; Tue, 27 Jul 2021 06:18:37 +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 1m8GQG-0002ix-5Q for kernel-team@lists.ubuntu.com; Tue, 27 Jul 2021 06:18:36 +0000 Received: from localhost.localdomain (unknown [123.112.64.126]) (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 BCB633F373 for ; Tue, 27 Jul 2021 06:18:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1627366715; bh=yRotB0y6QQhn1Pi9Cey56Arn4gVdJvvep9nNi4vFFqk=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=CuMl3wY3kOuCKTI23hfDF9n0soUxZszPcTSfJGbdB9vxBibDOJxr7E6u9228D1/26 p0pKxYYtZO5g4EMls8FxRfwPfqCt0MVCRrgs1TWDI5a9/yH0c5CexYo37T0MZhySx/ 4cRCChD2c29cN3taaZPubdhk4UP/HsKFxTlbW5gt1EvF09+t/ASqAdatGfJvdPvAtH 4magMp1cZgoL7DXS2HP3DnRvGtu3kWAYDXBGrRRnVmYoft625wqZuwP5bg9FPY4Ctl PFJKeX59Kq6IM1DilBI2FWalCwtDjmGi2DOfduwIxQJZrGopPHzz1q6a6TZ8OSRo6u 0GtVwUfIQxg5Q== From: Hui Wang To: kernel-team@lists.ubuntu.com Subject: [SRU][Focal][PATCH 0/1] Fix the Headphone and Mic issues on the Acer Aspire 5 Date: Tue, 27 Jul 2021 14:18:24 +0800 Message-Id: <20210727061825.8789-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/1930188 The patch was merged to ubuntu 5.13.0 and 5.11.0 generic kernels with stable update already, but it is not merged to ubuntu 5.4.0 kernel yet, so I sent this SRU for the focal kernel. [Impact] Users plug headphone and Mic to the audio jacks, but the system can't detect them, and couldn't output sound through headphone and record sound through Mic. [Fix] Backport a upstream patch, this will set the Mic to auto-detection mode and set the headphone to left location. [Test] Plug a headset to the headset audio jack, both headphone and mic could be detected. And output the sound to headphone, could hear the sound, record the sound through Mic, the sound could be recorded. [Where problems could occur] The patch is specific to Acer Aspire 5 machine, if it could introduce regression, it will make the audio like internal mic and internal spk stop working. But this possibility is very low. Hui Wang (1): ALSA: hda/realtek: headphone and mic don't work on an Acer laptop sound/pci/hda/patch_realtek.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) Acked-by: Tim Gardner