Closed saber716rus closed 9 months ago
You need to adjust your alsamixer setup. From https://github.com/codepayne/linux-sound-huawei/issues/26#issuecomment-1837420648
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: https://github.com/codepayne/linux-sound-huawei/issues/26#issuecomment-1837502247
It could be that the sound feels accelerated, it's a known problem.
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.
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.
@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
Screenshot of alsamixer
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 ~>
@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: https://github.com/codepayne/linux-sound-huawei/issues/26#issuecomment-1837502247
@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: https://github.com/codepayne/linux-sound-huawei/issues/26#issuecomment-1837502247
Actually, I did as @TomZanna described. Wait, what did I ignore from the wiki?
@saber716rus Read the wiki again, maybe you'll see it.
@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.
@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)
@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)
thank you. I'll try it tomorrow.
@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)
I turned it on and rebooted it. And there was no sound, and there is no sound. alsa-info.txt
@codepayne I did, and what is the result? There is no sound anyway.
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.
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".
Recording from the microphone connected to the ES8336 chip, is also not working.
aplay -L output:
pactl info output:
lspci -vv output:
lspci-vv.txt
dmesg :
cat /proc/asound/cards:
Issue tracked in https://github.com/codepayne/linux-sound-huawei/issues/28
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