Bugzilla (bugzilla.redhat.com) will be under maintenance for infrastructure upgrades and will not be available on July 31st between 12:30 AM - 05:30 AM UTC. We appreciate your understanding and patience. You can follow status.redhat.com for details.
Bug 1812964 - No audio Thinkpad X1 Carbon Gen 7 (sof-cml.ri missing?)
Summary: No audio Thinkpad X1 Carbon Gen 7 (sof-cml.ri missing?)
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: alsa-sof-firmware
Version: 32
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Jaroslav Kysela
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-03-12 15:21 UTC by Ben W
Modified: 2020-03-13 19:37 UTC (History)
1 user (show)

Fixed In Version: alsa-sof-firmware-1.4.2-4.fc32
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-03-13 19:37:24 UTC
Type: Bug


Attachments (Terms of Use)

Description Ben W 2020-03-12 15:21:09 UTC
Description of problem:

Booting F32 I have I have no audio. gnome shows only output as "Dummy Output" and nothing for inputs.


Version-Release number of selected component (if applicable):

> Thinkpad X11 Carbon Gen 7
> Kernel 5.6.0-0.rc4.git0.1.fc32.x86_64
> pulseaudio-13.99.1-1.fc32.x86_64
> alsa-firmware-1.2.1-7.fc32.noarch
> alsa-sof-firmware-1.4.2-3.fc32.noarch
> alsa-ucm-1.2.2-1.fc32.noarch


Actual results:

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


$ locate sof-cml  
/usr/lib/firmware/intel/sof-tplg-v1.4.2/sof-cml-demux-rt5682-max98357a.tplg
/usr/lib/firmware/intel/sof-tplg-v1.4.2/sof-cml-demux-rt5682.tplg
/usr/lib/firmware/intel/sof-tplg-v1.4.2/sof-cml-rt1011-rt5682.tplg
/usr/lib/firmware/intel/sof-tplg-v1.4.2/sof-cml-rt5682-kwd.tplg
/usr/lib/firmware/intel/sof-tplg-v1.4.2/sof-cml-rt5682-max98357a.tplg
/usr/lib/firmware/intel/sof-tplg-v1.4.2/sof-cml-rt5682.tplg
/usr/lib/firmware/intel/sof-tplg-v1.4.2/sof-cml-rt700.tplg
/usr/lib/firmware/intel/sof-tplg-v1.4.2/sof-cml-rt711-rt1308-mono-rt715.tplg
/usr/lib/firmware/intel/sof-tplg-v1.4.2/sof-cml-rt711-rt1308-rt715.tplg
/usr/lib/firmware/intel/sof-tplg-v1.4.2/sof-cml-src-rt5682.tplg


$ ls -la
total 12
drwxr-xr-x. 3 root root 4096 Mar 12 10:39 .
drwxr-xr-x. 5 root root 4096 Mar 12 10:39 ..
lrwxrwxrwx. 1 root root   37 Feb 24 06:13 sof-apl.ri -> v1.4.2/intel-signed/sof-apl-v1.4.2.ri
lrwxrwxrwx. 1 root root   24 Feb 24 06:13 sof-bdw.ri -> v1.4.2/sof-bdw-v1.4.2.ri
lrwxrwxrwx. 1 root root   24 Feb 24 06:13 sof-byt.ri -> v1.4.2/sof-byt-v1.4.2.ri
lrwxrwxrwx. 1 root root   24 Feb 24 06:13 sof-cht.ri -> v1.4.2/sof-cht-v1.4.2.ri
lrwxrwxrwx. 1 root root   37 Feb 24 06:13 sof-cnl.ri -> v1.4.2/intel-signed/sof-cnl-v1.4.2.ri
lrwxrwxrwx. 1 root root   37 Feb 24 06:13 sof-icl.ri -> v1.4.2/intel-signed/sof-icl-v1.4.2.ri
drwxr-xr-x. 4 root root 4096 Mar 12 10:39 v1.4.2


Expected results:

It seems sof-cml.ri is expected and should be included in alsa-sof-firmware?

Additional info:

Tried reinstalling alsa-sof-firmware (sudo dnf reinstall alsa-sof-firmware) with the same result

See also comments here:
https://bugzilla.redhat.com/show_bug.cgi?id=1772498#c224
and here:
https://bugzilla.redhat.com/show_bug.cgi?id=1811914#c10

Comment 1 Jaroslav Kysela 2020-03-12 17:01:23 UTC
Yes, it should be symlink to v1.4.2/intel-signed/sof-cnl-v1.4.2.ri . I'll add it.

Comment 2 Fedora Update System 2020-03-12 18:33:43 UTC
FEDORA-2020-0a7be7437f has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-0a7be7437f

Comment 3 Jaroslav Kysela 2020-03-12 18:35:20 UTC
Does the update fix this problem? Thank you for your feedback.

Comment 4 Ben W 2020-03-12 18:39:21 UTC
Confirmed: issue is resolved with symlink from sof-cml.ri to v1.4.2/intel-signed/sof-cnl-v1.4.2.ri
Thank you for your prompt response to the issue.

Comment 5 Jaroslav Kysela 2020-03-12 18:48:35 UTC
Could you test also package alsa-sof-firmware-1.4.2-4.fc32 ? (remove the manually created symlink as first)


https://koji.fedoraproject.org/koji/buildinfo?buildID=1477023

Comment 6 Ben W 2020-03-12 19:03:45 UTC
Removed the manually created symlink, installed package from koji, and symlink was recreated:

[bdw@bwx1l /usr/lib/firmware/intel/sof]$ ls -la
total 12
drwxr-xr-x. 3 root root 4096 Mar 12 14:53 .
drwxr-xr-x. 5 root root 4096 Mar 12 14:53 ..
lrwxrwxrwx. 1 root root   37 Feb 24 06:13 sof-apl.ri -> v1.4.2/intel-signed/sof-apl-v1.4.2.ri
lrwxrwxrwx. 1 root root   24 Feb 24 06:13 sof-bdw.ri -> v1.4.2/sof-bdw-v1.4.2.ri
lrwxrwxrwx. 1 root root   24 Feb 24 06:13 sof-byt.ri -> v1.4.2/sof-byt-v1.4.2.ri
lrwxrwxrwx. 1 root root   24 Feb 24 06:13 sof-cht.ri -> v1.4.2/sof-cht-v1.4.2.ri
lrwxrwxrwx. 1 root root   37 Mar 12 14:24 sof-cml.ri -> v1.4.2/intel-signed/sof-cnl-v1.4.2.ri
lrwxrwxrwx. 1 root root   37 Feb 24 06:13 sof-cnl.ri -> v1.4.2/intel-signed/sof-cnl-v1.4.2.ri
lrwxrwxrwx. 1 root root   37 Feb 24 06:13 sof-icl.ri -> v1.4.2/intel-signed/sof-icl-v1.4.2.ri
drwxr-xr-x. 4 root root 4096 Mar 12 14:53 v1.4.2

Rebooted to confirm and audio is still working as expected.

$ sudo dnf list installed alsa-sof-firmware-1.4.2-4.fc32.noarch 
Installed Packages
alsa-sof-firmware.noarch                                   1.4.2-4.fc32                                    @@commandline


$ dmesg | grep sof
[    1.704567] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
[    1.704570] software IO TLB: mapped [mem 0x616f0000-0x656f0000] (64MB)
[    1.864114] integrity: Loaded X.509 cert 'Microsoft Corporation UEFI CA 2011: 13adbf4309bd82709c8cd54f316ed522988a1bd4'
[    1.864124] integrity: Loaded X.509 cert 'Microsoft Windows Production PCA 2011: a92902398e16c49778cd90f99e4f9ae17c55af53'
[   14.200331] uvcvideo 1-8:1.2: Entity type for entity Microsoft Extended Controls Uni was not initialized!
[   14.459823] sof-audio-pci 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040380
[   14.459957] sof-audio-pci 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
[   14.460102] sof-audio-pci 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040380
[   14.460223] sof-audio-pci 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[   14.464981] sof-audio-pci 0000:00:1f.3: use msi interrupt mode
[   14.557035] sof-audio-pci 0000:00:1f.3: hda codecs found, mask 5
[   14.557036] sof-audio-pci 0000:00:1f.3: using HDA machine driver skl_hda_dsp_generic now
[   14.565670] sof-audio-pci 0000:00:1f.3: unexpected ipc interrupt raised!
[   14.565671] sof-audio-pci 0000:00:1f.3: error: no reply expected, received 0x0
[   14.665314] sof-audio-pci 0000:00:1f.3: Firmware info: version 1:4:2-66a5a
[   14.665315] sof-audio-pci 0000:00:1f.3: Firmware: ABI 3:11:0 Kernel ABI 3:12:0
[   14.665527] sof-audio-pci 0000:00:1f.3: firmware boot complete
[   15.352687] sof-audio-pci 0000:00:1f.3: Topology: ABI 3:11:0 Kernel ABI 3:12:0
[   15.352692] sof-audio-pci 0000:00:1f.3: warning: widget type 7 name iDisp3 Tx not handled
[   15.355088] sof-audio-pci 0000:00:1f.3: warning: widget type 0 name codec0_in not handled
[   15.355090] sof-audio-pci 0000:00:1f.3: warning: widget type 7 name iDisp2 Tx not handled
[   15.357482] sof-audio-pci 0000:00:1f.3: warning: widget type 0 name codec1_in not handled
[   15.357484] sof-audio-pci 0000:00:1f.3: warning: widget type 7 name iDisp1 Tx not handled
[   15.359452] sof-audio-pci 0000:00:1f.3: warning: widget type 1 name codec0_out not handled
[   15.359453] sof-audio-pci 0000:00:1f.3: warning: widget type 7 name Analog CPU Playback not handled
[   15.361703] sof-audio-pci 0000:00:1f.3: warning: widget type 1 name codec1_out not handled
[   15.361705] sof-audio-pci 0000:00:1f.3: warning: widget type 7 name Digital CPU Playback not handled
[   15.361706] sof-audio-pci 0000:00:1f.3: warning: widget type 0 name codec2_in not handled
[   15.361707] sof-audio-pci 0000:00:1f.3: warning: widget type 7 name Alt Analog CPU Playback not handled
[   15.361709] sof-audio-pci 0000:00:1f.3: warning: widget type 1 name codec2_out not handled
[   15.361711] sof-audio-pci 0000:00:1f.3: warning: widget type 0 name Analog CPU Capture not handled
[   15.363111] sof-audio-pci 0000:00:1f.3: warning: widget type 1 name iDisp1_out not handled
[   15.363113] sof-audio-pci 0000:00:1f.3: warning: widget type 0 name Digital CPU Capture not handled
[   15.364265] sof-audio-pci 0000:00:1f.3: warning: widget type 1 name iDisp2_out not handled
[   15.364266] sof-audio-pci 0000:00:1f.3: warning: widget type 0 name Alt Analog CPU Capture not handled
[   15.365415] sof-audio-pci 0000:00:1f.3: warning: widget type 1 name iDisp3_out not handled
[   15.376524] sof-audio-pci 0000:00:1f.3: ASoC: Parent card not yet available, widget card binding deferred
[   15.462418] input: sof-hda-dsp Mic as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input17
[   15.462528] input: sof-hda-dsp Headphone as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input18
[   15.462561] input: sof-hda-dsp HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input19
[   15.462588] input: sof-hda-dsp HDMI/DP,pcm=4 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input20
[   15.462617] input: sof-hda-dsp HDMI/DP,pcm=5 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input21


Thank you!

Comment 7 Fedora Update System 2020-03-13 18:33:15 UTC
alsa-firmware-1.2.1-7.fc32, alsa-sof-firmware-1.4.2-4.fc32 has been pushed to the Fedora 32 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-0a7be7437f

Comment 8 Fedora Update System 2020-03-13 19:37:24 UTC
alsa-firmware-1.2.1-7.fc32, alsa-sof-firmware-1.4.2-4.fc32 has been pushed to the Fedora 32 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.