Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ALSA: hda - Fix subwoofer pin on ASUS N751 and N551

Subwoofer does not work out of the box on ASUS N751/N551 laptops. This
patch fixes it. Patch tested on N751 laptop. N551 part is not tested,
but according to [1] and [2] this laptop requires similar changes, so I
included them in the patch.

1. https://github.com/honsiorovskyi/asus-n551-hda-fix
2. https://bugs.launchpad.net/ubuntu/+source/alsa-tools/+bug/1405691

Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=117781
Signed-off-by: Yura Pakhuchiy <pakhuchiy@gmail.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>

authored by

Yura Pakhuchiy and committed by
Takashi Iwai
3231e205 addacd80

+12
+12
sound/pci/hda/patch_realtek.c
··· 6426 6426 ALC668_FIXUP_DELL_DISABLE_AAMIX, 6427 6427 ALC668_FIXUP_DELL_XPS13, 6428 6428 ALC662_FIXUP_ASUS_Nx50, 6429 + ALC668_FIXUP_ASUS_Nx51, 6429 6430 }; 6430 6431 6431 6432 static const struct hda_fixup alc662_fixups[] = { ··· 6673 6672 .chained = true, 6674 6673 .chain_id = ALC662_FIXUP_BASS_1A 6675 6674 }, 6675 + [ALC668_FIXUP_ASUS_Nx51] = { 6676 + .type = HDA_FIXUP_PINS, 6677 + .v.pins = (const struct hda_pintbl[]) { 6678 + {0x1a, 0x90170151}, /* bass speaker */ 6679 + {} 6680 + }, 6681 + .chained = true, 6682 + .chain_id = ALC662_FIXUP_BASS_CHMAP, 6683 + }, 6676 6684 }; 6677 6685 6678 6686 static const struct snd_pci_quirk alc662_fixup_tbl[] = { ··· 6710 6700 SND_PCI_QUIRK(0x1043, 0x129d, "Asus N750", ALC662_FIXUP_ASUS_Nx50), 6711 6701 SND_PCI_QUIRK(0x1043, 0x1477, "ASUS N56VZ", ALC662_FIXUP_BASS_MODE4_CHMAP), 6712 6702 SND_PCI_QUIRK(0x1043, 0x15a7, "ASUS UX51VZH", ALC662_FIXUP_BASS_16), 6703 + SND_PCI_QUIRK(0x1043, 0x177d, "ASUS N551", ALC668_FIXUP_ASUS_Nx51), 6704 + SND_PCI_QUIRK(0x1043, 0x17bd, "ASUS N751", ALC668_FIXUP_ASUS_Nx51), 6713 6705 SND_PCI_QUIRK(0x1043, 0x1b73, "ASUS N55SF", ALC662_FIXUP_BASS_16), 6714 6706 SND_PCI_QUIRK(0x1043, 0x1bf3, "ASUS N76VZ", ALC662_FIXUP_BASS_MODE4_CHMAP), 6715 6707 SND_PCI_QUIRK(0x1043, 0x8469, "ASUS mobo", ALC662_FIXUP_NO_JACK_DETECT),