Debian

音頻錯誤:intel/sof/sof-cml.ri 的直接韌體載入失敗,錯誤 -2

  • April 2, 2022

請注意,這個問題是針對第**10 代 Intel ( Intel(R) Core(TM) i7-10710U)**的X1 Carbon 7th Gen。一些x1c7s有8代intel,會有不同的問題;lshw報告:

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

我的音頻不工作。我沒有收到任何聲音或設備檢測。在5.6.0-1-amd64核心上,我收到一堆錯誤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

似乎它正在嘗試載入一個不存在的文件,我沒有得到任何東西

locate intel/sof/sof-cml.ri

我也沒有在包裝中看到這個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

唯一顯示它的輸出源是虛擬的。是否可以使用在啟動時生成此日誌的 X1 Carbon 7th Edition 獲得正常聲音?

請注意,這適用於:

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

 unzip v1.6.zip
 cd sof-bin-1.6
 sudo SOF_VERSION=1.6 ./go.sh

然後你需要啟用它並設置配置文件,像這樣。

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

韌體現在位於韌體-sof-簽名包中:

apt install firmware-sof-signed

引用自:https://unix.stackexchange.com/questions/586914