Created attachment 305791 [details] the output of acpidump of Lenovo ThinkBook 16p Gen4 IRH The model called "Lenovo ThinkBook 16p Gen4 IRH" has no sound support. Here is the output of alsa-info script: http://alsa-project.org/db/?f=529313bfbb432fd84bf9540c1f9e8be4eb084cf6 And the attached file is the output of `acpidump`. The known SSID reported from community has following: 0x17aa38a9 and 0x17aa38ab. Thanks a lot.
Created attachment 305792 [details] the alsa-info output
*** Bug 217880 has been marked as a duplicate of this bug. ***
*** Bug 217930 has been marked as a duplicate of this bug. ***
The related discussion on Github Gist: https://gist.github.com/levihuayuzhang/6137ae4ae46301a355fd37c63e0d876a
Also mentioned in https://bugzilla.kernel.org/show_bug.cgi?id=216194#c106
Added CC to the Cirrus team (patches@opensource.cirrus.com), which recently fixed similar issues for several devices in the Linux kernel.
Cheers.
Hi, Thanks for Linux Sound teams helps. But the patch in https://lore.kernel.org/linux-sound/20240301160154.158398-2-sbinding@opensource.cirrus.com/ may have some problem. The upfacing (with higher frequency) speakers works well with the volumn changing. But the downfacing (bass) speakers not controled by the system volumn control (alsa-mixer nor gnome&kde). Wondering this is related to the kernel or should be reporterd to ALSA team?
Hi, Firstly, just to clarify, but the issue you are seeing is related to the Volume Control, rather than audio playback? Are you able to have audio playback via the amps at all? Regarding the Volume Control, there is no mechanism for controlling the volume via the CS35L41 HDA driver. Instead, the intention is that volume is controlled via the HDA Codec itself, before the audio is sent to the amp. The Windows driver works under the same principle. It is likely that there is a configuration issue in the realtek hda driver (patch_realtek.c), specifically regarding the Fixup used for this model. The laptops you are referring to use the fixup ALC287_FIXUP_CS35L41_I2C_2: SND_PCI_QUIRK(0x17aa, 0x38a9, "Thinkbook 16P", ALC287_FIXUP_CS35L41_I2C_2), SND_PCI_QUIRK(0x17aa, 0x38ab, "Thinkbook 16P", ALC287_FIXUP_CS35L41_I2C_2), Which adds support for the CS35L41 amps via HDA supplied by the Realtek Codec. Its possible that the realtek codec is not configured in a way that its volume control changes the volume on the stream it provides to the CS35L41 amps. Unfortunately, you would have to speak to Realtek themselves to confirm how to do that. There are several other fixups used by Lenovo laptops to connect to CS35L41 via I2C: - ALC287_FIXUP_MG_RTKC_CSAMP_CS35L41_I2C_THINKPAD - ALC287_FIXUP_CS35L41_I2C_2_THINKPAD_ACPI It's possible that one of these may configure the Realtek codec correctly, otherwise you would have to contact Realtek. Thanks, Stefan
Thank you very much Stefan! Finally, it got fix now. I test it with the config of - ALC287_FIXUP_MG_RTKC_CSAMP_CS35L41_I2C_THINKPAD as you've mentioned, and the volumn control now work as expected. Thanks again for all you guys helps.