Skip to content

Commit 4b963ae

Browse files
bno1tiwai
authored andcommitted
ALSA: hda/realtek: Add quirks for ASUS GU604V and GU603V
These models use 2 CS35L41 amplifiers using SPI for down-facing speakers. alc285_fixup_speaker2_to_dac1 is needed to fix volume control of the down-facing speakers. Pin configs are needed to enable headset mic detection. Note that these models lack the ACPI _DSD properties needed to initialize the amplifiers. They can be added during boot to get working sound out of the speakers: https://gist.github.com/lamperez/862763881c0e1c812392b5574727f6ff Signed-off-by: Alexandru Sorodoc <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Takashi Iwai <[email protected]>
1 parent 3e10f6c commit 4b963ae

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

sound/pci/hda/patch_realtek.c

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7063,6 +7063,8 @@ enum {
70637063
ALC225_FIXUP_DELL1_MIC_NO_PRESENCE,
70647064
ALC295_FIXUP_DISABLE_DAC3,
70657065
ALC285_FIXUP_SPEAKER2_TO_DAC1,
7066+
ALC285_FIXUP_ASUS_SPEAKER2_TO_DAC1,
7067+
ALC285_FIXUP_ASUS_HEADSET_MIC,
70667068
ALC280_FIXUP_HP_HEADSET_MIC,
70677069
ALC221_FIXUP_HP_FRONT_MIC,
70687070
ALC292_FIXUP_TPT460,
@@ -8033,6 +8035,22 @@ static const struct hda_fixup alc269_fixups[] = {
80338035
.chained = true,
80348036
.chain_id = ALC269_FIXUP_THINKPAD_ACPI
80358037
},
8038+
[ALC285_FIXUP_ASUS_SPEAKER2_TO_DAC1] = {
8039+
.type = HDA_FIXUP_FUNC,
8040+
.v.func = alc285_fixup_speaker2_to_dac1,
8041+
.chained = true,
8042+
.chain_id = ALC245_FIXUP_CS35L41_SPI_2
8043+
},
8044+
[ALC285_FIXUP_ASUS_HEADSET_MIC] = {
8045+
.type = HDA_FIXUP_PINS,
8046+
.v.pins = (const struct hda_pintbl[]) {
8047+
{ 0x19, 0x03a11050 },
8048+
{ 0x1b, 0x03a11c30 },
8049+
{ }
8050+
},
8051+
.chained = true,
8052+
.chain_id = ALC285_FIXUP_ASUS_SPEAKER2_TO_DAC1
8053+
},
80368054
[ALC256_FIXUP_DELL_INSPIRON_7559_SUBWOOFER] = {
80378055
.type = HDA_FIXUP_PINS,
80388056
.v.pins = (const struct hda_pintbl[]) {
@@ -9506,6 +9524,8 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = {
95069524
SND_PCI_QUIRK(0x1043, 0x1313, "Asus K42JZ", ALC269VB_FIXUP_ASUS_MIC_NO_PRESENCE),
95079525
SND_PCI_QUIRK(0x1043, 0x13b0, "ASUS Z550SA", ALC256_FIXUP_ASUS_MIC),
95089526
SND_PCI_QUIRK(0x1043, 0x1427, "Asus Zenbook UX31E", ALC269VB_FIXUP_ASUS_ZENBOOK),
9527+
SND_PCI_QUIRK(0x1043, 0x1473, "ASUS GU604V", ALC285_FIXUP_ASUS_HEADSET_MIC),
9528+
SND_PCI_QUIRK(0x1043, 0x1483, "ASUS GU603V", ALC285_FIXUP_ASUS_HEADSET_MIC),
95099529
SND_PCI_QUIRK(0x1043, 0x1517, "Asus Zenbook UX31A", ALC269VB_FIXUP_ASUS_ZENBOOK_UX31A),
95109530
SND_PCI_QUIRK(0x1043, 0x1662, "ASUS GV301QH", ALC294_FIXUP_ASUS_DUAL_SPK),
95119531
SND_PCI_QUIRK(0x1043, 0x1683, "ASUS UM3402YAR", ALC287_FIXUP_CS35L41_I2C_2),

0 commit comments

Comments
 (0)