Closed tokyovigilante closed 4 years ago
@tokyovigilante did you mean that you compiled the firmware yourself with GCC and using the community key? If yes, I don't think this can work. You'd have to use the 1.3 firmware signed with the Intel production key.
Thanks for the reply. That's correct, I just followed the build instructions. Is that signing process available to end users? [EDIT] I should say also using the xtensa-cnl-elf-gcc compiler built as per https://thesofproject.github.io/latest/getting_started/build-guide/build-from-scratch.html#build-cross-compiler
Unfortunately no. The OEM decides which keys are used. You can only sign your own firmware on 'open' platforms such as Up2 boards or Chromebooks based on GeminiLake or newer.
Also the issue is unlikely to be due to the firmware. The firmware only provides stereo to the HDaudio codec, and I would guess the split between tweeter/woofer is handled in the amplifier stages - outside of the chipset and it may be a codec configuration issue.
One way to test this hypothesis would be to use the legacy driver - by blacklisting snd-sof-pci and testing with the snd-hda-intel driver if the sound levels are acceptable. Disclaimer: playing with your hardware and sound levels may result in damaged speakers, use at your own risk, etc. Also the legacy driver will not support the capture over DMIC, so this is only to check the codec behavior.
Thanks for the clarification. That is a little disappointing, as it does detract from the open nature of the project if I'm unable to use it outside an OEM-provided build. Lenovo has provided one for the 5.3 kernel to be fair though.
However on rebooting to the current 5.3 release kernel provided by Fedora (Linux firebert 5.3.1-300.fc31.x86_64 #1 SMP Tue Sep 24 21:00:05 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux) without replacing my custom built firmware, the sound driver and firmware seem to be loaded fine and the sound does work as below:
[ 24.906671] sof-audio-pci 0000:00:1f.3: warning: No matching ASoC machine driver found
[ 24.906677] sof-audio-pci 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040380
[ 24.906831] sof-audio-pci 0000:00:1f.3: use msi interrupt mode
[ 24.912522] sof-audio-pci 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[ 24.917077] sof-audio-pci 0000:00:1f.3: hda codecs found, mask 5
[ 24.917079] sof-audio-pci 0000:00:1f.3: using HDA machine driver skl_hda_dsp_generic now
[ 24.944652] sof-audio-pci 0000:00:1f.3: unexpected ipc interrupt raised!
[ 24.944653] sof-audio-pci 0000:00:1f.3: error: no reply expected, received 0x0
[ 24.952787] HDMI HDA Codec ehdaudio0D2: Max dais supported: 3
[ 25.027456] sof-audio-pci 0000:00:1f.3: Firmware info: version 1:1:0-5dd9a
[ 25.027457] sof-audio-pci 0000:00:1f.3: Firmware: ABI 3:7:0 Kernel ABI 3:8:0
[ 25.027691] sof-audio-pci 0000:00:1f.3: firmware boot complete
[ 25.036126] skl_hda_dsp_generic skl_hda_dsp_generic: info: override FE DAI link iDisp1
[ 25.036127] skl_hda_dsp_generic skl_hda_dsp_generic: info: override FE DAI link iDisp2
[ 25.036127] skl_hda_dsp_generic skl_hda_dsp_generic: info: override FE DAI link iDisp3
[ 25.036128] skl_hda_dsp_generic skl_hda_dsp_generic: info: override FE DAI link Analog Playback and Capture
[ 25.036129] skl_hda_dsp_generic skl_hda_dsp_generic: info: override FE DAI link Digital Playback and Capture
[ 25.036129] skl_hda_dsp_generic skl_hda_dsp_generic: info: override FE DAI link dmic01
[ 25.036130] skl_hda_dsp_generic skl_hda_dsp_generic: info: override FE DAI link dmic16k
[ 25.037131] sof-audio-pci 0000:00:1f.3: Topology: ABI 3:7:0 Kernel ABI 3:8:0
[ 25.037134] sof-audio-pci 0000:00:1f.3: warning: widget type 7 name iDisp3 Tx not handled
[ 25.038150] sof-audio-pci 0000:00:1f.3: warning: widget type 0 name codec0_in not handled
[ 25.038153] sof-audio-pci 0000:00:1f.3: warning: widget type 7 name iDisp2 Tx not handled
[ 25.038960] sof-audio-pci 0000:00:1f.3: warning: widget type 0 name codec1_in not handled
[ 25.038961] sof-audio-pci 0000:00:1f.3: warning: widget type 7 name iDisp1 Tx not handled
[ 25.039826] sof-audio-pci 0000:00:1f.3: warning: widget type 1 name codec0_out not handled
[ 25.039828] sof-audio-pci 0000:00:1f.3: warning: widget type 7 name Analog CPU Playback not handled
[ 25.042369] sof-audio-pci 0000:00:1f.3: warning: widget type 1 name codec1_out not handled
[ 25.042370] sof-audio-pci 0000:00:1f.3: warning: widget type 7 name Digital CPU Playback not handled
[ 25.042372] sof-audio-pci 0000:00:1f.3: warning: widget type 0 name codec2_in not handled
[ 25.042373] sof-audio-pci 0000:00:1f.3: warning: widget type 7 name Alt Analog CPU Playback not handled
[ 25.042374] sof-audio-pci 0000:00:1f.3: warning: widget type 1 name codec2_out not handled
[ 25.042375] sof-audio-pci 0000:00:1f.3: warning: widget type 0 name Analog CPU Capture not handled
[ 25.043629] sof-audio-pci 0000:00:1f.3: warning: widget type 1 name iDisp1_out not handled
[ 25.043631] sof-audio-pci 0000:00:1f.3: warning: widget type 0 name Digital CPU Capture not handled
[ 25.044454] sof-audio-pci 0000:00:1f.3: warning: widget type 1 name iDisp2_out not handled
[ 25.044455] sof-audio-pci 0000:00:1f.3: warning: widget type 0 name Alt Analog CPU Capture not handled
[ 25.045479] sof-audio-pci 0000:00:1f.3: warning: widget type 1 name iDisp3_out not handled
[ 25.055732] sof-audio-pci 0000:00:1f.3: ASoC: Parent card not yet available, widget card binding deferred
[ 25.059532] HDMI HDA Codec ehdaudio0D2: hdac_hdmi_present_sense: disconnect for pin:port 5:0
[ 25.059635] HDMI HDA Codec ehdaudio0D2: hdac_hdmi_present_sense: disconnect for pin:port 6:0
[ 25.059740] HDMI HDA Codec ehdaudio0D2: hdac_hdmi_present_sense: disconnect for pin:port 7:0
[ 25.066489] snd_hda_codec_realtek ehdaudio0D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[ 25.066489] snd_hda_codec_realtek ehdaudio0D0: autoconfig for ALC285: line_outs=2 (0x14/0x17/0x0/0x0/0x0) type:speaker
[ 25.066490] snd_hda_codec_realtek ehdaudio0D0: hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[ 25.066491] snd_hda_codec_realtek ehdaudio0D0: inputs:
[ 25.066491] snd_hda_codec_realtek ehdaudio0D0: mono: mono_out=0x0
[ 25.066492] snd_hda_codec_realtek ehdaudio0D0: Mic=0x19
[ 25.103780] skl_hda_dsp_generic skl_hda_dsp_generic: intel-hdmi-hifi1 <-> iDisp1 Pin mapping ok
[ 25.103789] skl_hda_dsp_generic skl_hda_dsp_generic: intel-hdmi-hifi2 <-> iDisp2 Pin mapping ok
[ 25.103794] skl_hda_dsp_generic skl_hda_dsp_generic: intel-hdmi-hifi3 <-> iDisp3 Pin mapping ok
[ 25.103802] skl_hda_dsp_generic skl_hda_dsp_generic: Analog Codec DAI <-> Analog CPU DAI mapping ok
[ 25.104325] skl_hda_dsp_generic skl_hda_dsp_generic: Digital Codec DAI <-> Digital CPU DAI mapping ok
[ 25.104335] skl_hda_dsp_generic skl_hda_dsp_generic: dmic-hifi <-> DMIC01 Pin mapping ok
[ 25.104341] skl_hda_dsp_generic skl_hda_dsp_generic: dmic-hifi <-> DMIC16k Pin mapping ok
[ 25.104369] skl_hda_dsp_generic skl_hda_dsp_generic: snd-soc-dummy-dai <-> DMIC32 6 mapping ok
[ 25.104388] skl_hda_dsp_generic skl_hda_dsp_generic: snd-soc-dummy-dai <-> DMIC16 7 mapping ok
[ 25.104408] skl_hda_dsp_generic skl_hda_dsp_generic: snd-soc-dummy-dai <-> HDA Analog 0 mapping ok
[ 25.104428] skl_hda_dsp_generic skl_hda_dsp_generic: snd-soc-dummy-dai <-> HDA Digital 1 mapping ok
[ 25.104447] skl_hda_dsp_generic skl_hda_dsp_generic: snd-soc-dummy-dai <-> HDMI1 3 mapping ok
[ 25.104461] skl_hda_dsp_generic skl_hda_dsp_generic: snd-soc-dummy-dai <-> HDMI2 4 mapping ok
[ 25.104474] skl_hda_dsp_generic skl_hda_dsp_generic: snd-soc-dummy-dai <-> HDMI3 5 mapping ok
[ 25.105453] input: sof-skl_hda_card Mic as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input25
[ 25.105515] input: sof-skl_hda_card Headphone as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input26
[ 25.105549] input: sof-skl_hda_card HDMI/DP, pcm=11 Jack as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input27
[ 25.105583] input: sof-skl_hda_card HDMI/DP, pcm=12 Jack as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input28
[ 25.105924] input: sof-skl_hda_card HDMI/DP, pcm=13 Jack as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input29
[ 28.567102] sof-audio-pci 0000:00:1f.3: error: no reply expected, received 0x0
[ 28.667265] sof-audio-pci 0000:00:1f.3: firmware boot complete
[ 47.999306] HDMI HDA Codec ehdaudio0D2: No connections found for pin:port 7:0
[ 48.000014] HDMI HDA Codec ehdaudio0D2: No connections found for pin:port 6:0
[ 48.000661] HDMI HDA Codec ehdaudio0D2: No connections found for pin:port 5:0
[ 48.045764] HDMI HDA Codec ehdaudio0D2: No connections found for pin:port 7:0
[ 48.047284] HDMI HDA Codec ehdaudio0D2: No connections found for pin:port 5:0
[ 48.047451] HDMI HDA Codec ehdaudio0D2: No connections found for pin:port 6:0
[ 48.047618] HDMI HDA Codec ehdaudio0D2: No connections found for pin:port 7:0
[ 48.561355] HDMI HDA Codec ehdaudio0D2: No connections found for pin:port 6:0
[ 48.562758] HDMI HDA Codec ehdaudio0D2: No connections found for pin:port 5:0
[ 48.562927] HDMI HDA Codec ehdaudio0D2: No connections found for pin:port 6:0
[ 48.563090] HDMI HDA Codec ehdaudio0D2: No connections found for pin:port 7:0
[ 49.076023] HDMI HDA Codec ehdaudio0D2: No connections found for pin:port 5:0
[ 49.077323] HDMI HDA Codec ehdaudio0D2: No connections found for pin:port 5:0
[ 49.077485] HDMI HDA Codec ehdaudio0D2: No connections found for pin:port 6:0
[ 49.077652] HDMI HDA Codec ehdaudio0D2: No connections found for pin:port 7:0
I'll try your suggestions regarding the legacy HDA driver and possibly chase up the findings with lenovo.
On further review it seems you are correct and only signed firmware is able to be loaded on my ThinkPad. I have reverted to the signed 1.3 firmware and topology, but this is not compatible with the current sof-dev kernel branch (with the recent 5.4 rc1 merge) as follows:
Neither ALSA nor Pulseaudio detect the hardware. I assume this is due to incompatibilities with the SOF firmware v1.3 and the 5.4 kernel changes.
Going forward, would it be possible to host signed builds of RC versions (or better nightlies) of the firmware for the various desktop/laptop platforms?
yes we have plans to provide signed releases. I am not sure we can do signed nightly builds due to logistics, @lgirdwood would need to comment.
The problem you have is a bug on our side, we should be backwards compatible with the 1.3 firmware and topology even when updating the kernel. @ranj063 @kv2019i does the dmesg trace above ring a bell?
@xiulipan @wenqingfu as discussed we need to have a kernel CI test against 1.3 firmware and topology to catch problems with non-backwards compatible issues before they are reported by users.
Thanks again for the reply, that's good to know releases will be ongoing.
I should mention the above dmesg trace is after symlinking from sof-hda-generic.tplg
to sof-cnl-nocodec.tplg
. Lenovo provided only the sof-hda-generic.tplg
and without the symlink (but with the 1.3 firmware and the 5.4 kernel i get:
I think you have a config issue for your kernel, most likely you didn't select HDAudio support.
please make sure you have this enabled. CONFIG_SND_SOC_SOF_HDA_LINK=y CONFIG_SND_SOC_SOF_HDA_AUDIO_CODEC=y
I reviewed my config and those opions were indeed not present, however I could not find them even after running make oldconfig
with the standard Fedora config copied over, nor with make olddefconfig
. However they seemed to build after merging the relevent fragments from sof/kconfig
However I am still unable to load the 1.3 firmware/topology:
did you remove the symlink? It seems you are still using the nocodec mode? [ 33.537658] sof-audio-pci 0000:00:1f.3: loading topology:intel/sof-tplg/sof-cnl-nocodec.tplg
[ 46.321983] sof-audio-pci 0000:00:1f.3: loading topology:intel/sof-tplg/sof-cnl-nocodec.tplg
[ 46.322177] sof-audio-pci 0000:00:1f.3: Direct firmware load for intel/sof-tplg/sof-cnl-nocodec.tplg failed with error -2
[ 46.322178] sof-audio-pci 0000:00:1f.3: error: tplg request firmware intel/sof-tplg/sof-cnl-nocodec.tplg failed err: -2
[ 46.322179] sof-audio-pci 0000:00:1f.3: error: failed to load DSP topology -2
[ 46.322179] sof-audio-pci 0000:00:1f.3: ASoC: failed to probe component -2
[ 46.322184] sof-nocodec sof-nocodec: ASoC: failed to instantiate card -2
That's with the symlink removed, the only 1.3 topology file Lenovo is currently providing is sof-hda-generic.tplg
, so I assume those messages relate to the nocodec topology being absent, ie it doesn't seem to try to load the hda-generic topology in that case, whereas I presume it was on my 5.3 kernel. I did try the nocodec topology from my 1.4 build also, but that didn't work either, and gave me the following (100x of times):
[ 70.851717] sof-audio-pci 0000:00:1f.3: pcm: free stream 0 dir 0
[ 70.851789] sof-audio-pci 0000:00:1f.3: rate_min: 48000 rate_max: 48000
[ 70.851790] sof-audio-pci 0000:00:1f.3: channels_min: 2 channels_max: 2
[ 70.851791] sof-audio-pci 0000:00:1f.3: rate_min: 48000 rate_max: 48000
[ 70.851792] sof-audio-pci 0000:00:1f.3: channels_min: 2 channels_max: 2
[ 70.851793] sof-audio-pci 0000:00:1f.3: rate_min: 48000 rate_max: 48000
[ 70.851794] sof-audio-pci 0000:00:1f.3: channels_min: 2 channels_max: 2
[ 70.851795] sof-audio-pci 0000:00:1f.3: pcm: hw params stream 0 dir 0
[ 70.851796] sof-audio-pci 0000:00:1f.3: generating page table for 0000000034c382ab size 0xffc0 pages 16
[ 70.851801] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0x140000 successful
[ 70.851814] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0x40000 successful
[ 70.851816] sof-audio-pci 0000:00:1f.3: period_bytes:0x12c0
[ 70.851817] sof-audio-pci 0000:00:1f.3: periods:13
[ 70.851825] sof-audio-pci 0000:00:1f.3: stream_tag 1
[ 70.851828] sof-audio-pci 0000:00:1f.3: ipc tx: 0x60010000: GLB_STREAM_MSG: PCM_PARAMS
[ 70.851934] sof-audio-pci 0000:00:1f.3: error: ipc error for 0x60010000 size 20
[ 70.851935] sof-audio-pci 0000:00:1f.3: error: hw params ipc failed for stream 1
[ 70.851936] sof-audio-pci 0000:00:1f.3: ASoC: 0000:00:1f.3 hw params failed: -22
[ 70.851937] Port0: ASoC: hw_params FE failed -22
[ 70.851938] sof-audio-pci 0000:00:1f.3: pcm: free stream 0 dir 0
[ 70.852000] sof-audio-pci 0000:00:1f.3: rate_min: 48000 rate_max: 48000
[ 70.852001] sof-audio-pci 0000:00:1f.3: channels_min: 2 channels_max: 2
[ 70.852002] sof-audio-pci 0000:00:1f.3: rate_min: 48000 rate_max: 48000
[ 70.852003] sof-audio-pci 0000:00:1f.3: channels_min: 2 channels_max: 2
[ 70.852004] sof-audio-pci 0000:00:1f.3: rate_min: 48000 rate_max: 48000
[ 70.852004] sof-audio-pci 0000:00:1f.3: channels_min: 2 channels_max: 2
[ 70.852006] sof-audio-pci 0000:00:1f.3: pcm: hw params stream 0 dir 0
[ 70.852007] sof-audio-pci 0000:00:1f.3: generating page table for 0000000034c382ab size 0xffc0 pages 16
[ 70.852012] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0x140000 successful
[ 70.852024] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0x40000 successful
[ 70.852026] sof-audio-pci 0000:00:1f.3: period_bytes:0x1080
[ 70.852027] sof-audio-pci 0000:00:1f.3: periods:15
[ 70.852036] sof-audio-pci 0000:00:1f.3: stream_tag 1
[ 70.852039] sof-audio-pci 0000:00:1f.3: ipc tx: 0x60010000: GLB_STREAM_MSG: PCM_PARAMS
[ 70.852146] sof-audio-pci 0000:00:1f.3: error: ipc error for 0x60010000 size 20
[ 70.852147] sof-audio-pci 0000:00:1f.3: error: hw params ipc failed for stream 1
[ 70.852147] sof-audio-pci 0000:00:1f.3: ASoC: 0000:00:1f.3 hw params failed: -22
[ 70.852148] Port0: ASoC: hw_params FE failed -22
I appreciate none of these are likely to be supported configurations, but it would be nice to be able to run a 5.4 or devel kernel with the existing 1.3 firmware/topology. Thanks again for the attention.
@plbossart @mengdonglin We will try to add a matrix of test for daily test for CI: FW: release 1.3/1.4/master Kernel: sof-dev/linux/audio for-next Any other release version need to be tracked?
@xiulipan it'd be good if you can test integration/soundwire-latest with the SoundWire options enabled on older platforms w/o SoundWire, just to check if things work without any impact from the added SoundWire initializations/parsing. Just today I found a case I didn't manage on Up2 w/ hda-generic-idisp so it'd be quite good before going upstream. We should use the latest firmware there. It's a different problem from this issue #1885 really.
I think you have a config issue for your kernel, most likely you didn't select HDAudio support.
please make sure you have this enabled. CONFIG_SND_SOC_SOF_HDA_LINK=y CONFIG_SND_SOC_SOF_HDA_AUDIO_CODEC=y
I'm hitting a similar looking problem on Ubuntu 19.10 (and also on a Lenovo X1 7th gen) using the Ubuntu kernel 5.3.0-18-generic. When checking its config it reports this:
$ grep CONFIG_SND_SOC_SOF_HDA /boot/config-5.3.0-18-generic
CONFIG_SND_SOC_SOF_HDA_COMMON=m
CONFIG_SND_SOC_SOF_HDA_LINK_BASELINE=m
I'm also getting this error where it loads the nocodec machine driver:
[ 10.067961] sof-audio-pci 0000:00:1f.3: warning: No matching ASoC machine driver found
[ 10.067965] sof-audio-pci 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040380
[ 10.068296] sof-audio-pci 0000:00:1f.3: use msi interrupt mode
[ 10.073342] sof-audio-pci 0000:00:1f.3: No ASoC machine driver found - using nocodec
[ 10.081756] sof-audio-pci 0000:00:1f.3: unexpected ipc interrupt raised!
Would this be an issue with this particular kernel config, and we need to talk to the Ubuntu devs to enable the other options? Or is there something else going on?
Sorry for semi-hijacking this issue. But I thought them to be closely related to each other.
@PaulVanSchayck can you attach the config? I wonder why nocodec is even selected.
@plbossart Here you go. Once again, this is the stock Ubuntu kernel for 19.10, built by Canonical.
ok, no idea why Ubuntu enabled 'nocodec'.
This adds support for a dummy/nocodec machine driver fallback
option if no known codec is detected. This is typically only
enabled for developers or devices where the sound card is
controlled externally
These two options should be removed really: CONFIG_SND_SOC_SOF_NOCODEC=m CONFIG_SND_SOC_SOF_NOCODEC_SUPPORT=y
That said, this doesn't explain why an HDaudio card is not detected. I'll try with the Ubuntu kernel from git://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/eoan with this config.
ok, this is definitively an Ubuntu issue. They defined NOCODEC support, which is mutually exclusive with HDAudio support! when you remove the NOCODEC support, then a new option shows up for HDAudio support.
The config should be modified with the following diffs
6656c6656
< # CONFIG_SND_SOC_INTEL_SKYLAKE is not set
---
> CONFIG_SND_SOC_INTEL_SKYLAKE=m
6661,6664c6661,6664
< # CONFIG_SND_SOC_INTEL_CNL is not set
< # CONFIG_SND_SOC_INTEL_CFL is not set
< # CONFIG_SND_SOC_INTEL_CML_H is not set
< # CONFIG_SND_SOC_INTEL_CML_LP is not set
---
> CONFIG_SND_SOC_INTEL_CNL=m
> CONFIG_SND_SOC_INTEL_CFL=m
> CONFIG_SND_SOC_INTEL_CML_H=m
> CONFIG_SND_SOC_INTEL_CML_LP=m
6667c6667
< # CONFIG_SND_SOC_INTEL_SKYLAKE_HDAUDIO_CODEC is not set
---
> CONFIG_SND_SOC_INTEL_SKYLAKE_HDAUDIO_CODEC=y
6702c6702,6703
< # CONFIG_SND_SOC_SOF_NOCODEC_SUPPORT is not set
---
> CONFIG_SND_SOC_SOF_NOCODEC=m
> CONFIG_SND_SOC_SOF_NOCODEC_SUPPORT=y
6706d6706
< CONFIG_SND_SOC_SOF_PROBE_WORK_QUEUE=y
6734,6735d6733
< CONFIG_SND_SOC_SOF_HDA_LINK=y
< CONFIG_SND_SOC_SOF_HDA_AUDIO_CODEC=y
6737d6734
< CONFIG_SND_SOC_SOF_HDA=m
full file here: config-5.3.0-18-fixed.txt
It turns out this was the issue for me too sorry, I had the HD audio codec enabled but also the nocodec option, disabling this allows the 1.3 firmware/topology to work with kernel 5.4 and my existing pulseaudio config/ALSA UCM. Sorry about that!
Thanks for the help and double checks Pierre.
After searching the Ubuntu Kernel tracker, turned out this was already self-reported by the Ubuntu developers a couple of days a go in this bug report on launchpad.
@plbossart can we close this now with your latest commits being merged ?
Firmware load working well for me now with the kernel configs mentioned in the thread.
Closing. Thanks @tokyovigilante and @PaulVanSchayck for your help, we appreciate feedback from the community.
Describe the bug HW - Lenovo X1 Yoga G4 (i7-8665U with Cannon Lake Audio), Fedora 31 beta.
I've built a 5.4/mainline kernel (commit da05b5ea12c1e50b2988a63470d6b69434796f8b) with the 5.4 ALSA/sound fixes merged, and SOF from master (commit 913644b1a837fdcb21839584310063b7eb9e4720). I get the kernel log:
I realise this may be an unsupported configuration, however the 5.3 SOF code and firmware provided by Lenovo (somewhat unofficially) at https://forums.lenovo.com/t5/Ubuntu/Guide-X1-Carbon-7th-Generation-Ubuntu-compatability/m-p/4503771#M2849 does work, although with very low volume from the rear speakers (Laptop has two woofers and two tweeters) which I am hoping will improve with newer firmware.
To Reproduce Install mainline kernel and SOF firmware/topolgy from head. Attempt to boot kernel and use sound.
Reproduction Rate 100%
Expected behavior Successful firmware load with working sound output.
Impact Annoyance unless it's movie night, then showstopper.
Environment 1) Branch name and commit hash of the 2 repositories: sof (firmware/topology) and linux (kernel driver).