[PATCH] ALSA: hda/realtek - Fix headset mic problem for a HP machine with alc671
huangwenhui
huangwenhuia at uniontech.com
Fri Mar 11 02:20:42 CET 2022
Hi Takashi,
if adjusting the mixer element or replugging the headset, the headphone would be unmuted.
But most users hope that the default state is unmuted.
Should this unconditional unmute be required?
Thanks.
------------------ Original ------------------
From: "Takashi Iwai"<tiwai at suse.de>;
Date: Thu, Mar 10, 2022 10:03 PM
To: "黄文辉"<huangwenhuia at uniontech.com>;
Cc: "perex"<perex at perex.cz>; "tiwai"<tiwai at suse.com>; "jeremy.szu"<jeremy.szu at canonical.com>; "hui.wang"<hui.wang at canonical.com>; "wse"<wse at tuxedocomputers.com>; "cam"<cam at neo-zeon.de>; "kailang"<kailang at realtek.com>; "tanureal"<tanureal at opensource.cirrus.com>; "sami"<sami at loone.fi>; "alsa-devel"<alsa-devel at alsa-project.org>; "linux-kernel"<linux-kernel at vger.kernel.org>;
Subject: Re: [PATCH] ALSA: hda/realtek - Fix headset mic problem for a HP machine with alc671
On Thu, 10 Mar 2022 14:58:36 +0100,
huangwenhui wrote:
>
> Hi Takashi,
>
> Thank you for your reply.
>
> When booting with plugged headset, the headphone will be muted.
The muted state is the default behavior. Wouldn't it be unmuted if
you adjust the corresponding mixer element?
Takashi
>
> Thanks.
>
> ------------------ Original ------------------
> From: "Takashi Iwai"<tiwai at suse.de>;
> Date: Thu, Mar 10, 2022 09:29 PM
> To: "huangwenhui"<huangwenhuia at uniontech.com>;
> Cc: "perex"<perex at perex.cz>; "tiwai"<tiwai at suse.com>; "jeremy.szu"
> <jeremy.szu at canonical.com>; "hui.wang"<hui.wang at canonical.com>; "wse"
> <wse at tuxedocomputers.com>; "cam"<cam at neo-zeon.de>; "kailang"
> <kailang at realtek.com>; "tanureal"<tanureal at opensource.cirrus.com>; "sami"
> <sami at loone.fi>; "alsa-devel"<alsa-devel at alsa-project.org>; "linux-kernel"
> <linux-kernel at vger.kernel.org>;
> Subject: Re: [PATCH] ALSA: hda/realtek - Fix headset mic problem for a HP
> machine with alc671
>
> On Thu, 10 Mar 2022 14:03:01 +0100,
> huangwenhui wrote:
> >
> > On a HP 288 Pro G8, the front Mic could not be detected.
> >
> > Signed-off-by: huangwenhui <huangwenhuia at uniontech.com>
>
> Thanks for the patch. Most of the changes look OK, but one thing I
> still don't get:
>
> > + case HDA_FIXUP_ACT_INIT:
> > + alc_write_coef_idx(codec, 0x19, 0xa054);
> > + msleep(80);
> > + snd_hda_codec_write(codec, hp_pin, 0,
> > + AC_VERB_SET_AMP_GAIN_MUTE, AMP_OUT_UNMUTE);
>
> Why this unconditional unmute is required for fixing the mic problem?
>
> Takashi
>
>
More information about the Alsa-devel
mailing list