diff mbox series

[v1] ALSA: hda/realtek: Add quirk for the Framework Laptop

Message ID 20220505151433.2893-1-dustin@howett.net
State New
Headers show
Series [v1] ALSA: hda/realtek: Add quirk for the Framework Laptop | expand

Commit Message

Dustin L. Howett May 5, 2022, 3:14 p.m. UTC
Some board revisions of the Framework Laptop have an ALC295 and have an
issue detecting headset microphones. The "dell-headset-multi" fixup
addresses this issue, but its application requires an end-user or
distributor to opt in.

f111:0001 is Framework's PCI VID:PID for this board.

Signed-off-by: Dustin L. Howett <dustin@howett.net>
---
 sound/pci/hda/patch_realtek.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Dustin L. Howett May 9, 2022, 4:12 p.m. UTC | #1
On Thu, May 5, 2022 at 10:14 AM Dustin L. Howett <dustin@howett.net> wrote:
>
> Some board revisions of the Framework Laptop have an ALC295 and have an
> issue detecting headset microphones. The "dell-headset-multi" fixup
> addresses this issue, but its application requires an end-user or
> distributor to opt in.

The patch in its current form generates two new inputs when a headset
is connected,
"Headset Mic" and "Headphone Mic". While this works, it might be
somewhat annoying.

I'll send out a v2 with a more comprehensive fix.
diff mbox series

Patch

diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index 4c0c593f3c0a..a1b45c72e9b1 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -9294,6 +9294,7 @@  static const struct snd_pci_quirk alc269_fixup_tbl[] = {
 	SND_PCI_QUIRK(0x8086, 0x2074, "Intel NUC 8", ALC233_FIXUP_INTEL_NUC8_DMIC),
 	SND_PCI_QUIRK(0x8086, 0x2080, "Intel NUC 8 Rugged", ALC256_FIXUP_INTEL_NUC8_RUGGED),
 	SND_PCI_QUIRK(0x8086, 0x2081, "Intel NUC 10", ALC256_FIXUP_INTEL_NUC10),
+	SND_PCI_QUIRK(0xf111, 0x0001, "Framework Laptop", ALC269_FIXUP_DELL1_MIC_NO_PRESENCE),
 
 #if 0
 	/* Below is a quirk table taken from the old code.