#1053994 the es8316 module does not work on the huawei mate d15 laptop

Package:
linux-image-amd64
Source:
linux-image-amd64
Description:
Linux for 64-bit PCs (meta-package)
Submitter:
Николай
Date:
2023-12-20 17:51:03 UTC
Severity:
normal
Tags:
#1053994#5
Date:
2023-10-15 13:46:38 UTC
From:
To:
saber716rus@BOM-WXX9 ~> lsmod | grep es8316
snd_soc_es8316         53248  0
snd_soc_core          348160  4
snd_acp3x_rn,snd_soc_es8316,snd_soc_dmic,snd_acp3x_pdm_dma
snd_pcm               159744  9
snd_hda_codec_hdmi,snd_pci_acp6x,snd_hda_intel,snd_hda_codec,snd_compress,snd_soc_core,snd_soc_es8316,snd_hda_core,snd_acp3x_pdm_dma
saber716rus@BOM-WXX9 ~>


https://linux-hardware.org/?probe=392bcb8e67 - log hw-probe

the pulseaudio package sees the map, but the profiles are not working,
and the alsa package does not see the map at all.

#1053994#10
Date:
2023-10-15 14:05:29 UTC
From:
To:
it is also possible that there is not enough topology for this type of
laptop

15.10.2023 16:51, Debian Bug Tracking System пишет:

#1053994#15
Date:
2023-10-29 18:03:30 UTC
From:
To:
I sent a request to the linux kernel bugzilla.


https://bugzilla.kernel.org/show_bug.cgi?id=218085

#1053994#28
Date:
2023-12-18 06:25:54 UTC
From:
To:
hello. It looks like there is a solution. https://bugzilla.kernel.org/show_bug.cgi?id=215119#c52 it is necessary to assemble this core. and try it out.
#1053994#33
Date:
2023-12-18 14:44:44 UTC
From:
To:
Control: reassign -1 src:linux 6.1.55-1
Control: forwarded -1 https://bugzilla.kernel.org/show_bug.cgi?id=218085
Control: tag -1 upstream

updating metadata accordingly

Should your upstream bug be merged with this one? (No idea if that's possible
or how that should be done though)

I verified that the commits are part of 6.7-rc1. None have a "Fixes:" tag
though, so it probably won't be automatically backported to 6.1 kernels.

#1053994#40
Date:
2023-12-18 15:28:10 UTC
From:
To:
hello. I asked a question about the lts core backport. Let's wait for an answer.

18 декабря 2023 г. 17:44:44 GMT+03:00, Diederik de Haas <didi.debian@cknow.org> пишет:

#1053994#45
Date:
2023-12-18 15:30:39 UTC
From:
To:
I would ask you to build the 6.7 kernel version into the experimental repository.

18 декабря 2023 г. 17:44:44 GMT+03:00, Diederik de Haas <didi.debian@cknow.org> пишет:

#1053994#50
Date:
2023-12-20 16:20:18 UTC
From:
To:
I also got a bug. I tried it on the 6.7-rc6 core. in my case, the sound did not work.



https://github.com/codepayne/linux-sound-huawei/issues/27

18 декабря 2023 г. 17:44:44 GMT+03:00, Diederik de Haas <didi.debian@cknow.org> пишет:

#1053994#55
Date:
2023-12-20 16:25:50 UTC
From:
To:
#1053994#60
Date:
2023-12-20 17:07:31 UTC
From:
To:
What works, or in this case doesn't work, on a Ubuntu kernel, is completely
irrelevant to the Debian kernel as they use different kernel configs.
Please don't pollute Debian kernel bugs with such info, or at least clearly
mark it *in the Debian bug* that it's from a different distro.

#1053994#65
Date:
2023-12-20 17:25:38 UTC
From:
To:
it was possible to test only on the kernel version 6.7 built for ubuntu. Unfortunately, debian does not have this version of the kernel. Even in the experimental repository. The 1st link is an error to a person who understands this and sends patches to the upstream kernel. The second link comes from the upstream core.

20 декабря 2023 г. 20:07:31 GMT+03:00, Diederik de Haas <didi.debian@cknow.org> пишет:

#1053994#70
Date:
2023-12-20 17:28:44 UTC
From:
To:
also, the kernel should be built with this parameter of the kernel config

CONFIG_SND_SOC_AMD_LEGACY_MACH=m

20 декабря 2023 г. 20:07:31 GMT+03:00, Diederik de Haas <didi.debian@cknow.org> пишет:

#1053994#75
Date:
2023-12-20 17:40:30 UTC
From:
To:
Then you wait until that kernel is available in Debian and test with that.
Or you build your own kernel with Debian's config. If you want, you can use my
branch for that: https://salsa.debian.org/diederik/linux/-/tree/update-to-6.7

The upstream commit was useful. As it isn't marked as a bugfix, it'll be send
to Linus in the 6.8 merge window, so it won't end up (by default) in the 6.7
upstream kernel and thus not (by default) in Debian's.

#1053994#80
Date:
2023-12-20 17:35:24 UTC
From:
To:
That's currently not enabled in Debian's kernel config, so that needs to be
added then.

#1053994#85
Date:
2023-12-20 17:46:01 UTC
From:
To:
yes, I will try to build with this parameter. And there is also an alsa regression and a workaround so far

https://github.com/codepayne/linux-sound-huawei/issues/26#issuecomment-1837502247

20 декабря 2023 г. 20:40:30 GMT+03:00, Diederik de Haas <didi.debian@cknow.org> пишет: