[64studio-devel] problem for .asoundrc and /etc/modprobe.d/alsa-custom
Blue I
blueeyedmemory at club-internet.fr
Mon Feb 26 00:37:30 UTC 2007
Hi - i need a little help
Nice ! today, ALL my setup can work, "can work" but only independently from one another. That's already a huge victory for me :-)
So let's face it : I have to make two audio cards work together with JACK ( they can be synced by digital signals so I shouldn't have xruns ) - and they have to leave alone my on-board sound chipset for KDesktop soundish effects. I also use 4 usb devices for Midi.
My problem : In order to define .asoundrc "multi" to work with Jack, combining my two main audio cards, I need to complete a .asoundrc file. but this ".asoundrc" file NEEDS to have FIXED "hw" numbers ! thus its defined structures are valid....
This requires that all the setup cards are loaded in a PROPER ORDER, so as any hw number always match the same card . There, is the trouble. I have tried the best I could, but the cards are loading in the fanciest orders ever. I can't make it work properly.
here is my /etc/modprobe.d/alsa-custom it's a file I validate with "update-modules" after changes.
it seems i define the index like I understood they have to be defined... but obviously I miss the point.
##################################################################
# Options générales communes
################################################################
#uses alsa
alias char-major-116 snd
#uses soundcore oss/free
alias char-major-14 soundcore
#nombre de cartes audio
options snd major=116 cards_limit=7
######################################################
# Card 0: via82xx
######################################################
# ALSA portion (chargement du module/driver)
alias snd-card-0 snd-via82xx
# Options du module
options snd-via82xx index=0
# OSS/Free portion
alias sound-slot-0 snd-card-0
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
######################################################
# Card 1: hdsp
######################################################
# ALSA portion (chargement du module/driver)
alias snd-card-1 snd-hdsp
# Options du module
options snd-hdsp index=1
# OSS/Free portion
alias sound-slot-1 snd-card-1
alias sound-service-1-0 snd-mixer-oss
alias sound-service-1-1 snd-seq-oss
alias sound-service-1-3 snd-pcm-oss
alias sound-service-1-8 snd-seq-oss
alias sound-service-1-12 snd-pcm-oss
#####################################################################
# Card 2 : gina20
##################################################################
# ALSA portion (chargement du module/driver)
alias snd-card-2 snd-gina20
# Options du module
options snd-gina20 index=2
# OSS/Free portion
alias sound-slot-2 snd-card-2
alias sound-service-2-0 snd-mixer-oss
alias sound-service-2-1 snd-seq-oss
alias sound-service-2-3 snd-pcm-oss
alias sound-service-2-8 snd-seq-oss
alias sound-service-2-12 snd-pcm-oss
######################################################
# Card 3 4 5 6 : usb-audio
######################################################
# ALSA portion (chargement du module/driver)
alias snd-card-3 snd-usb-audio
options snd-usb-audio index=3
the corresponding hardware is :
on-board sound chipset : snd-via82xx
Rme HDSP9652 : snd-hdsp
Echo Gina20: snd-gina20
Midi Evolution UC-16 : snd-usb-audio
Midi Roland UM4 interface: snd-usb-audio
and two Midi Emagic AMT8 interface : snd-usb-audio
One thing I have tried was to define snd-usb-audio also with index 4, 5 and 6... but it didn't help. It was written this way :
alias snd-card-3 snd-usb-audio
options snd-usb-audio index=3
alias snd-card-3 snd-usb-audio
options snd-usb-audio index=4
alias snd-card-3 snd-usb-audio
options snd-usb-audio index=5
alias snd-card-3 snd-usb-audio
options snd-usb-audio index=6
Any idea ? I am lost :-)
Cheers.
Stephane.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.64studio.com/pipermail/64studio-devel/attachments/20070226/c8c1195b/attachment.html
More information about the 64studio-devel
mailing list