Re: [PATCH v2] ALSA: hda/realtek: Enable audio jacks of ASUS D700SA with ALC887

From: Takashi Iwai
Date: Wed Oct 07 2020 - 11:31:34 EST


On Wed, 07 Oct 2020 07:22:25 +0200,
Jian-Hong Pan wrote:
>
> The ASUS D700SA desktop's audio (1043:2390) with ALC887 cannot detect
> the headset microphone and another headphone jack until
> ALC887_FIXUP_ASUS_HMIC and ALC887_FIXUP_ASUS_AUDIO quirks are applied.
> The NID 0x15 maps as the headset microphone and NID 0x19 maps as another
> headphone jack. Also need the function like alc887_fixup_asus_jack to
> enable the audio jacks.
>
> Signed-off-by: Jian-Hong Pan <jhp@xxxxxxxxxxxxx>
> Signed-off-by: Kailang Yang <kailang@xxxxxxxxxxx>
> ---
> v2:
> - Change the magic numbers to meaningful macros.
> - Change snd_hda_codec_write to snd_hda_set_pin_ctl and
> snd_hda_set_pin_ctl_cache accroding to Takashi's suggestion

Thanks, applied.


Takashi