]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
ALSA: hda/realtek: Fix speakers on Lunnen Ground 14
authorNikita Maksimov <nickstogramm@yandex.ru>
Mon, 20 Jul 2026 18:02:14 +0000 (21:02 +0300)
committerTakashi Iwai <tiwai@suse.de>
Mon, 20 Jul 2026 18:47:49 +0000 (20:47 +0200)
The firmware on the Lunnen Ground 14 marks pin 0x1b as unused even
though the internal speakers are connected to it. As a result, the
speakers are not detected.

Add a pin configuration quirk for PCI subsystem ID 2782:a212 to configure
pin 0x1b as an internal speaker.

The pin configuration was tested on a Lunnen Ground 14 (DMI product LL4FA)
with an ALC269VC codec. The internal speakers and microphone work as
expected.

Cc: stable@vger.kernel.org
Signed-off-by: Nikita Maksimov <nickstogramm@yandex.ru>
Link: https://patch.msgid.link/20260720180214.73770-1-nickstogramm@yandex.ru
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/hda/codecs/realtek/alc269.c

index 6c87e2513fe7a3c4d4668bf036ee82130af0468b..9c3f08f9f32844dc62099801a174856b5e9d45d6 100644 (file)
@@ -3939,6 +3939,7 @@ enum {
        ALC269_FIXUP_DMIC_THINKPAD_ACPI,
        ALC269VB_FIXUP_INFINIX_ZERO_BOOK_13,
        ALC269VC_FIXUP_INFINIX_Y4_MAX,
+       ALC269VC_FIXUP_LUNNEN_GROUND_14,
        ALC269VB_FIXUP_CHUWI_COREBOOK_XPRO,
        ALC255_FIXUP_ACER_MIC_NO_PRESENCE,
        ALC255_FIXUP_ASUS_MIC_NO_PRESENCE,
@@ -4408,6 +4409,13 @@ static const struct hda_fixup alc269_fixups[] = {
                .chained = true,
                .chain_id = ALC269_FIXUP_LIMIT_INT_MIC_BOOST
        },
+       [ALC269VC_FIXUP_LUNNEN_GROUND_14] = {
+               .type = HDA_FIXUP_PINS,
+               .v.pins = (const struct hda_pintbl[]) {
+                       { 0x1b, 0x90170150 }, /* internal speaker */
+                       { }
+               },
+       },
        [ALC269VB_FIXUP_CHUWI_COREBOOK_XPRO] = {
                .type = HDA_FIXUP_PINS,
                .v.pins = (const struct hda_pintbl[]) {
@@ -8013,6 +8021,7 @@ static const struct hda_quirk alc269_fixup_tbl[] = {
        SND_PCI_QUIRK(0x2782, 0x1705, "MEDION E15433", ALC269VC_FIXUP_INFINIX_Y4_MAX),
        SND_PCI_QUIRK(0x2782, 0x1707, "Vaio VJFE-ADL", ALC298_FIXUP_SPK_VOLUME),
        SND_PCI_QUIRK(0x2782, 0x4900, "MEDION E15443", ALC233_FIXUP_MEDION_MTL_SPK),
+       SND_PCI_QUIRK(0x2782, 0xa212, "Lunnen Ground 14", ALC269VC_FIXUP_LUNNEN_GROUND_14),
        SND_PCI_QUIRK(0x7017, 0x2014, "Star Labs StarFighter", ALC233_FIXUP_STARLABS_STARFIGHTER),
        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),