Skip to content

Commit 89e3a56

Browse files
jackpot51tiwai
authored andcommitted
ALSA: hda/realtek - Headset microphone support for System76 darp5
On the System76 Darter Pro (darp5), there is a headset microphone input attached to 0x1a that does not have a jack detect. In order to get it working, the pin configuration needs to be set correctly, and the ALC269_FIXUP_HEADSET_MODE_NO_HP_MIC fixup needs to be applied. This is similar to the MIC_NO_PRESENCE fixups for some Dell laptops, except we have a separate microphone jack that is already configured correctly. Signed-off-by: Jeremy Soller <[email protected]> Cc: <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
1 parent 693abe1 commit 89e3a56

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

sound/pci/hda/patch_realtek.c

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5634,6 +5634,7 @@ enum {
56345634
ALC294_FIXUP_ASUS_HEADSET_MIC,
56355635
ALC294_FIXUP_ASUS_SPK,
56365636
ALC225_FIXUP_HEADSET_JACK,
5637+
ALC293_FIXUP_SYSTEM76_MIC_NO_PRESENCE,
56375638
};
56385639

56395640
static const struct hda_fixup alc269_fixups[] = {
@@ -6580,6 +6581,15 @@ static const struct hda_fixup alc269_fixups[] = {
65806581
.type = HDA_FIXUP_FUNC,
65816582
.v.func = alc_fixup_headset_jack,
65826583
},
6584+
[ALC293_FIXUP_SYSTEM76_MIC_NO_PRESENCE] = {
6585+
.type = HDA_FIXUP_PINS,
6586+
.v.pins = (const struct hda_pintbl[]) {
6587+
{ 0x1a, 0x01a1913c }, /* use as headset mic, without its own jack detect */
6588+
{ }
6589+
},
6590+
.chained = true,
6591+
.chain_id = ALC269_FIXUP_HEADSET_MODE_NO_HP_MIC
6592+
},
65836593
};
65846594

65856595
static const struct snd_pci_quirk alc269_fixup_tbl[] = {
@@ -6758,6 +6768,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = {
67586768
SND_PCI_QUIRK(0x1458, 0xfa53, "Gigabyte BXBT-2807", ALC283_FIXUP_HEADSET_MIC),
67596769
SND_PCI_QUIRK(0x1462, 0xb120, "MSI Cubi MS-B120", ALC283_FIXUP_HEADSET_MIC),
67606770
SND_PCI_QUIRK(0x1462, 0xb171, "Cubi N 8GL (MS-B171)", ALC283_FIXUP_HEADSET_MIC),
6771+
SND_PCI_QUIRK(0x1558, 0x1325, "System76 Darter Pro (darp5)", ALC293_FIXUP_SYSTEM76_MIC_NO_PRESENCE),
67616772
SND_PCI_QUIRK(0x17aa, 0x1036, "Lenovo P520", ALC233_FIXUP_LENOVO_MULTI_CODECS),
67626773
SND_PCI_QUIRK(0x17aa, 0x20f2, "Thinkpad SL410/510", ALC269_FIXUP_SKU_IGNORE),
67636774
SND_PCI_QUIRK(0x17aa, 0x215e, "Thinkpad L512", ALC269_FIXUP_SKU_IGNORE),

0 commit comments

Comments
 (0)