Skip to contentSkip to conversation

More than 8 soundcards

DISCUSSION Riccardo Tempesta 3 participants 3 messages Apr 6, 2006 – Apr 7, 2006

lore
Share & tools
lore
#0 lore raw

I'm trying to use more than 8 soundcards with ALSA.

I've seen the following line in "driver.h"
#define SNDRV_CARDS 8 /* number of supported soundcards - don't change - minor numbers */

What does "don't change - minor numbers" mean?

I tried to increase it to 16 and I can see new /proc/asound/cardX folders, but no /dev/dspX devices.

Any help will be appreciated.
Thank you in advantage.

Riccardo.

-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642

#1 lore raw
Quoted 11 lines · Riccardo Tempesta

I'm trying to use more than 8 soundcards with ALSA.

I've seen the following line in "driver.h"
#define SNDRV_CARDS 8 /* number of supported soundcards - don't change - minor numbers */

What does "don't change - minor numbers" mean?

I tried to increase it to 16 and I can see new /proc/asound/cardX folders, but no /dev/dspX devices.

Hence the "don't change" comment. If it was that easy, this would already be set to 16.

Quoted 2 lines

Any help will be appreciated.
Thank you in advantage.

I belive you just need to enable CONFIG_SND_DYNAMIC_MINORS to eliminate the 8 device limit (check list archives to be sure)

Lee

-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642

#2 lore raw
In reply to Riccardo Tempesta
Quoted 6 lines · Riccardo Tempesta

I'm trying to use more than 8 soundcards with ALSA.

I've seen the following line in "driver.h"
#define SNDRV_CARDS 8 /* number of supported soundcards - don't change - minor numbers */

What does "don't change - minor numbers" mean?

That ALSA allocates 32 minor numbers per card, and due to the limit of 256 minor numbers it is not possible to have more than 8 cards.

Since 1.0.11rc1, driver.h has the following code:

/* number of supported soundcards */
#ifdef CONFIG_SND_DYNAMIC_MINORS
#define SNDRV_CARDS 32
#else
#define SNDRV_CARDS 8 /* don't change - minor numbers */
#endif

If you don't use the in-kernel ALSA, add the --enable-dynamic-minors option to the configure call.

HTH
Clemens

-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642