Skip to content

Commit d3f8930

Browse files
jrelvas-ipcgregkh
authored andcommitted
ALSA: hda/realtek: Add subwoofer quirk for Acer Predator G9-593
commit 35fdc6e upstream. The Acer Predator G9-593 has a 2+1 speaker system which isn't probed correctly. This patch adds a quirk with the proper pin connections. Note that I do not own this laptop, so I cannot guarantee that this fixes the issue. Testing was done by other users here: https://discussion.fedoraproject.org/t/-/118482 This model appears to have two different dev IDs... - 0x1177 (as seen on the forum link above) - 0x1178 (as seen on https://linux-hardware.org/?probe=127df9999f) I don't think the audio system was changed between model revisions, so the patch applies for both IDs. Signed-off-by: José Relvas <josemonsantorelvas@gmail.com> Link: https://patch.msgid.link/20241020102756.225258-1-josemonsantorelvas@gmail.com Cc: <stable@vger.kernel.org> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 20a7560 commit d3f8930

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

sound/pci/hda/patch_realtek.c

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7631,6 +7631,7 @@ enum {
76317631
ALC286_FIXUP_ACER_AIO_HEADSET_MIC,
76327632
ALC256_FIXUP_ASUS_HEADSET_MIC,
76337633
ALC256_FIXUP_ASUS_MIC_NO_PRESENCE,
7634+
ALC255_FIXUP_PREDATOR_SUBWOOFER,
76347635
ALC299_FIXUP_PREDATOR_SPK,
76357636
ALC256_FIXUP_MEDION_HEADSET_NO_PRESENCE,
76367637
ALC289_FIXUP_DELL_SPK1,
@@ -9047,6 +9048,13 @@ static const struct hda_fixup alc269_fixups[] = {
90479048
.chained = true,
90489049
.chain_id = ALC256_FIXUP_ASUS_HEADSET_MODE
90499050
},
9051+
[ALC255_FIXUP_PREDATOR_SUBWOOFER] = {
9052+
.type = HDA_FIXUP_PINS,
9053+
.v.pins = (const struct hda_pintbl[]) {
9054+
{ 0x17, 0x90170151 }, /* use as internal speaker (LFE) */
9055+
{ 0x1b, 0x90170152 } /* use as internal speaker (back) */
9056+
}
9057+
},
90509058
[ALC299_FIXUP_PREDATOR_SPK] = {
90519059
.type = HDA_FIXUP_PINS,
90529060
.v.pins = (const struct hda_pintbl[]) {
@@ -10138,6 +10146,8 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = {
1013810146
SND_PCI_QUIRK(0x1025, 0x110e, "Acer Aspire ES1-432", ALC255_FIXUP_ACER_MIC_NO_PRESENCE),
1013910147
SND_PCI_QUIRK(0x1025, 0x1166, "Acer Veriton N4640G", ALC269_FIXUP_LIFEBOOK),
1014010148
SND_PCI_QUIRK(0x1025, 0x1167, "Acer Veriton N6640G", ALC269_FIXUP_LIFEBOOK),
10149+
SND_PCI_QUIRK(0x1025, 0x1177, "Acer Predator G9-593", ALC255_FIXUP_PREDATOR_SUBWOOFER),
10150+
SND_PCI_QUIRK(0x1025, 0x1178, "Acer Predator G9-593", ALC255_FIXUP_PREDATOR_SUBWOOFER),
1014110151
SND_PCI_QUIRK(0x1025, 0x1246, "Acer Predator Helios 500", ALC299_FIXUP_PREDATOR_SPK),
1014210152
SND_PCI_QUIRK(0x1025, 0x1247, "Acer vCopperbox", ALC269VC_FIXUP_ACER_VCOPPERBOX_PINS),
1014310153
SND_PCI_QUIRK(0x1025, 0x1248, "Acer Veriton N4660G", ALC269VC_FIXUP_ACER_MIC_NO_PRESENCE),

0 commit comments

Comments
 (0)