The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Ajrat Makhmutov <rauty@altlinux.org>
Cc: tiwai@suse.de, linux-sound@vger.kernel.org,
	linux-kernel@vger.kernel.org, stable@vger.kernel.org
Subject: Re: [PATCH] ALSA: hda/realtek: Enable headset mic on F+ FLAPTOP r
Date: Sun, 09 Aug 2026 12:30:58 +0200	[thread overview]
Message-ID: <87ecg7a8m5.wl-tiwai@suse.de> (raw)
In-Reply-To: <20260808185500.2564948-1-rauty@altlinux.org>

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@vger.kernel.org # 6.12.x
> Signed-off-by: Ajrat Makhmutov <rauty@altlinux.org>

Applied to for-next branch now.  Thanks.


Takashi

      reply	other threads:[~2026-08-09 10:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-08 18:55 [PATCH] ALSA: hda/realtek: Enable headset mic on F+ FLAPTOP r Ajrat Makhmutov
2026-08-09 10:30 ` Takashi Iwai [this message]

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=87ecg7a8m5.wl-tiwai@suse.de \
    --to=tiwai@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-sound@vger.kernel.org \
    --cc=rauty@altlinux.org \
    --cc=stable@vger.kernel.org \
    /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