[64studio-devel] Using a lot of devices (pci and USb)

Blue Eye blueeyedmemory at club-internet.fr
Thu Mar 1 07:49:48 UTC 2007


Hi

well... uhh... everything in my setup installs ok and in the rigth order...
i do'nt believe it :-) that's great. really.

When using usb devices along with pci devices, I strongly recommands the 
use of options vid and pid, at the same time of index. I have dealt a 
long time with my setup troubles, and this only have made the trick.
The alsa-wiki page about MutliCards was of great help finally. Thanx for 
your help.

I just put below my config file, if anyone is interested about similar 
troubles.

one last little point, I have 2 AMT8 8x8 midi interfaces. They are not 
recognized differently. That's a current problem, and I found one 
alsa-developer wondering about udev rules to fix this. So they are 
working on this at present time. And they are confident to fix this 
soon. ( I saw an email from Ingo muller with a temporary possibility )

But fortunalty, I can power on the second AMT8 after boot. And thus my 
setup is loading in the correct order. You can't imagine how much time I 
have passed on configuring... I am so happy now :-)


Now... now I have a little trouble with QjackCtl :-), I make a seperate 
mail for this.


what is important is the last lines dealing with usb:

##################################################################
# 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=6

######################################################
# Card 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 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 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 Usb Edirol Evolution and only one AMT8 -> the second one has to 
be switched on after boot ! ! !
######################################################

# lsusb Alsa-Wiki Example
#Bus 001 Device 004: ID 0763:1110 Midiman
#Bus 001 Device 003: ID 0582:0005 Roland Corp. Edirol UM-2 MIDI Adapter
#corrsponding configuration
#alias snd-card-0 snd-via82xx
#alias snd-card-1 snd-usb-audio
#alias snd-card-2 snd-usb-audio
#alias snd-card-3 snd-virmidi
#options snd cards_limit=4
#options snd-via82xx index=0
#options snd-usb-audio index=1,2 vid=0x0763,0x0582 pid=0x1110,0x0005
#options snd-virmidi index=3 midi_devs=2

#in my case : lsusb
#Bus 004 Device 001: ID 0000:0000
#Bus 005 Device 001: ID 0000:0000
#Bus 003 Device 011: ID 0582:0002 Roland Corp. MPU64 Midi Interface
#Bus 003 Device 009: ID 0a4d:00f0 Evolution Electronics, Ltd
#Bus 003 Device 008: ID 056a:0010 Wacom Co., Ltd Graphire
#Bus 003 Device 006: ID 0409:005a NEC Corp.
#Bus 003 Device 001: ID 0000:0000
#Bus 003 Device 003: ID 04e8:341b Samsung Electronics Co., Ltd
#Bus 003 Device 002: ID 0409:005a NEC Corp.
#Bus 003 Device 007: ID 046e:5272 Behavior Tech. Computer Corp.
#Bus 003 Device 004: ID 06b9:4061 Alcatel Telecom SpeedTouch ISDN or 
ADSL Modem
#Bus 002 Device 002: ID 086a:0001 Emagic Soft-und Hardware GmbH
#Bus 002 Device 001: ID 0000:0000
#Bus 001 Device 001: ID 0000:0000
# so the order I want is Roland, Evolution, AMT-8
alias snd-card-3 snd-usb-audio
alias snd-card-4 snd-usb-audio
alias snd-card-5 snd-usb-audio
options snd-usb-audio index=3,4,5 vid=0x0582,0x0a4d,0x086a 
pid=0x0002,0x00f0,0x0001




More information about the 64studio-devel mailing list