You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG] no sound coming from Lenovo on Ubuntu 24.04 #5375
Your laptop model: Lenovo IdeaPad Pro 5 14IMH9
Output of:
dmesg | grep sof
aplay -l
uname -a
You're on Ubuntu 24.04 with kernel 6.11+
SOF loads correctly, but no sound from speakers or headphones
Even aplay with plughw:0,0 gives Device or resource busy or silence
@pankhurijain20, can you provide the output of alsa-info.sh as first step, then can you try to switch to the legacy HDA stack by adding options snd_intel_dspcfg dsp_driver=1 to for example /etc/modprobe.d/force-legacy-hda.conf and reboot
You will loose DMIC, but you should be able to verify the Speaker/Headphone issue.
cat: '/sys/module/snd_soc_skl_hda_dsp/parameters/*': No such file or directory
dmesg: read kernel buffer failed: Operation not permitted
Automatically upload ALSA information to www.alsa-project.org? [y/N] : y
Uploading information to www.alsa-project.org ... Done!
Activity
[-][BUG][/-][+][BUG] no sound coming from Lenovo on Ubuntu 24.04[/+]lgirdwood commentedon Mar 24, 2025
@pankhurijain20 can you provide the logs. They are missing, you have just provided the commands only.
pankhurijain20 commentedon Mar 24, 2025
Please find the logs
dmesg: read kernel buffer failed: Operation not permitted
**** List of PLAYBACK Hardware Devices ****
card 0: sofhdadsp [sof-hda-dsp], device 0: HDA Analog () []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 3: HDMI1 () []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 4: HDMI2 () []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 5: HDMI3 () []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 31: Deepbuffer HDA Analog (*) []
Subdevices: 1/1
Subdevice #0: subdevice #0
Linux pankhuri-IdeaPad-Pro-5-14IMH9 6.11.0-17-generic thesofproject/sof#17
24.04.2-Ubuntu SMP PREEMPT_DYNAMIC Mon Jan 20 22:48:29 UTC 2 x86_64 x86_64 x86_64 GNU/Linux/workspacepankhuri@pankhuri-IdeaPad-Pro-5-14IMH9:
lgirdwood commentedon Mar 24, 2025
@pankhurijain20 still missing kernel logs.
pankhurijain20 commentedon Mar 25, 2025
@lgirdwood Please find the logs
[ 0.052554] software IO TLB: area num 32.
[ 0.461841] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
[ 0.461842] software IO TLB: mapped [mem 0x0000000055c56000-0x0000000059c56000] (64MB)
[ 0.571888] integrity: Loaded X.509 cert 'Microsoft Windows Production PCA 2011: a92902398e16c49778cd90f99e4f9ae17c55af53'
[ 0.571898] integrity: Loaded X.509 cert 'Microsoft Corporation: Windows UEFI CA 2023: aefc5fbbbe055d8f8daa585473499417ab5a5272'
[ 0.571907] integrity: Loaded X.509 cert 'Microsoft Corporation UEFI CA 2011: 13adbf4309bd82709c8cd54f316ed522988a1bd4'
[ 0.571914] integrity: Loaded X.509 cert 'Microsoft UEFI CA 2023: 81aa6b3244c935bce0d6628af39827421e32497d'
[ 2.722684] sof-audio-pci-intel-mtl 0000:00:1f.3: enabling device (0000 -> 0002)
[ 2.722872] sof-audio-pci-intel-mtl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100
[ 2.793701] sof-audio-pci-intel-mtl 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[ 2.800854] sof-audio-pci-intel-mtl 0000:00:1f.3: use msi interrupt mode
[ 2.820759] sof-audio-pci-intel-mtl 0000:00:1f.3: hda codecs found, mask 5
[ 2.820762] sof-audio-pci-intel-mtl 0000:00:1f.3: using HDA machine driver skl_hda_dsp_generic now
[ 2.820766] sof-audio-pci-intel-mtl 0000:00:1f.3: DMICs detected in NHLT tables: 2
[ 2.824390] sof-audio-pci-intel-mtl 0000:00:1f.3: Firmware paths/files for ipc type 1:
[ 2.824393] sof-audio-pci-intel-mtl 0000:00:1f.3: Firmware file: intel/sof-ipc4/mtl/sof-mtl.ri
[ 2.824394] sof-audio-pci-intel-mtl 0000:00:1f.3: Firmware lib path: intel/sof-ipc4-lib/mtl
[ 2.824395] sof-audio-pci-intel-mtl 0000:00:1f.3: Topology file: intel/sof-ace-tplg/sof-hda-generic-2ch.tplg
[ 2.826734] sof-audio-pci-intel-mtl 0000:00:1f.3: Loaded firmware library: ADSPFW, version: 2.11.1.1
[ 2.963547] sof-audio-pci-intel-mtl 0000:00:1f.3: Booted firmware version: 2.11.1.1
[ 2.977183] sof-audio-pci-intel-mtl 0000:00:1f.3: Topology: ABI 3:29:1 Kernel ABI 3:23:1
[ 3.059014] input: sof-hda-dsp Mic as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input13
[ 3.059081] input: sof-hda-dsp Headphone as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input14
[ 3.059155] input: sof-hda-dsp HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input15
[ 3.059207] input: sof-hda-dsp HDMI/DP,pcm=4 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input16
[ 3.059267] input: sof-hda-dsp HDMI/DP,pcm=5 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input17
ujfalusi commentedon Mar 25, 2025
@pankhurijain20, can you provide the output of
alsa-info.shas first step, then can you try to switch to the legacy HDA stack by addingoptions snd_intel_dspcfg dsp_driver=1to for example/etc/modprobe.d/force-legacy-hda.confand rebootYou will loose DMIC, but you should be able to verify the Speaker/Headphone issue.
pankhurijain20 commentedon Mar 25, 2025
ALSA Information Script v 0.5.3
This script visits the following commands/files to collect diagnostic
information about your ALSA installation and sound related hardware.
dmesg
lspci
aplay
amixer
alsactl
rpm, dpkg
/proc/asound/
/sys/class/sound/
~/.asoundrc (etc.)
See 'bash --help' for command line options.
cat: '/sys/module/snd_soc_skl_hda_dsp/parameters/*': No such file or directory
dmesg: read kernel buffer failed: Operation not permitted
Automatically upload ALSA information to www.alsa-project.org? [y/N] : y
Uploading information to www.alsa-project.org ... Done!
Your ALSA information is located at http://alsa-project.org/db/?f=3704c536e96ba4d32d03b34e18ee1174355a1e55
Please inform the person helping you.
ujfalusi commentedon Mar 25, 2025
Can you test with
options snd_intel_dspcfg dsp_driver=1if the speaker/headset is working or not to rule out SOF stack issue?pankhurijain20 commentedon Mar 25, 2025
Actually I dont have /etc/modprobe.d/force-legacy-hda.conf
ujfalusi commentedon Mar 25, 2025
yes, you need to create it, then when tested the speaker/headset remove it.
pankhurijain20 commentedon Mar 25, 2025
Still its not working
ujfalusi commentedon Mar 25, 2025
@pankhurijain20, thank you for testing, it looks like a codec configuration issue.
@KailangYang can you help?
KailangYang commentedon Mar 26, 2025
Codec register looks good.
We don't have the hardware info of this platform.
Maybe you can report to Lenovo or Ubuntu.