The default module config has: +options snd cards_limit=1 I have no clue why we need to set limit by default but 1 seems a bit small for modern desktop systems. Here I do have 2 cards because of HDMI output on video card, and I think other desktops with real video card have the same.
I couldn't find an equivalent file in the packages for other distributions... I neither known where the original file comes from... maybe from an "alsaconf" run with default parameters :/ But I don't know how the other distros are handling the OSS compatibility... as the other parts are likely obsolete
Created attachment 842859 [details] ubuntu-alsa.conf I have been reviewing the config files on an Ubuntu 20.04 installation and it seems that, even if they also use a modprobe.d file, they specify completely different settings aiming to workaround some bugs. I think then that dropping the cards limit line could be safe (and probably dropping most of the lines too)
I am running for some days without any alsa.conf file and for now it works... I would drop it then and, if we need to add lines in the future, add them with the proper references as done in Ubuntu
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6cf2e5bbd380f6b695bcef9752c55f082ce5a759 commit 6cf2e5bbd380f6b695bcef9752c55f082ce5a759 Author: Pacho Ramos <pacho@gentoo.org> AuthorDate: 2022-12-23 10:11:51 +0000 Commit: Pacho Ramos <pacho@gentoo.org> CommitDate: 2022-12-23 10:14:26 +0000 media-sound/alsa-utils: Stop providing obsolete modprobe.d file The file only contains obsolete entries that are not needed with current systems. If some lines need to be added to workaround other issues, please open a bug report per issue to properly track them in the future. Also drop unneeded .la files. Closes: https://bugs.gentoo.org/713732 Closes: https://bugs.gentoo.org/728108 Closes: https://bugs.gentoo.org/849014 Signed-off-by: Pacho Ramos <pacho@gentoo.org> media-sound/alsa-utils/alsa-utils-1.2.8-r1.ebuild | 92 +++++++++++++++++++++++ 1 file changed, 92 insertions(+)