All of lore.kernel.org
 help / color / mirror / Atom feed
* More than 8 soundcards
@ 2006-04-06 19:31 Riccardo Tempesta
  2006-04-06 19:40 ` Lee Revell
  2006-04-07  7:51 ` Clemens Ladisch
  0 siblings, 2 replies; 3+ messages in thread
From: Riccardo Tempesta @ 2006-04-06 19:31 UTC (permalink / raw)
  To: alsa-devel

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: More than 8 soundcards
  2006-04-06 19:31 More than 8 soundcards Riccardo Tempesta
@ 2006-04-06 19:40 ` Lee Revell
  2006-04-07  7:51 ` Clemens Ladisch
  1 sibling, 0 replies; 3+ messages in thread
From: Lee Revell @ 2006-04-06 19:40 UTC (permalink / raw)
  To: Riccardo Tempesta; +Cc: alsa-devel

On Thu, 2006-04-06 at 21:31 +0200, Riccardo Tempesta wrote:
> 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.

> 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: More than 8 soundcards
  2006-04-06 19:31 More than 8 soundcards Riccardo Tempesta
  2006-04-06 19:40 ` Lee Revell
@ 2006-04-07  7:51 ` Clemens Ladisch
  1 sibling, 0 replies; 3+ messages in thread
From: Clemens Ladisch @ 2006-04-07  7:51 UTC (permalink / raw)
  To: Riccardo Tempesta; +Cc: alsa-devel

Riccardo Tempesta wrote:
> 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-04-07  7:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-06 19:31 More than 8 soundcards Riccardo Tempesta
2006-04-06 19:40 ` Lee Revell
2006-04-07  7:51 ` Clemens Ladisch

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.