From mboxrd@z Thu Jan 1 00:00:00 1970 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=-10.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 EFDB7C47082 for ; Tue, 8 Jun 2021 12:00:59 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D8B206124B for ; Tue, 8 Jun 2021 12:00:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232289AbhFHMCv (ORCPT ); Tue, 8 Jun 2021 08:02:51 -0400 Received: from smtp-out2.suse.de ([195.135.220.29]:39812 "EHLO smtp-out2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232134AbhFHMCv (ORCPT ); Tue, 8 Jun 2021 08:02:51 -0400 Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out2.suse.de (Postfix) with ESMTP id 5100C1FD2A; Tue, 8 Jun 2021 12:00:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1623153657; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=YLLu5WHsAV5JwWptrE7DEG58eBzt2y6pTVCGvyZkfBs=; b=q8h0fat6TnRQy0VKYJCWdqAhy9Gcu+yVltWINdQ1Y+WmSd5eVqGLH8cfhdRJOTZQ8Tim2I lAhSLMJdHxiMc3caUmFhkl8kl7hP13ch1ZgCH7RA2Uxr9500Mx+t7Et7rpbGtC4ec+Dngp A1S/Ff8xZ7zSl/zuX3mP+MKs9ohKrQs= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1623153657; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=YLLu5WHsAV5JwWptrE7DEG58eBzt2y6pTVCGvyZkfBs=; b=qtRde8s/IQzFbOw3ab/bMsnQYtjECRrOo53vsLSfbqGd6ylqkd74ziEkQnM/9UhL8b7DQj B/j+Sabe2TZmvdBg== Received: from alsa1.suse.de (alsa1.suse.de [10.160.4.42]) by relay2.suse.de (Postfix) with ESMTP id 4B134A3B85; Tue, 8 Jun 2021 12:00:57 +0000 (UTC) Date: Tue, 08 Jun 2021 14:00:57 +0200 Message-ID: From: Takashi Iwai To: Hui Wang Cc: alsa-devel@alsa-project.org, stable@vger.kernel.org Subject: Re: [PATCH] ALSA: hda/realtek: headphone and mic don't work on an Acer laptop In-Reply-To: <20210608024600.6198-1-hui.wang@canonical.com> References: <20210608024600.6198-1-hui.wang@canonical.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 Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org On Tue, 08 Jun 2021 04:46:00 +0200, Hui Wang wrote: > > There are 2 issues on this machine, the 1st one is mic's plug/unplug > can't be detected, that is because the mic is set to manual detecting > mode, need to apply ALC255_FIXUP_XIAOMI_HEADSET_MIC to set it to auto > detecting mode. The other one is headphone's plug/unplug can't be > detected by pulseaudio, that is because the pulseaudio will use > ucm2/sof-hda-dsp on this machine, and the ucm2 only handle > 'Headphone Jack', but on this machine the headphone's pincfg sets the > location to Front, then the alsa mixer name is "Front Headphone Jack" > instead of "Headphone Jack", so override the pincfg to change location > to Left. > > BugLink: http://bugs.launchpad.net/bugs/1930188 > Cc: > Signed-off-by: Hui Wang Thanks, applied. Takashi