2

Note this question is on the X1 Carbon 7th Gen with the 10th generation Intel (Intel(R) Core(TM) i7-10710U). Some of the x1c7s have 8th generation intel, and will have different problems; lshw reports:

00:1f.3 Audio device: Intel Corporation Device 02c8 (prog-if 80)

My audio isn't working. I'm not getting any sound or device detection. On the 5.6.0-1-amd64 kernel, I am getting a bunch of errors on sof-audio-pci

$ sudo dmesg | grep -i 'sof-audio-pci 0000:00:1f.3'
sof-audio-pci: DSP detected with PCI class/subclass/prog-if info 0x040380
sof-audio-pci: Digital mics found on Skylake+ platform, using SOF driver
sof-audio-pci: DSP detected with PCI class/subclass/prog-if 0x040380
sof-audio-pci: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
sof-audio-pci: use msi interrupt mode
sof-audio-pci: hda codecs found, mask 5
sof-audio-pci: using HDA machine driver skl_hda_dsp_generic now
sof-audio-pci: firmware: failed to load intel/sof/sof-cml.ri (-2)
sof-audio-pci: Direct firmware load for intel/sof/sof-cml.ri failed with error -2
sof-audio-pci: error: request firmware intel/sof/sof-cml.ri failed err: -2
sof-audio-pci: error: failed to load DSP firmware -2
sof-audio-pci: error: sof_probe_work failed err: -2

Seems it's trying to load a file that doesn't exist, I don't get anything with

locate intel/sof/sof-cml.ri

I also don't see this in the package firmware-intel-sound,

➜  ~ apt-file show firmware-intel-sound
firmware-intel-sound: /lib/firmware/intel/IntcSST2.bin
firmware-intel-sound: /lib/firmware/intel/dsp_fw_bxtn.bin
firmware-intel-sound: /lib/firmware/intel/dsp_fw_bxtn_v3366.bin
firmware-intel-sound: /lib/firmware/intel/dsp_fw_cnl.bin
firmware-intel-sound: /lib/firmware/intel/dsp_fw_cnl_v1858.bin
firmware-intel-sound: /lib/firmware/intel/dsp_fw_glk.bin
firmware-intel-sound: /lib/firmware/intel/dsp_fw_glk_v3366.bin
firmware-intel-sound: /lib/firmware/intel/dsp_fw_kbl.bin
firmware-intel-sound: /lib/firmware/intel/dsp_fw_kbl_v3402.bin
firmware-intel-sound: /lib/firmware/intel/dsp_fw_kbl_v3420.bin
firmware-intel-sound: /lib/firmware/intel/dsp_fw_release.bin
firmware-intel-sound: /lib/firmware/intel/dsp_fw_release_v3402.bin
firmware-intel-sound: /lib/firmware/intel/fw_sst_0f28.bin
firmware-intel-sound: /lib/firmware/intel/fw_sst_0f28.bin-48kHz_i2s_master
firmware-intel-sound: /lib/firmware/intel/fw_sst_22a8.bin
firmware-intel-sound: /usr/share/bug/firmware-intel-sound/presubj
firmware-intel-sound: /usr/share/doc/firmware-intel-sound/changelog.Debian.gz
firmware-intel-sound: /usr/share/doc/firmware-intel-sound/copyright
firmware-intel-sound: /usr/share/metainfo/firmware-intel-sound.metainfo.xml

The only output source that shows it the dummy one. Is it possible to get functioning sound with an X1 Carbon 7th Edition that generates this log on boot?

2
  • All your statements are correct (as far as I can see). So what is you question? – bey0nd May 15 '20 at 22:41
  • 1
    @bey0nd "I'm dying doctor." ... "All your statements are correct (as far as I can see). So what is you question?" >> what do I have to do to get it to work clearly – Evan Carroll May 15 '20 at 22:45
5

Note this works with:

lspci -nn | grep -i audio
Audio device [0403]: Intel Corporation Device [8086:02c8]

Then you need to enable it and set the profile, like this.

pacmd set-card-profile alsa_card.pci-0000_00_1f.3-platform-skl_hda_dsp_generic HiFi
3

You're probably using Debian unstable. Recent versions of the Linux kernel (5.5 and newer) have adjusted the sound driver so that it requires firmware whereas it did not before, which is a bug. However, Debian has not packaged the firmware yet and the firmware package is known to be behind. Pulling the firmware from Ubuntu's packages doesn't work because it has an ABI mismatch with the Debian kernel and loading it anyway causes hangs.

You'll need to downgrade to Linux 5.4, convince the Debian developers to fix one of those two bugs, send a patch to Linux to make the driver not fail when it's missing firmware, or use an alternate sound card (e.g., via a Thunderbolt dock).

2
1

The firmware is now in the firmware-sof-signed package:

apt install firmware-sof-signed
1
  • On centos I used alsa-sof-firmware. After a few failed attempts to find a solution it ended up being so simple! – ficuscr Feb 7 at 23:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.