Discovered due to https://github.com/thesofproject/sof/issues/3519 The microphone array on this laptop does not work out of the box (i.e., with pulseaudio) without one or both (unsure) of media-libs/alsa-topology-conf and media-libs/alsa-ucm-conf. Currently *nothing* in gentoo.git depends on either of these packages, so you have to know that they're needed for your hardware. These two packages are ~300kB each, and the failure mode without them is not easily debuggable. Just search for this laptop's model number (x360 13-aw0xxx) and "microphone" to see all of the problems! Should alsa-lib just depend on these packages to avoid this problem? Or should pulseaudio?
Cc'ing Polynomial-C since he added these packages and might have an opinion.
To be honest, I only added the alsa-*-conf packages because I saw in upstream's changelog that they had been split off of alsa-lib package. IMHO your inquiry makes sense and we should make alsa-lib depend on these packages.
Thanks! That's great information.
Indeed, we might as well put an explicit dependency without a USE-flag to start with. If an appropriate USE-flag comes to light we can revisit. Non-debuggable breakage is bad.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4fc62f6c60ed72a92418d57866c95c565ac6f0ea commit 4fc62f6c60ed72a92418d57866c95c565ac6f0ea Author: Matt Turner <mattst88@gentoo.org> AuthorDate: 2020-10-15 00:34:29 +0000 Commit: Matt Turner <mattst88@gentoo.org> CommitDate: 2020-10-15 00:36:35 +0000 media-libs/alsa-lib: Depend on media-libs/alsa-*-conf Closes: https://bugs.gentoo.org/749041 Signed-off-by: Matt Turner <mattst88@gentoo.org> media-libs/alsa-lib/alsa-lib-1.2.3.2-r1.ebuild | 84 ++++++++++++++++++++++++++ 1 file changed, 84 insertions(+)