[PlanetCCRMA] Self-configuring system Was:*Solved* Midisport8x8/s Was:Chasing my tail with ALSA

Fernando Pablo Lopez-Lezcano nando@ccrma.Stanford.EDU
Tue Feb 17 12:15:04 2004


> Here is the output from modules.conf The only thing I tried was to put the
> add options line first, to see if that would help, but it didn't seem to
> affect the system. As far as I can tell, this system I'm on, has only one
> active card, the SB512 PCI, and the embedded card on the motherboard has
> been disabled in BIOS.

Well, you also have the midisport, right? That is a second "card". 

> options ide-cd ignore='hdc hdd'
> alias usb-controller usb-uhci
> 
> # --- Keep modules from being autocleaned ---
> add options -k snd-card-0
> # --- BEGIN: Generated by ALSACONF, do not edit. ---
> # --- ALSACONF verion 1.0.1 ---
> alias char-major-116 snd
> alias char-major-14 soundcore
> 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-emu10k1
> alias sound-slot-0 snd-emu10k1
> # --- END: Generated by ALSACONF, do not edit. ---

You still have modules.conf configured to use only one card (that is why
you don't see your midisport. 

Try changing the alsa portion of modules.conf to this:

# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF verion 0.9.0 ---
alias char-major-116 snd
alias snd-card-0 snd-emu10k1
alias snd-card-1 snd-usb-audio
# --- OSS compatibility
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0
alias sound-slot-1 snd-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
alias sound-service-1-0 snd-mixer-oss
alias sound-service-1-3 snd-pcm-oss
alias sound-service-1-12 snd-pcm-oss
# --- Options
options snd major=116 cards_limit=2 device_mode=0666
options snd-emu10k1 index=0
options snd-usb-audio index=1
# --- Keep modules from being autocleaned
add options -k snd-card-0
add options -k snd-card-1

Do a "/sbin/depmod -a" after changing it and restart the alsa driver:
  /etc/rc.d/init.d/alsasound stop
  /etc/rc.d/init.d/alsasound start
If your midisport is plugged in you should see both cards. They should be listed
in:
  cat /proc/asound/cards

-- Fernando