Re: [PATCH] ALSA: hda/realtek - Fix headset mic problem for a HP machine with alc671

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi  Takashi,


Thank you for your reply.


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


Thanks.
 
------------------ Original ------------------
From: &nbsp;"Takashi&nbsp;Iwai"<tiwai@xxxxxxx&gt;;
Date: &nbsp;Thu, Mar 10, 2022 09:29 PM
To: &nbsp;"huangwenhui"<huangwenhuia@xxxxxxxxxxxxx&gt;; 
Cc: &nbsp;"perex"<perex@xxxxxxxx&gt;; "tiwai"<tiwai@xxxxxxxx&gt;; "jeremy.szu"<jeremy.szu@xxxxxxxxxxxxx&gt;; "hui.wang"<hui.wang@xxxxxxxxxxxxx&gt;; "wse"<wse@xxxxxxxxxxxxxxxxxxx&gt;; "cam"<cam@xxxxxxxxxxx&gt;; "kailang"<kailang@xxxxxxxxxxx&gt;; "tanureal"<tanureal@xxxxxxxxxxxxxxxxxxxxx&gt;; "sami"<sami@xxxxxxxx&gt;; "alsa-devel"<alsa-devel@xxxxxxxxxxxxxxxx&gt;; "linux-kernel"<linux-kernel@xxxxxxxxxxxxxxx&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@xxxxxxxxxxxxx&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




[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux