The current component that the Linux kernel uses to perform this function is ALSA which stands for Advanced Linux Sound Architecture.
Normally, ALSA supports up to eight boards numbered 0 through 7. Each board is a physical or logical core device with input, output or sound control capability and can also be addressed by its id which is an explanatory string such as Headset or ICH9 .
If the board is omitted, this means board 0 or default board, where most of the sounds are played and that is determined by the operating system. Plates have numbered devices starting with 0.
When you install Gentoo, these devices generally do not automatically recognize for various reasons
lspci | grep -i audio
cd /usr/src/linux && make menuconfig
Activate the following kernel options:
The lsmod
command can be helpful.
If the system has more than 8 sound outputs (Each HDMI output on a GPU will count as one), the max number of sound cards will need to be increased:
cat /proc/asound/cards
emerge --ask media-sound/alsa-utils
# normal user, dont'n run root
alsamixer
vim /etc/modprobe.d/alsa.conf
And insert the content below at the end of the file
options snd-ca0106 index=0
alias snd-card-1 snd-hda-intel
options snd-hda-intel index=1
options snd cards_limit=2