SteveT
December 17, 2019, 3:23am
1
I installed Clear Linux yesterday on a new Acer Swift laptop with the Intel i7-1065G7 and Iris
Plus. This light laptop should be of interest to developers who also travel. Everything I’ve
checked works except for sound.
A file on devices I printed before doing the default “descructive installation” of Clear Linux
lists
Name Intel® Smart Sound Technology (Intel® SST)
Manufacturer Intel® Corporation
Status OK
PNP Device ID INTELAUDIO\CTLR_DEV_34C8&LINKTYPE_02&DEVTYPE_01&VEN_8086&DEV_AE20&SUBSYS_102513
6F&REV_0001\5&19748952&0&0100
dmesg in Clear Linux includes:
1.180854] sof-audio-pci 0000:00:1f.3: No ASoC machine driver found - using nocodec
[ 1.181100] sof-audio-pci 0000:00:1f.3: Direct firmware load for intel/sof/sof-icl.ri failed
with error -2
[ 1.181104] sof-audio-pci 0000:00:1f.3: error: request firmware intel/sof/sof-icl.ri failed
err: -2
[ 1.182531] sof-audio-pci 0000:00:1f.3: error: failed to load DSP firmware -2
[ 1.183894] sof-audio-pci 0000:00:1f.3: error: failed to probe DSP hardware!
Let me know where I might find advice with this. I’ve searched and not found much.
Any suggestions on this will be appreciated.
ahkok
December 17, 2019, 5:09am
2
The firmware loading failed. I’ll try tomorrow to track down what the status of it is.
SteveT
December 17, 2019, 2:42pm
3
Thank you for looking into this.
ahkok
Clear Linux OS Team
December 17
SteveT:
I installed Clear Linux yesterday on a new Acer Swift laptop with the Intel i7-1065G7 and Iris
Plus. This light laptop should be of
The firmware loading failed. I’ll try tomorrow to track down what the status of it is.
ahkok
December 17, 2019, 7:13pm
4
SteveT:
intel/sof/sof-icl.ri
It appears these firmware files are being published over here:
Can you try to install these into /etc/firmware/intel/sof
and see if they work?
SteveT
December 17, 2019, 9:12pm
5
Let me know if I am on the right track here. The SOF project lists six files plus the source code.
This page
https://www.alsa-project.org/wiki/Firmware
has instructions for compiling. They assume a distribution like ubuntu. I have most of the dependencies they mention through the bundles i have installed with swupd. I don’t find a bundle with libtool-bin libncurses5-dev, though I have libtool and libncurses. Am I making this more complicated than it needs to be?
ahkok
December 17, 2019, 9:27pm
6
You would just download the files your system needs - hint: they were listed in your log output!
SteveT
December 17, 2019, 10:34pm
7
So I created the directory and copied the one file to it and made a link without the version name:
$ ls -l /etc/firmware/intel/sof/
rwxrwxrwx 1 root root 17 Dec 17 14:10 sof-icl.ri -> sof-icl-v1.4.1.ri
-rw-r–r-- 1 root root 286720 Dec 17 13:40 sof-icl-v1.4.1.ri
After restart:
$ sudo dmesg | grep -i audio
Password:
[ 1.178133] calling sof_nocodec_audio_init+0x0/0x1000 [snd_sof_nocodec] @ 402
[ 1.178164] initcall sof_nocodec_audio_init+0x0/0x1000 [snd_sof_nocodec] returned 0 after 27 usecs
[ 1.185193] sof-audio-pci 0000:00:1f.3: warning: No matching ASoC machine driver found
[ 1.185195] sof-audio-pci 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100
[ 1.185422] sof-audio-pci 0000:00:1f.3: use msi interrupt mode
[ 1.189975] sof-audio-pci 0000:00:1f.3: No ASoC machine driver found - using nocodec
[ 1.192338] sof-audio-pci 0000:00:1f.3: unexpected ipc interrupt raised!
[ 1.192340] sof-audio-pci 0000:00:1f.3: error: no reply expected, received 0x0
[ 1.280326] sof-audio-pci 0000:00:1f.3: Firmware info: version 1:1:0-fcf6c
[ 1.280327] sof-audio-pci 0000:00:1f.3: Firmware: ABI 3:11:0 Kernel ABI 3:10:0
[ 1.280328] sof-audio-pci 0000:00:1f.3: error: FW ABI is more recent than kernel
[ 1.281568] sof-audio-pci 0000:00:1f.3: error: ABI mismatch -22
[ 3.306719] sof-audio-pci 0000:00:1f.3: error: firmware boot failure
[ 3.313852] sof-audio-pci 0000:00:1f.3: status: fw entered - code 00000005
[ 3.321579] sof-audio-pci 0000:00:1f.3: error: status = 0x00000000 panic = 0x00004000
[ 3.330360] sof-audio-pci 0000:00:1f.3: status: fw entered - code 00000005
[ 3.338067] sof-audio-pci 0000:00:1f.3: error: failed to boot DSP firmware -5
[ 3.346799] sof-audio-pci 0000:00:1f.3: error: failed to probe DSP hardware!
[ 3.358187] sof-audio-pci: probe of 0000:00:1f.3 failed with error -5
ahkok
December 18, 2019, 12:20am
8
That seems to suggest you need an older firmare file (from the same project)
SteveT
December 18, 2019, 1:31am
9
On the page for sof version 1.3 there are three similar driver. One has “signed-intel” which I’ve used here, still fails:
$ sudo dmesg | grep -i audio
Password:
[ 1.178283] calling sof_nocodec_audio_init+0x0/0x1000 [snd_sof_nocodec] @ 399
[ 1.178315] initcall sof_nocodec_audio_init+0x0/0x1000 [snd_sof_nocodec] returned 0 after 28 usecs
[ 1.187724] sof-audio-pci 0000:00:1f.3: warning: No matching ASoC machine driver found
[ 1.187727] sof-audio-pci 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100
[ 1.187940] sof-audio-pci 0000:00:1f.3: use msi interrupt mode
[ 1.206557] sof-audio-pci 0000:00:1f.3: No ASoC machine driver found - using nocodec
[ 1.208132] sof-audio-pci 0000:00:1f.3: unexpected ipc interrupt raised!
[ 1.208133] sof-audio-pci 0000:00:1f.3: error: no reply expected, received 0x0
[ 4.265661] sof-audio-pci 0000:00:1f.3: error: load fw failed ret: -110
[ 4.273089] sof-audio-pci 0000:00:1f.3: error: status = 0x0000002c panic = 0x00000000
[ 4.281825] sof-audio-pci 0000:00:1f.3: error: failed to reset DSP
[ 4.288807] sof-audio-pci 0000:00:1f.3: error: failed to boot DSP firmware -110
[ 4.347214] sof-audio-pci 0000:00:1f.3: error: reset enter failed: core_mask f adspcs 0x1d003c
[ 4.356824] sof-audio-pci 0000:00:1f.3: error: dsp core reset failed: core_mask f
[ 4.365458] sof-audio-pci 0000:00:1f.3: error: failed to probe DSP hardware!
[ 4.373556] sof-audio-pci: probe of 0000:00:1f.3 failed with error -110
skt@puma~ $
/etc/firmware/intel/sof $ ln -s sof-icl-signed-intel.ri sof-icl.ri
sof-icl-gcc.ri 168 KB
sof-icl-signed-intel.ri 272 KB
sof-icl-unsigned.ri 272 KB
1 Like
SteveT
December 18, 2019, 1:50am
10
I tried the other two similar modules with sof version 1.3. They all said about the same thing, ending with
sof-audio-pci: probe of 0000:00:1f.3 failed with error -110
Sorry about the format on the last one. I thought I had done it exactly the same as the early one.
FWIW, I have the same issue on an HP Spectre 360 (model 13-aw0013dx). Seems that the i7-1065G7 isn’t quite supported yet.
Snippet from dmesg:
[ 2.516272] sof-audio-pci 0000:00:1f.3: Direct firmware load for intel/sof/sof-icl.ri failed with error -2
[ 2.516274] sof-audio-pci 0000:00:1f.3: error: request firmware intel/sof/sof-icl.ri failed err: -2
[ 2.516593] sof-audio-pci 0000:00:1f.3: error: failed to load DSP firmware -2
I have the same issue on a Lenovo yoga C940 i7-1065G7 CPU :
[ 26.334232] sof-audio-pci 0000:00:1f.3: warning: No matching ASoC machine driver found
[ 26.334233] sof-audio-pci 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100
[ 26.334363] sof-audio-pci 0000:00:1f.3: use msi interrupt mode
[ 26.339444] sof-audio-pci 0000:00:1f.3: No ASoC machine driver found - using nocodec
[ 26.339888] sof-audio-pci 0000:00:1f.3: Direct firmware load for intel/sof/sof-icl.ri failed with error -2
[ 26.339891] sof-audio-pci 0000:00:1f.3: error: request firmware intel/sof/sof-icl.ri failed err: -2
[ 26.340753] sof-audio-pci 0000:00:1f.3: error: failed to load DSP firmware -2
[ 26.342040] sof-audio-pci 0000:00:1f.3: error: failed to probe DSP hardware!
There is an open issue here:
opened 07:40PM - 24 Nov 19 UTC
closed 10:00AM - 11 Feb 20 UTC
bug
P1
ICL
Boot
status = 0x0000002c
The user cannot load signed firmware v1.3:
<pre>
[ 4.286091] sof-audio-pc… i 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
[ 4.286213] sof-audio-pci 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
[ 4.286225] sof-audio-pci 0000:00:1f.3: enabling device (0000 -> 0002)
[ 4.286412] sof-audio-pci 0000:00:1f.3: warning: No matching ASoC machine driver found
[ 4.286418] sof-audio-pci 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100
[ 4.286546] sof-audio-pci 0000:00:1f.3: use msi interrupt mode
[ 4.286737] sof-audio-pci 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[ 4.290985] sof-audio-pci 0000:00:1f.3: hda codecs found, mask 5
[ 4.290986] sof-audio-pci 0000:00:1f.3: using HDA machine driver skl_hda_dsp_generic now
[ 5.328957] sof-audio-pci 0000:00:1f.3: error: codec #2 probe error, ret: -5
[ 5.331010] sof-audio-pci 0000:00:1f.3: unexpected ipc interrupt raised!
[ 5.331014] sof-audio-pci 0000:00:1f.3: error: no reply expected, received 0x0
[ 8.399958] sof-audio-pci 0000:00:1f.3: error: cl_copy_fw: timeout HDA_DSP_SRAM_REG_ROM_STATUS read
[ 8.400470] sof-audio-pci 0000:00:1f.3: error: load fw failed ret: -110
[ 8.400490] sof-audio-pci 0000:00:1f.3: error: status = 0x0000002c panic = 0x00000000
[ 8.400496] sof-audio-pci 0000:00:1f.3: error: failed to reset DSP
[ 8.400497] sof-audio-pci 0000:00:1f.3: error: failed to boot DSP firmware -110
[ 8.400498] sof-audio-pci 0000:00:1f.3: error: sof_probe_work failed err: -110
00:1f.3 Multimedia audio controller: Intel Corporation Device 34c8 (rev 30)
Subsystem: Lenovo Device 382e
</pre>
https://bugzilla.redhat.com/show_bug.cgi?id=1772498
I managed to find a way to fix this until it is patched:
Create this file: /etc/kernel/cmdline.d/snd.conf
With this content:
snd_hda_intel.dmic_detect=0
Then run
sudo clr-boot-manager update
This will disable mic detection in your kernel at boot time.
After a reboot should be present in:
cat /proc/cmdline
You should have sound output.
3 Likes
ahrar
January 23, 2020, 5:43am
16
this worked for me but I got random flickers.
what I end up doing was to install the “kernel-native-current” and then switch to the installed kernel :
sudo swupd bundle-add kernel-native-current
sudo clr-boot-manager list-kernels
org.clearlinux.native.5.4.13-895
org.clearlinux.current.5.3.1-11
to set kernel :
sudo clr-boot-manager set-kernel org.clearlinux.current.5.3.1-11
kernel 5.3.1 works very well no flicker, got sound and better graphical benchmarks.
1 Like
dezza
February 23, 2020, 10:02am
17
Sorry to hijack.
Steve I have the same laptop. Does the microphone and touchscreen work for you?