You are not logged in.

#1 2022-03-27 20:27:17

Colonelviied
Member
Registered: 2021-12-26
Posts: 5

Soundcard not detected on Huawei Matebook d14 (intel)

I am dualbooting Arch with Windows on the Huawei Matebook d14 (intel). Sound works fine on Windows but I only see the dummy output in pavucontrol and when I run

 cat /proc/asound/cards 

I get "no soundcards".
I have found multiple threads on other forums with the same or very similar problems, with are unfortunately unsolved. But some people seem to be able to run other distributions like Manjaro without any sound related problems.
What can I try?


Relevant packages I have installed:
pipewire
pipewire-alsa
pipewire-jack
pipewire-media-session
pipewire-pulse
alsa-utils
sof-firmware
alsa-firmware
alsa-ucm-conf

Last edited by Colonelviied (2022-03-27 20:28:05)

Offline

#2 2022-03-28 06:29:09

seth
Member
Registered: 2012-09-03
Posts: 59,759

Re: Soundcard not detected on Huawei Matebook d14 (intel)

lspci -k
sudo journalctl -b

And see the 3rd link below (reboot windows and linux after the change, each twice for voodoo reasons)

Online

#3 2022-03-28 13:18:17

Colonelviied
Member
Registered: 2021-12-26
Posts: 5

Re: Soundcard not detected on Huawei Matebook d14 (intel)

My lspci -k output:

00:00.0 Host bridge: Intel Corporation Comet Lake-U v1 4c Host Bridge/DRAM Controller (rev 0c)
	Subsystem: QUANTA Computer Inc Device 1260
	Kernel driver in use: skl_uncore
00:02.0 VGA compatible controller: Intel Corporation CometLake-U GT2 [UHD Graphics] (rev 02)
	Subsystem: QUANTA Computer Inc Device 1260
	Kernel driver in use: i915
	Kernel modules: i915
00:04.0 Signal processing controller: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem (rev 0c)
	Subsystem: QUANTA Computer Inc Device 1260
	Kernel driver in use: proc_thermal
	Kernel modules: processor_thermal_device_pci_legacy
00:08.0 System peripheral: Intel Corporation Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th/8th Gen Core Processor Gaussian Mixture Model
	Subsystem: QUANTA Computer Inc Device 1260
00:12.0 Signal processing controller: Intel Corporation Comet Lake Thermal Subsytem
	Subsystem: QUANTA Computer Inc Device 1260
	Kernel driver in use: intel_pch_thermal
	Kernel modules: intel_pch_thermal
00:14.0 USB controller: Intel Corporation Comet Lake PCH-LP USB 3.1 xHCI Host Controller
	Subsystem: QUANTA Computer Inc Device 1260
	Kernel driver in use: xhci_hcd
	Kernel modules: xhci_pci
00:14.2 RAM memory: Intel Corporation Comet Lake PCH-LP Shared SRAM
	Subsystem: QUANTA Computer Inc Device 1260
00:14.3 Network controller: Intel Corporation Comet Lake PCH-LP CNVi WiFi
	Subsystem: Intel Corporation Device 2034
	Kernel driver in use: iwlwifi
	Kernel modules: iwlwifi
00:15.0 Serial bus controller: Intel Corporation Serial IO I2C Host Controller
	Subsystem: QUANTA Computer Inc Device 1260
	Kernel driver in use: intel-lpss
	Kernel modules: intel_lpss_pci
00:15.1 Serial bus controller: Intel Corporation Comet Lake Serial IO I2C Host Controller
	Subsystem: QUANTA Computer Inc Device 1260
	Kernel driver in use: intel-lpss
	Kernel modules: intel_lpss_pci
00:16.0 Communication controller: Intel Corporation Comet Lake Management Engine Interface
	Subsystem: QUANTA Computer Inc Device 1260
	Kernel driver in use: mei_me
	Kernel modules: mei_me
00:17.0 SATA controller: Intel Corporation Comet Lake SATA AHCI Controller
	Subsystem: QUANTA Computer Inc Device 1260
	Kernel driver in use: ahci
00:19.0 Serial bus controller: Intel Corporation Comet Lake Serial IO I2C Host Controller
	Subsystem: QUANTA Computer Inc Device 1260
	Kernel driver in use: intel-lpss
	Kernel modules: intel_lpss_pci
00:1d.0 PCI bridge: Intel Corporation Comet Lake PCI Express Root Port #9 (rev f0)
	Kernel driver in use: pcieport
00:1e.0 Communication controller: Intel Corporation Device 02a8
	Subsystem: QUANTA Computer Inc Device 1260
	Kernel driver in use: intel-lpss
	Kernel modules: intel_lpss_pci
00:1e.3 Serial bus controller: Intel Corporation Device 02ab
	Subsystem: QUANTA Computer Inc Device 1260
	Kernel driver in use: intel-lpss
	Kernel modules: intel_lpss_pci
00:1f.0 ISA bridge: Intel Corporation Comet Lake PCH-LP LPC Premium Controller/eSPI Controller
	Subsystem: QUANTA Computer Inc Device 1260
00:1f.3 Multimedia audio controller: Intel Corporation Comet Lake PCH-LP cAVS
	Subsystem: QUANTA Computer Inc Device 1260
	Kernel driver in use: sof-audio-pci-intel-cnl
	Kernel modules: snd_hda_intel, snd_soc_skl, snd_sof_pci_intel_cnl
00:1f.4 SMBus: Intel Corporation Comet Lake PCH-LP SMBus Host Controller
	Subsystem: QUANTA Computer Inc Device 1260
	Kernel driver in use: i801_smbus
	Kernel modules: i2c_i801
00:1f.5 Serial bus controller: Intel Corporation Comet Lake SPI (flash) Controller
	Subsystem: QUANTA Computer Inc Device 1260
	Kernel driver in use: intel-spi
	Kernel modules: intel_spi_pci
01:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller 980
	Subsystem: Samsung Electronics Co Ltd Device a801
	Kernel driver in use: nvme

and the sudo journalctl -b output:

Mär 28 15:09:51 tulkas kernel: Linux version 5.16.16-arch1-1 (linux@archlinux) (gcc (GCC) 11.2.0, GNU ld (GNU Binuti>
Mär 28 15:09:51 tulkas kernel: Command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=a2ac3fbe-821a-4632-bfab-f7c196>
Mär 28 15:09:51 tulkas kernel: x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
Mär 28 15:09:51 tulkas kernel: x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
Mär 28 15:09:51 tulkas kernel: x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
Mär 28 15:09:51 tulkas kernel: x86/fpu: Supporting XSAVE feature 0x008: 'MPX bounds registers'
Mär 28 15:09:51 tulkas kernel: x86/fpu: Supporting XSAVE feature 0x010: 'MPX CSR'
Mär 28 15:09:51 tulkas kernel: x86/fpu: xstate_offset[2]:  576, xstate_sizes[2]:  256
Mär 28 15:09:51 tulkas kernel: x86/fpu: xstate_offset[3]:  832, xstate_sizes[3]:   64
Mär 28 15:09:51 tulkas kernel: x86/fpu: xstate_offset[4]:  896, xstate_sizes[4]:   64
Mär 28 15:09:51 tulkas kernel: x86/fpu: Enabled xstate features 0x1f, context size is 960 bytes, using 'compacted' f>
Mär 28 15:09:51 tulkas kernel: signal: max sigframe size: 2032
Mär 28 15:09:51 tulkas kernel: BIOS-provided physical RAM map:
Mär 28 15:09:51 tulkas kernel: BIOS-e820: [mem 0x0000000000000000-0x000000000009efff] usable
Mär 28 15:09:51 tulkas kernel: BIOS-e820: [mem 0x000000000009f000-0x00000000000fffff] reserved
Mär 28 15:09:51 tulkas kernel: BIOS-e820: [mem 0x0000000000100000-0x000000007f216fff] usable
Mär 28 15:09:51 tulkas kernel: BIOS-e820: [mem 0x000000007f217000-0x000000007fb16fff] reserved
Mär 28 15:09:51 tulkas kernel: BIOS-e820: [mem 0x000000007fb17000-0x000000008dd2cfff] usable
Mär 28 15:09:51 tulkas kernel: BIOS-e820: [mem 0x000000008dd2d000-0x000000008e0fcfff] type 20
Mär 28 15:09:51 tulkas kernel: BIOS-e820: [mem 0x000000008e0fd000-0x000000008f2cdfff] reserved
Mär 28 15:09:51 tulkas kernel: BIOS-e820: [mem 0x000000008f2ce000-0x000000008fbcdfff] ACPI NVS
Mär 28 15:09:51 tulkas kernel: BIOS-e820: [mem 0x000000008fbce000-0x000000008fc4dfff] ACPI data
Mär 28 15:09:51 tulkas kernel: BIOS-e820: [mem 0x000000008fc4e000-0x000000008fc4efff] usable
Mär 28 15:09:51 tulkas kernel: BIOS-e820: [mem 0x000000008fc4f000-0x000000009b7fffff] reserved
Mär 28 15:09:51 tulkas kernel: BIOS-e820: [mem 0x00000000e0000000-0x00000000efffffff] reserved
Mär 28 15:09:51 tulkas kernel: BIOS-e820: [mem 0x00000000fe000000-0x00000000fe010fff] reserved
Mär 28 15:09:51 tulkas kernel: BIOS-e820: [mem 0x00000000fed10000-0x00000000fed19fff] reserved
Mär 28 15:09:51 tulkas kernel: BIOS-e820: [mem 0x00000000fed84000-0x00000000fed84fff] reserved
Mär 28 15:09:51 tulkas kernel: BIOS-e820: [mem 0x00000000fee00000-0x00000000fee00fff] reserved
Mär 28 15:09:51 tulkas kernel: BIOS-e820: [mem 0x00000000ff500000-0x00000000ffffffff] reserved
Mär 28 15:09:51 tulkas kernel: BIOS-e820: [mem 0x0000000100000000-0x00000002627fffff] usable
Mär 28 15:09:51 tulkas kernel: NX (Execute Disable) protection: active
Mär 28 15:09:51 tulkas kernel: efi: EFI v2.70 by XXXXXX
Mär 28 15:09:51 tulkas kernel: efi: ACPI=0x8fc4d000 ACPI 2.0=0x8fc4d014 TPMFinalLog=0x8fbc5000 SMBIOS=0x8e2c3000 SMB>
Mär 28 15:09:51 tulkas kernel: SMBIOS 3.2.0 present.
Mär 28 15:09:51 tulkas kernel: DMI: HUAWEI NBLB-WAX9N/NBLB-WAX9N-PCB-B2, BIOS 1.34 06/07/2021
Mär 28 15:09:51 tulkas kernel: tsc: Detected 2100.000 MHz processor
Mär 28 15:09:51 tulkas kernel: tsc: Detected 2099.944 MHz TSC
Mär 28 15:09:51 tulkas kernel: e820: update [mem 0x00000000-0x00000fff] usable ==> reserved
Mär 28 15:09:51 tulkas kernel: e820: remove [mem 0x000a0000-0x000fffff] usable
Mär 28 15:09:51 tulkas kernel: last_pfn = 0x262800 max_arch_pfn = 0x400000000
Mär 28 15:09:51 tulkas kernel: x86/PAT: Configuration [0-7]: WB  WC  UC- UC  WB  WP  UC- WT  
Mär 28 15:09:51 tulkas kernel: last_pfn = 0x8fc4f max_arch_pfn = 0x400000000
Mär 28 15:09:51 tulkas kernel: esrt: Reserving ESRT space from 0x000000008e2bfb98 to 0x000000008e2bfbf8.
Mär 28 15:09:51 tulkas kernel: Using GB pages for direct mapping
Mär 28 15:09:51 tulkas kernel: Secure boot disabled
Mär 28 15:09:51 tulkas kernel: RAMDISK: [mem 0x36eff000-0x37776fff]
Mär 28 15:09:51 tulkas kernel: ACPI: Early table checksum verification disabled
Mär 28 15:09:51 tulkas kernel: ACPI: RSDP 0x000000008FC4D014 000024 (v02 HUAWEI)
Mär 28 15:09:51 tulkas kernel: ACPI: XSDT 0x000000008FC2B188 0000FC (v01 HUAWEI CML-ULT  00000002      01000013)
Mär 28 15:09:51 tulkas kernel: ACPI: FACP 0x000000008FC2E000 00010C (v05 HUAWEI CML-ULT  00000002      01000013)
Mär 28 15:09:51 tulkas kernel: ACPI: DSDT 0x000000008FBF7000 033D35 (v02 HUAWEI CML-ULT  00000002      01000013)
Mär 28 15:09:51 tulkas kernel: ACPI: FACS 0x000000008FB65000 000040
Mär 28 15:09:51 tulkas kernel: ACPI: UEFI 0x000000008FBCD000 000236 (v01 HUAWEI H2O BIOS 00000001 ACPI 00040000)
Mär 28 15:09:51 tulkas kernel: ACPI: SSDT 0x000000008FC47000 0046E3 (v02 HUAWEI DptfTabl 00001000 INTL 20160422)
Mär 28 15:09:51 tulkas kernel: ACPI: SSDT 0x000000008FC44000 0020AD (v02 HUAWEI CpuSsdt  00003000 INTL 20160422)

Fast startup and hibernate were already disabled. Thanks for the help smile

Offline

#4 2022-03-28 13:23:10

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,171

Re: Soundcard not detected on Huawei Matebook d14 (intel)

The first page, truncated both in line length and in number of lines, isn't very helpful. Redirect it to a file or a pastebin service.

Offline

#5 2022-03-28 16:03:45

Colonelviied
Member
Registered: 2021-12-26
Posts: 5

Re: Soundcard not detected on Huawei Matebook d14 (intel)

Scimmia wrote:

The first page, truncated both in line length and in number of lines, isn't very helpful. Redirect it to a file or a pastebin service.

oh my bad, here is the full log: https://pastebin.com/zyVHAZZr

Offline

#6 2022-03-28 16:13:50

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,171

Re: Soundcard not detected on Huawei Matebook d14 (intel)

So the issue is here:

Mär 28 16:08:10 tulkas kernel: sof-audio-pci-intel-cnl 0000:00:1f.3: Firmware info: version 2:0:0-b678a
Mär 28 16:08:10 tulkas kernel: sof-audio-pci-intel-cnl 0000:00:1f.3: Firmware: ABI 3:20:0 Kernel ABI 3:18:0
Mär 28 16:08:10 tulkas kernel: sof-audio-pci-intel-cnl 0000:00:1f.3: warn: FW ABI is more recent than kernel
Mär 28 16:08:10 tulkas kernel: sof-essx8336 sof-essx8336: quirk SSP2
Mär 28 16:08:10 tulkas kernel: sof-audio-pci-intel-cnl 0000:00:1f.3: Direct firmware load for intel/sof-tplg/sof-cml-es8336.tplg failed with error -2
Mär 28 16:08:10 tulkas kernel: sof-audio-pci-intel-cnl 0000:00:1f.3: error: tplg request firmware intel/sof-tplg/sof-cml-es8336.tplg failed err: -2
Mär 28 16:08:10 tulkas kernel: sof-audio-pci-intel-cnl 0000:00:1f.3: you may need to download the firmware from https://github.com/thesofproject/sof-bin/
Mär 28 16:08:10 tulkas kernel: sof-audio-pci-intel-cnl 0000:00:1f.3: error: failed to load DSP topology -2
Mär 28 16:08:10 tulkas kernel: sof-audio-pci-intel-cnl 0000:00:1f.3: ASoC: error at snd_soc_component_probe on 0000:00:1f.3: -2
Mär 28 16:08:10 tulkas kernel: sof-essx8336 sof-essx8336: ASoC: failed to instantiate card -2
Mär 28 16:08:10 tulkas kernel: sof-essx8336 sof-essx8336: snd_soc_register_card failed: -2
Mär 28 16:08:10 tulkas kernel: sof-essx8336: probe of sof-essx8336 failed with error -2

The ABI warning shouldn't be a problem from what I can find, but I don't see why the firmware failed.

Offline

#7 2022-03-28 16:24:29

seth
Member
Registered: 2012-09-03
Posts: 59,759

Re: Soundcard not detected on Huawei Matebook d14 (intel)

https://bbs.archlinux.org/viewtopic.php … 1#p2008901
If this doesn't work, post an updated journal.

Edit, some more background: https://lore.kernel.org/all/20220308192 … tel.com/T/

Last edited by seth (2022-03-28 16:25:23)

Online

#8 2022-03-28 18:56:27

Colonelviied
Member
Registered: 2021-12-26
Posts: 5

Re: Soundcard not detected on Huawei Matebook d14 (intel)

Thanks, I followed the thread you linked and added the .conf file. Now these warnings don't appear in the journal anymore: https://pastebin.com/dh4jEBDM
I can also see my sound card now:

david@tulkas ~$ cat /proc/asound/cards
 0 [PCH            ]: HDA-Intel - HDA Intel PCH
                      HDA Intel PCH at 0xb121c000 irq 149
david@tulkas ~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 10: HDMI 4 [HDMI 4]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

But just like in the thread you linked, I still only get the dummy output in pavucontrol. But I didn't configure anything else besides the things mentioned, so maybe I'm missing something.

Offline

#9 2022-03-29 20:22:06

seth
Member
Registered: 2012-09-03
Posts: 59,759

Re: Soundcard not detected on Huawei Matebook d14 (intel)

Yeah … sad
https://github.com/thesofproject/linux/issues/2955

There's certainly some activity reg. the chip, https://github.com/thesofproject/linux/pull/3338 and sof-firmware has been tagged, but binaries are not (yet) released.
https://github.com/thesofproject/sof/releases

When there's an update (given the above: "hopefully soon"), you don't want to enforce the legacy dsp_driver and use try SOF (the default auto) again (ie. remove the parameter)

Online

#10 2022-03-30 10:14:45

Colonelviied
Member
Registered: 2021-12-26
Posts: 5

Re: Soundcard not detected on Huawei Matebook d14 (intel)

Yeah I guess I'll just have to wait...  But thanks a lot for the help :)

Offline

Board footer

Powered by FluxBB