# autoloader aliases install sound-slot-0 modprobe snd-card-0 install sound-slot-1 modprobe snd-card-1 install sound-slot-2 modprobe snd-card-2 install sound-slot-3 modprobe snd-card-3 install sound-slot-4 modprobe snd-card-4 install sound-slot-5 modprobe snd-card-5 install sound-slot-6 modprobe snd-card-6 install sound-slot-7 modprobe snd-card-7 # Cause optional modules to be loaded above generic modules install snd modprobe --ignore-install snd $CMDLINE_OPTS && { modprobe -Qb snd-ioctl32 ; : ; } install snd-pcm modprobe --ignore-install snd-pcm $CMDLINE_OPTS && { modprobe -Qb snd-pcm-oss ; : ; } install snd-mixer modprobe --ignore-install snd-mixer $CMDLINE_OPTS && { modprobe -Qb snd-mixer-oss ; : ; } install snd-seq modprobe --ignore-install snd-seq $CMDLINE_OPTS && { modprobe -Qba snd-seq-midi snd-seq-oss ; : ; } # Cause optional modules to be loaded above sound card driver modules install snd-emu10k1 modprobe --ignore-install snd-emu10k1 $CMDLINE_OPTS && { modprobe -Qb snd-emu10k1-synth ; } install snd-via82xx modprobe --ignore-install snd-via82xx $CMDLINE_OPTS && { modprobe -Qb snd-seq ; } # Load saa7134-alsa instead of saa7134 (which gets dragged in by it anyway) install saa7134 modprobe --ignore-install saa7134 $CMDLINE_OPTS && { modprobe -Qb saa7134-alsa ; : ; } #################################################### # i commented this out and copied parts to the end # # # Prevent abnormal drivers from grabbing index 0 #options snd-bt87x index=-2 #options snd-atiixp-modem index=-2 #options snd-intel8x0m index=-1 #options snd-via82xx-modem index=-2 #options snd-hdsp index=-2 #options saa7134_alsa index=-3 # here i created some aliases alias snd-card-0 snd_intel8x0 alias snd-card-1 snd-hdsp alias snd-card-2 saa7134_alsa alias snd-card-3 snd_usb_audio alias snd-card-4 snd-usb-audio alias snd-card-5 snd-usb-audio # from here the order is defined, at which device number each soundcard is assigned to options snd_intel8x0 index=0 options snd-hdsp index=1 options saa7134_alsa index=2 options snd-usb-audio index=3,4,5 vid=0x0471 pid=0x0329 # Prevent abnormal drivers from grabbing index 0 options snd-bt87x index=-2 options snd-atiixp-modem index=-2 # i commented this, because i actually need this driver and I WANT IT at index 0 # (don't know why alsa thinks it is abnormal) #options snd-intel8x0m index=-1 options snd-via82xx-modem index=-2