Comment 560 for bug 1958019

Revision history for this message
In , i (i-linux-kernel-bugs) wrote :

Hello all,

I recently bought a new IdeaPad (Yoga) Slim 7 Carbon and still can't get the sound fully working after trying different things in this bug.

My laptop has ALC287/ALC3306 + 2 CS35L53 (denoted as CLSA0102 in the DSDT) and 0x17aa3856 as subsystem id. There are 4 speakers on this laptop, 2 tweeters and 2 subwoofers. The tweeters can create sound but subwoofer is muted. Disable EAPD through HDA verbs will cause tweeter be muted (re-enable EAPD also only re-enables tweeters)

I applied the original "v6 8/10" i2c multi-instantiate patch (modified id to CLSA0102) and similarly modified and enabled quirk ALC287_FIXUP_CS35L41_I2C_2 on my device. From dmesg everything loaded correctly. I also tried to set the CS35L41_AMP_GAIN_CTRL to 17.5db according to the inf file I found in windows configuring speakers for this laptop.

[ 3.607141] cs35l41-hda i2c-CLSA0102:00-cs35l41-hda.0: Cirrus Logic CS35L41 (35a40), Revision: B2
[ 3.607367] cs35l41-hda i2c-CLSA0102:00-cs35l41-hda.1: Reset line busy, assuming shared reset
[ 3.653480] cs35l41-hda i2c-CLSA0102:00-cs35l41-hda.1: Cirrus Logic CS35L41 (35a40), Revision: B2

However, I still can't get my subwoofer working. One thing I wonder is for both ALC287_FIXUP_CS35L41_I2C_2 and ALC287_FIXUP_LEGION_16ACHG6 there're no coefficient fix and only amp fixes. I wonder if it's possible coefficient fixes are also required in my case. I tried multiple coefficients (in this thread and in kernel) too but none of them made my subwoofer working. ALC287_FIXUP_LEGION_16ACHG6 with modification to support CLSA0102 also don't work.

I don't think it's firmware related as the hda config in cs35l41 bypassed dsp firmware.

Great thanks for the help!

inf file: https://pastebin.ubuntu.com/p/Q2kCg4X2s8/
modified v6 8/10 i2c-multi-instantiate patch: https://pastebin.ubuntu.com/p/DpCZbG5VdN/
quirk patch: https://pastebin.ubuntu.com/p/NnGNcdFNp6/
psref to my device: https://psref.lenovo.com/Product/IdeaPad/IdeaPad_Slim_7_Carbon_14ACN6

All applied on 5.17rc2