[PlanetCCRMA] Planetccrma Website error?

Matt Barber brbrofsvl@aol.com
Fri Sep 3 07:06:03 2004

Hi, I found what I think is an error on this page of the website:


(on configuring multiple soundcards)

In this template:

# -- ALSA configuration 
alias char-major-116 snd 
alias char-major-14 soundcore 
alias snd-card-0 snd-CARD_0
alias snd-card-N snd-CARD_N
#-- OSS compatibility alias 
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 
alias sound-slot-N snd-card-N
alias sound-service-N-0 snd-mixer-oss 
alias sound-service-N-3 snd-pcm-oss 
alias sound-service-N-12 snd-pcm-oss 
#-- Options 
options snd major=116 cards_limit=N+1
device_mode=0666 device_gid=0 device_uid=0 
options snd-CARD_0 index=0 
options snd-CARD_N index=N
#-- Keep modules from being autocleaned 
add options -k snd-card-0 
add options -k snd-card-N
#-- ALSA configuration END


should there not be a backslash after

options snd major=116 cards_limit=N+1

like so:

options snd major=116 cards_limit=N+1 \
device_mode=0666 device_gid=0 device_uid=0 

It's there in the next part:

options snd major=116 cards_limit=3 \
  device_mode=0666 device_gid=0 device_uid=0

and modprobe won't work without it in my experience...

is the "device_mode" a permissions thing - similar to how you can set "chmod 666 <file>"?