All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ALSA: hda/realtek: Add headset mic quirk for Acer S40-54
@ 2026-06-18  7:54 Haowen Tu
  2026-06-18 10:40 ` Takashi Iwai
  0 siblings, 1 reply; 2+ messages in thread
From: Haowen Tu @ 2026-06-18  7:54 UTC (permalink / raw)
  To: perex, tiwai
  Cc: zhangheng, sbinding, kailang, linux-sound, linux-kernel, kernel,
	Haowen Tu

Acer S40-54 with ALC256 does not restore headset mic detection properly
after S4 resume. After resume, headset plug events may no longer update
the headset mic state, leaving the headset microphone unavailable.

The system uses subsystem ID 1025:161f. Applying the existing
ALC256_FIXUP_ACER_MIC_NO_PRESENCE fixup restores headset mic detection
on this machine.

Add a machine-specific quirk for this system.

Signed-off-by: Haowen Tu <tuhaowen@uniontech.com>
---
 sound/hda/codecs/realtek/alc269.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sound/hda/codecs/realtek/alc269.c b/sound/hda/codecs/realtek/alc269.c
index f180d6a72021..fcb6633ba522 100644
--- a/sound/hda/codecs/realtek/alc269.c
+++ b/sound/hda/codecs/realtek/alc269.c
@@ -6780,6 +6780,7 @@ static const struct hda_quirk alc269_fixup_tbl[] = {
 	SND_PCI_QUIRK(0x1025, 0x159c, "Acer Nitro 5 AN515-58", ALC2XX_FIXUP_HEADSET_MIC),
 	SND_PCI_QUIRK(0x1025, 0x1597, "Acer Nitro 5 AN517-55", ALC2XX_FIXUP_HEADSET_MIC),
 	SND_PCI_QUIRK(0x1025, 0x160e, "Acer PT316-51S", ALC2XX_FIXUP_HEADSET_MIC),
+	SND_PCI_QUIRK(0x1025, 0x161f, "Acer S40-54", ALC256_FIXUP_ACER_MIC_NO_PRESENCE),
 	SND_PCI_QUIRK(0x1025, 0x1640, "Acer Aspire A315-44P", ALC256_FIXUP_ACER_SFG16_MICMUTE_LED),
 	SND_PCI_QUIRK(0x1025, 0x1679, "Acer Nitro 16 AN16-41", ALC2XX_FIXUP_HEADSET_MIC),
 	SND_PCI_QUIRK(0x1025, 0x169a, "Acer Swift SFG16", ALC256_FIXUP_ACER_SFG16_MICMUTE_LED),
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] ALSA: hda/realtek: Add headset mic quirk for Acer S40-54
  2026-06-18  7:54 [PATCH] ALSA: hda/realtek: Add headset mic quirk for Acer S40-54 Haowen Tu
@ 2026-06-18 10:40 ` Takashi Iwai
  0 siblings, 0 replies; 2+ messages in thread
From: Takashi Iwai @ 2026-06-18 10:40 UTC (permalink / raw)
  To: Haowen Tu
  Cc: perex, tiwai, zhangheng, sbinding, kailang, linux-sound,
	linux-kernel, kernel

On Thu, 18 Jun 2026 09:54:31 +0200,
Haowen Tu wrote:
> 
> Acer S40-54 with ALC256 does not restore headset mic detection properly
> after S4 resume. After resume, headset plug events may no longer update
> the headset mic state, leaving the headset microphone unavailable.
> 
> The system uses subsystem ID 1025:161f. Applying the existing
> ALC256_FIXUP_ACER_MIC_NO_PRESENCE fixup restores headset mic detection
> on this machine.
> 
> Add a machine-specific quirk for this system.
> 
> Signed-off-by: Haowen Tu <tuhaowen@uniontech.com>

Applied now.  Thanks.


Takashi

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-06-18 10:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-18  7:54 [PATCH] ALSA: hda/realtek: Add headset mic quirk for Acer S40-54 Haowen Tu
2026-06-18 10:40 ` Takashi Iwai

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.