Add Support for three Acer laptops using CS35L41
PATCH 2/2 ALSA: hda: cs35l41: Fix swapped l/r audio channels for Acer Helios laptops
In reply to Stefan BindingFixes audio channel assignment from ACPI using configuration table.
--- sound/pci/hda/cs35l41_hda_property.c | 6 ++++++ 1 file changed, 6 insertions(+)
sound/pci/hda/cs35l41_hda_property.c +6 -0
@@ -31,6 +31,9 @@ struct cs35l41_config { };static const struct cs35l41_config cs35l41_config_table[] = { + {"10251826" ,2 ,EXTERNAL , {CS35L41_LEFT ,CS35L41_RIGHT ,0 ,0 },0 ,-1 ,-1 ,0 ,0 ,0 }, + {"1025182C" ,2 ,EXTERNAL , {CS35L41_LEFT ,CS35L41_RIGHT ,0 ,0 },0 ,-1 ,-1 ,0 ,0 ,0 }, + {"10251844" ,2 ,EXTERNAL , {CS35L41_LEFT ,CS35L41_RIGHT ,0 ,0 },0 ,-1 ,-1 ,0 ,0 ,0 }, {"10280B27" ,2 ,INTERNAL , {CS35L41_LEFT ,CS35L41_RIGHT ,0 ,0 },1 ,2 ,0 ,1000 ,4500 ,24 }, {"10280B28" ,2 ,INTERNAL , {CS35L41_LEFT ,CS35L41_RIGHT ,0 ,0 },1 ,2 ,0 ,1000 ,4500 ,24 }, {"10280BEB" ,2 ,EXTERNAL , {CS35L41_LEFT ,CS35L41_RIGHT ,0 ,0 },1 ,-1 ,0 ,0 ,0 ,0 },
@@ -452,6 +455,9 @@ struct cs35l41_prop_model {static const struct cs35l41_prop_model cs35l41_prop_model_table[] = { {"CLSA0100" ,NULL , lenovo_legion_no_acpi }, {"CLSA0101" ,NULL , lenovo_legion_no_acpi }, + {"CSC3551" ,"10251826" , generic_dsd_config }, + {"CSC3551" ,"1025182C" , generic_dsd_config }, + {"CSC3551" ,"10251844" , generic_dsd_config }, {"CSC3551" ,"10280B27" , generic_dsd_config }, {"CSC3551" ,"10280B28" , generic_dsd_config }, {"CSC3551" ,"10280BEB" , generic_dsd_config },
Signature · 1 line
2.43.0
PATCH 1/2 ALSA: hda/realtek: Add support for Acer Helios Laptops using CS35L41 HDA
In reply to Stefan BindingLaptops use 2 CS35L41 Amps with HDA, using External boost with I2C. Similar to previous Acer laptops, these laptops also need the ALC255_FIXUP_PREDATOR_SUBWOOFER quirk to function properly.
--- sound/pci/hda/patch_realtek.c | 10 ++++++++++ 1 file changed, 10 insertions(+)
sound/pci/hda/patch_realtek.c +10 -0
@@ -8026,6 +8026,7 @@ enum {ALC283_FIXUP_DELL_HP_RESUME ,ALC294_FIXUP_ASUS_CS35L41_SPI_2 ,ALC274_FIXUP_HP_AIO_BIND_DACS , + ALC287_FIXUP_PREDATOR_SPK_CS35L41_I2C_2, };/* A special fixup for Lenovo C940 and Yoga Duet 7;
@@ -9298,6 +9299,12 @@ static const struct hda_fixup alc269_fixups[] = { { } } }, + [ALC287_FIXUP_PREDATOR_SPK_CS35L41_I2C_2] = { + .type = HDA_FIXUP_FUNC, + .v.func = cs35l41_fixup_i2c_two, + .chained = true, + .chain_id = ALC255_FIXUP_PREDATOR_SUBWOOFER + }, [ALC256_FIXUP_MEDION_HEADSET_NO_PRESENCE] = { .type = HDA_FIXUP_PINS, .v.pins = (const struct hda_pintbl[]) {
@@ -10453,6 +10460,9 @@ static const struct hda_quirk alc269_fixup_tbl[] = {SND_PCI_QUIRK (0x1025 ,0x1534 ,"Acer Predator PH315-54" ,ALC255_FIXUP_ACER_MIC_NO_PRESENCE ),SND_PCI_QUIRK (0x1025 ,0x159c ,"Acer Nitro 5 AN515-58" ,ALC2XX_FIXUP_HEADSET_MIC ),SND_PCI_QUIRK (0x1025 ,0x169a ,"Acer Swift SFG16" ,ALC256_FIXUP_ACER_SFG16_MICMUTE_LED ), +SND_PCI_QUIRK (0x1025 ,0x1826 ,"Acer Helios ZPC" ,ALC287_FIXUP_PREDATOR_SPK_CS35L41_I2C_2 ), +SND_PCI_QUIRK (0x1025 ,0x182c ,"Acer Helios ZPD" ,ALC287_FIXUP_PREDATOR_SPK_CS35L41_I2C_2 ), +SND_PCI_QUIRK (0x1025 ,0x1844 ,"Acer Helios ZPS" ,ALC287_FIXUP_PREDATOR_SPK_CS35L41_I2C_2 ),SND_PCI_QUIRK (0x1028 ,0x0470 ,"Dell M101z" ,ALC269_FIXUP_DELL_M101Z ),SND_PCI_QUIRK (0x1028 ,0x053c ,"Dell Latitude E5430" ,ALC292_FIXUP_DELL_E7X ), SND_PCI_QUIRK(0x1028, 0x054b, "Dell XPS one 2710", ALC275_FIXUP_DELL_XPS),
Signature · 1 line
2.43.0
cover Add Support for three Acer laptops using CS35L41
Add support for three Acer laptops using CS35L41 HDA. These laptops use External boost with I2C.
Stefan Binding (2):
ALSA: hda/realtek: Add support for Acer Helios Laptops using CS35L41
HDA
ALSA: hda: cs35l41: Fix swapped l/r audio channels for Acer Helios
laptops
sound/pci/hda/cs35l41_hda_property.c | 6 ++++++ sound/pci/hda/patch_realtek.c | 10 ++++++++++ 2 files changed, 16 insertions(+)
Signature · 1 line
2.43.0
Takashi Iwai
AppliedQuoted 9 lines · Stefan Binding
Add support for three Acer laptops using CS35L41 HDA. These laptops use External boost with I2C.
Stefan Binding (2):
ALSA: hda/realtek: Add support for Acer Helios Laptops using CS35L41
HDA
ALSA: hda: cs35l41: Fix swapped l/r audio channels for Acer Helios
laptops
Applied both patches now to for-next branch.
thanks,
Takashi