-
Notifications
You must be signed in to change notification settings - Fork 322
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Lenovo Yoga Slim 7 15 - SOF topology file not found #9663
Comments
Yes that's the one - there is a DMI match string change and the topology change we were talking about: +++ b/tools/topology/topology2/production/tplg-targets-ace2.cmake +"cavs-sdw;sof-lnl-cs42l43-l0-4ch;PLATFORM=lnl,NUM_SDW_AMP_LINKS=1,NUM_DMICS=4, We were hanging on "a few more" Lenovo DMI strings |
Having a crack at a PR with that topology change in, not my usual jam... |
@cgbowman The thesofproject/linux#5248 and #9666 PRs are merged. Can you check if they work for your device? |
Was tinkering with the docker container setup, but seems I'm having issues getting the non-default build targets to show up. I'll keep tinkering until I get it to build correctly. Once I've been able to test, I'll post again. Thanks for the help here! |
I was able to build the topology file with the docker image given by the SOF documentation, but after copying the topology over to the correct location, other errors are still present. I didn't rebuild the firmware binaries, as other targets weren't accepted by the docker image suggested by the instructions (even the 'cnl' target doesn't seem to be recognized as a valid target). It's possible that not rebuilding the rest of the lnl target may produce these errors, but I'm not familiar with this codebase, so I'm not sure.
Added full dmesg here: |
@cgbowman I guess your device is not listed in the sof_sdw_quirk_table[]. |
The DMI information matches the unit I was using (including the updated bios) |
Tangent - I wasn't getting "[ 8.008471] i2c_designware i2c_designware.2: i2c_dw_handle_tx_abort: lost arbitration" |
|
@cgbowman Did you upgrade your kernel with thesofproject/linux#5248? |
Yes, I cherry-picked the necessary patches onto a drm-tip base, but can retry with just the branch by itself tomorrow morning if you'd like confirmation. |
@cgbowman Can you put sof-dyndbg.conf to the /etc/modprobe.d/ folder and share the full dmesg log? Note that the file should be rename to |
Got it, here you are: |
Can you try .matches = {
DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
DMI_MATCH(DMI_PRODUCT_NAME, "83HM")
}, What I expect is
As a result, the
|
Updated the config with the line, here is the resulting dmesg: |
Still Also, |
You are correct, I turned on CONFIG_LOCALVERSION_AUTO to confirm and it was loading another kernel by default. Here are the kernel commits I picked up:
Here is the journalctl -k output (dmesg became too long): |
No error from the log. I guess that is the mixer setting issue. @charleskeepax Can you help on it? |
Hiya, |
Yes, I've updated again with today's latest just to double check, along with ensuring initramfs gets updated with It seems the files from the given SHA are installed in /lib/firmware correctly:
|
Hi @cgbowman, I'll be able to double check the device I have here on Monday, |
Sounds good, I'll try on my end as well! Always happy to test :) Edit: Looks like it's not the missing piece we're looking for. I'll keep checking around for related patches and testing what I find. |
Hmm, as a sanity check I just built at: 86183cdca9d6 (HEAD) spi: cs42l43: Add GPIO speaker id support to the bridge configuration Which is the sof-dev with the patch from mark's tree git remote add spi git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git and add options snd-soc-wm_adsp dyndbg=+pmf To the modprobe.d dynamic debug config, I can see: root@crus-83hm:~ # dmesg | grep -i spi_cs42l43 The firmware version should then jump up to v3.11.20 |
gotcha, thanks for the sanity check, I'll try to replicate with that setup. |
Describe the bug
The SOF topology file is not detected (topology doesn't exist) on a LNL Lenovo Yoga Slim 7 15 laptop.
To Reproduce
Install Ubuntu 24.10 on the laptop, build & install 6.12.0-rc7+ kernel, then boot the laptop.
Errors will be present in dmesg logs.
Reproduction Rate
All the time
Expected behavior
The topology file should exist and be detected.
Impact
Showstopper
At best, results in no audio (dummy output). At worst, sometimes results in a failed boot.
Environment
Screenshots or console output
lenovo_yoga_dmesg.txt
The text was updated successfully, but these errors were encountered: