Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no sound on huawei mate D15 laptop BOM-WXX9-PCB-B2 #27

Closed
saber716rus opened this issue Dec 20, 2023 · 16 comments
Closed

no sound on huawei mate D15 laptop BOM-WXX9-PCB-B2 #27

saber716rus opened this issue Dec 20, 2023 · 16 comments

Comments

@saber716rus
Copy link

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.

logs.zip

@TomZanna
Copy link

TomZanna commented Dec 20, 2023

You need to adjust your alsamixer setup.
From #26 (comment)

Firstly make sure that DAC source mux is set to: LDaTA to LDAC, RDATA to RDAC. Without it there will be no sound.
Disable Left Headphone Mixer LLIN and Right Headphone Mixer RLIN - these ones seem to add pops
Push DAC, Headphone Mixer and Headphone to 100.

Then enable the following knobs because I see from alsa-info that they are turned off:
Left Headphone Mixer Left DAC, Right Headphone Mixer Right DAC

Also, at the moment a workaround is needed, read here for more: #26 (comment)

It could be that the sound feels accelerated, it's a known problem.

@saber716rus
Copy link
Author

You need to adjust your alsamixer setup. From #26 (comment)

Firstly make sure that DAC source mux is set to: LDaTA to LDAC, RDATA to RDAC. Without it there will be no sound.
Disable Left Headphone Mixer LLIN and Right Headphone Mixer RLIN - these ones seem to add pops
Push DAC, Headphone Mixer and Headphone to 100.

Then enable the following knobs because I see from alsa-info that they are turned off: Left Headphone Mixer Left DAC, Right Headphone Mixer Right DAC

Also, at the moment a workaround is needed, read here for more: #26 (comment)

It could be that the sound feels accelerated, it's a known problem.

The most interesting thing is that there is no such thing in the 6.6.7 kernel.

@TomZanna
Copy link

there is no such thing in the 6.6.7 kernel

Sorry, I assumed you were using 6.7rc. In versions prior to 6.7 the driver is not present.
If you try with 6.7rc it should work because from alsa-info I see that the correct module is loaded and there are knobs in alsa mixer.

@saber716rus
Copy link
Author

saber716rus commented Dec 20, 2023

@codepayne the kernel config seems to be enabled, but there is still no sound.

saber716rus@saber716rus-M1010 ~> cat /boot/config-6.7.0-060700rc6-generic | grep SOC_AMD
CONFIG_SND_SOC_AMD_ACP=m
CONFIG_SND_SOC_AMD_CZ_DA7219MX98357_MACH=m
CONFIG_SND_SOC_AMD_CZ_RT5645_MACH=m
CONFIG_SND_SOC_AMD_ST_ES8336_MACH=m
CONFIG_SND_SOC_AMD_ACP3x=m
CONFIG_SND_SOC_AMD_RV_RT5682_MACH=m
CONFIG_SND_SOC_AMD_RENOIR=m
CONFIG_SND_SOC_AMD_RENOIR_MACH=m
CONFIG_SND_SOC_AMD_ACP5x=m
CONFIG_SND_SOC_AMD_VANGOGH_MACH=m
CONFIG_SND_SOC_AMD_ACP6x=m
CONFIG_SND_SOC_AMD_YC_MACH=m
CONFIG_SND_SOC_AMD_ACP_COMMON=m
CONFIG_SND_SOC_AMD_ACP_PDM=m
CONFIG_SND_SOC_AMD_ACP_LEGACY_COMMON=m
CONFIG_SND_SOC_AMD_ACP_I2S=m
CONFIG_SND_SOC_AMD_ACP_PCM=m
CONFIG_SND_SOC_AMD_ACP_PCI=m
CONFIG_SND_SOC_AMD_MACH_COMMON=m
CONFIG_SND_SOC_AMD_LEGACY_MACH=m
CONFIG_SND_SOC_AMD_SOF_MACH=m
CONFIG_SND_SOC_AMD_RPL_ACP6x=m
CONFIG_SND_SOC_AMD_PS=m
CONFIG_SND_SOC_AMD_PS_MACH=m
saber716rus@saber716rus-M1010 ~>

Although I did it too

Modify /etc/modprobe.d/blacklist.conf and add the following lines:
blacklist snd_acp3x_rn
blacklist snd_pci_acp5x
blacklist snd_rn_pci_acp3x

Modify /etc/modules-load.d/modules.conf and add the following lines:
snd_soc_es8316
snd_acp3x_pcm_dma
snd_acp3x_i2s
snd_pci_acp3x
snd_soc_acp3x_es8336_mach

@saber716rus
Copy link
Author

saber716rus commented Dec 20, 2023

Screenshot of alsamixer
Снимок экрана от 2023-12-20 15-00-26
Снимок экрана от 2023-12-20 15-00-48
Снимок экрана от 2023-12-20 15-00-55

@saber716rus
Copy link
Author

saber716rus@saber716rus-M1010 ~> aplay -d 1 /usr/share/sounds/alsa/Noise.wav
Воспроизведение WAVE '/usr/share/sounds/alsa/Noise.wav' : Signed 16 bit Little Endian, Частота 48000 Гц, Моно
saber716rus@saber716rus-M1010 ~>

@codepayne
Copy link
Owner

@saber716rus Why are ignoring everything that is told to you? Both the wiki and @TomZanna mentioned to you that you need to enable certain options in alsamixer. These options are not enabled in your screenshots.

Also you need to follow the instructions from the link that @TomZanna mentioned:
#26 (comment)

@saber716rus
Copy link
Author

@saber716rus Why are ignoring everything that is told to you? Both the wiki and @TomZanna mentioned to you that you need to enable certain options in alsamixer. These options are not enabled in your screenshots.

Also you need to follow the instructions from the link that @TomZanna mentioned:
#26 (comment)

Actually, I did as @TomZanna described. Wait, what did I ignore from the wiki?

@codepayne
Copy link
Owner

@saber716rus Read the wiki again, maybe you'll see it.

@saber716rus
Copy link
Author

@saber716rus Read the wiki again, maybe you'll see it.

Left Headphone Mixer Left DAC, Right Headphone Mixer Right DAC
After doing these changes you should be hearing the sound.
where do they turn on? I'll check it out tomorrow.

@TomZanna
Copy link

@saber716rus go all the way to the right in alsamixer. The name is displayed in the top left corner. You have to press the M key to activate/deactivate (otherwise look at the help by pressing F1)
image

@saber716rus
Copy link
Author

@saber716rus go all the way to the right in alsamixer. The name is displayed in the top left corner. You have to press the M key to activate/deactivate (otherwise look at the help by pressing F1)
image

thank you. I'll try it tomorrow.

@saber716rus
Copy link
Author

@saber716rus go all the way to the right in alsamixer. The name is displayed in the top left corner. You have to press the M key to activate/deactivate (otherwise look at the help by pressing F1) image

I turned it on and rebooted it. And there was no sound, and there is no sound.
alsa-info.txt

Снимок экрана от 2023-12-23 12-51-26

@saber716rus
Copy link
Author

@codepayne I did, and what is the result? There is no sound anyway.

@Honda-VTEC
Copy link

Same issue on my Matebook D15 2021 Ryzen5 5500U BOM-WXX9. I've started testing the drivers on fedora 39 stable, compiling the latest 6.7rc kernel every time with the right flags but I could never get anything working. I obviously did configure alsamixer, did the workaround for the auto suspense state, but nothing. Tried even different distros: Ubuntu 23.10, 24.04, but the only way I could get some random noises and select "AMD ACP/ACP3x/ACP6x" as an output device was with the kernel of this repo (6.1.3).

I am currently in this situation:

Fedora 40 Rawhide, the latest with the right flags enabled(before the 27th Dec release they weren't enabled), and out of the box I got absolutely nothing. In the audio settings I can only see Dummy output and not the "AMD ACP/ACP3x/ACP6x" output device, like for example happens on the Matebook D14.

Schermata del 2023-12-28 00-49-48

Then I tried to configure alsamixer and did the workaround but it obviously did not work. I've tried different times to reproduce something but an error comes out: "Broken configuration for this PCM: no configuration available".

Schermata del 2023-12-27 22-56-37

Schermata del 2023-12-29 19-33-52

Recording from the microphone connected to the ES8336 chip, is also not working.

Schermata del 2023-12-29 19-40-16

aplay -L output:

Schermata del 2023-12-27 22-54-42

pactl info output:

Schermata del 2023-12-27 21-46-16

lspci -vv output:
lspci-vv.txt

dmesg :

dmesg.txt

cat /proc/asound/cards:

photo_2023-12-29_23-58-48

@codepayne
Copy link
Owner

Issue tracked in #28

@codepayne codepayne closed this as not planned Won't fix, can't repro, duplicate, stale Jan 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants