Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Not sure is if this is suppose to go here, in Linux - Laptop & Notebooks or Linux - Slackware. Let me know if I'm posting to the wrong forum.
I'm having problem getting sound to work on this laptop. It's a fresh install of Slackware 15.0 and I'm booting the vmlinuz-huge-5.15.19 kernel.
I see this in dmesg... and think it is related to me not having sound. It directs me to a link for what I assume is drivers for my sound card ?? But that's where my knowledge stops. I have no clue if I'm suppose to install this, and from that URL I'm not understanding how to installed. Any help would be appreciated.
Code:
root@hawkeye:~:>$dmesg |grep audio
[ 6.099016] sof-audio-pci-intel-cnl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040380
[ 6.099595] sof-audio-pci-intel-cnl 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
[ 6.101767] sof-audio-pci-intel-cnl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040380
[ 6.110354] sof-audio-pci-intel-cnl 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[ 6.119274] sof-audio-pci-intel-cnl 0000:00:1f.3: use msi interrupt mode
[ 6.147756] sof-audio-pci-intel-cnl 0000:00:1f.3: hda codecs found, mask 5
[ 6.147777] sof-audio-pci-intel-cnl 0000:00:1f.3: using HDA machine driver skl_hda_dsp_generic now
[ 6.147798] sof-audio-pci-intel-cnl 0000:00:1f.3: DMICs detected in NHLT tables: 4
[ 6.147935] sof-audio-pci-intel-cnl 0000:00:1f.3: Direct firmware load for intel/sof/sof-cnl.ri failed with error -2
[ 6.147958] sof-audio-pci-intel-cnl 0000:00:1f.3: error: sof firmware file is missing, you might need to
[ 6.147977] sof-audio-pci-intel-cnl 0000:00:1f.3: download it from https://github.com/thesofproject/sof-bin/
[ 6.147998] sof-audio-pci-intel-cnl 0000:00:1f.3: error: failed to load DSP firmware -2
[ 6.160404] sof-audio-pci-intel-cnl 0000:00:1f.3: error: sof_probe_work failed err: -2
root@hawkeye:~:>$dmesg |grep snd
[ 6.010009] snd_hda_intel 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040380
[ 6.010023] snd_hda_intel 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
[ 6.049879] snd_soc_skl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040380
[ 6.049925] snd_soc_skl 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
Code:
user@hawkeye:~:>$uname -a
Linux hawkeye.LINUX 5.15.19 #1 SMP PREEMPT Wed Feb 2 01:50:51 CST 2022 x86_64 Intel(R) Core(TM) i5-8365U CPU @ 1.60GHz GenuineIntel GNU/Linux
Code:
user@hawkeye:~:>$aplay -l
aplay: device_list:274: no soundcards found...
user@hawkeye:~:>$aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
lavrate
Rate Converter Plugin Using Libav/FFmpeg Library
samplerate
Rate Converter Plugin Using Samplerate Library
speexrate
Rate Converter Plugin Using Speex Resampler
oss
Open Sound System
pulse
PulseAudio Sound Server
speex
Plugin using Speex DSP (resample, agc, denoise, echo, dereverb)
upmix
Plugin for channel upmix (4,6,8)
vdownmix
Plugin for channel downmix (stereo) with a simple spacialization
I'd fix the firmware error(s). That's a show stopper.
Try to download them from Intel. The first one would go in /lib/firmware/intel/sof/sof-cnl.ri
Thank you so much for the warm welcome and for the great help. It took me a while to figure out how to do what you said. But it was the solution in the end.
For any newbie users like me that follow this post to solve same problem. This is what I had to do.
First I needed to clone the git repo that was linked in my dmesg (https://github.com/thesofproject/sof-bin/) I made a folder on my disk and did this command inside it
Then I did the safety measures (backing up files) mention inside the sof-bin/README.md
I then did the
Code:
sudo ./install.sh v2.1.x/v2.1.1
This gave me some new files inside /lib/firmware/intel/ I then rebooted. I'm not sure why but i got a kernel panic at first reboot. Was sure it all was foobar but did a hardboot and then it booted and I had sound. Amazing!
Thank again for the help and welcome. Happy first post here at LQ
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.