]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ALSA: hda/realtek: Add headset jack quirk for Thinkpad X390
authorUzair Mughal <contact@uzair.is-a.dev>
Sat, 7 Mar 2026 01:29:06 +0000 (06:29 +0500)
committerTakashi Iwai <tiwai@suse.de>
Mon, 9 Mar 2026 09:02:46 +0000 (10:02 +0100)
commit542127f6528ca7cc3cf61e1651d6ccb58495f953
tree2bacdbc8f664d79bce7257f75d47c3d64b3e70e7
parent178dd118c0f07fd63a9ed74cfbd8c31ae50e33af
ALSA: hda/realtek: Add headset jack quirk for Thinkpad X390

The Lenovo ThinkPad X390 (ALC257 codec, subsystem ID 0x17aa2288)
does not report headset button press events. Headphone insertion is
detected (SW_HEADPHONE_INSERT), but pressing the inline microphone
button on a headset produces no input events.

Add a SND_PCI_QUIRK entry that maps this subsystem ID to
ALC285_FIXUP_THINKPAD_NO_BASS_SPK_HEADSET_JACK, which enables
headset jack button detection through alc_fixup_headset_jack()
and ThinkPad ACPI integration. This is the same fixup used by
similar ThinkPad models (P1 Gen 3, X1 Extreme Gen 3).

Signed-off-by: Uzair Mughal <contact@uzair.is-a.dev>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20260307012906.20093-1-contact@uzair.is-a.dev
sound/hda/codecs/realtek/alc269.c