Skip to contentSkip to conversation

patch_realtek: Splitting the UX3402 into two separate models.

PATCH Applied [email protected] 3 participants 5 messages Sep 13, 2023 – Nov 3, 2023 1 message not in the archive Sound

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 patch_realtek: Splitting the UX3402 into two separate models.

From: Knyazev Arseniy <[email protected]>

UX3402VA and UX3402ZA models require different hex values, so comibining them into one model is incorrect.

---
 sound/pci/hda/patch_realtek.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
sound/pci/hda/patch_realtek.c +2 -1
index b7e78bfcffd8..b002f947b0d2 100644
@@ -9812,7 +9812,8 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = {
 	SND_PCI_QUIRK(0x1043, 0x1d1f, "ASUS ROG Strix G17 2023 (G713PV)", ALC287_FIXUP_CS35L41_I2C_2),
 	SND_PCI_QUIRK(0x1043, 0x1d42, "ASUS Zephyrus G14 2022", ALC289_FIXUP_ASUS_GA401),
 	SND_PCI_QUIRK(0x1043, 0x1d4e, "ASUS TM420", ALC256_FIXUP_ASUS_HPE),
-	SND_PCI_QUIRK(0x1043, 0x1e02, "ASUS UX3402", ALC245_FIXUP_CS35L41_SPI_2),
+	SND_PCI_QUIRK(0x1043, 0x1e02, "ASUS UX3402ZA", ALC245_FIXUP_CS35L41_SPI_2),
+	SND_PCI_QUIRK(0x1043, 0x16a3, "ASUS UX3402VA", ALC245_FIXUP_CS35L41_SPI_2),
 	SND_PCI_QUIRK(0x1043, 0x1e11, "ASUS Zephyrus G15", ALC289_FIXUP_ASUS_GA502),
 	SND_PCI_QUIRK(0x1043, 0x1e12, "ASUS UM3402", ALC287_FIXUP_CS35L41_I2C_2),
 	SND_PCI_QUIRK(0x1043, 0x1e51, "ASUS Zephyrus M15", ALC294_FIXUP_ASUS_GU502_PINS),
Signature · 1 line
2.42.0
#2 lore raw
In reply to [email protected]

How can I get my model number added to the patch_realtek file? It suffers the same issue as the UX3402 and the line that needs to be added for my model laptop is:

SND_PCI_QUIRK(0x1043, 0x1f62, "ASUS UX7602",
ALC245_FIXUP_CS35L41_SPI_2)

Since I see you're being more specific here in splitting the model numbers, technically my full model number is: "UX7602ZM".

Again, when I patch this locally it works for my model number, but as of yet only the other affected ASUS laptop modedls with my issue have found their way into the kernel.

Thanks!

A message that is not in the archive (sent off-list or not yet received): [email protected]

#4 lore raw

Okay so how would I go about getting the following line added to the patch_realtek file?

SND_PCI_QUIRK(0x1043, 0x1f62, "ASUS UX7602ZM",
ALC245_FIXUP_CS35L41_SPI_2)

It works on my machine I own that model I would just like it added as other models have been so I don't need to continue to patch the kernel module when it's already been effectively fixed for others. This thread looked like you all were discussing modifications to that file for this issue so I thought it might be a good place to start.

Thank you!

#5 lore raw
In reply to a message not in the archive

Okay so how would I go about getting the following line added to the patch_realtek file?

SND_PCI_QUIRK(0x1043, 0x1f62, "ASUS UX7602ZM",
ALC245_FIXUP_CS35L41_SPI_2)

It works on my machine I own that model I would just like it added as other models have been so I don't need to continue to patch the kernel module when it's already been effectively fixed for others.
This thread looked like you all were discussing modifications to that file for this issue so I thought it might be a good place to start.

Thank you!

Quoted 34 lines · Арсений Князев

The problem with this laptop is that for different models, different values are required, so I had to put them in two different titles.

I don't know if this is a problem with your device, but I think it would be better to write a more precise model name.

Best wishes,
Arseniy Knyazev

28.10.2023, 07:37, "pizFunk" <[email protected]>:

How can I get my model number added to the patch_realtek file? It suffers the same issue as the UX3402 and the line that needs to be added for my model laptop is:

SND_PCI_QUIRK(0x1043, 0x1f62, "ASUS UX7602",
ALC245_FIXUP_CS35L41_SPI_2)

Since I see you're being more specific here in splitting the model numbers, technically my full model number is: "UX7602ZM".

Again, when I patch this locally it works for my model number, but as of yet only the other affected ASUS laptop modedls with my issue have found their way into the kernel.

Thanks!

--