NULL ptr dereference in cs42l43/cs35l56 on Lenovo Yoga 7 Slim laptop
Hello,
I'm trying to use some audio on a certain new laptop:
DMI: LENOVO 83R0/LNVNB161216, BIOS UCCN16WW 08/07/2026. Aka Yoga 7 Slim 14ILL11 or something like that. Also LENOVO_MT_83R0_BU_idea_FM_Yoga Slim 7 14ILL11.
Linux version 7.4.0-rc2+
Ubuntu 26.04.01 LTS.
Kernel config is copied from Ubuntu 26.04.01 LTS test kernel. Lots of ACPI errors in dmesg.
Oops: general protection fault, kernel NULL pointer dereference 0x38: 0000 [#1] SMP NOPTI CPU: 5 UID: 0 PID: 797 Comm: (udev-worker) Tainted: G E 7.4.0-rc2+ #1 PREEMPT(lazy) Tainted: [E]=UNSIGNED_MODULE Hardware name: LENOVO 83R0/LNVNB161216, BIOS UCCN16WW 08/07/2026 RIP: 0010:snd_soc_card_get_kcontrol.cold+0x73/0xe3 [snd_soc_core] Code: d2 6b 39 c1 e8 1d 03 96 fa 4c 8b 45 a0 4c 8b 4d a8 31 c0 b9 10 00 00 00 48 8d 7d b0 be 2c 00 00 00 f3 ab 4c 89 c7 4c 89 45 a8 <49> 8b 59 38 c7 45 b4 02 00 00 00 e8 bc 68 fa fb 4c 8b 45 a8 48 83 RSP: 0018:ffffd4bec5aef418 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff8df1c6668e38 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 000000000000002c RDI: ffffd4bec5aef48c RBP: ffffd4bec5aef478 R08: ffffd4bec5aef48c R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffffffffc284a835 R13: 0000000000000005 R14: ffff8df1c6668e38 R15: 0000000000000000 FS: 000074609ecccc80(0000) GS:ffff8df57084b000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000073f68f08e250 CR3: 00000001a07ff003 CR4: 0000000008f72ef0 PKRU: 55555554 Call Trace: <TASK> snd_soc_component_get_kcontrol+0x88/0xd0 [snd_soc_core] cs42l43_dai_probe+0xb3/0x150 [snd_soc_cs42l43] snd_soc_pcm_dai_probe+0x5a/0xe0 [snd_soc_core] snd_soc_bind_card+0x6f5/0xda0 [snd_soc_core] call_soc_bind_card+0x69/0xf0 [snd_soc_core] snd_soc_component_register+0x19b/0x2f0 [snd_soc_core] ? snd_soc_component_new+0xc1/0x110 [snd_soc_core] snd_soc_register_component+0x32/0x50 [snd_soc_core] cs35l56_component_register+0x42/0x7e [snd_soc_cs35l56] cs35l56_common_probe+0x7ba/0x88a [snd_soc_cs35l56] cs35l56_spi_probe+0xc3/0xe0 [snd_soc_cs35l56_spi] spi_probe+0x62/0xe0 really_probe+0xff/0x3c0 __driver_probe_device+0xad/0x1e0 ? spi_match_device+0xe6/0x110 driver_probe_device+0x24/0xb0 ? __pfx___driver_attach+0x10/0x10 __driver_attach+0xf8/0x260 ? __pfx___driver_attach+0x10/0x10 bus_for_each_dev+0x93/0x100 driver_attach+0x1e/0x30 bus_add_driver+0x1fd/0x2a0 driver_register+0x75/0xf0 __spi_register_driver+0xaf/0x100 ? __pfx_init_module+0x10/0x10 [snd_soc_cs35l56_spi] cs35l56_spi_driver_init+0x1c/0xff0 [snd_soc_cs35l56_spi] do_one_initcall+0x81/0x3f0 do_init_module+0x93/0x2c0 load_module+0x2239/0x2660 ? ima_post_read_file+0x11a/0x1a0 ? security_kernel_post_read_file+0x70/0x1e0 init_module_from_file+0xf0/0x1d0 idempotent_init_module+0x218/0x340 __x64_sys_finit_module+0x7c/0x110 x64_sys_call+0xfbc/0x23d0 do_syscall_64+0xbd/0x570 ? vfs_read+0x1b2/0x460 ? vfs_read+0x1b2/0x460 ? ksys_pread64+0x5c/0xd0 ? do_syscall_64+0x293/0x570 ? __x64_sys_newfstatat+0x1c/0x30 ? x64_sys_call+0x2074/0x23d0 ? do_syscall_64+0xfa/0x570 ? __x64_sys_finit_module+0x7c/0x110 ? do_syscall_64+0x293/0x570 ? putname+0x41/0x90 ? do_sys_openat2+0x75/0xf0 ? __x64_sys_openat+0x5f/0xa0 ? x64_sys_call+0x1a20/0x23d0 ? do_syscall_64+0xfa/0x570 ? exc_page_fault+0x9d/0x1d0 ? do_syscall_64+0x33/0x570 entry_SYSCALL_64_after_hwframe+0x76/0x7e RIP: 0033:0x74609e534acd Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 0b d3 0d 00 f7 d8 64 89 01 48 RSP: 002b:00007ffd1c5fa158 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 RAX: ffffffffffffffda RBX: 000062a3e7400e50 RCX: 000074609e534acd RDX: 0000000000000000 RSI: 000074609e63d317 RDI: 000000000000002c RBP: 00007ffd1c5fa1f0 R08: 0000000000000000 R09: 000062a3e7529fb0 R10: 0000000000000000 R11: 0000000000000246 R12: 000074609e63d317 R13: 000062a3e7378770 R14: 0000000000020000 R15: 0000000000000000 </TASK> Modules linked in: many ---[ end trace 0000000000000000 ]--- RIP: 0010:snd_soc_card_get_kcontrol.cold+0x73/0xe3 [snd_soc_core] Code: d2 6b 39 c1 e8 1d 03 96 fa 4c 8b 45 a0 4c 8b 4d a8 31 c0 b9 10 00 00 00 48 8d 7d b0 be 2c 00 00 00 f3 ab 4c 89 c7 4c 89 45 a8 <49> 8b 59 38 c7 45 b4 02 00 00 00 e8 bc 68 fa fb 4c 8b 45 a8 48 83 RSP: 0018:ffffd4bec5aef418 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff8df1c6668e38 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 000000000000002c RDI: ffffd4bec5aef48c RBP: ffffd4bec5aef478 R08: ffffd4bec5aef48c R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffffffffc284a835 R13: 0000000000000005 R14: ffff8df1c6668e38 R15: 0000000000000000 FS: 000074609ecccc80(0000) GS:ffff8df5706cb000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000062a3e720ea78 CR3: 00000001a07ff006 CR4: 0000000008f72ef0
Tried 7.3.something first, no NULL ptr dereferences, but it tried to talk with some ghost rt711-sdca chip, and the sound didn't work either. 7.2.x, there were some topology problems or something, apparently that was fixed in the tree.
Added some pr_crit()s:
sof-audio-pci-intel-lnl 0000:00:1f.3: enabling device (0000 -> 0002) sof-audio-pci-intel-lnl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100 sof-audio-pci-intel-lnl 0000:00:1f.3: bound 0000:00:02.0 (ops intel_audio_component_bind_ops [xe]) sof-audio-pci-intel-lnl 0000:00:1f.3: use msi interrupt mode
cs42l43 sdw:0:0:01fa:4243:01: supply vdd-p not found, using dummy regulator
cs42l43 sdw:0:0:01fa:4243:01: supply vdd-d not found, using dummy regulator
cs42l43 sdw:0:0:01fa:4243:01: supply vdd-a not found, using dummy regulator
cs42l43 sdw:0:0:01fa:4243:01: supply vdd-io not found, using dummy regulator
cs42l43 sdw:0:0:01fa:4243:01: supply vdd-cp not found, using dummy regulator sof-audio-pci-intel-lnl 0000:00:1f.3: No SoundWire machine driver found for the ACPI-reported configuration:
sof-audio-pci-intel-lnl 0000:00:1f.3: link 0 mfg_id 0x01fa part_id 0x4243 version 0x3 sof-audio-pci-intel-lnl 0000:00:1f.3: Use SoundWire default machine driver with function topologies sof-audio-pci-intel-lnl 0000:00:1f.3: hda codecs found, mask 4
sof-audio-pci-intel-lnl 0000:00:1f.3: NHLT device BT(0) detected, ssp_mask 0x4 sof-audio-pci-intel-lnl 0000:00:1f.3: BT link detected in NHLT tables: 0x4 sof-audio-pci-intel-lnl 0000:00:1f.3: DMICs detected in NHLT tables: 4
cs42l43 sdw:0:0:01fa:4243:01: devid: 0x042a43, rev: 0xa1, otp: 0x03 sof-audio-pci-intel-lnl 0000:00:1f.3: Firmware paths/files for ipc type 1:
sof-audio-pci-intel-lnl 0000:00:1f.3: Firmware file: intel/sof-ipc4/lnl/sof-lnl.ri sof-audio-pci-intel-lnl 0000:00:1f.3: Firmware lib path: intel/sof-ipc4-lib/lnl sof-audio-pci-intel-lnl 0000:00:1f.3: Topology file: function topologies
sof-audio-pci-intel-lnl 0000:00:1f.3: Loaded firmware library: ADSPFW, version: 2.14.1.1
Adding alias for supply vdd-amp,(null) -> vdd-amp,sdw:0:0:01fa:4243:01cs35l56_spi_probecs35l56_common_probe
cs35l56 spi-cs35l56-left: supply VDD_P not found, using dummy regulator
cs35l56 spi-cs35l56-left: supply VDD_IO not found, using dummy regulator
cs35l56 spi-cs35l56-left: supply VDD_A not found, using dummy regulatorcs35l56_common_probe: about to call cs35l56_init()
cs35l56 spi-cs35l56-left: Cirrus Logic CS35L56 Rev B0 OTP3 fw:3.4.4 (patched=0)
sof-audio-pci-intel-lnl 0000:00:1f.3: Booted firmware version: 2.14.1.1cs35l56_common_probe: about to call cs35l56_component_register()cs35l56_component_registercs35l56_spi_probecs35l56_common_probe
cs35l56 spi-cs35l56-right: supply VDD_P not found, using dummy regulator
cs35l56 spi-cs35l56-right: supply VDD_IO not found, using dummy regulator
cs35l56 spi-cs35l56-right: supply VDD_A not found, using dummy regulatorcs35l56_common_probe: about to call cs35l56_init()
cs35l56 spi-cs35l56-right: Cirrus Logic CS35L56 Rev B0 OTP3 fw:3.4.4 (patched=0)cs35l56_common_probe: about to call cs35l56_component_register()cs35l56_component_registersnd_soc_component_get_kcontrol(Speaker Digital Switch, name = Speaker Digital Switch): component->card is NULL, expect problems snd_soc_card_get_kcontrol(): name: "Speaker Digital Switch"soc_card: NULL
Oops: general protection fault, kernel NULL pointer dereference follows.
What are my options?
Additional info available on request. This is not my laptop, though.
Signature · 6 lines
Krzysztof "Chris" Hałasa Łukasiewicz Research Network Industrial Research Institute for Automation and Measurements PIAP Al. Jerozolimskie 202, 02-486 Warsaw, Poland
Quoted 9 lines · Krzysztof Hałasa
I'm trying to use some audio on a certain new laptop:
DMI: LENOVO 83R0/LNVNB161216, BIOS UCCN16WW 08/07/2026. Aka Yoga 7 Slim 14ILL11 or something like that. AlsoLENOVO_MT_83R0_BU_idea_FM_YogaSlim 7 14ILL11.
Linux version 7.4.0-rc2+
Ubuntu 26.04.01 LTS.
Kernel config is copied from Ubuntu 26.04.01 LTS test kernel. Lots of ACPI errors in dmesg.
Quoted 5 lines
Tried 7.3.something first, no NULL ptr dereferences, but it tried to talk with some ghost rt711-sdca chip, and the sound didn't work either. 7.2.x, there were some topology problems or something, apparently that was fixed in the tree.
Not one I have seen before, could you re-try 7.3 but with this patch added:
commit e0cb731652a1bebf962086f17d1b7c9d060cb7d6
soundwire: dmi-quirks: Disable ghost rt711 on Lenovo Yoga Slim 7
That should fix the ghost rt711 problem and would be good to see if this is a regression. Pretty sure it is but probably makes sense to confirm first.
Thanks,
Charles
Quoted 18 lines · Charles Keepax
Quoted 9 lines · Krzysztof Hałasa
I'm trying to use some audio on a certain new laptop:
DMI: LENOVO 83R0/LNVNB161216, BIOS UCCN16WW 08/07/2026. Aka Yoga 7 Slim 14ILL11 or something like that. AlsoLENOVO_MT_83R0_BU_idea_FM_YogaSlim 7 14ILL11.
Linux version 7.4.0-rc2+
Ubuntu 26.04.01 LTS.
Kernel config is copied from Ubuntu 26.04.01 LTS test kernel. Lots of ACPI errors in dmesg.Quoted 4 lines
Tried 7.3.something first, no NULL ptr dereferences, but it tried to talk with some ghost rt711-sdca chip, and the sound didn't work either. 7.2.x, there were some topology problems or something, apparently that was fixed in the tree.
Not one I have seen before, could you re-try 7.3 but with this patch added:
Quoted 6 lines
commit
e0cb731652a1bebf962086f17d1b7c9d060cb7d6
soundwire: dmi-quirks: Disable ghost rt711 on Lenovo Yoga Slim 7That should fix the ghost rt711 problem and would be good to see if this is a regression. Pretty sure it is but probably makes sense to confirm first.
Having a look around, I also found this patch:
https://lore.kernel.org/all/[email protected]/
Which does sound like it fixes something that sounds very similar to this problem. So trying that patch on top of v7.4-rc2 is also probably a good idea.
Thanks,
Charles
Charles, Richard,
Quoted 3 lines · Charles Keepax
Having a look around, I also found this patch:
Applied it over latest 7.4.0-rc2+. Also installed linux-firmware-misc_20260915.git1522c78a-0ubuntu1_all.deb as their LTS version lacks *17aa383c* files.
The NULL ptr dereference is gone, but
$ cat /proc/asound/cards
0 [sofsoundwire ]: sof-soundwire - sof-soundwire
LENOVO-83R0-YogaSlim714ILL11-LNVNB161216$ cat /proc/asound/pcm 00-02: Speaker (*) : : playback 1 00-05: HDMI1 (*) : HDMI 1 : playback 1 00-06: HDMI2 (*) : HDMI 2 : playback 1 00-07: HDMI3 (*) : HDMI 3 : playback 1 00-10: DMIC Raw (*) : : capture 1
and:
sof-audio-pci-intel-lnl 0000:00:1f.3: bound 0000:00:02.0 (ops intel_audio_component_bind_ops [xe])
sof-audio-pci-intel-lnl 0000:00:1f.3: use msi interrupt mode
sof-audio-pci-intel-lnl 0000:00:1f.3: No SoundWire machine driver found for the ACPI-reported configuration:
sof-audio-pci-intel-lnl 0000:00:1f.3: link 0 mfg_id 0x01fa part_id 0x4243 version 0x3
sof-audio-pci-intel-lnl 0000:00:1f.3: Use SoundWire default machine driver with function topologies
sof-audio-pci-intel-lnl 0000:00:1f.3: hda codecs found, mask 4
sof-audio-pci-intel-lnl 0000:00:1f.3: NHLT device BT(0) detected, ssp_mask 0x4
sof-audio-pci-intel-lnl 0000:00:1f.3: BT link detected in NHLT tables: 0x4
sof-audio-pci-intel-lnl 0000:00:1f.3: DMICs detected in NHLT tables: 4
sof-audio-pci-intel-lnl 0000:00:1f.3: Loaded FW: intel/sof-ipc4/lnl/sof-lnl.ri, sha256: e72726da2a91c7869e37ec02d280a4348c5600d25d158c2bfc1018fc6ef5a8b1 sof-audio-pci-intel-lnl 0000:00:1f.3: Firmware paths/files for ipc type 1:
sof-audio-pci-intel-lnl 0000:00:1f.3: Firmware file: intel/sof-ipc4/lnl/sof-lnl.ri sof-audio-pci-intel-lnl 0000:00:1f.3: Firmware lib path: intel/sof-ipc4-lib/lnl sof-audio-pci-intel-lnl 0000:00:1f.3: Topology file: function topologies
cs42l43 sdw:0:0:01fa:4243:01: devid: 0x042a43, rev: 0xa1, otp: 0x03
sof-audio-pci-intel-lnl 0000:00:1f.3: Loaded FW: intel/sof-ipc4/lnl/sof-lnl.ri, sha256: e72726da2a91c7869e37ec02d280a4348c5600d25d158c2bfc1018fc6ef5a8b1 sof-audio-pci-intel-lnl 0000:00:1f.3: Loaded firmware library: ADSPFW, version: 2.14.1.1
cs42l43 sdw:0:0:01fa:4243:01: Loaded FW: cs42l43.bin, sha256: 8708742e09d2d392d8e2731f9ba06fdb73486362e4df576c0b32c34b1cf825ce
Adding alias for supply vdd-amp,(null) -> vdd-amp,sdw:0:0:01fa:4243:01
xe 0000:00:02.0: [drm] Tile0: GT1: found GSC cv104.1.0cs35l56_spi_probecs35l56_common_probecs35l56_common_probe: about to call cs35l56_init()
cs35l56 spi-cs35l56-left: Cirrus Logic CS35L56 Rev B0 OTP3 fw:3.4.4 (patched=0)
sof-audio-pci-intel-lnl 0000:00:1f.3: Booted firmware version: 2.14.1.1cs35l56_common_probe: about to call cs35l56_component_register()cs35l56_component_registercs35l56_spi_probecs35l56_common_probecs35l56_common_probe: about to call cs35l56_init()
cs35l56 spi-cs35l56-right: Cirrus Logic CS35L56 Rev B0 OTP3 fw:3.4.4 (patched=0)cs35l56_common_probe: about to call cs35l56_component_register()cs35l56_component_registersof_sdw sof_sdw: Loaded FW: intel/sof-ipc4-tplg/sof-sdca-1amp-id2.tplg, sha256: b92f8736b0b3557c4030a3a82cd31d47a244589fa3b91ad8b3d4c469ebba27a7sof_sdw sof_sdw: Loaded FW: intel/sof-ipc4-tplg/sof-lnl-dmic-4ch-id3.tplg, sha256: 79bd0bb781e8e30d5594a10d7c37825fc4356b2ac63d5d444c2e485b23ccf8f5sof_sdw sof_sdw: Loaded FW: intel/sof-ipc4-tplg/sof-hdmi-pcm5-id5.tplg, sha256: fe798c5e0e927b7bb68349a21b50114b1832254a6f851c2e71a398710970273asof_sdw sof_sdw: Failed to open topology file: intel/sof-ipc4-tplg/sof-lnl-ssp2-bt-id8.tplg, you might need tosof_sdw sof_sdw: download it from https://github.com/thesofproject/sof-bin/
sof-audio-pci-intel-lnl 0000:00:1f.3: Using function topologies instead intel/sof-ipc4-tplg/sof-lnl-dummy-4ch.tplg
sof-audio-pci-intel-lnl 0000:00:1f.3: loading topology 0: intel/sof-ipc4-tplg/sof-sdca-1amp-id2.tplg
sof-audio-pci-intel-lnl 0000:00:1f.3: Loaded FW: intel/sof-ipc4-tplg/sof-sdca-1amp-id2.tplg, sha256: b92f8736b0b3557c4030a3a82cd31d47a244589fa3b91ad8b3d4c469ebba27a7 sof-audio-pci-intel-lnl 0000:00:1f.3: Topology: ABI 3:29:1 Kernel ABI 3:23:1
cs35l56 spi-cs35l56-right: Loaded FW: cirrus/cs35l56-b0-dsp1-misc-17aa383c-spkid0.wmfw, sha256: 01ea4865a3e85fe68a7021b9bf682541112c026a394b8355138e4b246faf0158 sof_sdw sof_sdw: ASoC: Parent card not yet available, widget card binding deferred
sof-audio-pci-intel-lnl 0000:00:1f.3: loading topology 1: intel/sof-ipc4-tplg/sof-lnl-dmic-4ch-id3.tplg
sof-audio-pci-intel-lnl 0000:00:1f.3: Loaded FW: intel/sof-ipc4-tplg/sof-lnl-dmic-4ch-id3.tplg, sha256: 79bd0bb781e8e30d5594a10d7c37825fc4356b2ac63d5d444c2e485b23ccf8f5 sof-audio-pci-intel-lnl 0000:00:1f.3: Topology: ABI 3:29:1 Kernel ABI 3:23:1sof_sdw sof_sdw: ASoC: Parent card not yet available, widget card binding deferred
sof-audio-pci-intel-lnl 0000:00:1f.3: loading topology 2: intel/sof-ipc4-tplg/sof-hdmi-pcm5-id5.tplg
sof-audio-pci-intel-lnl 0000:00:1f.3: Loaded FW: intel/sof-ipc4-tplg/sof-hdmi-pcm5-id5.tplg, sha256: fe798c5e0e927b7bb68349a21b50114b1832254a6f851c2e71a398710970273a sof-audio-pci-intel-lnl 0000:00:1f.3: Topology: ABI 3:29:1 Kernel ABI 3:23:1
cs35l56 spi-cs35l56-right: Loaded FW: cirrus/cs35l56-b0-dsp1-misc-17aa383c-spkid0-ampr.bin, sha256: 2aa99330b228d19dc65d98fc2587e3ec9330833a94494a53fbae8c5e35df80c5 cs35l56 spi-cs35l56-right: DSP1: cirrus/cs35l56-b0-dsp1-misc-17aa383c-spkid0.wmfw: format 3 timestamp 0x686474f4
cs35l56 spi-cs35l56-right: DSP1: cirrus/cs35l56-b0-dsp1-misc-17aa383c-spkid0.wmfw: Tue 01 Jul 2025 18:53:24 Central Daylight Timesof_sdw sof_sdw: ASoC: Parent card not yet available, widget card binding deferred
sof-audio-pci-intel-lnl 0000:00:1f.3: Loaded FW: intel/sof-ipc4-lib/lnl/B36EE4DA-006F-47F9-A06D-FECBE2D8B6CE.bin, sha256: bd7a59d37802d8acf6bc197c7004b6b25567c0cf955370089e86ada122373781 sof-audio-pci-intel-lnl 0000:00:1f.3: Loaded firmware library: ADSPFW, version: 2.14.1.1
cs35l56 spi-cs35l56-left: Loaded FW: cirrus/cs35l56-b0-dsp1-misc-17aa383c-spkid0.wmfw, sha256: 01ea4865a3e85fe68a7021b9bf682541112c026a394b8355138e4b246faf0158 cs35l56 spi-cs35l56-left: Loaded FW: cirrus/cs35l56-b0-dsp1-misc-17aa383c-spkid0-ampl.bin, sha256: a79325f6a87d30817625e36a491c6b4dc3dc90e9b4fbe6b45fc774fa759972c9 cs35l56 spi-cs35l56-left: DSP1: cirrus/cs35l56-b0-dsp1-misc-17aa383c-spkid0.wmfw: format 3 timestamp 0x686474f4
cs35l56 spi-cs35l56-left: DSP1: cirrus/cs35l56-b0-dsp1-misc-17aa383c-spkid0.wmfw: Tue 01 Jul 2025 18:53:24 Central Daylight Time snd_soc_card_get_kcontrol(): name: AMPL Speaker Volume
cs35l56 spi-cs35l56-right: DSP1: Firmware: 1a00d6 vendor: 0x2 v3.13.3, 41 algorithms
cs35l56 spi-cs35l56-right: DSP1: cirrus/cs35l56-b0-dsp1-misc-17aa383c-spkid0-ampr.bin (v1): v3.13.3
cs35l56 spi-cs35l56-right: DSP1: Misc: C:\Cirrus\Project\Lenovo_Slim7_14_Gen11_LLS7L\Smart_PA_Tuning\Initial_Tuning\Version1.0_Remove_CF\Lo
cs35l56 spi-cs35l56-left: DSP1: Firmware: 1a00d6 vendor: 0x2 v3.13.3, 41 algorithms
cs35l56 spi-cs35l56-left: DSP1: cirrus/cs35l56-b0-dsp1-misc-17aa383c-spkid0-ampl.bin (v1): v3.13.3
cs35l56 spi-cs35l56-left: DSP1: Misc: C:\Cirrus\Project\Lenovo_Slim7_14_Gen11_LLS7L\Smart_PA_Tuning\Initial_Tuning\Version1.0_Remove_CF\Lo
cs35l56 spi-cs35l56-right: Calibration applied
cs35l56 spi-cs35l56-right: Tuning PID: 0x383c, SID: 0x1, TID: 0x1a7bf2
cs35l56 spi-cs35l56-left: Calibration applied
cs35l56 spi-cs35l56-left: Tuning PID: 0x383c, SID: 0x0, TID: 0xbed7efsnd_soc_card_get_kcontrol(): name: AMPR Speaker Volumesnd_soc_card_get_kcontrol(): name: cs42l43 Speaker Digital Volumesof_sdw sof_sdw: Setting CS42L43 Speaker volume limit to 128sof_sdw sof_sdw: hda_dsp_hdmi_build_controls: no PCM in topology for HDMI converter 3
Perhaps this? What could that mean?
ASoC: Parent card not yet available, widget card binding deferred
Signature · 6 lines
Krzysztof "Chris" Hałasa Łukasiewicz Research Network Industrial Research Institute for Automation and Measurements PIAP Al. Jerozolimskie 202, 02-486 Warsaw, Poland
Quoted 9 lines · Krzysztof Hałasa
Charles Keepax <[email protected]> writes:
sof_sdwsof_sdw: Loaded FW: intel/sof-ipc4-tplg/sof-sdca-1amp-id2.tplg, sha256:b92f8736b0b3557c4030a3a82cd31d47a244589fa3b91ad8b3d4c469ebba27a7sof_sdwsof_sdw: Loaded FW: intel/sof-ipc4-tplg/sof-lnl-dmic-4ch-id3.tplg, sha256:79bd0bb781e8e30d5594a10d7c37825fc4356b2ac63d5d444c2e485b23ccf8f5sof_sdwsof_sdw: Loaded FW: intel/sof-ipc4-tplg/sof-hdmi-pcm5-id5.tplg, sha256:fe798c5e0e927b7bb68349a21b50114b1832254a6f851c2e71a398710970273asof_sdwsof_sdw: Failed to open topology file: intel/sof-ipc4-tplg/sof-lnl-ssp2-bt-id8.tplg, you might need tosof_sdwsof_sdw: download it from https://github.com/thesofproject/sof-bin/Perhaps this? What could that mean?
ASoC: Parent card not yet available, widget card binding deferred
I suspect it is failing because of that topology file that failed. Such a file doesn't appear to exist in the sof repo that I can see. I think the best next step here would be to get Intel involved, probably the best would be to open a ticket on the sof GitHub:
https://github.com/thesofproject/sof/issues
If you could CC myself on that as well. If possible it would still be worth trying 7.3 as well. In theory this laptop was confirmed as working which does suggest there is perhaps a second regression going on here:
https://github.com/thesofproject/linux/issues/5948
Thanks,
Charles
Charles,
Quoted 7 lines · Charles Keepax
I suspect it is failing because of that topology file that failed. Such a file doesn't appear to exist in the sof repo that I can see. I think the best next step here would be to get Intel involved, probably the best would be to open a ticket on the sof GitHub:
It turned out there were alsa-related entries in a modprobe*.conf (added by Ubuntu and/or possibly by the laptop's owner). Removed the options.
7.3.4: added the ghost_rt711 quirk patch (already in v7.4).
7.4-rc2: added the ASoC: soc-core: reset rtd->num_components after allocation patch from Emanuele Ghidoli.
Now the laptop shows certain output devices in GUI mixers. They are
... silent, though. This is now similar on 7.3.4 and 7.4-rc2. The only
visible difference is that 7.4-rc2 warns about the ssp2-bt-id8:sof_sdw sof_sdw: Failed to open topology file: intel/sof-ipc4-tplg/sof-lnl-ssp2-bt-id8.tplg, ... and 7.3.4 does not.
I have no idea how does the SOF/soundwire work. But (using 7.4-rc2 at the moment) I killed the wireplumber/pipewire daemons, and alsamixer/amixer -c0 both start, showing many controls (139, not counting input). Experimented a bit with them, and now is seems aplay *.wav -D plughw:CARD=sofsoundwire,DEV=5 produces sound on the built-in speaker(s). Then.. pipewire works now, so I consider this problem solved. It also works on 7.3.4+.
Thank you, and sorry for the false alarm.
For reference (removed some amount of noise from dmesg):
$ cat /proc/asound/pcm 00-02: Speaker (*) : : playback 1 00-05: HDMI1 (*) : HDMI 1 : playback 1 00-06: HDMI2 (*) : HDMI 2 : playback 1 00-07: HDMI3 (*) : HDMI 3 : playback 1 00-10: DMIC Raw (*) : : capture 1
$ cat /proc/asound/cards
0 [sofsoundwire ]: sof-soundwire - sof-soundwire
LENOVO-83R0-YogaSlim714ILL11-LNVNB161216v7.3.4 + the ghost_rt711 patch:
sof-audio-pci-intel-lnl 0000:00:1f.3: SoundWire enabled on CannonLake+ platform, using SOF driver
sof-audio-pci-intel-lnl 0000:00:1f.3: enabling device (0000 -> 0002)
sof-audio-pci-intel-lnl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100
sof-audio-pci-intel-lnl 0000:00:1f.3: bound 0000:00:02.0 (ops intel_audio_component_bind_ops [xe])
sof-audio-pci-intel-lnl 0000:00:1f.3: use msi interrupt mode
acpi device:2a: SDCA function SmartAmp (type 1) at 0x1
sof-audio-pci-intel-lnl 0000:00:1f.3: No SoundWire machine driver found for the ACPI-reported configuration:
sof-audio-pci-intel-lnl 0000:00:1f.3: link 0 mfg_id 0x01fa part_id 0x4243 version 0x3
sof-audio-pci-intel-lnl 0000:00:1f.3: Use SoundWire default machine driver with function topologies
sof-audio-pci-intel-lnl 0000:00:1f.3: hda codecs found, mask 4
sof-audio-pci-intel-lnl 0000:00:1f.3: NHLT device BT(0) detected, ssp_mask 0x4
sof-audio-pci-intel-lnl 0000:00:1f.3: BT link detected in NHLT tables: 0x4
sof-audio-pci-intel-lnl 0000:00:1f.3: DMICs detected in NHLT tables: 4
sof-audio-pci-intel-lnl 0000:00:1f.3: Loaded FW: intel/sof-ipc4/lnl/sof-lnl.ri, sha256: e72726da2a91c7869e37ec02d280a4348c5600d25d158c2bfc1018fc6ef5a8b1 sof-audio-pci-intel-lnl 0000:00:1f.3: Firmware paths/files for ipc type 1:
sof-audio-pci-intel-lnl 0000:00:1f.3: Firmware file: intel/sof-ipc4/lnl/sof-lnl.ri sof-audio-pci-intel-lnl 0000:00:1f.3: Firmware lib path: intel/sof-ipc4-lib/lnl sof-audio-pci-intel-lnl 0000:00:1f.3: Topology file: function topologies
sof-audio-pci-intel-lnl 0000:00:1f.3: Loaded FW: intel/sof-ipc4/lnl/sof-lnl.ri, sha256: e72726da2a91c7869e37ec02d280a4348c5600d25d158c2bfc1018fc6ef5a8b1 sof-audio-pci-intel-lnl 0000:00:1f.3: Loaded firmware library: ADSPFW, version: 2.14.1.1
cs42l43 sdw:0:0:01fa:4243:01: devid: 0x042a43, rev: 0xa1, otp: 0x03
cs42l43 sdw:0:0:01fa:4243:01: Loaded FW: cs42l43.bin, sha256: 8708742e09d2d392d8e2731f9ba06fdb73486362e4df576c0b32c34b1cf825ce
Adding alias for supply vdd-amp,(null) -> vdd-amp,sdw:0:0:01fa:4243:01
cs35l56 spi-cs35l56-left: Cirrus Logic CS35L56 Rev B0 OTP3 fw:3.4.4 (patched=0)
sof-audio-pci-intel-lnl 0000:00:1f.3: Booted firmware version: 2.14.1.1
cs35l56 spi-cs35l56-right: Cirrus Logic CS35L56 Rev B0 OTP3 fw:3.4.4 (patched=0)sof_sdw sof_sdw: Loaded FW: intel/sof-ipc4-tplg/sof-sdca-1amp-id2.tplg, sha256: b92f8736b0b3557c4030a3a82cd31d47a244589fa3b91ad8b3d4c469ebba27a7sof_sdw sof_sdw: Loaded FW: intel/sof-ipc4-tplg/sof-lnl-dmic-4ch-id3.tplg, sha256: 79bd0bb781e8e30d5594a10d7c37825fc4356b2ac63d5d444c2e485b23ccf8f5sof_sdw sof_sdw: Loaded FW: intel/sof-ipc4-tplg/sof-hdmi-pcm5-id5.tplg, sha256: fe798c5e0e927b7bb68349a21b50114b1832254a6f851c2e71a398710970273a sof-audio-pci-intel-lnl 0000:00:1f.3: Using function topologies instead intel/sof-ipc4-tplg/sof-lnl-dummy-4ch.tplg
sof-audio-pci-intel-lnl 0000:00:1f.3: loading topology 0: intel/sof-ipc4-tplg/sof-sdca-1amp-id2.tplg
sof-audio-pci-intel-lnl 0000:00:1f.3: Loaded FW: intel/sof-ipc4-tplg/sof-sdca-1amp-id2.tplg, sha256: b92f8736b0b3557c4030a3a82cd31d47a244589fa3b91ad8b3d4c469ebba27a7 sof-audio-pci-intel-lnl 0000:00:1f.3: Topology: ABI 3:29:1 Kernel ABI 3:23:1sof_sdw sof_sdw: ASoC: Parent card not yet available, widget card binding deferred
sof-audio-pci-intel-lnl 0000:00:1f.3: loading topology 1: intel/sof-ipc4-tplg/sof-lnl-dmic-4ch-id3.tplg
sof-audio-pci-intel-lnl 0000:00:1f.3: Loaded FW: intel/sof-ipc4-tplg/sof-lnl-dmic-4ch-id3.tplg, sha256: 79bd0bb781e8e30d5594a10d7c37825fc4356b2ac63d5d444c2e485b23ccf8f5 sof-audio-pci-intel-lnl 0000:00:1f.3: Topology: ABI 3:29:1 Kernel ABI 3:23:1sof_sdw sof_sdw: ASoC: Parent card not yet available, widget card binding deferred
sof-audio-pci-intel-lnl 0000:00:1f.3: loading topology 2: intel/sof-ipc4-tplg/sof-hdmi-pcm5-id5.tplg
sof-audio-pci-intel-lnl 0000:00:1f.3: Loaded FW: intel/sof-ipc4-tplg/sof-hdmi-pcm5-id5.tplg, sha256: fe798c5e0e927b7bb68349a21b50114b1832254a6f851c2e71a398710970273a sof-audio-pci-intel-lnl 0000:00:1f.3: Topology: ABI 3:29:1 Kernel ABI 3:23:1sof_sdw sof_sdw: ASoC: Parent card not yet available, widget card binding deferred
cs35l56 spi-cs35l56-right: Loaded FW: cirrus/cs35l56-b0-dsp1-misc-17aa383c-spkid0.wmfw, sha256: 01ea4865a3e85fe68a7021b9bf682541112c026a394b8355138e4b246faf0158 sof-audio-pci-intel-lnl 0000:00:1f.3: Loaded FW: intel/sof-ipc4-lib/lnl/B36EE4DA-006F-47F9-A06D-FECBE2D8B6CE.bin, sha256: bd7a59d37802d8acf6bc197c7004b6b25567c0cf955370089e86ada122373781 sof-audio-pci-intel-lnl 0000:00:1f.3: Loaded firmware library: ADSPFW, version: 2.14.1.1
cs35l56 spi-cs35l56-right: Loaded FW: cirrus/cs35l56-b0-dsp1-misc-17aa383c-spkid0-ampr.bin, sha256: 2aa99330b228d19dc65d98fc2587e3ec9330833a94494a53fbae8c5e35df80c5 cs35l56 spi-cs35l56-right: DSP1: cirrus/cs35l56-b0-dsp1-misc-17aa383c-spkid0.wmfw: format 3 timestamp 0x686474f4
cs35l56 spi-cs35l56-right: DSP1: cirrus/cs35l56-b0-dsp1-misc-17aa383c-spkid0.wmfw: Tue 01 Jul 2025 18:53:24 Central Daylight Time
cs35l56 spi-cs35l56-left: Loaded FW: cirrus/cs35l56-b0-dsp1-misc-17aa383c-spkid0.wmfw, sha256: 01ea4865a3e85fe68a7021b9bf682541112c026a394b8355138e4b246faf0158 cs35l56 spi-cs35l56-left: Loaded FW: cirrus/cs35l56-b0-dsp1-misc-17aa383c-spkid0-ampl.bin, sha256: a79325f6a87d30817625e36a491c6b4dc3dc90e9b4fbe6b45fc774fa759972c9 cs35l56 spi-cs35l56-left: DSP1: cirrus/cs35l56-b0-dsp1-misc-17aa383c-spkid0.wmfw: format 3 timestamp 0x686474f4
cs35l56 spi-cs35l56-left: DSP1: cirrus/cs35l56-b0-dsp1-misc-17aa383c-spkid0.wmfw: Tue 01 Jul 2025 18:53:24 Central Daylight Time
cs35l56 spi-cs35l56-right: DSP1: Firmware: 1a00d6 vendor: 0x2 v3.13.3, 41 algorithms
cs35l56 spi-cs35l56-right: DSP1: cirrus/cs35l56-b0-dsp1-misc-17aa383c-spkid0-ampr.bin (v1): v3.13.3
cs35l56 spi-cs35l56-right: DSP1: Misc: C:\Cirrus\Project\Lenovo_Slim7_14_Gen11_LLS7L\Smart_PA_Tuning\Initial_Tuning\Version1.0_Remove_CF\Lo
cs35l56 spi-cs35l56-left: DSP1: Firmware: 1a00d6 vendor: 0x2 v3.13.3, 41 algorithms
cs35l56 spi-cs35l56-left: DSP1: cirrus/cs35l56-b0-dsp1-misc-17aa383c-spkid0-ampl.bin (v1): v3.13.3
cs35l56 spi-cs35l56-left: DSP1: Misc: C:\Cirrus\Project\Lenovo_Slim7_14_Gen11_LLS7L\Smart_PA_Tuning\Initial_Tuning\Version1.0_Remove_CF\Lo
cs35l56 spi-cs35l56-right: Calibration applied
cs35l56 spi-cs35l56-left: Calibration applied
cs35l56 spi-cs35l56-right: Tuning PID: 0x383c, SID: 0x1, TID: 0x1a7bf2
cs35l56 spi-cs35l56-left: Tuning PID: 0x383c, SID: 0x0, TID: 0xbed7efsof_sdw sof_sdw: Setting CS42L43 Speaker volume limit to 128sof_sdw sof_sdw: hda_dsp_hdmi_build_controls: no PCM in topology for HDMI converter 3
input: sof-soundwire HDMI/DP,pcm=5 as /devices/pci0000:00/0000:00:1f.3/sof_sdw/sound/card0/input13
input: sof-soundwire HDMI/DP,pcm=6 as /devices/pci0000:00/0000:00:1f.3/sof_sdw/sound/card0/input14
input: sof-soundwire HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:1f.3/sof_sdw/sound/card0/input15
v7.4.0-rc2+ (current) with the "reset rtd->num_components after allocation" patch also shows:
+sof_sdw sof_sdw: Failed to open topology file: intel/sof-ipc4-tplg/sof-lnl-ssp2-bt-id8.tplg, you might need to +sof_sdw sof_sdw: download it from https://github.com/thesofproject/sof-bin/
Signature · 6 lines
Krzysztof "Chris" Hałasa Łukasiewicz Research Network Industrial Research Institute for Automation and Measurements PIAP Al. Jerozolimskie 202, 02-486 Warsaw, Poland