Re: [PATCH] ALSA: hda/realtek: Enable headset mic on F+ FLAPTOP r
From: Takashi Iwai
Date: Sun Aug 09 2026 - 06:31:36 EST
On Sat, 08 Aug 2026 20:55:00 +0200,
Ajrat Makhmutov wrote:
>
> The BIOS of the F+ FLAPTOP r laptop (Realtek ALC897, SSID 1e63:6d9a)
> declares only pin 0x1b, the headphone output of the 3.5 mm combo jack.
> Every other external pin is left at 0x411111f0, so the headset mic pin
> 0x19 is never parsed and no headset mic input exists. The pin is wired
> on this board - retasking it makes the headset mic record.
>
> Reuse ALC897_FIXUP_HP_HSMIC_VERB, which already sets the pin config this
> machine needs: 0x19 as a headset mic without its own presence detect.
> Only 0x1b reports jack presence here, so a mic pin with presence detect
> would leave the driver in auto-mic mode waiting for an event that never
> arrives.
>
> Without the quirk the generic parser retasks the lone headphone pin as
> an input instead. That surfaces as a "Headphone Mic" input which records
> only the internal mic bleed, so the headset mic appears present but dead.
>
> Tested on ALT Linux, kernel 6.12, by recording a CTIA headset mic on the
> combo jack with the internal mic as a reference.
>
> ALSA info before the patch:
> https://alsa-project.org/db/?f=18363eddea933baee100c9bf461d0e5cf74c8de2
>
> ALSA info after the patch:
> https://alsa-project.org/db/?f=48ae2cd7aaf1eb0f24639ce83cd38cfd93b25f76
>
> Cc: stable@xxxxxxxxxxxxxxx # 6.12.x
> Signed-off-by: Ajrat Makhmutov <rauty@xxxxxxxxxxxx>
Applied to for-next branch now. Thanks.
Takashi