From: Rithvik Vibhu <rithvikvibhu@gmail.com>
To: Takashi Iwai <tiwai@suse.de>
Cc: Jaroslav Kysela <perex@perex.cz>,
linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org,
Rithvik Vibhu <rithvikvibhu@gmail.com>
Subject: [PATCH v2 0/2] ALSA: hda: Fix Acer Nitro 5 AN515-57 mic switching
Date: Mon, 14 Sep 2026 18:06:55 -0700 [thread overview]
Message-ID: <20260915010657.36140-1-rithvikvibhu@gmail.com> (raw)
In-Reply-To: <871pavol7n.wl-tiwai@suse.de>
Hi Takashi,
Thanks for the review :)
I reworked the fix to use gating in jack.c. I believe this is what you
meant, and will fix if not.
Ordinary gating still requires the microphone pin's own presence bit.
On this laptop, pin 0x19 can report both false presence after S3 and false
absence after reinsertion, so gating alone does not cover both failures.
Patch 1 adds an opt-in mode that takes presence entirely from another pin,
using the existing gating relationship for callback propagation.
Patch 2 uses headphone pin 0x21 as the source for headset-mic pin 0x19 on
the Acer Nitro 5 AN515-57 (1025:1539).
Based on sound.git for-linus at:
c9e6e5f38bf75276605f1952b22285f5f3abcaff
Previous submission:
https://lore.kernel.org/r/20260904231545.33505-1-rithvikvibhu@gmail.com
Thanks,
Rithvik
Rithvik Vibhu (2):
ALSA: hda: Allow jack presence to follow another pin
ALSA: hda/realtek: Fix Acer Nitro 5 AN515-57 mic switching
sound/hda/codecs/realtek/alc269.c | 25 ++++++++++++++++++++++++-
sound/hda/common/hda_jack.h | 4 ++
sound/hda/common/jack.c | 83 ++++++++++++++++++++++++++++++++++++-
3 files changed, 110 insertions(+), 2 deletions(-)
next prev parent reply other threads:[~2026-09-15 1:07 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-04 23:15 [PATCH] ALSA: hda/realtek: Fix Acer Nitro 5 AN515-57 mic resume Rithvik Vibhu
2026-09-14 16:23 ` Takashi Iwai
2026-09-15 1:06 ` Rithvik Vibhu [this message]
2026-09-15 1:06 ` [PATCH v2 1/2] ALSA: hda: Allow jack presence to follow another pin Rithvik Vibhu
2026-09-15 1:06 ` [PATCH v2 2/2] ALSA: hda/realtek: Fix Acer Nitro 5 AN515-57 mic switching Rithvik Vibhu
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=20260915010657.36140-1-rithvikvibhu@gmail.com \
--to=rithvikvibhu@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sound@vger.kernel.org \
--cc=perex@perex.cz \
--cc=tiwai@suse.de \
/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
all inboxes | Powered by JetHome®