[linux-audio-user] alsa setup

Atte André Jensen atte at ballbreaker.dk
Wed Apr 14 10:09:11 EDT 2004


I'm confused about how to setup alsa. Originally I managed to get things 
working, but after buying an usb sound card, I'm even so confused that 
I'm not exactly sure what to ask, but I'll try.

I run debian/unstable on a laptop with my own 2.6.4 kernel and alsa 1.0. 
  I have the following hardware that I believe to be related to alsa:

*Onboard i810 soundcard
*USB Edirol UA-1A sound card
*4 port usb hub
*2 evolution usb-keyboards connected to the hub
*I need one virtual midi port for each keyboard, so 2 for now

The problem is that right now the cards get assigned a card number that 
reflects in what order they were inserted. I'd rather have them show up 
on fixed locations. Below is my childish attempt on a /etc/modutils/alsa 
file. I'm pretty sure it's not correct to refer to snd-usb-midi, since I 
don't have a module by that name. Could anyone please give me a hand + 
some general bckground information?

Thanks in advance!!!!

alias char-major-116 snd
alias char-major-14 soundcore

# i810
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
alias snd-card-0 snd-intel8x0
alias sound-slot-0 snd-card-0

# ua-1a
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
alias snd-card-1 snd-usb-audio
alias sound-slot-1 snd-card-1

# virtual midi 1
alias snd-card-2 snd-virmidi
alias sound-slot-2 snd-card-2

# virtual midi 2
alias snd-card-3 snd-virmidi
alias sound-slot-3 snd-card-3

#evolution 1
alias snd-card-4 snd-usb-midi
alias sound-slot-5 snd-card-5

#evolution 2
alias snd-card-5 snd-usb-midi
alias sound-slot-5 snd-card-5

peace, love & harmony


More information about the linux-audio-user mailing list