-
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 15ILL9 - No sound coming from speakers #9720
Comments
@simontrimmer , here are the contents of the directory, as requested from #9663:
|
@cgbowman - Great they are both there - could you attach them and laser etched underneath is the date of manufacture "mfg date" could you grab that too please? I'm assuming it looks to you like it is playing back and not like sox's play tool that doesn't show progress if the data isn't flowing? Could you attach the output of alsa-info and maybe "wpctl status" as I don't think that is included yet... |
Certainly! Cirrus Firmware: cirrus-smart-firmware.zip Mfg date: 2024/09/02
Correct, if I simply attempt to 'test' the speaker in the settings UI, it will show a graphic of a bar above the output device, resembling playback: |
@cgbowman Thanks! I'm out of the workshop now but will compare with the one I have tomorrow, but I'm 99% certain that I have more Sinks than you see in your wpctl output - I wonder if this is one of those ucm problems? (The unit I have will almost certainly have had all the files updated to the latest from https://github.com/alsa-project/alsa-ucm-conf as I'd recently had some fun with another product and this Lenovo would have been installed off a live USB image I'd made for the one that needed the updated ucm configuration) |
@cgbowman - Actually perhaps 24.10 is missing this? |
@simontrimmer, I updated the files, rebooted, and the Settings menu's 'output device' shows as "Dummy Output". Specifically, adding the change to the sof-soundwire.conf file causes the change. I've also tried changing the entire ucm2 folder and replacing it with the latest dir available in the alsa-ucm-conf repo and I observe the same issue. |
@cgbowman Interesting - I suspect we're in the right area .... Is there an error message from the UCM? Looking at the one I have here: which mirrors the outputs to HDMI and the cs42l43/cs35l56 pair, and it looks like when I upgraded the alsa-ucm-conf files they were matched with similarly dated alsa-lib and alsa-utils, I think a new file syntax (7) was introduced that might be confusing it, this was important to make a different system I was using work, but it could also apply here too. -Simon |
@cgbowman just checking, was your alsa-info data above produced with active playback (if not, pls run again with music as speaker test is quite fast/short) ? Just want to rule out userspace isn't incorrectly modifying mixer values when a stream is started/stopped. |
Apologies, it was not produced with active playback. I will upload more info when I have the chance. |
Attached full journalctl output after updating ucm2 directory: Some notable entries from alsactl:
Updated alsa-info output with music playing in Rhythmbox: |
@simontrimmer any ideas why the codec jack kcontrol would be -EBUSY above ? |
Er, @charleskeepax would not having a headset plugged in be the most likely reason for the Jack Override returning -EBUSY? I was saying earlier today I should come back to this - I do think that something in the alsa-ucm-conf / alsa-utils / alsa-lib isn't happy and that is just snowballing, but the only way I could think of reproducing the problem and then working out what was happening was to sacrifice my working system running Debian12+updates and basically starting again with a clean Ubuntu noble install and working through the problems. I did that recently on a different product and whilst I got to do what I needed in the sound domain, the UI experience was less than enjoyable and put me off rushing into it 😁 Might be a good week for it. @cgbowman - just checking, did you update the alsa-utils & alsa-lib when you updated the UCM files? (thinking about syntax 7) -Simon |
Yes Jack Override will return EBUSY if there is no jack present, its purpose is to set the jack to various types of device that can't be automatically detected. However, an error from alsactl restore should not have any impact on the UCM. |
Good call, I'll double check |
I updated alsa-lib & alsa-utils (using the tarball releases) from 1.2.11 to 1.2.13 and it didn't seem to make an impact yet: Do you think I should try directly from the repo sources? There didn't seem to be much more than a few commits on top of the 1.2.13 tags for both upstream sources. |
@charleskeepax do you mean no jack connector/pin present or connected to the codec on the PCB ? Would it be better to return ENODEV here ? i.e. EBUSY makes me think codec is busy with some other work so cant do the jack detect work atm Agree, UCM should just carry on. |
Describe the bug
Despite a topology in place, the Lenovo machine doesn't produce sound from the speakers.
To Reproduce
Install Ubuntu 24.10 on the laptop, build & install 6.12.0-rc7+ kernel, then boot the laptop. With sof topology updated, sound is not being made from the speakers.
Reproduction Rate
Always
Expected behavior
Sound should be heard from the speakers.
Impact
No audio, results in an annoyance, but doesn't stop the system from functioning.
Environment
Screenshots or console output
journalctl -k log:
sof-dev-test.txt
The text was updated successfully, but these errors were encountered: