Skip to content

Commit

Permalink
Merge pull request #8 from CVMagic/6.9/chimeraos
Browse files Browse the repository at this point in the history
Added Realtek HDA patch for AYN Loki MiniPro
  • Loading branch information
BoukeHaarsma23 authored May 26, 2024
2 parents 7778cc9 + ea1a76a commit 15069b3
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions sound/pci/hda/patch_realtek.c
Original file line number Diff line number Diff line change
Expand Up @@ -7300,6 +7300,7 @@ enum {
ALC269VB_FIXUP_ASUS_ZENBOOK,
ALC269VB_FIXUP_ASUS_ZENBOOK_UX31A,
ALC269VB_FIXUP_ASUS_MIC_NO_PRESENCE,
ALC269VB_FIXUP_AYN_LOKI_MINI_PRO,
ALC269_FIXUP_LIMIT_INT_MIC_BOOST_MUTE_LED,
ALC269VB_FIXUP_ORDISSIMO_EVE2,
ALC283_FIXUP_CHROME_BOOK,
Expand Down Expand Up @@ -8012,6 +8013,22 @@ static const struct hda_fixup alc269_fixups[] = {
.chained = true,
.chain_id = ALC269_FIXUP_HEADSET_MIC
},
[ALC269VB_FIXUP_AYN_LOKI_MINI_PRO] = {
.type = HDA_FIXUP_PINS,
.v.pins = (const struct hda_pintbl[]) {
{ 0x12, 0x90a60130 },
{ 0x14, 0x40f000f0 }, /* not connected */
{ 0x17, 0x40000000 },
{ 0x18, 0x04a19040 },
{ 0x19, 0x411111f0 },
{ 0x1a, 0x90170150 }, /* speaker */
{ 0x1b, 0x411111f0 },
{ 0x1d, 0x40e69945 },
{ 0x1e, 0x411111f0 },
{ 0x21, 0x04214020 },
{ }
},
},
[ALC269_FIXUP_LIMIT_INT_MIC_BOOST_MUTE_LED] = {
.type = HDA_FIXUP_FUNC,
.v.func = alc269_fixup_limit_int_mic_boost,
Expand Down Expand Up @@ -10603,6 +10620,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = {
SND_PCI_QUIRK(0x1d72, 0x1947, "RedmiBook Air", ALC255_FIXUP_XIAOMI_HEADSET_MIC),
SND_PCI_QUIRK(0x2782, 0x0232, "CHUWI CoreBook XPro", ALC269VB_FIXUP_CHUWI_COREBOOK_XPRO),
SND_PCI_QUIRK(0x2782, 0x1707, "Vaio VJFE-ADL", ALC298_FIXUP_SPK_VOLUME),
SND_PCI_QUIRK(0x1f66, 0x0101, "Loki MiniPro", ALC269VB_FIXUP_AYN_LOKI_MINI_PRO),
SND_PCI_QUIRK(0x1f66, 0x0101, "AYANEO 2", ALC269_FIXUP_HEADSET_AYA_2),
SND_PCI_QUIRK(0x1f66, 0x0101, "GEEK", ALC269_FIXUP_HEADSET_AYA_GEEK),
SND_PCI_QUIRK(0x8086, 0x2074, "Intel NUC 8", ALC233_FIXUP_INTEL_NUC8_DMIC),
Expand Down Expand Up @@ -10727,6 +10745,7 @@ static const struct hda_model_fixup alc269_fixup_models[] = {
{.id = ALC269VB_FIXUP_ASUS_ZENBOOK, .name = "asus-zenbook"},
{.id = ALC269VB_FIXUP_ASUS_ZENBOOK_UX31A, .name = "asus-zenbook-ux31a"},
{.id = ALC269VB_FIXUP_ORDISSIMO_EVE2, .name = "ordissimo"},
{.id = ALC269VB_FIXUP_AYN_LOKI_MINI_PRO, .name = "ayn-loki-minipro"},
{.id = ALC282_FIXUP_ASUS_TX300, .name = "asus-tx300"},
{.id = ALC283_FIXUP_INT_MIC, .name = "alc283-int-mic"},
{.id = ALC290_FIXUP_MONO_SPEAKERS_HSJACK, .name = "mono-speakers"},
Expand Down

0 comments on commit 15069b3

Please sign in to comment.