Bug 1180356

Summary: sof-firmware update to 1.6 breaks firmware detection
Product: [openSUSE] openSUSE Distribution Reporter: Ilya Bizyaev <bizyaev>
Component: SoundAssignee: Takashi Iwai <tiwai>
Status: RESOLVED DUPLICATE QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: Leap 15.2   
Target Milestone: ---   
Hardware: x86-64   
OS: openSUSE Leap 15.2   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Ilya Bizyaev 2020-12-25 11:30:01 UTC
After an update to sof-firmware 1.6 from multimedia:libs, I got the following errors in my dmesg:
```
sof-audio-pci 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
sof-audio-pci 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
sof-audio-pci 0000:00:1f.3: enabling device (0000 -> 0002)
sof-audio-pci 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100
sof-audio-pci 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
sof-audio-pci 0000:00:1f.3: use msi interrupt mode
sof-audio-pci 0000:00:1f.3: hda codecs found, mask 5
sof-audio-pci 0000:00:1f.3: using HDA machine driver skl_hda_dsp_generic now
sof-audio-pci 0000:00:1f.3: DMICs detected in NHLT tables: 2
sof-audio-pci 0000:00:1f.3: Firmware info: version 1:6:0-e9637
sof-audio-pci 0000:00:1f.3: Firmware: ABI 3:17:0 Kernel ABI 3:17:0
sof-audio-pci 0000:00:1f.3: Direct firmware load for intel/sof-tplg/sof-hda-generic-2ch.tplg failed with error -2
sof-audio-pci 0000:00:1f.3: error: tplg request firmware intel/sof-tplg/sof-hda-generic-2ch.tplg failed err: -2
sof-audio-pci 0000:00:1f.3: error: failed to load DSP topology -2
sof-audio-pci 0000:00:1f.3: ASoC: error at snd_soc_component_probe on 0000:00:1f.3: -2
sof-audio-pci 0000:00:1f.3: ASoC: failed to probe component -2
```

The file in questions exists in /lib/firmware/intel/sof-tplg-v1.5, but /lib/firmware/intel/sof-tplg was linked to /lib/firmware/intel/sof-tplg-v1.6.

As a workaround, I did:
$ sudo rm /lib/firmware/intel/sof-tplg
$ sudo ln -s /lib/firmware/intel/sof-tplg-v1.5 /lib/firmware/intel/sof-tplg

— which got me sound and microphone back.
Comment 1 Takashi Iwai 2020-12-26 07:55:33 UTC
A known issue.  As 1.6-rc3 was a short-lived package and basically only for TW, I keep it as is.  It can be fixed by simply uninstalling and reinstalling the new package.

*** This bug has been marked as a duplicate of bug 1180287 ***