Skip to content

Commit 0672b01

Browse files
vtorshyntiwai
authored andcommitted
ALSA: hda/realtek: Fixes for Asus GU605M and GA403U sound
Added the correct pin table for Asus GU605M and GA403U, enabling all speakers to be controlled with the master. Updated quirks for GU605M and GA403U by including the pin table patch in the chain. Co-developed-by: Luke D. Jones <[email protected]> Signed-off-by: Luke D. Jones <[email protected]> Signed-off-by: Vitalii Torshyn <[email protected]> Message-ID: <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
1 parent f74ab0c commit 0672b01

File tree

1 file changed

+38
-2
lines changed

1 file changed

+38
-2
lines changed

sound/pci/hda/patch_realtek.c

Lines changed: 38 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7467,6 +7467,10 @@ enum {
74677467
ALC285_FIXUP_CS35L56_I2C_2,
74687468
ALC285_FIXUP_CS35L56_I2C_4,
74697469
ALC285_FIXUP_ASUS_GA403U,
7470+
ALC285_FIXUP_ASUS_GA403U_HEADSET_MIC,
7471+
ALC285_FIXUP_ASUS_GA403U_I2C_SPEAKER2_TO_DAC1,
7472+
ALC285_FIXUP_ASUS_GU605_SPI_2_HEADSET_MIC,
7473+
ALC285_FIXUP_ASUS_GU605_SPI_SPEAKER2_TO_DAC1
74707474
};
74717475

74727476
/* A special fixup for Lenovo C940 and Yoga Duet 7;
@@ -9690,6 +9694,38 @@ static const struct hda_fixup alc269_fixups[] = {
96909694
.type = HDA_FIXUP_FUNC,
96919695
.v.func = alc285_fixup_asus_ga403u,
96929696
},
9697+
[ALC285_FIXUP_ASUS_GA403U_HEADSET_MIC] = {
9698+
.type = HDA_FIXUP_PINS,
9699+
.v.pins = (const struct hda_pintbl[]) {
9700+
{ 0x19, 0x03a11050 },
9701+
{ 0x1b, 0x03a11c30 },
9702+
{ }
9703+
},
9704+
.chained = true,
9705+
.chain_id = ALC285_FIXUP_ASUS_GA403U_I2C_SPEAKER2_TO_DAC1
9706+
},
9707+
[ALC285_FIXUP_ASUS_GU605_SPI_SPEAKER2_TO_DAC1] = {
9708+
.type = HDA_FIXUP_FUNC,
9709+
.v.func = alc285_fixup_speaker2_to_dac1,
9710+
.chained = true,
9711+
.chain_id = ALC285_FIXUP_ASUS_GU605_SPI_2_HEADSET_MIC,
9712+
},
9713+
[ALC285_FIXUP_ASUS_GU605_SPI_2_HEADSET_MIC] = {
9714+
.type = HDA_FIXUP_PINS,
9715+
.v.pins = (const struct hda_pintbl[]) {
9716+
{ 0x19, 0x03a11050 },
9717+
{ 0x1b, 0x03a11c30 },
9718+
{ }
9719+
},
9720+
.chained = true,
9721+
.chain_id = ALC285_FIXUP_CS35L56_SPI_2
9722+
},
9723+
[ALC285_FIXUP_ASUS_GA403U_I2C_SPEAKER2_TO_DAC1] = {
9724+
.type = HDA_FIXUP_FUNC,
9725+
.v.func = alc285_fixup_speaker2_to_dac1,
9726+
.chained = true,
9727+
.chain_id = ALC285_FIXUP_ASUS_GA403U,
9728+
},
96939729
};
96949730

96959731
static const struct snd_pci_quirk alc269_fixup_tbl[] = {
@@ -10145,15 +10181,15 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = {
1014510181
SND_PCI_QUIRK(0x1043, 0x1a83, "ASUS UM5302LA", ALC294_FIXUP_CS35L41_I2C_2),
1014610182
SND_PCI_QUIRK(0x1043, 0x1a8f, "ASUS UX582ZS", ALC245_FIXUP_CS35L41_SPI_2),
1014710183
SND_PCI_QUIRK(0x1043, 0x1b11, "ASUS UX431DA", ALC294_FIXUP_ASUS_COEF_1B),
10148-
SND_PCI_QUIRK(0x1043, 0x1b13, "ASUS U41SV/GA403U", ALC285_FIXUP_ASUS_GA403U),
10184+
SND_PCI_QUIRK(0x1043, 0x1b13, "ASUS U41SV/GA403U", ALC285_FIXUP_ASUS_GA403U_HEADSET_MIC),
1014910185
SND_PCI_QUIRK(0x1043, 0x1b93, "ASUS G614JVR/JIR", ALC245_FIXUP_CS35L41_SPI_2),
1015010186
SND_PCI_QUIRK(0x1043, 0x1bbd, "ASUS Z550MA", ALC255_FIXUP_ASUS_MIC_NO_PRESENCE),
1015110187
SND_PCI_QUIRK(0x1043, 0x1c03, "ASUS UM3406HA", ALC287_FIXUP_CS35L41_I2C_2),
1015210188
SND_PCI_QUIRK(0x1043, 0x1c23, "Asus X55U", ALC269_FIXUP_LIMIT_INT_MIC_BOOST),
1015310189
SND_PCI_QUIRK(0x1043, 0x1c33, "ASUS UX5304MA", ALC245_FIXUP_CS35L41_SPI_2),
1015410190
SND_PCI_QUIRK(0x1043, 0x1c43, "ASUS UX8406MA", ALC245_FIXUP_CS35L41_SPI_2),
1015510191
SND_PCI_QUIRK(0x1043, 0x1c62, "ASUS GU603", ALC289_FIXUP_ASUS_GA401),
10156-
SND_PCI_QUIRK(0x1043, 0x1c63, "ASUS GU605M", ALC285_FIXUP_CS35L56_SPI_2),
10192+
SND_PCI_QUIRK(0x1043, 0x1c63, "ASUS GU605M", ALC285_FIXUP_ASUS_GU605_SPI_SPEAKER2_TO_DAC1),
1015710193
SND_PCI_QUIRK(0x1043, 0x1c92, "ASUS ROG Strix G15", ALC285_FIXUP_ASUS_G533Z_PINS),
1015810194
SND_PCI_QUIRK(0x1043, 0x1c9f, "ASUS G614JU/JV/JI", ALC285_FIXUP_ASUS_HEADSET_MIC),
1015910195
SND_PCI_QUIRK(0x1043, 0x1caf, "ASUS G634JY/JZ/JI/JG", ALC285_FIXUP_ASUS_SPI_REAR_SPEAKERS),

0 commit comments

Comments
 (0)