Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: 黄文辉 <huangwenhuia@uniontech.com>
To: "Takashi Iwai" <tiwai@suse.de>
Cc: alsa-devel <alsa-devel@alsa-project.org>,
	kailang <kailang@realtek.com>,
	tanureal <tanureal@opensource.cirrus.com>,
	"jeremy.szu" <jeremy.szu@canonical.com>,
	linux-kernel <linux-kernel@vger.kernel.org>,
	tiwai <tiwai@suse.com>, wse <wse@tuxedocomputers.com>,
	"hui.wang" <hui.wang@canonical.com>, sami <sami@loone.fi>,
	cam <cam@neo-zeon.de>
Subject: Re: [PATCH] ALSA: hda/realtek - Fix headset mic problem for a HP machine with alc671
Date: Thu, 10 Mar 2022 21:58:36 +0800	[thread overview]
Message-ID: <tencent_0D06988048F675F173385A1F@qq.com> (raw)
In-Reply-To: <s5hilsmey0h.wl-tiwai@suse.de>

Hi&nbsp; Takashi,


Thank you for your reply.


When booting with plugged headset, the headphone will be muted.


Thanks.
&nbsp;
------------------&nbsp;Original&nbsp;------------------
From: &nbsp;"Takashi&nbsp;Iwai"<tiwai@suse.de&gt;;
Date: &nbsp;Thu, Mar 10, 2022 09:29 PM
To: &nbsp;"huangwenhui"<huangwenhuia@uniontech.com&gt;; 
Cc: &nbsp;"perex"<perex@perex.cz&gt;; "tiwai"<tiwai@suse.com&gt;; "jeremy.szu"<jeremy.szu@canonical.com&gt;; "hui.wang"<hui.wang@canonical.com&gt;; "wse"<wse@tuxedocomputers.com&gt;; "cam"<cam@neo-zeon.de&gt;; "kailang"<kailang@realtek.com&gt;; "tanureal"<tanureal@opensource.cirrus.com&gt;; "sami"<sami@loone.fi&gt;; "alsa-devel"<alsa-devel@alsa-project.org&gt;; "linux-kernel"<linux-kernel@vger.kernel.org&gt;; 
Subject: &nbsp;Re: [PATCH] ALSA: hda/realtek - Fix headset mic problem for a HP machine with alc671

&nbsp;

On Thu, 10 Mar 2022 14:03:01 +0100,
huangwenhui wrote:
&gt; 
&gt; On a HP 288 Pro G8, the front Mic could not be detected.
&gt; 
&gt; Signed-off-by: huangwenhui <huangwenhuia@uniontech.com&gt;

Thanks for the patch.&nbsp; Most of the changes look OK, but one thing I
still don't get:

&gt; +	case HDA_FIXUP_ACT_INIT:
&gt; +		alc_write_coef_idx(codec, 0x19, 0xa054);
&gt; +		msleep(80);
&gt; +		snd_hda_codec_write(codec, hp_pin, 0,
&gt; +			&nbsp;&nbsp;&nbsp; AC_VERB_SET_AMP_GAIN_MUTE, AMP_OUT_UNMUTE);

Why this unconditional unmute is required for fixing the mic problem?


Takashi

  reply	other threads:[~2022-03-14  7:02 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-10 13:03 [PATCH] ALSA: hda/realtek - Fix headset mic problem for a HP machine with alc671 huangwenhui
2022-03-10 13:29 ` Takashi Iwai
2022-03-10 13:58   ` 黄文辉 [this message]
2022-03-10 14:02     ` Takashi Iwai
  -- strict thread matches above, loose matches on Subject: below --
2022-03-11  1:20 huangwenhui
2022-03-11  8:30 ` Takashi Iwai
2022-03-11  8:51   ` huangwenhui
2022-03-11  9:38 huangwenhui
2022-03-11 16:05 ` Takashi Iwai
2022-07-12  9:22 Meng Tang
2022-07-12  9:31 ` Takashi Iwai

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=tencent_0D06988048F675F173385A1F@qq.com \
    --to=huangwenhuia@uniontech.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=cam@neo-zeon.de \
    --cc=hui.wang@canonical.com \
    --cc=jeremy.szu@canonical.com \
    --cc=kailang@realtek.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sami@loone.fi \
    --cc=tanureal@opensource.cirrus.com \
    --cc=tiwai@suse.com \
    --cc=tiwai@suse.de \
    --cc=wse@tuxedocomputers.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox