[linux-audio-user] ALSA OSS emulation?

Sampo Savolainen v2 at iki.fi
Sat Oct 9 16:53:10 EDT 2004


How does your alsa module configuration look like? It's located in
/etc/modules.conf but distributions vary in how it's constructed. For
example, Debian generates it from files located in /etc/modutils/.

You probably have aliasing for sound-service-x-y to the snd-???-oss
modules. Most documentation for the alsa module configuration doesn't
touch the issue of multiple soundcards. So, they leave out the small bit
of extra information. There should be aliasing for all soundcards.

alias sound-service-0-3 snd-pcm-oss

The first number in the sound-service is the soundcard number, so the
correct alias for the second soundcard would be:

alias sound-service-1-3 snd-pcm-oss


 Sampo

On Sat, 2004-10-09 at 12:02, Mikhail Ramendik wrote:
> Hello,
> 
> I am trying to use the ALSA OSS emulation layer. 
> 
> But in both kernel and aoss versions, the same things happen. /dev/dsp
> works and is routed to hw:0,0 ; /dev/dsp0 , /dev/dsp1 etc. are just not
> available.
> 
> This despite the fact that in the kernel emulation, I tried to set
> options so that /dev/dsp0 would be routed to hw:0,4 ; and in the aoss
> emulation, I defined a pcm named "dsp0".
> 
> What can I do to enable /dev/dspN ? I don't want to be stuck with just
> hw:0,0 , as my spdif is on hw:0,4 .
> 
> Yours, Mikhail Ramendik
> 
> 




More information about the Linux-audio-user mailing list