Skip to content

Commit 6ae90e9

Browse files
vtorshyntiwai
authored andcommitted
ALSA: hda: ASUS UM5302LA: Added quirks for cs35L41/10431A83 on i2c bus
Proposed patch fixes initialization of CSC3551 on the UM5302LA laptop. Patching DSDT table is not required since ASUS did added _DSD entry. Nothing new introduced but reused work started by Stefan B. Currently there is no official firmware available for 10431A83 on cirrus git unfortunately. For testing used 104317f3 (which is also seems on i2c bus): $ cd /lib/firmware/cirrus/ && \ for fw in $(find ./ -name '*104317f3*'); do newfw=$(echo $fw | sed 's/104317f3/10431a83/g'); echo echo "$fw -> $newfw"; ln -s $f $newfw; done With the patch applied to 6.6.0 and obviously symlinks to 104317F3 FW, speakers works and to my susrprise they sound quite good and loud without distortion. Probably confirmation from cirrus team is needed on firmware. Signed-off-by: Vitalii Torshyn <vitaly.torshyn@gmail.com> Link: https://bugzilla.kernel.org/show_bug.cgi?id=218119 Link: https://lore.kernel.org/r/CAHiQ-bCMPpCJ8eOYAaVVoqGkFixS1qTgSS4xfbZvL4oZV9LYew@mail.gmail.com Signed-off-by: Takashi Iwai <tiwai@suse.de>
1 parent c7a6065 commit 6ae90e9

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

sound/pci/hda/patch_realtek.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7447,6 +7447,7 @@ enum {
74477447
ALC287_FIXUP_MG_RTKC_CSAMP_CS35L41_I2C_THINKPAD,
74487448
ALC2XX_FIXUP_HEADSET_MIC,
74497449
ALC289_FIXUP_DELL_CS35L41_SPI_2,
7450+
ALC294_FIXUP_CS35L41_I2C_2,
74507451
};
74517452

74527453
/* A special fixup for Lenovo C940 and Yoga Duet 7;
@@ -9576,6 +9577,10 @@ static const struct hda_fixup alc269_fixups[] = {
95769577
.chained = true,
95779578
.chain_id = ALC289_FIXUP_DUAL_SPK
95789579
},
9580+
[ALC294_FIXUP_CS35L41_I2C_2] = {
9581+
.type = HDA_FIXUP_FUNC,
9582+
.v.func = cs35l41_fixup_i2c_two,
9583+
},
95799584
};
95809585

95819586
static const struct snd_pci_quirk alc269_fixup_tbl[] = {
@@ -9939,6 +9944,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = {
99399944
SND_PCI_QUIRK(0x1043, 0x19e1, "ASUS UX581LV", ALC295_FIXUP_ASUS_MIC_NO_PRESENCE),
99409945
SND_PCI_QUIRK(0x1043, 0x1a13, "Asus G73Jw", ALC269_FIXUP_ASUS_G73JW),
99419946
SND_PCI_QUIRK(0x1043, 0x1a30, "ASUS X705UD", ALC256_FIXUP_ASUS_MIC),
9947+
SND_PCI_QUIRK(0x1043, 0x1a83, "ASUS UM5302LA", ALC294_FIXUP_CS35L41_I2C_2),
99429948
SND_PCI_QUIRK(0x1043, 0x1a8f, "ASUS UX582ZS", ALC245_FIXUP_CS35L41_SPI_2),
99439949
SND_PCI_QUIRK(0x1043, 0x1b11, "ASUS UX431DA", ALC294_FIXUP_ASUS_COEF_1B),
99449950
SND_PCI_QUIRK(0x1043, 0x1b13, "Asus U41SV", ALC269_FIXUP_INV_DMIC),

0 commit comments

Comments
 (0)