Chapter 6. An Example may help!"

Given here is not one but many examples of how an /etc/modules.conf for various permutation combination. should look like after you have edited it.In your case it will be the appropriate values for your card.In-case after reaching this part of the document you are thinking of copying this and pasting it in your /etc/modules.conf then you need serious help ;-). Tinkering is not your cup of tea/coffee .I guess now you are armed with more than enough information to start a help-line for ALSA ;-). installation

Gravis

A complete /etc/modules.conf example for Gravis Ultrasound PnP sound card:

# ISA PnPsupport
options isapnp isapnp_reserve_irq=9,10,11,12,13

# ALSA native device support
alias char-major-116 snd
options snd snd_major=116 snd_cards_limit=1
alias snd-card-0 snd-card-interwave
options snd-card-interwave snd_index=1 snd_id="GusPnP"

# OSS/Free setup
alias char-major-14 soundcore
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-12 snd-pcm-oss

Gravis & Gravis?!.

An example of /etc/modules.conf for Two Gravis UltraSound Classic sound cards are installed in the system:

# ALSA native device support
alias char-major-116 snd
options snd snd_major=116 snd_cards_limit=2
alias snd-card-0 snd-card-gusclassic
alias snd-card-1 snd-card-gusclassic
options snd-card-gusclassic snd_index=0,1 snd_id="Gus1","Gus2" \
        snd_port=0x220,0x240 snd_irq=5,7 snd_dma1=1,5 snd_dma2=3,6

# OSS/Free setup
alias char-major-14 soundcore
alias sound-slot-0 snd-card--0
alias sound-service--0-0 snd-mixer-oss
alias sound-ervice-0-1 snd-seq-oss
alias sound--service-0-3 snd-pcm-oss
alias sound-service-0-12 snd-pcm-oss
alias sound-slot-1 snd-card-1
alias sound-service-1-0 snd-mixer-oss
alias sound-service-1-3 snd-pcm-oss
alias sound-service-1-12 snd-pcm-oss

SB &38; Gravis

An example /etc/modules.conf for Sound Blaster 16 and Gravis UltraSound Classic,just in case if you want to use two or more different sound cards in one machine.Please refer to your sound card module to ascertain it supports this feature before you attempt this.

# ISA PnP support
options isapnp isapnp_reserve_irq=9,10,11,12,13

# ALSA native device support
alias char-major-116 snd
options snd snd_major=116 snd_cards_limit=2
alias snd-card-0 snd-card-gusclassic
alias snd-card-1 snd-card-sb16
options snd-card-gusclassic snd_index=1 snd_id="Gus" \
        snd_port=0x220 snd_irq=5 snd_dma1=6 snd_dma2=7
options snd-card-sb16 snd_index=2 snd_id="SB16"

# OSS/Free setup
alias char-major-14 soundcore
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-12 snd-pcm-oss
alias sound-slot-1 snd-card-1
alias sound-service-1-0 snd-mixer-oss
alias sound-service-1-3 snd-pcm-oss
alias sound-service-1-12 snd-pcm-oss

Autoclean

If you want to autoclean the modules, you should put the following line, to the /etc/crontab, all in one line ofcourse. */10 * * * * root /sbin/modprobe -rs snd-card-0 [snd-card-1...]; /sbin/rmmod -as