All of lore.kernel.org
 help / color / mirror / Atom feed
* increase soundcard max number upper than 32, kernel ok, but alsa-lib and alsa-utils no.
@ 2020-03-08 17:18 Olivier SCHMITT
  0 siblings, 0 replies; only message in thread
From: Olivier SCHMITT @ 2020-03-08 17:18 UTC (permalink / raw)
  To: alsa-devel

Hello dear Alsa dev team members,

I try to increase alsa max number of cards in default 32 to 256 for use 
more than 32 loopback sound card for signal processing.

I have compile my kernel and also déclare in 
/etc/modprobe.d/alsa-base.conf more than id max value in default 31 i 
get a 32 it seam to work:

ls /proc/asound/
card10  card12  card14  card16  card18  card20  card22  card24 card26  
card28  card30 *card32 *devices  lp1   lp11  lp13 lp15  lp17  lp19  lp20 
*lp22 *lp4  lp6  lp8  modules  pcm timers
card11  card13  card15  card17  card19  card21  card23  card25 card27  
card29  card31  cards   lp0      lp10  lp12  lp14  lp16 lp18  lp2   
lp21  lp3   lp5  lp7  lp9  oss      seq  version

I have compile alsa-libs and alsa utils as:

sudo mkdir /usr/src/alsa
cd /usr/src/alsa

git clone git://git.alsa-project.org/alsa-lib.git alsa-lib
cd /usr/src/alsa/alsa-lib
./gitcompile --with-max-cards=256
make install

git clone git://git.alsa-project.org/alsa-utils.git alsa-utils
cd /usr/src/alsa/alsa-utils
./gitcompile --with-max-cards=256
make install

but when i try to use aplay or speakertest with -D hw:32,0 i get:
ALSA lib pcm_hw.c:1713:(_snd_pcm_hw_open) Invalid value for card
Erreur d'ouverture à la lecture: -22,Invalid argument

Maybe i have forgot something?

Thanks in advance for reply :-)


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-03-08 17:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-08 17:18 increase soundcard max number upper than 32, kernel ok, but alsa-lib and alsa-utils no Olivier SCHMITT

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.