I always compile them as modules and let alsa control the sound cards. For my main sound card I use a proven winner.
Code:
opteron david # lsmod | grep snd
snd_seq_midi 8704 0
snd_pcm_oss 38304 0
snd_mixer_oss 16448 1 snd_pcm_oss
snd_seq_dummy 5124 0
snd_seq_oss 30720 0
snd_seq_midi_event 8576 2 snd_seq_midi,snd_seq_oss
snd_seq 50096 6 snd_seq_midi,snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_emu10k1x 18180 4
snd_ac97_codec 112072 1 snd_emu10k1x
snd_usb_audio 90992 1
snd_usb_lib 17792 1 snd_usb_audio
snd_pcm 72136 5 snd_pcm_oss,snd_emu10k1x,snd_ac97_codec,snd_usb_audio
snd_rawmidi 22240 3 snd_seq_midi,snd_emu10k1x,snd_usb_lib
snd_timer 21776 3 snd_seq,snd_pcm
snd_seq_device 8724 5 snd_seq_midi,snd_seq_dummy,snd_seq_oss,snd_seq,snd_rawmidi
ac97_bus 3904 1 snd_ac97_codec
snd_page_alloc 10768 2 snd_emu10k1x,snd_pcm
snd_hwdep 9672 1 snd_usb_audio
I use a usb mic for recording podcasts.
The default sound card is snd_emu10k1x, so for alsamixer it is;
For the usb mic;
/etc/modprobe.d/alsa
Code:
# OSS/Free portion - card #1
## OSS/Free portion - card #2
## alias sound-service-1-0 snd-mixer-oss
## alias sound-service-1-3 snd-pcm-oss
## alias sound-service-1-12 snd-pcm-oss
alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss
# Set this to the correct number of cards.
# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF version 1.0.16 ---
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-emu10k1x
alias sound-slot-0 snd-emu10k1x
# --- END: Generated by ALSACONF, do not edit. ---
options snd-emu10k1x index=0
options snd-usb-audio index=1
Now if you could post the output from;
I would not even want to play with udev for setting up sound. I am sure I would mess something up
On a side note some distros provide an alsa-driver package that compile the modules. I never use this. I use the modules from the kernel but do install alsa-tools alsa-utils, stuff like that. Not sure how slackware does it.