modprobe: ERROR: could not insert 'snd_aloop': No such device
<p>I'm trying to make a Jack-ALSA bridge on gentoo, but I cannot load the snd_aloop module.</p>

<p>Kernel:</p>

<pre><code>$ uname -a
Linux MalfattiTux 4.6.7-rt-rt11 #1 SMP Thu Sep 22 14:54:42 BRT 2016 x86_64 Intel(R) Core(TM) i7-4710HQ CPU @ 2.50GHz GenuineIntel GNU/Linux
</code></pre>

<p>snd_aloop compiled as a module:</p>

<pre><code>$ cat /usr/src/linux-4.6.7-rt11/.config | grep ALOOP
CONFIG_SND_ALOOP=m
</code></pre>

<p>snd_aloop info:</p>

<pre><code>$ sudo modinfo snd_aloop
filename:       /lib/modules/4.6.7-rt-rt11/kernel/sound/drivers/snd-aloop.ko
license:        GPL
description:    A loopback soundcard
author:         Jaroslav Kysela &lt;perex@perex.cz&gt;
depends:        snd-pcm
intree:         Y
vermagic:       4.6.7-rt-rt11 SMP mod_unload modversions 
parm:           index:Index value for loopback soundcard. (array of int)
parm:           id:ID string for loopback soundcard. (array of charp)
parm:           enable:Enable this loopback soundcard. (array of bool)
parm:           pcm_substreams:PCM substreams # (1-8) for loopback driver. (array of int)
parm:           pcm_notify:Break capture when PCM format/rate/channels changes. (array of int)
</code></pre>

<p>Settings for the snd_aloop module:</p>

<pre><code>$ cat /etc/modprobe.d/alsa.conf | grep aloop
options snd-aloop id=Loopback index=0 pcm_substreams=2 enable=1
alias snd-card-0 snd-aloop
</code></pre>

<p>Audio devices:</p>

<pre><code>$ sudo lspci | grep -i audio
00:03.0 Audio device: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller (rev 06)
00:1b.0 Audio device: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller (rev 05)

$ sudo lspci -k -s 00:03.0
00:03.0 Audio device: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller (rev 06)
    Subsystem: Lenovo Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller
    Kernel driver in use: snd_hda_intel
    Kernel modules: snd_hda_intel

$ sudo lspci -k -s 00:1b.0
00:1b.0 Audio device: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller (rev 05)
    Subsystem: Lenovo 8 Series/C220 Series Chipset High Definition Audio Controller
    Kernel driver in use: snd_hda_intel
    Kernel modules: snd_hda_intel
</code></pre>

<p>All looks ok. But then:</p>

<pre><code>$ sudo modprobe snd_aloop
modprobe: ERROR: could not insert 'snd_aloop': No such device
</code></pre>

<p>I also tried compiling it not as a module, but included in the kernel. Then, I had loopback devices, but I had no control over them (like number of substreams, for example).</p>

<p>Is there any specific setting needed for this module to work on gentoo?</p>

<p>Thanks :)</p>