codepayne / linux-sound-huawei Goto Github PK
View Code? Open in Web Editor NEWlinux kernel for Huawei matebook AMD sound support
License: Other
linux kernel for Huawei matebook AMD sound support
License: Other
Linux kernel ============ There are several guides for kernel developers and users. These guides can be rendered in a number of formats, like HTML and PDF. Please read Documentation/admin-guide/README.rst first. In order to build the documentation, use ``make htmldocs`` or ``make pdfdocs``. The formatted documentation can also be read online at: https://www.kernel.org/doc/html/latest/ There are various text files in the Documentation/ subdirectory, several of them using the Restructured Text markup notation. Please read the Documentation/process/changes.rst file, as it contains the requirements for building and running the kernel, and information about the problems which may result by upgrading your kernel.
Hello. I'm sorry for that post, we didn't quite understand each other. Now I'm laying it out properly. I tried ubuntu 23.10 and installed the kernel version 6.7-rc6, but there is still no sound. I upload the logs and attach the module startup config. I've archived it.
It seems that in more recent versions of pipewire the sound is sped-up and popping a lot in firefox and aplay.
This issue is caused by pipewire and more details can be found here:
#26
This issue is for tracking the status of the issue.
When i set DAC volume to more than 75, sound quality becomes very bad and corrupted. Also there almost isn't any sound when i plug anything into the headphone jack (it becomes very quiet and has some noise). Model is HVY-WXX9 M1040
What I did:
make defconfig
because others scripts were too much questions. Idk what I need to answermake
And when I choosed this kernel I got Loading Linux SOUND_HERE ...
My sistem:
HUAWEI 14 AMD Ryzen 5 5500U
What is wrong? I need make proper config?
Hi! Thanks for your patches. However I cannot get this to work on Ubuntu 22.04.1.
I compiled the kernel, loaded the necessary modules, configured alsamixer (as you described in the wiki), but the sound still doesn't work.
Do you have any ideas what else I can try to do?
As I see, all the necessary modules are loaded, but the blacklisted modules are not. But it shows Used by = 0
for snd_pci_acp3x
? Is it correct?
Module Size Used by
uhid 20480 1
rfcomm 86016 4
ccm 20480 6
cmac 16384 3
algif_hash 16384 1
algif_skcipher 16384 1
af_alg 32768 6 algif_hash,algif_skcipher
bnep 28672 2
sch_fq_codel 24576 1
intel_rapl_msr 20480 0
intel_rapl_common 40960 1 intel_rapl_msr
joydev 32768 0
amdgpu 12709888 17
binfmt_misc 24576 1
edac_mce_amd 36864 0
kvm_amd 172032 0
iwlmvm 606208 0
btusb 61440 0
iommu_v2 24576 1 amdgpu
kvm 1130496 1 kvm_amd
btrtl 24576 1 btusb
mac80211 1372160 1 iwlmvm
uvcvideo 118784 0
gpu_sched 49152 1 amdgpu
crct10dif_pclmul 16384 1
btbcm 24576 1 btusb
snd_sof_amd_rembrandt 16384 0
btintel 40960 1 btusb
drm_buddy 20480 1 amdgpu
nls_iso8859_1 16384 1
videobuf2_vmalloc 20480 1 uvcvideo
polyval_clmulni 16384 0
snd_sof_amd_renoir 16384 0
btmtk 16384 1 btusb
drm_ttm_helper 16384 1 amdgpu
videobuf2_memops 20480 1 videobuf2_vmalloc
ttm 94208 2 amdgpu,drm_ttm_helper
snd_sof_amd_acp 49152 2 snd_sof_amd_rembrandt,snd_sof_amd_renoir
polyval_generic 16384 1 polyval_clmulni
videobuf2_v4l2 32768 1 uvcvideo
libarc4 16384 1 mac80211
ghash_clmulni_intel 16384 0
snd_sof_pci 24576 2 snd_sof_amd_rembrandt,snd_sof_amd_renoir
videobuf2_common 81920 4 videobuf2_vmalloc,videobuf2_v4l2,uvcvideo,videobuf2_memops
sha512_ssse3 53248 0
snd_hda_codec_hdmi 81920 1
drm_display_helper 188416 1 amdgpu
iwlwifi 491520 1 iwlmvm
aesni_intel 389120 8
snd_sof 262144 2 snd_sof_amd_acp,snd_sof_pci
bluetooth 856064 36 btrtl,btmtk,btintel,btbcm,bnep,btusb,rfcomm
input_leds 16384 0
snd_hda_intel 53248 1
crypto_simd 16384 1 aesni_intel
snd_sof_utils 20480 1 snd_sof
videodev 282624 3 videobuf2_v4l2,uvcvideo,videobuf2_common
cec 81920 1 drm_display_helper
cryptd 24576 3 crypto_simd,ghash_clmulni_intel
snd_intel_dspcfg 36864 2 snd_hda_intel,snd_sof
huawei_wmi 20480 0
rc_core 65536 1 cec
ledtrig_audio 16384 1 huawei_wmi
ecdh_generic 16384 2 bluetooth
snd_intel_sdw_acpi 20480 1 snd_intel_dspcfg
rapl 20480 0
mc 77824 4 videodev,videobuf2_v4l2,uvcvideo,videobuf2_common
hid_multitouch 32768 0
ecc 40960 1 ecdh_generic
drm_kms_helper 204800 4 drm_display_helper,amdgpu
serio_raw 20480 0
sparse_keymap 16384 1 huawei_wmi
snd_pci_ps 20480 0
wmi_bmof 16384 0
cfg80211 1073152 3 iwlmvm,iwlwifi,mac80211
i2c_algo_bit 16384 1 amdgpu
snd_rpl_pci_acp6x 20480 0
snd_hda_codec 172032 2 snd_hda_codec_hdmi,snd_hda_intel
snd_acp_pci 16384 0
fb_sys_fops 16384 1 drm_kms_helper
snd_acp_config 16384 3 snd_sof_amd_rembrandt,snd_acp_pci,snd_sof_amd_renoir
snd_soc_acpi 16384 2 snd_sof_amd_acp,snd_acp_config
syscopyarea 16384 1 drm_kms_helper
snd_hda_core 114688 3 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
k10temp 16384 0
sysfillrect 20480 1 drm_kms_helper
ccp 110592 1 kvm_amd
sysimgblt 16384 1 drm_kms_helper
snd_hwdep 20480 1 snd_hda_codec
snd_pci_acp6x 20480 0
snd_soc_acp3x_es8336_mach 20480 4
mac_hid 16384 0
snd_pci_acp3x 20480 0
snd_acp3x_i2s 16384 1
snd_acp3x_pcm_dma 16384 1
snd_soc_es8316 49152 1
snd_soc_es83xx_dsm_common 24576 1 snd_soc_es8316
snd_soc_core 364544 5 snd_acp3x_pcm_dma,snd_acp3x_i2s,snd_sof,snd_soc_es8316,snd_soc_acp3x_es8336_mach
snd_compress 24576 1 snd_soc_core
ac97_bus 16384 1 snd_soc_core
snd_pcm_dmaengine 20480 1 snd_soc_core
snd_pcm 155648 16 snd_acp3x_pcm_dma,snd_sof_amd_acp,snd_hda_codec_hdmi,snd_pci_acp6x,snd_hda_intel,snd_hda_codec,snd_sof,snd_compress,snd_soc_core,snd_sof_utils,snd_soc_es8316,snd_hda_core,snd_pci_ps,snd_soc_acp3x_es8336_mach,snd_pcm_dmaengine
snd_seq_midi 20480 0
snd_seq_midi_event 16384 1 snd_seq_midi
snd_rawmidi 45056 1 snd_seq_midi
snd_seq 77824 2 snd_seq_midi,snd_seq_midi_event
snd_seq_device 16384 3 snd_seq,snd_seq_midi,snd_rawmidi
snd_timer 40960 3 snd_seq,snd_pcm
snd 114688 21 snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_sof,snd_timer,snd_compress,snd_soc_core,snd_pcm,snd_rawmidi,snd_soc_acp3x_es8336_mach
soundcore 16384 1 snd
msr 16384 0
parport_pc 53248 0
ppdev 24576 0
lp 28672 0
parport 73728 3 parport_pc,lp,ppdev
ramoops 28672 0
reed_solomon 28672 1 ramoops
pstore_blk 16384 0
drm 581632 15 gpu_sched,drm_kms_helper,drm_display_helper,drm_buddy,amdgpu,drm_ttm_helper,ttm
pstore_zone 32768 1 pstore_blk
efi_pstore 16384 0
ip_tables 32768 0
x_tables 57344 1 ip_tables
autofs4 45056 2
nvme 49152 2
hid_generic 16384 0
nvme_core 172032 3 nvme
crc32_pclmul 16384 0
xhci_pci 24576 0
i2c_piix4 28672 0
xhci_pci_renesas 20480 1 xhci_pci
nvme_common 24576 1 nvme_core
video 65536 1 amdgpu
i2c_hid_acpi 16384 0
i2c_hid 32768 1 i2c_hid_acpi
wmi 32768 3 video,huawei_wmi,wmi_bmof
hid 159744 4 i2c_hid,hid_multitouch,hid_generic,uhid
HOSTCC scripts/kconfig/conf.o
HOSTCC scripts/kconfig/confdata.o
HOSTCC scripts/kconfig/expr.o
LEX scripts/kconfig/lexer.lex.c
YACC scripts/kconfig/parser.tab.[ch]
HOSTCC scripts/kconfig/lexer.lex.o
HOSTCC scripts/kconfig/menu.o
HOSTCC scripts/kconfig/parser.tab.o
HOSTCC scripts/kconfig/preprocess.o
HOSTCC scripts/kconfig/symbol.o
HOSTCC scripts/kconfig/util.o
HOSTLD scripts/kconfig/conf
*
* Restart config...
*
*
* ALSA for SoC audio support
*
ALSA for SoC audio support (SND_SOC) [M/n/?] m
Audio support for Analog Devices reference designs (SND_SOC_ADI) [M/n/?] m
AXI-I2S support (SND_SOC_ADI_AXI_I2S) [M/n/?] m
AXI-SPDIF support (SND_SOC_ADI_AXI_SPDIF) [M/n/?] m
AMD Audio Coprocessor support (SND_SOC_AMD_ACP) [M/n/?] m
AMD CZ support for DA7219, RT5682 and MAX9835 (SND_SOC_AMD_CZ_DA7219MX98357_MACH) [M/n/?] m
AMD CZ support for RT5645 (SND_SOC_AMD_CZ_RT5645_MACH) [M/n/?] m
AMD ST support for ES8336 (SND_SOC_AMD_ST_ES8336_MACH) [M/n/?] m
AMD Audio Coprocessor-v3.x support (SND_SOC_AMD_ACP3x) [M/n/?] m
AMD RV support for RT5682 (SND_SOC_AMD_RV_RT5682_MACH) [M/n/?] m
AMD ACP3x support for ES8336 (SND_SOC_AMD_ACP3x_ES8336_MACH) [N/m/?] (NEW) m
AMD Audio Coprocessor - Renoir support (SND_SOC_AMD_RENOIR) [M/n/?] m
AMD Renoir support for DMIC (SND_SOC_AMD_RENOIR_MACH) [M/n/?] m
AMD Audio Coprocessor-v5.x I2S support (SND_SOC_AMD_ACP5x) [M/n/?] m
AMD Vangogh support for NAU8821 CS35L41 (SND_SOC_AMD_VANGOGH_MACH) [M/n/?] m
AMD Audio Coprocessor-v6.x Yellow Carp support (SND_SOC_AMD_ACP6x) [M/n/?] m
AMD YC support for DMIC (SND_SOC_AMD_YC_MACH) [M/n/?] m
AMD ACP configuration selection (SND_AMD_ACP_CONFIG) [M/?] m
AMD Audio ACP Common support (SND_SOC_AMD_ACP_COMMON) [M/n/?] m
AMD ACP PCI Driver Support (SND_SOC_AMD_ACP_PCI) [M/n/?] m
AMD ACP ASOC Renoir Support (SND_AMD_ASOC_RENOIR) [M/n/?] m
AMD ACP ASOC Rembrandt Support (SND_AMD_ASOC_REMBRANDT) [M/n/?] m
AMD Legacy Machine Driver Support (SND_SOC_AMD_LEGACY_MACH) [M/n/?] m
AMD SOF Machine Driver Support (SND_SOC_AMD_SOF_MACH) [M/n/?] m
AMD Audio Coprocessor-v6.2 RPL support (SND_SOC_AMD_RPL_ACP6x) [M/n/?] m
AMD Audio Coprocessor-v6.2 Pink Sardine support (SND_SOC_AMD_PS) [M/n/?] m
AMD PINK SARDINE support for DMIC (SND_SOC_AMD_PS_MACH) [M/n/?] m
SoC Audio for the Atmel System-on-Chip (SND_ATMEL_SOC) [M/n/?] m
SoC Audio support for the Broadcom BCM63XX I2S module (SND_BCM63XX_I2S_WHISTLER) [M/n/?] m
Synopsys I2S Device Driver (SND_DESIGNWARE_I2S) [M/n/?] m
PCM PIO extension for I2S driver (SND_DESIGNWARE_PCM) [Y/n/?] y
Hisilicon I2S controller (SND_I2S_HI6210_I2S) [M/n/?] m
Audio support for Imagination Technologies designs (SND_SOC_IMG) [Y/n/?] y
Imagination I2S Input Device Driver (SND_SOC_IMG_I2S_IN) [M/n/?] m
Imagination I2S Output Device Driver (SND_SOC_IMG_I2S_OUT) [M/n/?] m
Imagination Parallel Output Device Driver (SND_SOC_IMG_PARALLEL_OUT) [M/n/?] m
Imagination SPDIF Input Device Driver (SND_SOC_IMG_SPDIF_IN) [M/n/?] m
Imagination SPDIF Output Device Driver (SND_SOC_IMG_SPDIF_OUT) [M/n/?] m
Support for Pistachio SoC Internal DAC Driver (SND_SOC_IMG_PISTACHIO_INTERNAL_DAC) [M/n/?] m
Intel ASoC SST drivers (SND_SOC_INTEL_SST_TOPLEVEL) [Y/n/?] y
Haswell and Broadwell (SND_SOC_INTEL_CATPT) [M/n/?] m
PCI HiFi2 (Merrifield) Platforms (SND_SST_ATOM_HIFI2_PLATFORM_PCI) [M/n/?] m
ACPI HiFi2 (Baytrail, Cherrytrail) Platforms (SND_SST_ATOM_HIFI2_PLATFORM_ACPI) [M/n/?] m
All Skylake/SST Platforms (SND_SOC_INTEL_SKYLAKE) [N/m/?] n
Skylake Platforms (SND_SOC_INTEL_SKL) [M/n/?] m
Broxton/ApolloLake Platforms (SND_SOC_INTEL_APL) [M/n/?] m
Kabylake Platforms (SND_SOC_INTEL_KBL) [M/n/?] m
GeminiLake Platforms (SND_SOC_INTEL_GLK) [M/n/?] m
CannonLake/WhiskyLake Platforms (SND_SOC_INTEL_CNL) [N/m/?] n
CoffeeLake Platforms (SND_SOC_INTEL_CFL) [N/m/?] n
CometLake-H Platforms (SND_SOC_INTEL_CML_H) [N/m/?] n
CometLake-LP Platforms (SND_SOC_INTEL_CML_LP) [N/m/?] n
HDAudio codec support (SND_SOC_INTEL_SKYLAKE_HDAUDIO_CODEC) [Y/n/?] y
Intel AVS driver (SND_SOC_INTEL_AVS) [M/n/?] m
ALSA BT SCO CVSD/MSBC Driver (SND_SOC_MTK_BTCVSD) [M/n/?] m
Audio support for the Xilinx I2S (SND_SOC_XILINX_I2S) [M/n/?] m
Audio support for the Xilinx audio formatter (SND_SOC_XILINX_AUDIO_FORMATTER) [M/n/?] m
Audio support for the Xilinx SPDIF (SND_SOC_XILINX_SPDIF) [M/n/?] m
XTFPGA I2S master (SND_SOC_XTFPGA_I2S) [M/n/?] m
ASoC Simple sound card support (SND_SIMPLE_CARD) [M/n/?] m
#
# configuration written to .config
#
$ cat /boot/config-6.1.3 | grep SND_SOC_AMD_ACP3x
CONFIG_SND_SOC_AMD_ACP3x=m
CONFIG_SND_SOC_AMD_ACP3x_ES8336_MACH=m
$ cat /boot/config-6.1.3 | grep SND_SOC_ACPI
CONFIG_SND_SOC_ACPI=m
CONFIG_SND_SOC_ACPI_INTEL_MATCH=m
$ cat /boot/config-6.1.3 | grep SND_SOC_ES8316
CONFIG_SND_SOC_ES8316=m
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne Root Complex
Subsystem: Device 1e83:3e30
Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne IOMMU
Subsystem: Device 1e83:3e30
Control: I/O- Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ -2147483648
Capabilities: <access denied>
00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
IOMMU group: 0
00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
IOMMU group: 1
00:02.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne PCIe GPP Bridge (prog-if 00 [Normal decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin ? routed to IRQ 26
IOMMU group: 2
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
I/O behind bridge: 00002000-00002fff [size=4K]
Memory behind bridge: d0500000-d05fffff [size=1M]
Prefetchable memory behind bridge: 0000000450200000-00000004503fffff [size=2M]
Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- <SERR- <PERR-
BridgeCtl: Parity- SERR+ NoISA- VGA- VGA16- MAbort- >Reset- FastB2B-
PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
Capabilities: <access denied>
Kernel driver in use: pcieport
00:02.3 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne PCIe GPP Bridge (prog-if 00 [Normal decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin ? routed to IRQ 27
IOMMU group: 3
Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
I/O behind bridge: [disabled]
Memory behind bridge: d0400000-d04fffff [size=1M]
Prefetchable memory behind bridge: [disabled]
Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- <SERR- <PERR-
BridgeCtl: Parity- SERR+ NoISA- VGA- VGA16- MAbort- >Reset- FastB2B-
PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
Capabilities: <access denied>
Kernel driver in use: pcieport
00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
IOMMU group: 4
00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir Internal PCIe GPP Bridge to Bus (prog-if 00 [Normal decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 28
IOMMU group: 4
Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
I/O behind bridge: 00001000-00001fff [size=4K]
Memory behind bridge: d0000000-d03fffff [size=4M]
Prefetchable memory behind bridge: 000000fce0000000-000000fcf01fffff [size=258M]
Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- <SERR- <PERR-
BridgeCtl: Parity- SERR+ NoISA- VGA- VGA16- MAbort- >Reset- FastB2B-
PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
Capabilities: <access denied>
Kernel driver in use: pcieport
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 51)
Subsystem: Device 1e83:3e30
Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap- 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
IOMMU group: 5
Kernel driver in use: piix4_smbus
Kernel modules: i2c_piix4, sp5100_tco
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)
Subsystem: Device 1e83:3e30
Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
IOMMU group: 5
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 0
Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
IOMMU group: 6
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 1
Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
IOMMU group: 6
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 2
Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
IOMMU group: 6
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 3
Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
IOMMU group: 6
Kernel driver in use: k10temp
Kernel modules: k10temp
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 4
Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
IOMMU group: 6
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 5
Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
IOMMU group: 6
00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 6
Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
IOMMU group: 6
00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 7
Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
IOMMU group: 6
01:00.0 Network controller: Intel Corporation Wi-Fi 6 AX200 (rev 1a)
Subsystem: Intel Corporation Wi-Fi 6 AX200NGW
Physical Slot: 0
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 72
IOMMU group: 7
Region 0: Memory at d0500000 (64-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: iwlwifi
Kernel modules: iwlwifi
02:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller SM981/PM981/PM983 (prog-if 02 [NVM Express])
Subsystem: Samsung Electronics Co Ltd SSD 970 EVO Plus 1TB
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 48
NUMA node: 0
IOMMU group: 8
Region 0: Memory at d0400000 (64-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: nvme
Kernel modules: nvme
03:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Renoir (rev c7) (prog-if 00 [VGA controller])
Subsystem: Device 1e83:3e30
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort+ <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 39
IOMMU group: 4
Region 0: Memory at fce0000000 (64-bit, prefetchable) [size=256M]
Region 2: Memory at fcf0000000 (64-bit, prefetchable) [size=2M]
Region 4: I/O ports at 1000 [size=256]
Region 5: Memory at d0300000 (32-bit, non-prefetchable) [size=512K]
Capabilities: <access denied>
Kernel driver in use: amdgpu
Kernel modules: amdgpu
03:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Renoir Radeon High Definition Audio Controller
Subsystem: Device 1e83:3e30
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin B routed to IRQ 71
IOMMU group: 4
Region 0: Memory at d03c0000 (32-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
03:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) Platform Security Processor
Subsystem: Device 1e83:3e30
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort+ <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin C routed to IRQ 68
IOMMU group: 4
Region 2: Memory at d0200000 (32-bit, non-prefetchable) [size=1M]
Region 5: Memory at d03c4000 (32-bit, non-prefetchable) [size=8K]
Capabilities: <access denied>
Kernel driver in use: ccp
Kernel modules: ccp
03:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne USB 3.1 (prog-if 30 [XHCI])
Subsystem: Device 1e83:3e30
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin D routed to IRQ 30
IOMMU group: 4
Region 0: Memory at d0000000 (64-bit, non-prefetchable) [size=1M]
Capabilities: <access denied>
Kernel driver in use: xhci_hcd
Kernel modules: xhci_pci
03:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne USB 3.1 (prog-if 30 [XHCI])
Subsystem: Device 1e83:3e30
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 39
IOMMU group: 4
Region 0: Memory at d0100000 (64-bit, non-prefetchable) [size=1M]
Capabilities: <access denied>
Kernel driver in use: xhci_hcd
Kernel modules: xhci_pci
03:00.5 Multimedia controller: Advanced Micro Devices, Inc. [AMD] Raven/Raven2/FireFlight/Renoir Audio Processor (rev 01)
Subsystem: Device 1e83:3e30
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin B routed to IRQ 67
IOMMU group: 4
Region 0: Memory at d0380000 (32-bit, non-prefetchable) [size=256K]
Capabilities: <access denied>
Kernel driver in use: snd_pci_acp3x
Kernel modules: snd_pci_acp3x, snd_rn_pci_acp3x, snd_pci_acp5x, snd_pci_acp6x, snd_acp_pci, snd_rpl_pci_acp6x, snd_pci_ps, snd_sof_amd_renoir, snd_sof_amd_rembrandt
Handle 0x0001, DMI type 1, 27 bytes
System Information
Manufacturer: HUAWEI
Product Name: HVY-WXX9
Version: M1040
Serial Number: [redacted]
UUID: [redacted]
Wake-up Type: AC Power Restored
SKU Number: C171
Family: MateBook D
Handle 0x0002, DMI type 2, 17 bytes
Base Board Information
Manufacturer: HUAWEI
Product Name: HVY-WXX9-PCB-B1
Version: M1040
Serial Number: [redacted]
Asset Tag: N/A
Features:
Board is a hosting board
Board is replaceable
Location In Chassis: Not Specified
Chassis Handle: 0x0003
Type: Motherboard
Contained Object Handles: 0
...
[ 2.181733] snd_pci_acp3x 0000:03:00.5: enabling device (0000 -> 0002)
[ 2.279718] es8316 i2c-ESSX8336:00: PLATFORM_MAINMIC_TYPE_ARG=0xbb
[ 2.279795] es8316 i2c-ESSX8336:00: PLATFORM_HPMIC_TYPE_ARG=0xcc
[ 2.279875] es8316 i2c-ESSX8336:00: PLATFORM_SPK_TYPE_ARG=0x2
[ 2.279960] es8316 i2c-ESSX8336:00: PLATFORM_HPDET_INV_ARG=0x0
[ 2.282641] es8316 i2c-ESSX8336:00: PLATFORM_MIC_DE_POP_ARG=0x0
[ 2.284912] es8316 i2c-ESSX8336:00: PLATFORM_BUS_SLOT_ARG=0x2
[ 2.285026] es8316 i2c-ESSX8336:00: HP_CODEC_LINEIN_PGA_GAIN_ARG=0x5
[ 2.285141] es8316 i2c-ESSX8336:00: MAIN_CODEC_LINEIN_PGA_GAIN_ARG=0x5
[ 2.285276] es8316 i2c-ESSX8336:00: HP_CODEC_D2SEPGA_GAIN_ARG=0x1
[ 2.285420] es8316 i2c-ESSX8336:00: MAIN_CODEC_D2SEPGA_GAIN_ARG=0x1
[ 2.285565] es8316 i2c-ESSX8336:00: HP_CODEC_ADC_VOLUME_ARG=0x0
[ 2.285720] es8316 i2c-ESSX8336:00: MAIN_CODEC_ADC_VOLUME_ARG=0x0
[ 2.285879] es8316 i2c-ESSX8336:00: HP_CODEC_ADC_ALC_ENABLE_ARG=0x1
[ 2.286027] es8316 i2c-ESSX8336:00: MAIN_CODEC_ADC_ALC_ENABLE_ARG=0x1
[ 2.286181] es8316 i2c-ESSX8336:00: HP_CODEC_ADC_ALC_TARGET_LEVEL_ARG=0xa
[ 2.286338] es8316 i2c-ESSX8336:00: MAIN_CODEC_ADC_ALC_TARGET_LEVEL_ARG=0xa
[ 2.286503] es8316 i2c-ESSX8336:00: HP_CODEC_ADC_ALC_MAXGAIN_ARG=0x12
[ 2.286683] es8316 i2c-ESSX8336:00: MAIN_CODEC_ADC_ALC_MAXGAIN_ARG=0x12
[ 2.286870] es8316 i2c-ESSX8336:00: HP_CODEC_ADC_ALC_MINGAIN_ARG=0x8
[ 2.287064] es8316 i2c-ESSX8336:00: MAIN_CODEC_ADC_ALC_MINGAIN_ARG=0x4
[ 2.287259] es8316 i2c-ESSX8336:00: HP_CODEC_ADC_ALC_HLDTIME_ARG=0x0
[ 2.287470] es8316 i2c-ESSX8336:00: MAIN_CODEC_ADC_ALC_HLDTIME_ARG=0x0
[ 2.287694] es8316 i2c-ESSX8336:00: HP_CODEC_ADC_ALC_DCYTIME_ARG=0x0
[ 2.287923] es8316 i2c-ESSX8336:00: MAIN_CODEC_ADC_ALC_DCYTIME_ARG=0x0
[ 2.288655] es8316 i2c-ESSX8336:00: HP_CODEC_ADC_ALC_ATKTIME_ARG=0x2
[ 2.288873] es8316 i2c-ESSX8336:00: MAIN_CODEC_ADC_ALC_ATKTIME_ARG=0x2
[ 2.289063] es8316 i2c-ESSX8336:00: HP_CODEC_ADC_ALC_NGTYPE_ARG=0x3
[ 2.289274] es8316 i2c-ESSX8336:00: MAIN_CODEC_ADC_ALC_NGTYPE_ARG=0x3
[ 2.289481] es8316 i2c-ESSX8336:00: HP_CODEC_ADC_ALC_NGTHLD_ARG=0x1
[ 2.289682] es8316 i2c-ESSX8336:00: MAIN_CODEC_ADC_ALC_NGTHLD_ARG=0x1
[ 2.289762] es8316 i2c-ESSX8336:00: MAIN_CODEC_ADC_GUI_STEP_ARG=0x3
[ 2.289840] es8316 i2c-ESSX8336:00: MAIN_CODEC_ADC_GUI_GAIN_RANGE_ARG=0x3
[ 2.291045] es8316 i2c-ESSX8336:00: HP_CODEC_DAC_HPMIX_HIGAIN_ARG=0x0
[ 2.291299] es8316 i2c-ESSX8336:00: SPK_CODEC_DAC_HPMIX_HIGAIN_ARG=0x0
[ 2.291575] es8316 i2c-ESSX8336:00: HP_CODEC_DAC_HPMIX_VOLUME_ARG=0xbb
[ 2.291803] es8316 i2c-ESSX8336:00: SPK_CODEC_DAC_HPMIX_VOLUME_ARG=0xbb
[ 2.292072] es8316 i2c-ESSX8336:00: HP_CODEC_DAC_HPOUT_VOLUME_ARG=0x0
[ 2.292362] es8316 i2c-ESSX8336:00: SPK_CODEC_DAC_HPOUT_VOLUME_ARG=0x0
[ 2.292609] es8316 i2c-ESSX8336:00: HP_CODEC_LDAC_VOLUME_ARG=0x0
[ 2.292905] es8316 i2c-ESSX8336:00: HP_CODEC_RDAC_VOLUME_ARG=0x0
[ 2.293190] es8316 i2c-ESSX8336:00: SPK_CODEC_LDAC_VOLUME_ARG=0x0
[ 2.293458] es8316 i2c-ESSX8336:00: SPK_CODEC_RDAC_VOLUME_ARG=0x0
[ 2.293732] es8316 i2c-ESSX8336:00: HP_CODEC_DAC_AUTOMUTE_ARG=0x0
[ 2.294024] es8316 i2c-ESSX8336:00: SPK_CODEC_DAC_AUTOMUTE_ARG=0x1
[ 2.294325] es8316 i2c-ESSX8336:00: HP_CODEC_DAC_MONO_ARG=0x0
[ 2.294616] es8316 i2c-ESSX8336:00: SPK_CODEC_DAC_MONO_ARG=0x0
[ 2.295502] es8316 i2c-ESSX8336:00: SPK_CTL_IO_LEVEL_ARG=0x1
[ 2.295621] es8316 i2c-ESSX8336:00: CODEC_GPIO0_FUNC_ARG=0x0
[ 2.296802] ccp 0000:03:00.2: enabling device (0000 -> 0002)
[ 2.299098] es8316 i2c-ESSX8336:00: PLATFORM_MCLK_LRCK_FREQ_ARG=0x0
[ 2.299167] es8316 i2c-ESSX8336:00: PLATFORM_MAINMIC_TYPE_ARG=0xbb
[ 2.299232] es8316 i2c-ESSX8336:00: PLATFORM_HPMIC_TYPE_ARG=0xcc
[ 2.299301] es8316 i2c-ESSX8336:00: PLATFORM_SPK_TYPE_ARG=0x2
[ 2.299374] es8316 i2c-ESSX8336:00: PLATFORM_HPDET_INV_ARG=0x0
[ 2.300301] es8316 i2c-ESSX8336:00: PLATFORM_MIC_DE_POP_ARG=0x0
[ 2.301218] es8316 i2c-ESSX8336:00: PLATFORM_BUS_SLOT_ARG=0x2
[ 2.301316] es8316 i2c-ESSX8336:00: HP_CODEC_LINEIN_PGA_GAIN_ARG=0x5
[ 2.301415] es8316 i2c-ESSX8336:00: MAIN_CODEC_LINEIN_PGA_GAIN_ARG=0x5
[ 2.301533] es8316 i2c-ESSX8336:00: HP_CODEC_D2SEPGA_GAIN_ARG=0x1
[ 2.301660] es8316 i2c-ESSX8336:00: MAIN_CODEC_D2SEPGA_GAIN_ARG=0x1
[ 2.301792] es8316 i2c-ESSX8336:00: HP_CODEC_ADC_VOLUME_ARG=0x0
[ 2.301929] es8316 i2c-ESSX8336:00: MAIN_CODEC_ADC_VOLUME_ARG=0x0
[ 2.302035] es8316 i2c-ESSX8336:00: HP_CODEC_ADC_ALC_ENABLE_ARG=0x1
[ 2.302161] es8316 i2c-ESSX8336:00: MAIN_CODEC_ADC_ALC_ENABLE_ARG=0x1
[ 2.302307] es8316 i2c-ESSX8336:00: HP_CODEC_ADC_ALC_TARGET_LEVEL_ARG=0xa
[ 2.302445] es8316 i2c-ESSX8336:00: MAIN_CODEC_ADC_ALC_TARGET_LEVEL_ARG=0xa
[ 2.302583] es8316 i2c-ESSX8336:00: HP_CODEC_ADC_ALC_MAXGAIN_ARG=0x12
[ 2.302728] es8316 i2c-ESSX8336:00: MAIN_CODEC_ADC_ALC_MAXGAIN_ARG=0x12
[ 2.302876] es8316 i2c-ESSX8336:00: HP_CODEC_ADC_ALC_MINGAIN_ARG=0x8
[ 2.303028] es8316 i2c-ESSX8336:00: MAIN_CODEC_ADC_ALC_MINGAIN_ARG=0x4
[ 2.303182] es8316 i2c-ESSX8336:00: HP_CODEC_ADC_ALC_HLDTIME_ARG=0x0
[ 2.303367] es8316 i2c-ESSX8336:00: MAIN_CODEC_ADC_ALC_HLDTIME_ARG=0x0
[ 2.303536] es8316 i2c-ESSX8336:00: HP_CODEC_ADC_ALC_DCYTIME_ARG=0x0
[ 2.303693] ccp 0000:03:00.2: ccp: unable to access the device: you might be running a broken BIOS.
[ 2.303701] es8316 i2c-ESSX8336:00: MAIN_CODEC_ADC_ALC_DCYTIME_ARG=0x0
[ 2.303875] es8316 i2c-ESSX8336:00: HP_CODEC_ADC_ALC_ATKTIME_ARG=0x2
[ 2.304037] es8316 i2c-ESSX8336:00: MAIN_CODEC_ADC_ALC_ATKTIME_ARG=0x2
[ 2.304263] es8316 i2c-ESSX8336:00: HP_CODEC_ADC_ALC_NGTYPE_ARG=0x3
[ 2.304439] es8316 i2c-ESSX8336:00: MAIN_CODEC_ADC_ALC_NGTYPE_ARG=0x3
[ 2.304676] es8316 i2c-ESSX8336:00: HP_CODEC_ADC_ALC_NGTHLD_ARG=0x1
[ 2.304920] es8316 i2c-ESSX8336:00: MAIN_CODEC_ADC_ALC_NGTHLD_ARG=0x1
[ 2.305021] es8316 i2c-ESSX8336:00: MAIN_CODEC_ADC_GUI_STEP_ARG=0x3
[ 2.305121] es8316 i2c-ESSX8336:00: MAIN_CODEC_ADC_GUI_GAIN_RANGE_ARG=0x3
[ 2.306075] es8316 i2c-ESSX8336:00: HP_CODEC_DAC_HPMIX_HIGAIN_ARG=0x0
[ 2.306265] es8316 i2c-ESSX8336:00: SPK_CODEC_DAC_HPMIX_HIGAIN_ARG=0x0
[ 2.306491] es8316 i2c-ESSX8336:00: HP_CODEC_DAC_HPMIX_VOLUME_ARG=0xbb
[ 2.306710] es8316 i2c-ESSX8336:00: SPK_CODEC_DAC_HPMIX_VOLUME_ARG=0xbb
[ 2.306944] es8316 i2c-ESSX8336:00: HP_CODEC_DAC_HPOUT_VOLUME_ARG=0x0
[ 2.307167] es8316 i2c-ESSX8336:00: SPK_CODEC_DAC_HPOUT_VOLUME_ARG=0x0
[ 2.307408] es8316 i2c-ESSX8336:00: HP_CODEC_LDAC_VOLUME_ARG=0x0
[ 2.307623] es8316 i2c-ESSX8336:00: HP_CODEC_RDAC_VOLUME_ARG=0x0
[ 2.307841] es8316 i2c-ESSX8336:00: SPK_CODEC_LDAC_VOLUME_ARG=0x0
[ 2.308086] es8316 i2c-ESSX8336:00: SPK_CODEC_RDAC_VOLUME_ARG=0x0
[ 2.308447] es8316 i2c-ESSX8336:00: HP_CODEC_DAC_AUTOMUTE_ARG=0x0
[ 2.308773] es8316 i2c-ESSX8336:00: SPK_CODEC_DAC_AUTOMUTE_ARG=0x1
[ 2.309042] es8316 i2c-ESSX8336:00: HP_CODEC_DAC_MONO_ARG=0x0
[ 2.309361] es8316 i2c-ESSX8336:00: SPK_CODEC_DAC_MONO_ARG=0x0
[ 2.310499] es8316 i2c-ESSX8336:00: SPK_CTL_IO_LEVEL_ARG=0x1
[ 2.310659] es8316 i2c-ESSX8336:00: CODEC_GPIO0_FUNC_ARG=0x0
[ 2.314006] ccp 0000:03:00.2: tee enabled
[ 2.314014] ccp 0000:03:00.2: psp enabled
[ 2.314337] es8316 i2c-ESSX8336:00: PLATFORM_MCLK_LRCK_FREQ_ARG=0x0
[ 2.314417] es8316 i2c-ESSX8336:00: HP jack detect inverted 0
...
[ 7.220624] amd-acp3x-essx8336 amd-acp3x-essx8336.0: matched DMI table with this system, trying to register sound card
[ 7.220763] es8316 i2c-ESSX8336:00: assuming static mclk
[ 7.267135] amd-acp3x-essx8336 amd-acp3x-essx8336.0: ASoC: driver name too long 'amd-acp3x-essx8336' -> 'amd-acp3x-essx8'
[ 7.270410] input: amd-acp3x-essx8336 Headset as /devices/platform/amd-acp3x-essx8336.0/sound/card1/input16
[ 7.270671] amd-acp3x-essx8336 amd-acp3x-essx8336.0: successfully registered the sound card
[ 7.270693] amd-acp3x-essx8336: platform device registered successfully
Internal mic is not working with this driver. Without the kernel patch microphone works on my notebook. It makes no sens to introduce a patch wich solves one issue and creates another. We should go ahead and make the mic working.
After resume from suspend with headset pluged in sound driver crashes. Only a reboot can restore the sound.
Hi @codepayne , I've just installed 6.7rc5 on Ubuntu 23.10 (6.7.0-060700rc5-generic (64-bit); HUAWEI BOM-WXX9 M1010). I took a look at the wiki and at this page to configure alsamixer and run the command you suggested as root (echo -1 > /sys/bus/pci/drivers/snd_acp_pci/0000:03:00.5/power/autosuspend_delay_ms), but the pc is still silent. Any hints? Thanks a lot! Free beer for you when you come to Rome!
Attached
dmesg.txt
http://alsa-project.org/db/?f=bb9c6b623e1b0015506f194ec7f76783cc7120b0
Somehow there is acpi-cpufreq enabled by default in this kernel instead of more efficient amd-pstate (or maybe it's my fault while building?)
Anyway maybe we can add some info about it in Wiki?
I enabled amd-pstate with "amd_pstate=passive" argument in grub and blacklisting acpi-cpufreq in /etc/modprobe.d/blacklist.conf
After doing everything according to the instructions, only static noise is heard, and not a single player is played.
I don't even know if this is the right place to ask for help, but hours and hours of failed fixes brought me here.
I installed Ubuntu 24.04 on a Huawei Matebook D15, model BOM-WXX9, and of course audio is not working. Where do I start? How do I apply the kernel patch? I'm really sorry if I'm a bother, but I'm relatively new to Linux :(
I've already tried this thesofproject/linux#3249 (comment) but it didn't work.
Hi. I tried to build this kernel for my laptop. amd-acp3x-essx8336 appeared in alsamixer only after I changed in "sound/soc/amd/acp3x-es8336.c" M1040 to M1020:
{
.matches = {
DMI_EXACT_MATCH(DMI_BOARD_VENDOR, "HUAWEI"),
DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "HVY-WXX9"),
DMI_EXACT_MATCH(DMI_PRODUCT_VERSION, "M1020"),
},
.driver_data = &acp3x_es8336,
},
After that I booted the new kernel, switched in alsamixer to amd-acp3x-essx8336 and adjusted the settings alsamixer according to the instructions. However, there is still no sound...
It makes no sens to compile the kernel patch with version 6.1.3 since the are a lot of bugs in 6.1.3. why we are not using 6.1.9 wich is more stable and has not suspend and resume errors?
Hello !
Since the release of the 6.7 kernel, which should have the patch from this repository, I tried using it from the official Arch Linux repositories, but I don't have any sound (KDE doesn't detect any input/output device). I'm not sure how to debug this, could someone help ?
I remember that I was able to make https://github.com/codepayne/pop-os-linux work at some point (EDIT: I just remembered I had to patch it to add my model, sorry)
uname -a
: Linux arch-3306 6.7.0-arch3-1 #1 SMP PREEMPT_DYNAMIC Sat, 13 Jan 2024 14:37:14 +0000 x86_64 GNU/Linux
/proc/config.gz
content: config.txtdmidecode
part:System Information
Manufacturer: HUAWEI
Product Name: HVY-WXX9
Version: M1010
Serial Number: [hidden]
UUID: [hidden]
Wake-up Type: Other
SKU Number: C100
Family: MateBook D
For enhancing volume and overall audio quality you can use EasyEffects and Advanced Auto Gain preset from this repo
Depending from your laptop you may need to lower volume in normalize volume effect.
In my Settings>sound>input tells me that it has no input device but when I switch to windows 11 the microphone arrays work fine.
Please correct me if I'm wrong, but from what i undestand, the driver has been upstreamed and everything should work on the latest kernel, right?
I can get https://github.com/codepayne/pop-os-linux/ to work correctly but the kernel version is really old and missing the drivers for my usb wifi adapter
I'm on KLVL-WXXW M1010 (Matebook 14 2021)
Please tell me whether I can do something to get it to work on the latest kernel, having audio on this laptop is the last thing that's really still missing for everything to work correctly
hello. I use green-linux - it's a fork of linux mint, with a mainline core from amd. huawei mate d15 laptop.
raised a question in the xanmod core gitlab.
https://gitlab.com/xanmod/linux/-/issues/380
System:
Kernel: 6.4.5-x64v1-xanmod1 x86_64 bits: 64 compiler: gcc v: 12.3.0 Desktop: Cinnamon 5.8.4
tk: GTK 3.24.33 wm: muffin dm: LightDM Distro: Linux Mint 21.2 Victoria base: Ubuntu 22.04 jammy
Machine:
Type: Laptop System: HUAWEI product: BOM-WXX9 v: M1010 serial:
Mobo: HUAWEI model: BOM-WXX9-PCB-B2 v: M1010 serial: UEFI: HUAWEI v: 2.12
date: 03/16/2023
Audio:
Device-1: AMD Renoir Radeon High Definition Audio vendor: QUANTA driver: snd_hda_intel v: kernel
pcie: speed: 8 GT/s lanes: 16 bus-ID: 03:00.1 chip-ID: 1002:1637
Device-2: AMD Raven/Raven2/FireFlight/Renoir Audio Processor vendor: QUANTA
driver: snd_rn_pci_acp3x v: kernel pcie: speed: 8 GT/s lanes: 16 bus-ID: 03:00.5
chip-ID: 1022:15e2
Sound Server-1: ALSA v: k6.4.5-x64v1-xanmod1 running: yes
Sound Server-2: PulseAudio v: 15.99.1 running: yes
Sound Server-3: PipeWire v: 0.3.48 running: yes
I compiled this kernel, installed modules, bzImage and generated initramfs. It boots up successfully.
I see Renoir Radeon High Definition Audio Controller in pavucontrol, however it produces no sounds through speakers or headphone jack. Bluetooth is working, but it was working on mainline kernel too.
I blacklisted modules snd_pci_acp5x and snd_rn_pci_acp3x as it was recommended in thesofproject/linux#3249, but still got no success after reboot.
What info can I provide to help with debugging further?
here's lsmod | grep snd_ :
[user@laptop ~]$ lsmod | grep snd_
snd_seq_dummy 16384 0
snd_hrtimer 16384 1
snd_acp3x_i2s 16384 0
snd_acp3x_pcm_dma 16384 0
snd_sof_amd_rembrandt 16384 0
snd_sof_amd_renoir 16384 0
snd_sof_amd_acp 40960 2 snd_sof_amd_rembrandt,snd_sof_amd_renoir
snd_sof_pci 24576 2 snd_sof_amd_rembrandt,snd_sof_amd_renoir
snd_hda_codec_hdmi 77824 1
snd_sof 233472 2 snd_sof_amd_acp,snd_sof_pci
snd_hda_intel 49152 3
snd_sof_utils 20480 1 snd_sof
snd_intel_dspcfg 32768 2 snd_hda_intel,snd_sof
snd_intel_sdw_acpi 20480 1 snd_intel_dspcfg
snd_pci_ps 20480 0
snd_soc_es8316 49152 0
snd_rpl_pci_acp6x 20480 0
snd_soc_core 290816 4 snd_acp3x_pcm_dma,snd_acp3x_i2s,snd_sof,snd_soc_es8316
snd_hda_codec 143360 2 snd_hda_codec_hdmi,snd_hda_intel
snd_acp_pci 16384 0
snd_acp_config 16384 3 snd_sof_amd_rembrandt,snd_acp_pci,snd_sof_amd_renoir
snd_hda_core 94208 3 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
snd_compress 28672 1 snd_soc_core
snd_soc_acpi 16384 2 snd_sof_amd_acp,snd_acp_config
snd_pcm_dmaengine 16384 1 snd_soc_core
snd_pci_acp6x 20480 0
snd_hwdep 16384 1 snd_hda_codec
ac97_bus 16384 1 snd_soc_core
snd_pci_acp3x 20480 0
snd_pcm 135168 16 snd_acp3x_pcm_dma,snd_sof_amd_acp,snd_hda_codec_hdmi,snd_pci_acp6x,snd_hda_intel,snd_hda_codec,snd_sof,snd_compress,snd_soc_core,snd_sof_utils,snd_soc_es8316,snd_hda_core,snd_pci_ps,snd_pcm_dmaengine
snd_seq 90112 7 snd_seq_dummy
snd_seq_device 16384 1 snd_seq
snd_timer 45056 3 snd_seq,snd_hrtimer,snd_pcm
snd 102400 17 snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_sof,snd_timer,snd_compress,snd_soc_core,snd_pcm
Its very important for me, sound is only one problem on my huawei linux desktop and i dont wanna sell my laptop (
Do you have any plans to send this kernel to the main kernel ? Also, are you accepting donations ?
First of all big thanks for your work. It seems like driver was loaded. I can change the volume level, I configured alsamixer the way wiki says but still can't hear anything
There is also no way to enable Left Headphone Mixer Left DAC
and Right Headphone Mixer Right DAC
in alsamixer
OS: Fedora Linux 37 (KDE Plasma) x86_64
Host: KLVL-WXXW M1010
Kernel: 6.1.3+
CPU: AMD Ryzen 5 5500U with Radeon Graphics
[aleksey@fedora ~]$ lsmod | grep snd_
snd_seq_dummy 16384 0
snd_hrtimer 16384 1
snd_seq 90112 7 snd_seq_dummy
snd_seq_device 16384 1 snd_seq
snd_sof_amd_renoir 16384 0
snd_sof_amd_acp 45056 1 snd_sof_amd_renoir
snd_hda_codec_hdmi 77824 1
snd_sof_pci 24576 1 snd_sof_amd_renoir
snd_hda_intel 53248 2
snd_sof 266240 2 snd_sof_amd_acp,snd_sof_pci
snd_sof_utils 20480 1 snd_sof
snd_hda_codec 147456 2 snd_hda_codec_hdmi,snd_hda_intel
snd_acp_config 16384 1 snd_sof_amd_renoir
snd_soc_acpi 16384 2 snd_sof_amd_acp,snd_acp_config
snd_intel_dspcfg 32768 2 snd_hda_intel,snd_sof
snd_hda_core 90112 3 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
snd_intel_sdw_acpi 20480 1 snd_intel_dspcfg
snd_hwdep 16384 1 snd_hda_codec
snd_rpl_pci_acp6x 20480 0
snd_pci_acp6x 20480 0
snd_soc_es8316 49152 1
snd_soc_es83xx_dsm_common 24576 1 snd_soc_es8316
snd_soc_acp3x_es8336_mach 20480 3
snd_pci_acp3x 20480 0
snd_acp3x_i2s 16384 1
snd_acp3x_pcm_dma 16384 1
snd_soc_core 307200 5 snd_acp3x_pcm_dma,snd_acp3x_i2s,snd_sof,snd_soc_es8316,snd_soc_acp3x_es8336_mach
snd_compress 28672 1 snd_soc_core
ac97_bus 16384 1 snd_soc_core
snd_pcm_dmaengine 16384 1 snd_soc_core
snd_pcm 131072 15 snd_acp3x_pcm_dma,snd_sof_amd_acp,snd_hda_codec_hdmi,snd_pci_acp6x,snd_hda_intel,snd_hda_codec,snd_sof,snd_compress,snd_soc_core,snd_sof_utils,snd_soc_es8316,snd_hda_core,snd_soc_acp3x_es8336_mach,snd_pcm_dmaengine
snd_timer 45056 3 snd_seq,snd_hrtimer,snd_pcm
snd 106496 23 snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_sof,snd_timer,snd_compress,snd_soc_core,snd_pcm,snd_soc_acp3x_es8336_mach
Hi,
So my laptop is a Huawei Matebook 14 AMD 2020 (Ryzen 7 4800h). Model: KLVL-WXX9
My distro is Kubuntu 23.10. Yesterday, I followed (more or less) these steps:
Admittedly, I played a bit with alsamixer trying to make the mic work. After a while of doing so and a couple reboots, everything was perfect, so I went on to try and set up a virtual camera device for OBS and it said no kernel headers were installed, so I stupidly thought installing mainline 6.7rc8 headers would do the trick. No idea if that changed anything, but after rebooting, popping noise came back.
I tried a fresh install, but I'm still getting the noises. It happens when I first log in, once or twice; when I type in my password and the session starts, once again, and then every few seconds at first, then every few minutes regardless if I'm playing any audio or not.
I'm sharing here the "alsactl info":
https://pastebin.com/CjusA0pe
Dmidecode:
https://pastebin.com/L317J0Kt
pactl info | grep "Server Name"
Server Name: PulseAudio (on PipeWire 0.3.79)
Please let me know if there's anything else I can share that's useful.
Hello, i have some audio problems on my archlinux (kernel: 6.8.5-arch1-1).
I have a matebook 14 2020 KLVL-WXX9 (M1010)
The only way to have audio in is wireless earbuds and the only way to have audio out is wireless earbuds or HDMI.
Here are the outputs of the following commands:
inxi -Axxx:
Audio:
Device-1: AMD Renoir Radeon High Definition Audio vendor: Huaqin
driver: snd_hda_intel v: kernel pcie: speed: 16 GT/s lanes: 16
bus-ID: 04:00.1 chip-ID: 1002:1637 class-ID: 0403
Device-2: AMD ACP/ACP3X/ACP6x Audio Coprocessor vendor: Huaqin driver: N/A
pcie: speed: 16 GT/s lanes: 16 bus-ID: 04:00.5 chip-ID: 1022:15e2
class-ID: 0480
API: ALSA v: k6.8.5-arch1-1 status: kernel-api
Server-1: PipeWire v: 1.0.4 status: active with: 1: pipewire-pulse
status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
4: pw-jack type: plugin
aplay -l:
**** Liste des périphériques matériels PLAYBACK ****
carte 0 : Generic [HD-Audio Generic], périphérique 3 : HDMI 0 [HDMI 0]
Sous-périphériques : 1/1
Sous-périphérique #0 : subdevice #0
carte 0 : Generic [HD-Audio Generic], périphérique 7 : HDMI 1 [HDMI 1]
Sous-périphériques : 1/1
Sous-périphérique #0 : subdevice #0
cat /proc/asound/cards:
0 [Generic ]: HDA-Intel - HD-Audio Generic
HD-Audio Generic at 0xd03c0000 irq 76
how can I install it?
Hello,
If i haven't misunderstood the old posts that i was researching inside this repo, the sound should be enable by default by installing last kernel available, at least on Archlinux. I've been using my laptop without sound since i bought it and recently (like 2 years later) i was looking for a solution. I've already tested many tweaks but right now i have the kernel of the branch master with the config edited on Arch Linux, but i had no luck.
Kernel from master branch:
uname -a
Linux HuaweiLap 6.1.3-gb9731beeb484 #1 SMP PREEMPT_DYNAMIC Sun Mar 31 14:06:48 CST 2024 x86_64 GNU/Linux
Config used at compilation config.txt
System Information
Manufacturer: HUAWEI
Product Name: NBM-WXX9
Version: M1010
Wake-up Type: Power Switch
SKU Number: C170
Family: MateBook D
dmesg log - dmesg.txt
There is a repeating log:
[ 28.926049] amd-acp3x-essx8336 amd-acp3x-essx8336.0: this system has a ES8336 codec defined in ACPI, but the driver doesn't have this system registered in DMI table
[ 28.926061] amd-acp3x-essx8336: probe of hw failed
Could my situation be similar to this issue? #31
Hi,
I've compiled this project to get sound working on my Huawei laptop with AMD CPU. It seems everything loaded as should. But still not getting any sound even after setting alsamixer. Including dmesg. If any other logs/info needed let me know and please have a patience with me it's first time I've ever compiled kernel.
EDIT: Sorry forgot mention I am running Ubuntu 22.10.
root@matebook14:~# uname -rsm
Linux 6.1.3+ x86_64
root@matebook14:~# dmesg | egrep "es8|sound"
[ 4.890179] input: HD-Audio Generic HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:08.1/0000:04:00.1/sound/card0/input15
[ 5.106056] es8316 i2c-ESSX8336:00: PLATFORM_MAINMIC_TYPE_ARG=0xbb
[ 5.106090] es8316 i2c-ESSX8336:00: PLATFORM_HPMIC_TYPE_ARG=0xcc
[ 5.106123] es8316 i2c-ESSX8336:00: PLATFORM_SPK_TYPE_ARG=0x2
[ 5.106158] es8316 i2c-ESSX8336:00: PLATFORM_HPDET_INV_ARG=0x0
[ 5.106582] es8316 i2c-ESSX8336:00: PLATFORM_MIC_DE_POP_ARG=0x0
[ 5.107050] es8316 i2c-ESSX8336:00: PLATFORM_BUS_SLOT_ARG=0x2
[ 5.107099] es8316 i2c-ESSX8336:00: HP_CODEC_LINEIN_PGA_GAIN_ARG=0x5
[ 5.107160] es8316 i2c-ESSX8336:00: MAIN_CODEC_LINEIN_PGA_GAIN_ARG=0x5
[ 5.107220] es8316 i2c-ESSX8336:00: HP_CODEC_D2SEPGA_GAIN_ARG=0x1
[ 5.107282] es8316 i2c-ESSX8336:00: MAIN_CODEC_D2SEPGA_GAIN_ARG=0x1
[ 5.107347] es8316 i2c-ESSX8336:00: HP_CODEC_ADC_VOLUME_ARG=0x0
[ 5.107433] es8316 i2c-ESSX8336:00: MAIN_CODEC_ADC_VOLUME_ARG=0x0
[ 5.107505] es8316 i2c-ESSX8336:00: HP_CODEC_ADC_ALC_ENABLE_ARG=0x1
[ 5.107579] es8316 i2c-ESSX8336:00: MAIN_CODEC_ADC_ALC_ENABLE_ARG=0x1
[ 5.107656] es8316 i2c-ESSX8336:00: HP_CODEC_ADC_ALC_TARGET_LEVEL_ARG=0xa
[ 5.107755] es8316 i2c-ESSX8336:00: MAIN_CODEC_ADC_ALC_TARGET_LEVEL_ARG=0xa
[ 5.107838] es8316 i2c-ESSX8336:00: HP_CODEC_ADC_ALC_MAXGAIN_ARG=0x12
[ 5.107924] es8316 i2c-ESSX8336:00: MAIN_CODEC_ADC_ALC_MAXGAIN_ARG=0x12
[ 5.108018] es8316 i2c-ESSX8336:00: HP_CODEC_ADC_ALC_MINGAIN_ARG=0x8
[ 5.108123] es8316 i2c-ESSX8336:00: MAIN_CODEC_ADC_ALC_MINGAIN_ARG=0x4
[ 5.108218] es8316 i2c-ESSX8336:00: HP_CODEC_ADC_ALC_HLDTIME_ARG=0x0
[ 5.108316] es8316 i2c-ESSX8336:00: MAIN_CODEC_ADC_ALC_HLDTIME_ARG=0x0
[ 5.108435] es8316 i2c-ESSX8336:00: HP_CODEC_ADC_ALC_DCYTIME_ARG=0x0
[ 5.108539] es8316 i2c-ESSX8336:00: MAIN_CODEC_ADC_ALC_DCYTIME_ARG=0x0
[ 5.118275] es8316 i2c-ESSX8336:00: HP_CODEC_ADC_ALC_ATKTIME_ARG=0x2
[ 5.118743] es8316 i2c-ESSX8336:00: MAIN_CODEC_ADC_ALC_ATKTIME_ARG=0x2
[ 5.118918] es8316 i2c-ESSX8336:00: HP_CODEC_ADC_ALC_NGTYPE_ARG=0x3
[ 5.119077] es8316 i2c-ESSX8336:00: MAIN_CODEC_ADC_ALC_NGTYPE_ARG=0x3
[ 5.119246] es8316 i2c-ESSX8336:00: HP_CODEC_ADC_ALC_NGTHLD_ARG=0x1
[ 5.119448] es8316 i2c-ESSX8336:00: MAIN_CODEC_ADC_ALC_NGTHLD_ARG=0x1
[ 5.119543] es8316 i2c-ESSX8336:00: MAIN_CODEC_ADC_GUI_STEP_ARG=0x3
[ 5.119623] es8316 i2c-ESSX8336:00: MAIN_CODEC_ADC_GUI_GAIN_RANGE_ARG=0x3
[ 5.120245] es8316 i2c-ESSX8336:00: HP_CODEC_DAC_HPMIX_HIGAIN_ARG=0x0
[ 5.120400] es8316 i2c-ESSX8336:00: SPK_CODEC_DAC_HPMIX_HIGAIN_ARG=0x0
[ 5.120569] es8316 i2c-ESSX8336:00: HP_CODEC_DAC_HPMIX_VOLUME_ARG=0xbb
[ 5.120891] es8316 i2c-ESSX8336:00: SPK_CODEC_DAC_HPMIX_VOLUME_ARG=0xbb
[ 5.121502] es8316 i2c-ESSX8336:00: HP_CODEC_DAC_HPOUT_VOLUME_ARG=0x0
[ 5.122114] es8316 i2c-ESSX8336:00: SPK_CODEC_DAC_HPOUT_VOLUME_ARG=0x0
[ 5.122724] es8316 i2c-ESSX8336:00: HP_CODEC_LDAC_VOLUME_ARG=0x0
[ 5.123254] es8316 i2c-ESSX8336:00: HP_CODEC_RDAC_VOLUME_ARG=0x0
[ 5.123559] es8316 i2c-ESSX8336:00: SPK_CODEC_LDAC_VOLUME_ARG=0x0
[ 5.123765] es8316 i2c-ESSX8336:00: SPK_CODEC_RDAC_VOLUME_ARG=0x0
[ 5.123985] es8316 i2c-ESSX8336:00: HP_CODEC_DAC_AUTOMUTE_ARG=0x0
[ 5.124254] es8316 i2c-ESSX8336:00: SPK_CODEC_DAC_AUTOMUTE_ARG=0x1
[ 5.124469] es8316 i2c-ESSX8336:00: HP_CODEC_DAC_MONO_ARG=0x0
[ 5.124696] es8316 i2c-ESSX8336:00: SPK_CODEC_DAC_MONO_ARG=0x0
[ 5.125591] es8316 i2c-ESSX8336:00: SPK_CTL_IO_LEVEL_ARG=0x1
[ 5.125979] es8316 i2c-ESSX8336:00: CODEC_GPIO0_FUNC_ARG=0x1
[ 5.128422] es8316 i2c-ESSX8336:00: PLATFORM_MCLK_LRCK_FREQ_ARG=0x0
[ 5.128467] es8316 i2c-ESSX8336:00: PLATFORM_MAINMIC_TYPE_ARG=0xbb
[ 5.128511] es8316 i2c-ESSX8336:00: PLATFORM_HPMIC_TYPE_ARG=0xcc
[ 5.128559] es8316 i2c-ESSX8336:00: PLATFORM_SPK_TYPE_ARG=0x2
[ 5.128639] es8316 i2c-ESSX8336:00: PLATFORM_HPDET_INV_ARG=0x0
[ 5.129247] es8316 i2c-ESSX8336:00: PLATFORM_MIC_DE_POP_ARG=0x0
[ 5.129876] es8316 i2c-ESSX8336:00: PLATFORM_BUS_SLOT_ARG=0x2
[ 5.129945] es8316 i2c-ESSX8336:00: HP_CODEC_LINEIN_PGA_GAIN_ARG=0x5
[ 5.130013] es8316 i2c-ESSX8336:00: MAIN_CODEC_LINEIN_PGA_GAIN_ARG=0x5
[ 5.130093] es8316 i2c-ESSX8336:00: HP_CODEC_D2SEPGA_GAIN_ARG=0x1
[ 5.130179] es8316 i2c-ESSX8336:00: MAIN_CODEC_D2SEPGA_GAIN_ARG=0x1
[ 5.130268] es8316 i2c-ESSX8336:00: HP_CODEC_ADC_VOLUME_ARG=0x0
[ 5.130361] es8316 i2c-ESSX8336:00: MAIN_CODEC_ADC_VOLUME_ARG=0x0
[ 5.130457] es8316 i2c-ESSX8336:00: HP_CODEC_ADC_ALC_ENABLE_ARG=0x1
[ 5.130557] es8316 i2c-ESSX8336:00: MAIN_CODEC_ADC_ALC_ENABLE_ARG=0x1
[ 5.130663] es8316 i2c-ESSX8336:00: HP_CODEC_ADC_ALC_TARGET_LEVEL_ARG=0xa
[ 5.130772] es8316 i2c-ESSX8336:00: MAIN_CODEC_ADC_ALC_TARGET_LEVEL_ARG=0xa
[ 5.130886] es8316 i2c-ESSX8336:00: HP_CODEC_ADC_ALC_MAXGAIN_ARG=0x12
[ 5.131002] es8316 i2c-ESSX8336:00: MAIN_CODEC_ADC_ALC_MAXGAIN_ARG=0x12
[ 5.131123] es8316 i2c-ESSX8336:00: HP_CODEC_ADC_ALC_MINGAIN_ARG=0x8
[ 5.131248] es8316 i2c-ESSX8336:00: MAIN_CODEC_ADC_ALC_MINGAIN_ARG=0x4
[ 5.131376] es8316 i2c-ESSX8336:00: HP_CODEC_ADC_ALC_HLDTIME_ARG=0x0
[ 5.131509] es8316 i2c-ESSX8336:00: MAIN_CODEC_ADC_ALC_HLDTIME_ARG=0x0
[ 5.131646] es8316 i2c-ESSX8336:00: HP_CODEC_ADC_ALC_DCYTIME_ARG=0x0
[ 5.131791] es8316 i2c-ESSX8336:00: MAIN_CODEC_ADC_ALC_DCYTIME_ARG=0x0
[ 5.131939] es8316 i2c-ESSX8336:00: HP_CODEC_ADC_ALC_ATKTIME_ARG=0x2
[ 5.132093] es8316 i2c-ESSX8336:00: MAIN_CODEC_ADC_ALC_ATKTIME_ARG=0x2
[ 5.132247] es8316 i2c-ESSX8336:00: HP_CODEC_ADC_ALC_NGTYPE_ARG=0x3
[ 5.132405] es8316 i2c-ESSX8336:00: MAIN_CODEC_ADC_ALC_NGTYPE_ARG=0x3
[ 5.132566] es8316 i2c-ESSX8336:00: HP_CODEC_ADC_ALC_NGTHLD_ARG=0x1
[ 5.132752] es8316 i2c-ESSX8336:00: MAIN_CODEC_ADC_ALC_NGTHLD_ARG=0x1
[ 5.132825] es8316 i2c-ESSX8336:00: MAIN_CODEC_ADC_GUI_STEP_ARG=0x3
[ 5.132898] es8316 i2c-ESSX8336:00: MAIN_CODEC_ADC_GUI_GAIN_RANGE_ARG=0x3
[ 5.133631] es8316 i2c-ESSX8336:00: HP_CODEC_DAC_HPMIX_HIGAIN_ARG=0x0
[ 5.133805] es8316 i2c-ESSX8336:00: SPK_CODEC_DAC_HPMIX_HIGAIN_ARG=0x0
[ 5.133984] es8316 i2c-ESSX8336:00: HP_CODEC_DAC_HPMIX_VOLUME_ARG=0xbb
[ 5.134169] es8316 i2c-ESSX8336:00: SPK_CODEC_DAC_HPMIX_VOLUME_ARG=0xbb
[ 5.134361] es8316 i2c-ESSX8336:00: HP_CODEC_DAC_HPOUT_VOLUME_ARG=0x0
[ 5.134554] es8316 i2c-ESSX8336:00: SPK_CODEC_DAC_HPOUT_VOLUME_ARG=0x0
[ 5.134751] es8316 i2c-ESSX8336:00: HP_CODEC_LDAC_VOLUME_ARG=0x0
[ 5.134957] es8316 i2c-ESSX8336:00: HP_CODEC_RDAC_VOLUME_ARG=0x0
[ 5.135166] es8316 i2c-ESSX8336:00: SPK_CODEC_LDAC_VOLUME_ARG=0x0
[ 5.135383] es8316 i2c-ESSX8336:00: SPK_CODEC_RDAC_VOLUME_ARG=0x0
[ 5.135609] es8316 i2c-ESSX8336:00: HP_CODEC_DAC_AUTOMUTE_ARG=0x0
[ 5.135839] es8316 i2c-ESSX8336:00: SPK_CODEC_DAC_AUTOMUTE_ARG=0x1
[ 5.136057] es8316 i2c-ESSX8336:00: HP_CODEC_DAC_MONO_ARG=0x0
[ 5.136279] es8316 i2c-ESSX8336:00: SPK_CODEC_DAC_MONO_ARG=0x0
[ 5.137096] es8316 i2c-ESSX8336:00: SPK_CTL_IO_LEVEL_ARG=0x1
[ 5.137192] es8316 i2c-ESSX8336:00: CODEC_GPIO0_FUNC_ARG=0x1
[ 5.139315] es8316 i2c-ESSX8336:00: PLATFORM_MCLK_LRCK_FREQ_ARG=0x0
[ 5.139353] es8316 i2c-ESSX8336:00: HP jack detect inverted 0
[ 5.145767] input: HD-Audio Generic HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:08.1/0000:04:00.1/sound/card0/input16
[ 10.268816] amd-acp3x-essx8336 amd-acp3x-essx8336.0: matched DMI table with this system, trying to register sound card
[ 10.268945] es8316 i2c-ESSX8336:00: assuming static mclk
[ 10.317591] input: amd-acp3x-essx8336 Headset as /devices/platform/amd-acp3x-essx8336.0/sound/card1/input20
[ 10.317738] amd-acp3x-essx8336 amd-acp3x-essx8336.0: successfully registered the sound card
Thanks and Regards,
dRRRft.
I did everything as it is written in the guide. Alsamixer does not see the required amd-acp3x-essx8336. Matebook Ryzen 5 5500u 2021.
dmesg:
2.pdf
I'm on nixos (may be it's related)
What I done.
Speakers work perfect, microphone work perfect (inside my headphones).
Headphones have no sound by default, but if I plug jack halfway when it's not detected in system but still get signals, headphones audio start work with speakers. If I enable speakers in alsamixer when headphones plugged in and enabled inside pavucontrol, speakers start to work but no sound on headphones.
Here pavucontrol screenshots
When headphones plugged in (no sound in headphones)
When headphones half way plugged in (sound in speakers and headphones)
Tested with aplay and VLC (so it's not pipewire config issue I think)
Sorry for my English, Thanks for your work!
I am experiencing an issue with sound on my Huawei MateBook 14 (Model: KLVL-WXXW, M1010) running Arch Linux. Despite trying various fixes, I am unable to get sound output. However, mysteriously, sometimes the laptop plays sound for a split of a second, and I can recognize that there is some sort of sound coming out of the speakers.
Manufacturer: HUAWEI
Product Name: KLVL-WXXW
Version: M1010
OS: Arch Linux x86_64
Kernel: 6.7.2-arch1-1
WM: awesome
CPU: AMD Ryzen 5 5500U
GPU: AMD ATI Lucienne
I tried the following workaround on boot without success:
echo -1 > /sys/bus/pci/drivers/snd_acp_pci/0000:03:00.5/power/autosuspend_delay_ms
After boot and playing a wav with aplay dmesg.txt
Screenshots of ALSA mixer and PulseAudio configuration
Any insights or guidance on resolving this issue would be greatly appreciated. I've been using this laptop for more than a year now without sound :(
First of all, I successfully configured the kernel and alsamixer settings and the sound is working perfectly. Thank you for solving this problem.
But the problem is that when I suspend the computer or close the laptop screen, it continues to consume power. In lock mode, the screen light turns on every 1 minute. In suspend mode, it wakes up instantly. And I see the login screen. Last night I just lowered my screen with 80% charge, and when I woke up, it was 0%.
I don't understand if this is caused by audio driver or the kernel itself. It feels like when I suspend, the speaker is not disabled, it works and causing the computer to wake up immediately after the suspension.
Is there any way to solve this problem?
Did everything as described in the wiki, but the new soundcard didnt apper in alsamixer.
dmesg:
dmesg.txt
Hi, after building the kernel in alsamixer appeared the necessary sound card, but after turning on the following items: Left Headphone Mixer Left DAC, Right Headphone Mixer Right DAC from the speakers begins to sound white noise, and when you put any sounds, everything is horribly distorted, could you tell me what could be the cause, I can provide all that is necessary. Thank you very much!
after building, installing the kernel, adjusting the new sound card in alsamixer, still no sound.
https://pastebin.com/4ffkk5Hs dmesg
https://pastebin.com/nwmJjSzd lsmod
I compiled kernel from special branch with needed parameters, made changes to configuration files and configured alsamixer according to the wiki, but there is still no sound for some reason. Alsamixer is displaying soundcard, but system doesn't display it in graphical interface.
Here is all the info about my system:
OS: Ubuntu 23.04 x86_64
Host: BOM-WXX9 M1010
Kernel: 6.1.3+
dmesg.txt
lsmod.txt
asound.txt
After @martyn0ff commit speakers start working, but microphone not. In original ubuntu kernel 5.16 microphone works, speakers not.
arecord -l (patched kernel)
**** List of CAPTURE Hardware Devices ****
card 1: amdacp3xessx833 [amd-acp3x-essx8336], device 0: ES8336 HiFi Play ES8316 HiFi-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
arecord -l (original ubuntu 5.16)
**** List of CAPTURE Hardware Devices ****
card 0: acp [acp], device 0: DMIC capture dmic-hifi-0 []
Subdevices: 0/1
Subdevice #0: subdevice #0
Sound in 3.5mm jack not working too.
Hi @codepayne,
today I booted up kernel 6.7rc3 (from Fedora Rawhide 20231129) on my Matebook 14 2021 but I can't see the sound card in the alsa mixer.
The exact model written on the bottom of the laptop is "KLVL-WXX9-PCB-B1" and it has a R7 4800H.
Here are the outputs of alsa-info.sh and dmesg:
alsa-info.txt
dmesg.txt
Also, do you accept donations? I would like to send you a small reward for your work.
First of all, thank you very much for sharing this solution to an annoying problem that Huawei decided not to solve.
I've never done this before, but while I'm waiting (too long) for an official solution, I'd like to give it a try.
I just need to download everything to a local folder and follow one of the many guides for compiling and installing the kernel, right?
Is there anything else I should know before complaining?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.