All of lore.kernel.org
 help / color / mirror / Atom feed
From: Olivier SCHMITT <sc.olivier@gmail.com>
To: alsa-devel@alsa-project.org
Subject: increase soundcard max number upper than 32, kernel ok, but alsa-lib and alsa-utils no.
Date: Sun, 8 Mar 2020 18:18:04 +0100	[thread overview]
Message-ID: <28ea2dbb-e77e-2ec5-7546-299b81efceab@gmail.com> (raw)

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 :-)


                 reply	other threads:[~2020-03-08 17:19 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=28ea2dbb-e77e-2ec5-7546-299b81efceab@gmail.com \
    --to=sc.olivier@gmail.com \
    --cc=alsa-devel@alsa-project.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.