[Bug 2109925] Re: No audio support for Cirrus Logic cs35l56 on Lenovo Thinkpad X9-14

2025-09-29 Thread drplix
I fixed the audio issue with the 25.10 beta and Lenovo Thinkpad X9-14.

There's an excellent support thread at Lenovo here:
https://forums.lenovo.com/t5/Ubuntu/Any-luck-with-the-
Thinkpad-X9-Gen-1/m-p/5363867?page=1

The answer from that thread:

In order to get audio to work on Ubuntu 25.04, you also need to adjust
/usr/share/alsa/ucm2/sof-soundwire/cs42l43.conf in accordance with this
git commit https://github.com/alsa-project/alsa-ucm-
conf/commit/30989bd0c2aa3f9f4b6f5e393397b39678717f45

I edited this conf file and rebooted and had sound - my firmware and sof
is unmodified and is as shipped in 25.10 install.

Hope this helps someone - thanks for your help @Jan

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2109925

Title:
  No audio support for Cirrus Logic cs35l56 on Lenovo Thinkpad X9-14

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2109925/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2109925] Re: No audio support for Cirrus Logic cs35l56 on Lenovo Thinkpad X9-14

2025-09-27 Thread Jan Kranefeld
Hi Peter, you're welcome. Try a stable kernel, 6.14 worked for me. 6.17
is still a release candidate, you can't be sure that all firmware is
already integrated. After installing a stable kernel reboot and check
errors with

journalctl -b | grep -E "sof[-_]|cs(35|42)l"

and paste the output in chatgpt or perplexity (or whatever ai you like
best) and ask what's missing. I got some useful hints there!

Good luck, Jan

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2109925

Title:
  No audio support for Cirrus Logic cs35l56 on Lenovo Thinkpad X9-14

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2109925/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Re: [Bug 2109925] Re: No audio support for Cirrus Logic cs35l56 on Lenovo Thinkpad X9-14

2025-09-27 Thread drplix
Hi Jan - thank you very much for replying and providing your recipe.

I'm running a clean 25.10 beta install with 6.17 kernel and the latest
linux-firmware.

I just cloned the sof repository and found the 2.13 versions, I also cloned
the firmware repo.   I've checked all my local files and the file hashes
are identical to the ones you found and installed manually.  The 25.10 beta
seems to be shipping with the very latest firmware and sof for the cs35l56
chipset.

Thanks so much for taking the time to let me know how you solved it.  I
guess maybe the difference now is that you're on the 6.14 kernel - I'll see
if that makes any difference - or just hope that an update appears and
things just work!

Thanks again,

Peter


On Sat, Sep 27, 2025 at 3:45 PM Jan Kranefeld <[email protected]>
wrote:

> Hi drplix, I actually got the audio interfaces (cs42l43 and cs35l56)
> working. I don't remember every step to solve it (although I just
> checked my .bash_history) but here is what I find:
>
> * Install at least kernel 6.14 and upgrade linux-firmware
>
> * make sure you have the cirrus firmware installed:
> find /lib/firmware -name "cs35l56*233c*"
> /lib/firmware/cirrus/cs35l56-b0-dsp1-misc-17aa233c.wmfw.zst
> /lib/firmware/cirrus/cs35l56-b0-dsp1-misc-17aa233c-amp1.bin.zst
> /lib/firmware/cirrus/cs35l56-b0-dsp1-misc-17aa233c-amp2.bin.zst
>
> * install the latest sof drivers, I cloned
> https://github.com/thesofproject/sof-bin/tree/main/v2.13.x/ and move
> these two files here:
> ls -1 /usr/lib/firmware/intel/sof*/sof-lnl-*.tplg
>
> /usr/lib/firmware/intel/sof-ace-tplg/sof-lnl-cs42l43-l0-cs35l56-l23-2ch.tplg
>
> /usr/lib/firmware/intel/sof-ipc4-tplg/sof-lnl-cs42l43-l0-cs35l56-l23-2ch.tplg
>
> After that I think it just worked. I hope this helps, good luck!
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/2109925
>
> Title:
>   No audio support for Cirrus Logic cs35l56 on Lenovo Thinkpad X9-14
>
> Status in linux package in Ubuntu:
>   Invalid
>
> Bug description:
>   I'm having problems getting this audio controller to work:
>
>   $ lspci -v -nn | grep -A2 -i audio
>   00:1f.3 Multimedia audio controller [0401]: Intel Corporation Lunar
> Lake-M HD Audio Controller [8086:a828] (rev 10)
> Subsystem: Lenovo Device [17aa:233c]
> Flags: bus master, fast devsel, latency 64, IRQ 190, IOMMU group 19
>   --
> Kernel driver in use: sof-audio-pci-intel-lnl
> Kernel modules: snd_hda_intel, snd_sof_pci_intel_lnl
>
>   Here is an excerpt of the boot log with kernel 6.11.0-25-generic:
>
>   journalctl -b | grep -E "sof[-_]|cs35l56"
>   May 04 12:22:50 denkbrett-x9 kernel: sof-audio-pci-intel-lnl
> :00:1f.3: enabling device (0004 -> 0006)
>   May 04 12:22:50 denkbrett-x9 kernel: sof-audio-pci-intel-lnl
> :00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100
>   May 04 12:22:50 denkbrett-x9 kernel: sof-audio-pci-intel-lnl
> :00:1f.3: bound :00:02.0 (ops i915_audio_component_bind_ops [xe])
>   May 04 12:22:50 denkbrett-x9 kernel: sof-audio-pci-intel-lnl
> :00:1f.3: use msi interrupt mode
>   May 04 12:22:50 denkbrett-x9 kernel: cs35l56 sdw:0:3:01fa:3556:01:0:
> supply VDD_P not found, using dummy regulator
>   May 04 12:22:50 denkbrett-x9 kernel: cs35l56 sdw:0:3:01fa:3556:01:0:
> supply VDD_IO not found, using dummy regulator
>   May 04 12:22:50 denkbrett-x9 kernel: cs35l56 sdw:0:3:01fa:3556:01:0:
> supply VDD_A not found, using dummy regulator
>   May 04 12:22:50 denkbrett-x9 kernel: sof-audio-pci-intel-lnl
> :00:1f.3: DMICs detected in NHLT tables: 2
>   May 04 12:22:50 denkbrett-x9 kernel: sof-audio-pci-intel-lnl
> :00:1f.3: hda codecs found, mask 4
>   May 04 12:22:50 denkbrett-x9 kernel: cs35l56 sdw:0:3:01fa:3556:01:1:
> supply VDD_P not found, using dummy regulator
>   May 04 12:22:50 denkbrett-x9 kernel: cs35l56 sdw:0:3:01fa:3556:01:1:
> supply VDD_IO not found, using dummy regulator
>   May 04 12:22:50 denkbrett-x9 kernel: cs35l56 sdw:0:3:01fa:3556:01:1:
> supply VDD_A not found, using dummy regulator
>   May 04 12:22:50 denkbrett-x9 kernel: sof-audio-pci-intel-lnl
> :00:1f.3: Firmware paths/files for ipc type 1:
>   May 04 12:22:50 denkbrett-x9 kernel: sof-audio-pci-intel-lnl
> :00:1f.3:  Firmware file: intel/sof-ipc4/lnl/sof-lnl.ri
>   May 04 12:22:50 denkbrett-x9 kernel: sof-audio-pci-intel-lnl
> :00:1f.3:  Firmware lib path: intel/sof-ipc4-lib/lnl
>   May 04 12:22:50 denkbrett-x9 kernel: sof-audio-pci-intel-lnl
> :00:1f.3:  Topology file:
>  intel/sof-ipc4-tplg/sof-lnl-cs42l43-l0-2ch.tplg
>   May 04 12:22:50 denkbrett-x9 kernel: sof-audio-pci-intel-lnl
> :00:1f.3: Loaded firmware library: ADSPFW, version: 2.12.0.1
>   May 04 12:22:50 denkbrett-x9 kernel: cs35l56 sdw:0:3:01fa:3556:01:1:
> Cirrus Logic CS35L56 Rev B0 OTP3 fw:3.4.4 (patched=0)
>   May 04 12:22:50 denkbrett-x9 kernel: cs35l56 sdw:0:3:01fa:3556:01:0:
> Cirrus Logic CS35L56 Rev B0 OTP3

[Bug 2109925] Re: No audio support for Cirrus Logic cs35l56 on Lenovo Thinkpad X9-14

2025-09-27 Thread Jan Kranefeld
Hi drplix, I actually got the audio interfaces (cs42l43 and cs35l56)
working. I don't remember every step to solve it (although I just
checked my .bash_history) but here is what I find:

* Install at least kernel 6.14 and upgrade linux-firmware

* make sure you have the cirrus firmware installed:
find /lib/firmware -name "cs35l56*233c*"
/lib/firmware/cirrus/cs35l56-b0-dsp1-misc-17aa233c.wmfw.zst
/lib/firmware/cirrus/cs35l56-b0-dsp1-misc-17aa233c-amp1.bin.zst
/lib/firmware/cirrus/cs35l56-b0-dsp1-misc-17aa233c-amp2.bin.zst

* install the latest sof drivers, I cloned 
https://github.com/thesofproject/sof-bin/tree/main/v2.13.x/ and move these two 
files here:
ls -1 /usr/lib/firmware/intel/sof*/sof-lnl-*.tplg
/usr/lib/firmware/intel/sof-ace-tplg/sof-lnl-cs42l43-l0-cs35l56-l23-2ch.tplg
/usr/lib/firmware/intel/sof-ipc4-tplg/sof-lnl-cs42l43-l0-cs35l56-l23-2ch.tplg

After that I think it just worked. I hope this helps, good luck!

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2109925

Title:
  No audio support for Cirrus Logic cs35l56 on Lenovo Thinkpad X9-14

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2109925/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2109925] Re: No audio support for Cirrus Logic cs35l56 on Lenovo Thinkpad X9-14

2025-09-27 Thread drplix
I can confirm this problem still exists on the Lenovo X9-14 with the
latest beta 25.10 build.

I checked my firmware files and they are identical to the latest
available in https://gitlab.com/kernel-firmware/linux-firmware.git and
appear to be the same as those referenced from the Arch packages.

I don't know what alsa ucm configuration is or how to get further.
@Jan, thanks for making the report, were you able to fix this and make
things work?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2109925

Title:
  No audio support for Cirrus Logic cs35l56 on Lenovo Thinkpad X9-14

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2109925/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2109925] Re: No audio support for Cirrus Logic cs35l56 on Lenovo Thinkpad X9-14

2025-05-07 Thread Jan Kranefeld
Okay, I think the firmware that I downloaded works correctly and that
this is only a problem with the alsa ucm configuration. I'm closing
this, thank you for your attention.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2109925

Title:
  No audio support for Cirrus Logic cs35l56 on Lenovo Thinkpad X9-14

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2109925/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2109925] Re: No audio support for Cirrus Logic cs35l56 on Lenovo Thinkpad X9-14

2025-05-07 Thread Jan Kranefeld
arch firmware seems to work, alsa ucm is the issue. closing this.

** Changed in: linux (Ubuntu)
   Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2109925

Title:
  No audio support for Cirrus Logic cs35l56 on Lenovo Thinkpad X9-14

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2109925/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2109925] Re: No audio support for Cirrus Logic cs35l56 on Lenovo Thinkpad X9-14

2025-05-04 Thread Jan Kranefeld
I'have found more information on the issue here:
https://docs.kernel.org/sound/codecs/cs35l56.html

According to the error message that I get (Calibration disabled due to
missing firmware controls), I searched for the corresponding wmfw files
and found them here: https://archlinux.org/packages/core/any/linux-
firmware/files/

* usr/lib/firmware/cirrus/cs35l56-b0-dsp1-misc-17aa233b-spkid1.wmfw.zst
* usr/lib/firmware/cirrus/cs35l56-b0-dsp1-misc-17aa233c-amp1.bin.zst
* usr/lib/firmware/cirrus/cs35l56-b0-dsp1-misc-17aa233c-amp2.bin.zst

I downloaded the tar.zst, extracted it and moved these files to
/lib/firmware/cirrus/

I then compared the bootlogs of my previous boot and the one with arch
firmware:

$ diff <(cut -b16- without-arch-firmware.txt) <(cut -b16- 
with-arch-firmware.txt)
9,11d8
<  denkbrett-x9 kernel: cs35l56 sdw:0:3:01fa:3556:01:0: supply VDD_P not found, 
using dummy regulator
<  denkbrett-x9 kernel: cs35l56 sdw:0:3:01fa:3556:01:0: supply VDD_IO not 
found, using dummy regulator
<  denkbrett-x9 kernel: cs35l56 sdw:0:3:01fa:3556:01:0: supply VDD_A not found, 
using dummy regulator
16a14,16
>  denkbrett-x9 kernel: cs35l56 sdw:0:3:01fa:3556:01:0: supply VDD_P not found, 
> using dummy regulator
>  denkbrett-x9 kernel: cs35l56 sdw:0:3:01fa:3556:01:0: supply VDD_IO not 
> found, using dummy regulator
>  denkbrett-x9 kernel: cs35l56 sdw:0:3:01fa:3556:01:0: supply VDD_A not found, 
> using dummy regulator
32d31
<  denkbrett-x9 kernel: cs35l56 sdw:0:3:01fa:3556:01:0: DSP1: Firmware: 1a00d6 
vendor: 0x2 v3.4.4, 37 algorithms
34,35d32
<  denkbrett-x9 kernel: cs35l56 sdw:0:3:01fa:3556:01:0: Slave 2 state check1: 
UNATTACHED, status was 1
<  denkbrett-x9 kernel: cs35l56 sdw:0:3:01fa:3556:01:1: DSP1: Firmware: 1a00d6 
vendor: 0x2 v3.4.4, 37 algorithms
39a37,47
>  denkbrett-x9 kernel: cs35l56 sdw:0:3:01fa:3556:01:1: DSP1: 
> cirrus/cs35l56-b0-dsp1-misc-17aa233c.wmfw: format 3 timestamp 0x670eca18
>  denkbrett-x9 kernel: cs35l56 sdw:0:3:01fa:3556:01:1: DSP1: 
> cirrus/cs35l56-b0-dsp1-misc-17aa233c.wmfw: Tue 15 Oct 2024 15:01:28 Central 
> Daylight Time
>  denkbrett-x9 kernel: cs35l56 sdw:0:3:01fa:3556:01:0: DSP1: 
> cirrus/cs35l56-b0-dsp1-misc-17aa233c.wmfw: format 3 timestamp 0x670eca18
>  denkbrett-x9 kernel: cs35l56 sdw:0:3:01fa:3556:01:0: DSP1: 
> cirrus/cs35l56-b0-dsp1-misc-17aa233c.wmfw: Tue 15 Oct 2024 15:01:28 Central 
> Daylight Time
>  denkbrett-x9 kernel: cs35l56 sdw:0:3:01fa:3556:01:0: DSP1: Firmware: 1a00d6 
> vendor: 0x2 v3.11.28, 41 algorithms
>  denkbrett-x9 kernel: cs35l56 sdw:0:3:01fa:3556:01:0: DSP1: 
> cirrus/cs35l56-b0-dsp1-misc-17aa233c-amp1.bin: v3.11.28
>  denkbrett-x9 kernel: cs35l56 sdw:0:3:01fa:3556:01:0: DSP1: Misc: 
> C:\Documents\JIRA\DRV-7805 - Cal failure on Alloy 
> 3.11.28\3.11.28_2.41.0.0_smartCalApproved2\Alloy S
>  denkbrett-x9 kernel: cs35l56 sdw:0:3:01fa:3556:01:1: DSP1: Firmware: 1a00d6 
> vendor: 0x2 v3.11.28, 41 algorithms
>  denkbrett-x9 kernel: cs35l56 sdw:0:3:01fa:3556:01:1: DSP1: 
> cirrus/cs35l56-b0-dsp1-misc-17aa233c-amp2.bin: v3.11.28
>  denkbrett-x9 kernel: cs35l56 sdw:0:3:01fa:3556:01:1: DSP1: Misc: 
> C:\Documents\JIRA\DRV-7805 - Cal failure on Alloy 
> 3.11.28\3.11.28_2.41.0.0_smartCalApproved2\Alloy S
>  denkbrett-x9 kernel: cs35l56 sdw:0:3:01fa:3556:01:0: Slave 2 state check1: 
> UNATTACHED, status was 1
41,44c49,50
<  denkbrett-x9 kernel: cs35l56 sdw:0:3:01fa:3556:01:0: Calibration disabled 
due to missing firmware controls
<  denkbrett-x9 kernel: cs35l56 sdw:0:3:01fa:3556:01:1: Calibration disabled 
due to missing firmware controls
<  denkbrett-x9 alsactl[1298]: Found hardware: "sof-soundwire" "Intel Lunar 
Lake HDMI" "HDA:80862820,80860101,0010  cfg-amp:2 mic:dmic cfg-mics:2 
iec61937-pcm:7,6,5 hs:cs42l43 spk:cs35l56" "" ""
<  denkbrett-x9 sudo[8123]:  jck : TTY=pts/0 ; PWD=/usr/lib/firmware/cirrus 
; USER=root ; COMMAND=/usr/bin/cp 
/home/jck/Desktop/cs35l56-b0-dsp1-misc-17aa233c-amp1.bin.zst 
/home/jck/Desktop/cs35l56-b0-dsp1-misc-17aa233c-amp2.bin.zst 
/home/jck/Desktop/cs35l56-b0-dsp1-misc-17aa233c.wmfw.zst .
---
>  denkbrett-x9 kernel: cs35l56 sdw:0:3:01fa:3556:01:0: Calibration applied
>  denkbrett-x9 kernel: cs35l56 sdw:0:3:01fa:3556:01:1: Calibration applied

The Calibration seems to be applied now, but there is still no sound
(only dummy-output). Maybe this helps tackling the problem.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2109925

Title:
  No audio support for Cirrus Logic cs35l56 on Lenovo Thinkpad X9-14

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2109925/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2109925] Re: No audio support for Cirrus Logic cs35l56 on Lenovo Thinkpad X9-14

2025-05-04 Thread Jan Kranefeld
I have found some additional information here:
https://docs.kernel.org/sound/codecs/cs35l56.html

> Calibration disabled due to missing firmware controls
>
>Driver was not able to write EFI calibration data to firmware registers. 
> This typically means that either:
>
>The driver did not find a suitable wmfw for this hardware, or
>The amplifier has already been patched with firmware by something 
> previously, and the driver does not have control of a hard RESET line to be 
> able to reset the amplifier and download the firmware files it found. This 
> situation is indicated by the device identification string in the kernel log 
> shows “(patched=1)”

I have been able to locate wmfw files matching the name schema here:
https://archlinux.org/packages/core/any/linux-firmware/files/

> usr/lib/firmware/cirrus/cs35l56-b0-dsp1-misc-17aa233c-amp1.bin.zst
> usr/lib/firmware/cirrus/cs35l56-b0-dsp1-misc-17aa233c-amp2.bin.zst
> usr/lib/firmware/cirrus/cs35l56-b0-dsp1-misc-17aa233c.wmfw.zst

I will try to download and install them. Maybe this could be helpfull in
solving this problem.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2109925

Title:
  No audio support for Cirrus Logic cs35l56 on Lenovo Thinkpad X9-14

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2109925/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs