Skip to contentSkip to conversation

OSS-EMULATION bug?

DISCUSSION Riccardo Tempesta 3 participants 3 messages Apr 18, 2006

lore
Share & tools
lore
#0 lore raw

I tried to compile alsa-driver-1.0.11rc4 with dynamic minors to allow more than 8 soundcards. I connected 12 audio devices and it worked perfectly as alsa, but I can find only 8 dsp under "/dev".

Is it a bug?

-------------------------------------------------------
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 6 lines · Riccardo Tempesta

I tried to compile alsa-driver-1.0.11rc4 with dynamic minors to allow more than 8 soundcards.
I connected 12 audio devices and it worked perfectly as alsa, but I can find only 8 dsp under "/dev".

Is it a bug?

Could be udev/hotplug issue. If you create the last 4 by hand with mknod do they work?

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

At Tue, 18 Apr 2006 14:18:39 -0400,

Quoted 11 lines · Lee Revell
Quoted 6 lines · Riccardo Tempesta

I tried to compile alsa-driver-1.0.11rc4 with dynamic minors to allow more than 8 soundcards.
I connected 12 audio devices and it worked perfectly as alsa, but I can find only 8 dsp under "/dev".

Is it a bug?

Could be udev/hotplug issue. If you create the last 4 by hand with mknod do they work?

It's a limitation of OSS. (128 minors and 16 for each.)

You'd need to rewrite sound_core.c to overcome this limitation.

Takashi

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