Linux - Hardware This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
05-16-2022, 04:26 AM
|
#1
|
LQ Newbie
Registered: Feb 2021
Posts: 10
Rep:
|
No sound on Lenovo Thinpad X1 gen 7
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
Code:
root@hawkeye:~:>$lspci
00:00.0 Host bridge: Intel Corporation Coffee Lake HOST and DRAM Controller (rev 0c)
00:02.0 VGA compatible controller: Intel Corporation WhiskeyLake-U GT2 [UHD Graphics 620] (rev 02)
00:04.0 Signal processing controller: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem (rev 0c)
00:08.0 System peripheral: Intel Corporation Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th/8th Gen Core Processor Gaussian Mixture Model
00:12.0 Signal processing controller: Intel Corporation Cannon Point-LP Thermal Controller (rev 11)
00:14.0 USB controller: Intel Corporation Cannon Point-LP USB 3.1 xHCI Controller (rev 11)
00:14.2 RAM memory: Intel Corporation Cannon Point-LP Shared SRAM (rev 11)
00:14.3 Network controller: Intel Corporation Cannon Point-LP CNVi [Wireless-AC] (rev 11)
00:15.0 Serial bus controller: Intel Corporation Cannon Point-LP Serial IO I2C Controller #0 (rev 11)
00:15.1 Serial bus controller: Intel Corporation Cannon Point-LP Serial IO I2C Controller #1 (rev 11)
00:16.0 Communication controller: Intel Corporation Cannon Point-LP MEI Controller #1 (rev 11)
00:16.3 Serial controller: Intel Corporation Cannon Point-LP Keyboard and Text (KT) Redirection (rev 11)
00:1d.0 PCI bridge: Intel Corporation Cannon Point-LP PCI Express Root Port #9 (rev f1)
00:1d.4 PCI bridge: Intel Corporation Cannon Point-LP PCI Express Root Port #13 (rev f1)
00:1f.0 ISA bridge: Intel Corporation Cannon Point-LP LPC Controller (rev 11)
00:1f.3 Audio device: Intel Corporation Cannon Point-LP High Definition Audio Controller (rev 11)
00:1f.4 SMBus: Intel Corporation Cannon Point-LP SMBus Controller (rev 11)
00:1f.5 Serial bus controller: Intel Corporation Cannon Point-LP SPI Controller (rev 11)
00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (6) I219-LM (rev 11)
03:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller SM981/PM981/PM983
05:00.0 PCI bridge: Intel Corporation JHL6540 Thunderbolt 3 Bridge (C step) [Alpine Ridge 4C 2016] (rev 02)
06:00.0 PCI bridge: Intel Corporation JHL6540 Thunderbolt 3 Bridge (C step) [Alpine Ridge 4C 2016] (rev 02)
06:01.0 PCI bridge: Intel Corporation JHL6540 Thunderbolt 3 Bridge (C step) [Alpine Ridge 4C 2016] (rev 02)
06:02.0 PCI bridge: Intel Corporation JHL6540 Thunderbolt 3 Bridge (C step) [Alpine Ridge 4C 2016] (rev 02)
06:04.0 PCI bridge: Intel Corporation JHL6540 Thunderbolt 3 Bridge (C step) [Alpine Ridge 4C 2016] (rev 02)
07:00.0 System peripheral: Intel Corporation JHL6540 Thunderbolt 3 NHI (C step) [Alpine Ridge 4C 2016] (rev 02)
2d:00.0 USB controller: Intel Corporation JHL6540 Thunderbolt 3 USB Controller (C step) [Alpine Ridge 4C 2016] (rev 02)
Code:
root@hawkeye:~:>$lsmod |grep snd
snd_hda_codec_hdmi 69632 0
snd_hda_codec_realtek 155648 0
snd_hda_codec_generic 90112 1 snd_hda_codec_realtek
snd_soc_dmic 16384 0
snd_sof_pci_intel_cnl 16384 0
snd_sof_intel_hda_common 86016 1 snd_sof_pci_intel_cnl
soundwire_intel 40960 1 snd_sof_intel_hda_common
snd_sof_intel_hda 16384 1 snd_sof_intel_hda_common
snd_sof_pci 16384 2 snd_sof_intel_hda_common,snd_sof_pci_intel_cnl
snd_sof_xtensa_dsp 16384 1 snd_sof_intel_hda_common
snd_sof 122880 2 snd_sof_pci,snd_sof_intel_hda_common
snd_soc_skl 147456 0
snd_soc_hdac_hda 20480 2 snd_sof_intel_hda_common,snd_soc_skl
snd_hda_ext_core 32768 4 snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_soc_skl,snd_sof_intel_hda
snd_soc_sst_ipc 16384 1 snd_soc_skl
snd_soc_sst_dsp 36864 1 snd_soc_skl
snd_soc_acpi_intel_match 57344 3 snd_sof_intel_hda_common,snd_soc_skl,snd_sof_pci_intel_cnl
snd_soc_acpi 16384 3 snd_soc_acpi_intel_match,snd_sof_intel_hda_common,snd_soc_skl
snd_soc_core 315392 6 soundwire_intel,snd_sof,snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_soc_skl,snd_soc_dmic
snd_compress 20480 1 snd_soc_core
snd_pcm_dmaengine 16384 1 snd_soc_core
ac97_bus 16384 1 snd_soc_core
snd_hda_intel 57344 0
snd_intel_dspcfg 24576 3 snd_hda_intel,snd_sof_intel_hda_common,snd_soc_skl
snd_intel_sdw_acpi 16384 2 snd_sof_intel_hda_common,snd_intel_dspcfg
snd_hda_codec 163840 5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek,snd_soc_hdac_hda
snd_hda_core 106496 10 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_hda_codec_realtek,snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_soc_skl,snd_sof_intel_hda
snd_hwdep 16384 1 snd_hda_codec
snd_pcm 139264 11 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,soundwire_intel,snd_sof,snd_sof_intel_hda_common,snd_compress,snd_soc_core,snd_soc_skl,snd_hda_core,snd_pcm_dmaengine
snd_timer 36864 1 snd_pcm
ledtrig_audio 16384 3 snd_hda_codec_generic,snd_sof,thinkpad_acpi
snd 106496 11 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_compress,thinkpad_acpi,snd_soc_core,snd_pcm
soundcore 16384 1 sn
Code:
root@hawkeye:~:>$cat /etc/asound.conf
# ALSA system-wide config file
# By default, redirect to PulseAudio:
pcm.default pulse
ctl.default pulse
Code:
root@hawkeye:~:>$ls -al /proc/asound/
total 0
dr-xr-xr-x 11 root root 0 May 15 14:59 ./
dr-xr-xr-x 258 root root 0 May 15 14:50 ../
-r--r--r-- 1 root root 0 May 15 14:59 cards
-r--r--r-- 1 root root 0 May 15 14:59 devices
-r--r--r-- 1 root root 0 May 15 14:59 hwdep
-r--r--r-- 1 root root 0 May 15 14:59 modules
dr-xr-xr-x 4 root root 0 May 15 14:59 oss/
-r--r--r-- 1 root root 0 May 15 14:59 pcm
dr-xr-xr-x 2 root root 0 May 15 14:59 seq/
-r--r--r-- 1 root root 0 May 15 14:59 timers
-r--r--r-- 1 root root 0 May 15 14:59 version
Code:
root@hawkeye:~:>$cat /proc/asound/cards
--- no soundcards ---
root@hawkeye:~:>$cat /proc/asound/devices
33: : timer
root@hawkeye:~:>$cat /proc/asound/hwdep
root@hawkeye:~:>$cat /proc/asound/modules
root@hawkeye:~:>$cat /proc/asound/oss/
devices sndstat
root@hawkeye:~:>$cat /proc/asound/oss/devices
Last edited by slackmund; 05-17-2022 at 03:02 AM.
|
|
|
05-16-2022, 06:44 AM
|
#2
|
LQ Guru
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,542
|
Hello slackmund & welcome to LQ.
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
Last edited by business_kid; 05-16-2022 at 06:46 AM.
|
|
1 members found this post helpful.
|
05-17-2022, 03:34 PM
|
#3
|
LQ Newbie
Registered: Feb 2021
Posts: 10
Original Poster
Rep:
|
Quote:
Originally Posted by business_kid
Hello slackmund & welcome to LQ.
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
Code:
git clone https://github.com/thesofproject/sof-bin/
That gave me a folder named sof-bin
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 
Last edited by slackmund; 05-19-2022 at 04:30 PM.
|
|
|
05-18-2022, 06:18 AM
|
#4
|
LQ Guru
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,542
|
Sorry - I'm clear as mud sometimes. Linux is a learning curve, steep at the outset.
Now mark this thread solved, so folks who search the threads can find your solution. It's on your screen near the top or under 'thread tools.'
|
|
|
All times are GMT -5. The time now is 01:23 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|