You are not logged in.

#1 2020-08-06 15:48:49

leou
Member
From: Westminster, CO
Registered: 2020-08-06
Posts: 8

[SOLVED] X1 Carbon Gen 8 - no sound after fresh install

Hello,
I am new to ArchLinux and to this forum. I wiped Windows and successfully installed ArchLinux but there is no sound at all. I searched the forum for possible solution but did not find any answers for X1 Carbon Gen 8.
Any help to resolve this issue would be much appreciated. Thanks!

$ uname -a
Linux leou-x1 5.7.12-arch1-1 #1 SMP PREEMPT Fri, 31 Jul 2020 17:38:22 +0000 x86_64 GNU/Linux

$ lspci
00:00.0 Host bridge: Intel Corporation Device 9b61 (rev 0c)
00:02.0 VGA compatible controller: Intel Corporation UHD Graphics (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 Comet Lake Thermal Subsytem
00:14.0 USB controller: Intel Corporation Device 02ed
00:14.2 RAM memory: Intel Corporation Device 02ef
00:14.3 Network controller: Intel Corporation Wireless-AC 9462
00:15.0 Serial bus controller [0c80]: Intel Corporation Serial IO I2C Host Controller
00:15.1 Serial bus controller [0c80]: Intel Corporation Device 02e9
00:16.0 Communication controller: Intel Corporation Comet Lake Management Engine Interface
00:1d.0 PCI bridge: Intel Corporation Device 02b0 (rev f0)
00:1d.4 PCI bridge: Intel Corporation Device 02b4 (rev f0)
00:1f.0 ISA bridge: Intel Corporation Device 0284
00:1f.3 Audio device: Intel Corporation Device 02c8
00:1f.4 SMBus: Intel Corporation Device 02a3
00:1f.5 Serial bus controller [0c80]: Intel Corporation Comet Lake SPI (flash) Controller
00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (10) I219-V
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)

Last edited by leou (2020-08-07 17:54:17)

Offline

#2 2020-08-06 17:32:10

oniontoothpaste
Member
Registered: 2020-08-06
Posts: 1

Re: [SOLVED] X1 Carbon Gen 8 - no sound after fresh install

Same here.
I tried lts kernel and it did work.
Also not working on hardened kernel.

Offline

#3 2020-08-06 19:23:03

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,252

Re: [SOLVED] X1 Carbon Gen 8 - no sound after fresh install

What's your outputs for

lspci -k
dmesg | grep -E 'snd|sof'

?

FWIW since more and more laptops pop up with this, and carbon is definitely a likely culprit, you will need to install the sof-firmware package for audio support.

Offline

#4 2020-08-06 20:13:54

leou
Member
From: Westminster, CO
Registered: 2020-08-06
Posts: 8

Re: [SOLVED] X1 Carbon Gen 8 - no sound after fresh install

Here's the output requested.

00:00.0 Host bridge: Intel Corporation Device 9b61 (rev 0c)
        Subsystem: Lenovo Device 22be
00:02.0 VGA compatible controller: Intel Corporation UHD Graphics (rev 02)
        Subsystem: Lenovo Device 22be
        Kernel driver in use: i915
        Kernel modules: i915
00:04.0 Signal processing controller: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem (rev 0c)
        Subsystem: Lenovo Device 22be
        Kernel driver in use: proc_thermal
        Kernel modules: processor_thermal_device
00:08.0 System peripheral: Intel Corporation Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th/8th Gen Core Processor Gaussian Mixture Model
        Subsystem: Lenovo Device 22be
00:12.0 Signal processing controller: Intel Corporation Comet Lake Thermal Subsytem
        Subsystem: Lenovo Device 22be
00:14.0 USB controller: Intel Corporation Device 02ed
        Subsystem: Lenovo Device 22be
        Kernel driver in use: xhci_hcd
        Kernel modules: xhci_pci
00:14.2 RAM memory: Intel Corporation Device 02ef
        Subsystem: Lenovo Device 22be
00:14.3 Network controller: Intel Corporation Wireless-AC 9462
        Subsystem: Intel Corporation Device 0070
        Kernel driver in use: iwlwifi
        Kernel modules: iwlwifi
00:15.0 Serial bus controller [0c80]: Intel Corporation Serial IO I2C Host Controller
        Subsystem: Lenovo Device 22be
        Kernel driver in use: intel-lpss
        Kernel modules: intel_lpss_pci
00:15.1 Serial bus controller [0c80]: Intel Corporation Device 02e9
        Subsystem: Lenovo Device 22be
        Kernel driver in use: intel-lpss
        Kernel modules: intel_lpss_pci
00:16.0 Communication controller: Intel Corporation Comet Lake Management Engine Interface
        Subsystem: Lenovo Device 22be
        Kernel driver in use: mei_me
        Kernel modules: mei_me
00:1d.0 PCI bridge: Intel Corporation Device 02b0 (rev f0)
        Kernel driver in use: pcieport
00:1d.4 PCI bridge: Intel Corporation Device 02b4 (rev f0)
        Kernel driver in use: pcieport
00:1f.0 ISA bridge: Intel Corporation Device 0284
        Subsystem: Lenovo Device 22be
00:1f.3 Audio device: Intel Corporation Device 02c8
        Subsystem: Lenovo Device 22be
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel, snd_sof_pci
00:1f.4 SMBus: Intel Corporation Device 02a3
        Subsystem: Lenovo Device 22be
        Kernel driver in use: i801_smbus
        Kernel modules: i2c_i801
00:1f.5 Serial bus controller [0c80]: Intel Corporation Comet Lake SPI (flash) Controller
        Subsystem: Lenovo Device 22be
        Kernel modules: intel_spi_pci
00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (10) I219-V
        Subsystem: Lenovo Device 22be
03:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller SM981/PM981/PM983
        Subsystem: Samsung Electronics Co Ltd Device a801
        Kernel driver in use: nvme
05:00.0 PCI bridge: Intel Corporation JHL6540 Thunderbolt 3 Bridge (C step) [Alpine Ridge 4C 2016] (rev 02)
        Kernel driver in use: pcieport
06:00.0 PCI bridge: Intel Corporation JHL6540 Thunderbolt 3 Bridge (C step) [Alpine Ridge 4C 2016] (rev 02)
        Kernel driver in use: pcieport
06:01.0 PCI bridge: Intel Corporation JHL6540 Thunderbolt 3 Bridge (C step) [Alpine Ridge 4C 2016] (rev 02)
        Kernel driver in use: pcieport
06:02.0 PCI bridge: Intel Corporation JHL6540 Thunderbolt 3 Bridge (C step) [Alpine Ridge 4C 2016] (rev 02)
        Kernel driver in use: pcieport
06:04.0 PCI bridge: Intel Corporation JHL6540 Thunderbolt 3 Bridge (C step) [Alpine Ridge 4C 2016] (rev 02)
        Kernel driver in use: pcieport
07:00.0 System peripheral: Intel Corporation JHL6540 Thunderbolt 3 NHI (C step) [Alpine Ridge 4C 2016] (rev 02)
        Subsystem: Lenovo Device 22be
        Kernel driver in use: thunderbolt
        Kernel modules: thunderbolt
2d:00.0 USB controller: Intel Corporation JHL6540 Thunderbolt 3 USB Controller (C step) [Alpine Ridge 4C 2016] (rev 02)
        Subsystem: Lenovo Device 22be
        Kernel driver in use: xhci_hcd
        Kernel modules: xhci_pci

and

[    1.056758] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
[    1.056760] software IO TLB: mapped [mem 0x61bca000-0x65bca000] (64MB)
[    2.928988] snd_hda_intel 0000:00:1f.3: enabling device (0004 -> 0006)
[    3.874480] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[    3.965972] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC285: line_outs=2 (0x14/0x17/0x0/0x0/0x0) type:speaker
[    3.965973] snd_hda_codec_realtek hdaudioC0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    3.965974] snd_hda_codec_realtek hdaudioC0D0:    hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[    3.965974] snd_hda_codec_realtek hdaudioC0D0:    mono: mono_out=0x0
[    3.965974] snd_hda_codec_realtek hdaudioC0D0:    inputs:
[    3.965975] snd_hda_codec_realtek hdaudioC0D0:      Mic=0x19

Offline

#5 2020-08-07 15:10:30

leou
Member
From: Westminster, CO
Registered: 2020-08-06
Posts: 8

Re: [SOLVED] X1 Carbon Gen 8 - no sound after fresh install

I had installed linux-lts kernel to see if audio would work with it.
The results I posted above are with linux-lts running, but audio still
does not work so I went back to the previously running kernel.

The results are different. I'm re-posting the results with the
currently running kernel 5.7.12-arch1-1. The linux-lts kernel uses
'snd_hda_intel' and current linux kernel uses 'sof-audio-pci'
Audio does not work with either one but 'sof-audio-pci' shows errors
in dmesg results.

Anything else I should try?

$ uname -r
5.7.12-arch1-1
$ dmesg | grep -E 'snd|sof'
[    0.875788] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
[    0.875790] software IO TLB: mapped [mem 0x61bca000-0x65bca000] (64MB)
[    2.272624] snd_hda_intel 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040380
[    2.272813] snd_hda_intel 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
[    2.476543] snd_soc_skl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040380
[    2.476725] snd_soc_skl 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
[    2.526239] sof-audio-pci 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040380
[    2.526398] sof-audio-pci 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
[    2.526406] sof-audio-pci 0000:00:1f.3: enabling device (0004 -> 0006)
[    2.526504] sof-audio-pci 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040380
[    3.528647] sof-audio-pci 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[    4.808963] sof-audio-pci 0000:00:1f.3: use msi interrupt mode
[    4.845179] sof-audio-pci 0000:00:1f.3: hda codecs found, mask 5
[    4.845181] sof-audio-pci 0000:00:1f.3: using HDA machine driver skl_hda_dsp_generic now
[    4.845381] sof-audio-pci 0000:00:1f.3: Direct firmware load for intel/sof/sof-cml.ri failed with error -2
[    4.845383] sof-audio-pci 0000:00:1f.3: error: request firmware intel/sof/sof-cml.ri failed err: -2
[    4.845383] sof-audio-pci 0000:00:1f.3: error: failed to load DSP firmware -2
[    4.850476] sof-audio-pci 0000:00:1f.3: error: sof_probe_work failed err: -2 

and

$ lspci -k
00:00.0 Host bridge: Intel Corporation Device 9b61 (rev 0c)
        Subsystem: Lenovo Device 22be
00:02.0 VGA compatible controller: Intel Corporation UHD Graphics (rev 02)
        Subsystem: Lenovo Device 22be
        Kernel driver in use: i915
        Kernel modules: i915
00:04.0 Signal processing controller: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsys
tem (rev 0c)
        Subsystem: Lenovo Device 22be
        Kernel driver in use: proc_thermal
        Kernel modules: processor_thermal_device
00:08.0 System peripheral: Intel Corporation Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th/8th Gen Core Processor Gaussian M
ixture Model
        Subsystem: Lenovo Device 22be
00:12.0 Signal processing controller: Intel Corporation Comet Lake Thermal Subsytem
        Subsystem: Lenovo Device 22be
00:14.0 USB controller: Intel Corporation Device 02ed
        Subsystem: Lenovo Device 22be
        Kernel driver in use: xhci_hcd
        Kernel modules: xhci_pci
00:14.2 RAM memory: Intel Corporation Device 02ef
        Subsystem: Lenovo Device 22be
00:14.3 Network controller: Intel Corporation Wireless-AC 9462
        Subsystem: Intel Corporation Device 0070
        Kernel driver in use: iwlwifi
        Kernel modules: iwlwifi
00:15.0 Serial bus controller [0c80]: Intel Corporation Serial IO I2C Host Controller
        Subsystem: Lenovo Device 22be
        Kernel driver in use: intel-lpss
        Kernel modules: intel_lpss_pci
00:15.1 Serial bus controller [0c80]: Intel Corporation Device 02e9
        Subsystem: Lenovo Device 22be
        Kernel driver in use: intel-lpss
        Kernel modules: intel_lpss_pci
00:16.0 Communication controller: Intel Corporation Comet Lake Management Engine Interface
        Subsystem: Lenovo Device 22be
        Kernel driver in use: mei_me
        Kernel modules: mei_me
00:1d.0 PCI bridge: Intel Corporation Device 02b0 (rev f0)
        Kernel driver in use: pcieport
00:1d.4 PCI bridge: Intel Corporation Device 02b4 (rev f0)
        Kernel driver in use: pcieport
00:1f.0 ISA bridge: Intel Corporation Device 0284
        Subsystem: Lenovo Device 22be
00:1f.3 Audio device: Intel Corporation Device 02c8
        Subsystem: Lenovo Device 22be
        Kernel driver in use: sof-audio-pci
        Kernel modules: snd_hda_intel, snd_soc_skl, snd_sof_pci
00:1f.4 SMBus: Intel Corporation Device 02a3
        Subsystem: Lenovo Device 22be
        Kernel driver in use: i801_smbus
        Kernel modules: i2c_i801
00:1f.5 Serial bus controller [0c80]: Intel Corporation Comet Lake SPI (flash) Controller
        Subsystem: Lenovo Device 22be
        Kernel driver in use: intel-spi
        Kernel modules: intel_spi_pci
00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (10) I219-V
        Subsystem: Lenovo Device 22be
        Kernel driver in use: e1000e
        Kernel modules: e1000e
03:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller SM981/PM981/PM983
        Subsystem: Samsung Electronics Co Ltd Device a801
        Kernel driver in use: nvme
05:00.0 PCI bridge: Intel Corporation JHL6540 Thunderbolt 3 Bridge (C step) [Alpine Ridge 4C 2016] (rev 02)
        Kernel driver in use: pcieport
06:00.0 PCI bridge: Intel Corporation JHL6540 Thunderbolt 3 Bridge (C step) [Alpine Ridge 4C 2016] (rev 02)
        Kernel driver in use: pcieport
06:01.0 PCI bridge: Intel Corporation JHL6540 Thunderbolt 3 Bridge (C step) [Alpine Ridge 4C 2016] (rev 02)
        Kernel driver in use: pcieport
06:02.0 PCI bridge: Intel Corporation JHL6540 Thunderbolt 3 Bridge (C step) [Alpine Ridge 4C 2016] (rev 02)
        Kernel driver in use: pcieport
06:04.0 PCI bridge: Intel Corporation JHL6540 Thunderbolt 3 Bridge (C step) [Alpine Ridge 4C 2016] (rev 02)
        Kernel driver in use: pcieport
07:00.0 System peripheral: Intel Corporation JHL6540 Thunderbolt 3 NHI (C step) [Alpine Ridge 4C 2016] (rev 02)
        Subsystem: Lenovo Device 22be
        Kernel driver in use: thunderbolt
        Kernel modules: thunderbolt
2d:00.0 USB controller: Intel Corporation JHL6540 Thunderbolt 3 USB Controller (C step) [Alpine Ridge 4C 2016] (rev 02)
        Subsystem: Lenovo Device 22be
        Kernel driver in use: xhci_hcd
        Kernel modules: xhci_pci

Offline

#6 2020-08-07 15:28:29

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,252

Re: [SOLVED] X1 Carbon Gen 8 - no sound after fresh install

Yes, as mentioned install sof-firmware if that's the output with sof-firmware installed one other thing you can try is /etc/modprobe.d/dsp-fix.conf

options snd_intel_dspcfg dsp_driver=1

and reboot. But sof-firmwares have been working well so far as far as I've heard so installing that should probably work (... and be preferred)

Last edited by V1del (2020-08-07 15:29:27)

Offline

#7 2020-08-07 17:53:35

leou
Member
From: Westminster, CO
Registered: 2020-08-06
Posts: 8

Re: [SOLVED] X1 Carbon Gen 8 - no sound after fresh install

Thank you very much!
I installed sof-firmware and alsa-utils then ran alsamixer. I turned Master on,  increased the speaker volume and now sound works. Yay
After reboot, the settings were not saved so I ran 'sudo alsactl store' and settings are now kept in place.
I am running with non-lts kernel, using sof-audio-pci driver.
I'll mark this issue [SOLVED]

Offline

#8 2020-08-12 17:37:30

Siurius
Member
Registered: 2020-08-12
Posts: 1

Re: [SOLVED] X1 Carbon Gen 8 - no sound after fresh install

V1del wrote:

Yes, as mentioned install sof-firmware if that's the output with sof-firmware installed one other thing you can try is /etc/modprobe.d/dsp-fix.conf

options snd_intel_dspcfg dsp_driver=1

and reboot. But sof-firmwares have been working well so far as far as I've heard so installing that should probably work (... and be preferred)

I have the same problem with X1 Carbon Gen 8.
Your answer perfectly solved my problem. Many thanks!

Offline

#9 2020-12-11 07:43:50

romero
Member
Registered: 2020-12-11
Posts: 3

Re: [SOLVED] X1 Carbon Gen 8 - no sound after fresh install

I had the same problem X1 Carbon Gen 8 & your solution solved it. Thank you!

Offline

#10 2020-12-11 08:14:26

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,252

Re: [SOLVED] X1 Carbon Gen 8 - no sound after fresh install

Keep in mind that if you do opt for the fallback method via that modprobe config that you likely won't have mic support.

Offline

#11 2020-12-14 17:15:07

lgtegetege
Member
Registered: 2020-11-08
Posts: 36

Re: [SOLVED] X1 Carbon Gen 8 - no sound after fresh install

I had the same issue after the fresh install of arch, and as everyone said, sof firmware solved the issue, but i have to ask about the audio, my bass is underperforming a little bit, anybody of you have this issue?

Offline

#12 2023-03-12 13:17:36

indianrediff
Member
Registered: 2023-03-12
Posts: 1

Re: [SOLVED] X1 Carbon Gen 8 - no sound after fresh install

V1del wrote:

Yes, as mentioned install sof-firmware if that's the output with sof-firmware installed one other thing you can try is /etc/modprobe.d/dsp-fix.conf

options snd_intel_dspcfg dsp_driver=1

and reboot. But sof-firmwares have been working well so far as far as I've heard so installing that should probably work (... and be preferred)

I had the exact same issue with an X1 Carbon Gen 8 - no audio. I am on Ubuntu 22.04 LTS and the ONLY change I had to make was to
a) sudo touch /etc/modprobe.d/dsp-fix.conf
b) edit /etc/modprobe.d/dsp-fix.conf and add the line you had specified above

options snd_intel_dspcfg dsp_driver=1

Immediately upon rebooting, the audio card showed up magically in the Settings and audio worked!

Thank you so much!

P.S. Apologies for posting about another flavour of Linux - but I saw another link to this article from a Ubuntu forum, that generically said this page worked, but didn't specify exactly what the steps were.
Kindly let me know if this goes against the decorum of this forum and I'll gladly delete it.

Offline

Board footer

Powered by FluxBB