Re: [Jack-Devel] routing alsa through jack

PrevNext  Index
DateThu, 19 Dec 2013 23:36:33 +0100
From Dominique Michel <[hidden] at vtxnet dot ch>
To[hidden] at lists dot jackaudio dot org
In-Reply-ToLucio Crusca Re: [Jack-Devel] routing alsa through jack
Follow-UpLucio Crusca Re: [Jack-Devel] routing alsa through jack
Le Thu, 19 Dec 2013 17:01:14 +0100,
Lucio Crusca <[hidden]> a écrit :

> In data mercoledì 18 dicembre 2013 23:27:21, Dominique Michel ha
> scritto:
> > I think no part must be ignored. This article is about routing JACK
> > and ALSA together.
> 
> Ok thanks, I'm now following that guide and I'm getting closer. The
> problem here is that if I have this in
> my /etc/modprobe.d/alsabase.conf 
> 
> options snd-aloop index=0 pcm_substreams=2
> 
> then I get
> 
> # modprobe snd-aloop
> ERROR: could not insert 'snd_aloop': No such device
> 
> but it works if I omit the options in /etc/modprobe.d/alsa-base.conf.
> Please note that I've already tried rebooting several times with and
> without the options in place, same result.

You must tell the kernel how much sound card do you have:

options snd cards_limit=3

and the index for each sound card:

options snd-aloop index=0
options snd-hda-intel index=1 model=alc271-dmic
options snd-hda-intel index=2

If the order is still not correct (you can see it
with 'cat /proc/asound/cards'), that can append i.e. when a sound card
is built in a video card, and insist to load at the same time than
the video card before alsa get loaded, you will have to blacklist this
sound card in /etc/modprobe.d/blacklist.conf.

Dominique


> 
> Moreover, if I
> 
> # alsa force-unload
> Unloading ALSA sound driver modules: snd-pcm-oss snd-hda-codec-hdmi
> snd-hda- codec-realtek snd-hda-intel snd-hda-codec snd-hwdep
> snd-mixer-oss snd-pcm snd- page-alloc snd-timer (failed: modules
> still loaded: snd-hda-codec-hdmi snd- hda-codec-realtek snd-hda-intel
> snd-hda-codec snd-hwdep snd-mixer-oss snd-pcm snd-page-alloc
> snd-timer).
> 
> # rmmod snd-pcm-oss snd-hda-codec-hdmi snd-hda-codec-realtek
> snd-hda-intel snd-hda-codec snd-hwdep snd-mixer-oss snd-pcm
> snd-page-alloc snd-timer Error: Module snd_pcm_oss is not currently
> loaded Error: Module snd_hda_codec_hdmi is in use
> Error: Module snd_hda_codec_realtek is in use
> Error: Module snd_hda_intel is in use
> Error: Module snd_hda_codec is in use by: snd_hda_codec_realtek 
> snd_hda_codec_hdmi snd_hda_intel
> Error: Module snd_hwdep is in use by: snd_hda_codec
> Error: Module snd_mixer_oss is in use
> Error: Module snd_pcm is in use by: snd_hda_codec_hdmi snd_hda_codec 
> snd_hda_intel
> Error: Module snd_page_alloc is in use by: snd_pcm snd_hda_intel
> Error: Module snd_timer is in use by: snd_pcm
> 
> In /var/log/dmesg.log I have
> 
> [   21.865605] cannot find the slot for index 0 (range 0-1), error:
> -16 [   21.865851] snd_aloop: probe of snd_aloop.0 failed with error
> -16 [   21.865893] aloop: No loopback enabled
> 
> What am I doing wrong?
> 
> Jack-Devel mailing list
> [hidden]
> http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org
PrevNext  Index

1387491441.14261_0.ltw:2, <20131219233633.756f14f7 at tux dot fritz dot box>