Re: snd-dummy 2nd card

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 12-06-08 05:52, Rene Herman wrote:

Oh, by the way, upon rereading:

> On 11-06-08 17:41, Dominique Michel wrote:

>> You must add some device definitions in /etc/modules.d/alsa (or 
>> whatever file
>> your distribution is using):
>>
>> ##  ALSA portion
>> alias snd-card-0 snd-...
>> options snd-... index=0
>> alias snd-card-1 snd-dummy
>> options snd-dummy index=1
> 
> options snd-dummy index=1,2 enable=1,1 was more the issue, but:
> 
>> ##  OSS/Free portion
>> alias sound-slot-0 snd-card-0
>> alias sound-slot-1 snd-card-1

You must have had this config file for a really long time :-) During the 
changeover from the old modutils to the new module-init-tools during 2.5 
recursive aliases ceased being functional (the manpage comments that 
"that way lies madness") which bit me in this same situation also. It's 
not very nice but you'll just have to repeat the module names.

> --- 8< --- cut here --- 8< ---
> 
>> # OSS/Free portion - card #1
>> alias sound-service-0-0 snd-mixer-oss
>> alias sound-service-0-1 snd-seq-oss
>> alias sound-service-0-3 snd-pcm-oss
>> alias sound-service-0-8 snd-seq-oss
>> alias sound-service-0-12 snd-pcm-oss
>> ##  OSS/Free portion - card #2
>> alias sound-service-1-0 snd-mixer-oss
>> alias sound-service-1-3 snd-pcm-oss
>> alias sound-service-1-12 snd-pcm-oss
> 
> please note that these aliases have been not necessary for some time now 
> as the modules export them themselves:
> 
> # modinfo snd-{pcm,mixer,seq}-oss | grep alias
> alias:          sound-service-?-12
> alias:          sound-service-?-3
> alias:          sound-service-?-0
> alias:          sound-service-?-8
> alias:          sound-service-?-1
> 
>> ## alias
>> alias /dev/mixer snd-mixer-oss
>> alias /dev/dsp snd-pcm-oss
>> alias /dev/midi snd-seq-oss
> 
> and these should be automatic through the "soundcore" module handling 
> char-major-14 and it requesting sound-slot-? and sound-service-?-?.
> 
> So, you can loose everything but the snd-card-?/sound-slot-? aliases.
> 
>> # Set this to the correct number of cards.
>> options snd cards_limit=2
> 
> Or not. I once wasted time tracking down a non-bug due to forgetting I 
> had limited the number of cards like this. The default is 8...

Rene.

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user

[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux