1. # autoloader aliases
  2. install sound-slot-0 /sbin/modprobe snd-card-0
  3. install sound-slot-1 /sbin/modprobe snd-card-1
  4. install sound-slot-2 /sbin/modprobe snd-card-2
  5. install sound-slot-3 /sbin/modprobe snd-card-3
  6. install sound-slot-4 /sbin/modprobe snd-card-4
  7. install sound-slot-5 /sbin/modprobe snd-card-5
  8. install sound-slot-6 /sbin/modprobe snd-card-6
  9. install sound-slot-7 /sbin/modprobe snd-card-7
  10.  
  11. # Cause optional modules to be loaded above generic modules
  12. install snd /sbin/modprobe --ignore-install snd $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-ioctl32 ; /sbin/modprobe --quiet --use-blacklist snd-seq ; }
  13. #
  14. # Workaround at bug #499695 (reverted in Ubuntu see LP #319505)
  15. install snd-pcm /sbin/modprobe --ignore-install snd-pcm $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-pcm-oss ; : ; }
  16. install snd-mixer /sbin/modprobe --ignore-install snd-mixer $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-mixer-oss ; : ; }
  17. install snd-seq /sbin/modprobe --ignore-install snd-seq $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq-midi ; /sbin/modprobe --quiet --use-blacklist snd-seq-oss ; : ; }
  18. #
  19. install snd-rawmidi /sbin/modprobe --ignore-install snd-rawmidi $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq-midi ; : ; }
  20. # Cause optional modules to be loaded above sound card driver modules
  21. install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-emu10k1-synth ; }
  22. install snd-via82xx /sbin/modprobe --ignore-install snd-via82xx $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq ; }
  23.  
  24. # Load saa7134-alsa instead of saa7134 (which gets dragged in by it anyway)
  25. install saa7134 /sbin/modprobe --ignore-install saa7134 $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist saa7134-alsa ; : ; }
  26. # Prevent abnormal drivers from grabbing index 0
  27. options bt87x index=-2
  28. options cx88_alsa index=-2
  29. options saa7134-alsa index=-2
  30. options snd-atiixp-modem index=-2
  31. options snd-intel8x0m index=-2
  32. options snd-via82xx-modem index=-2
  33. options snd-usb-audio index=-2
  34. options snd-usb-us122l index=-2
  35. options snd-usb-usx2y index=-2
  36. options snd-usb-caiaq index=-2
  37. # Ubuntu #62691, enable MPU for snd-cmipci
  38. options snd-cmipci mpu_port=0x330 fm_port=0x388
  39. # Keep snd-pcsp from being loaded as first soundcard
  40. options snd-pcsp index=-2
  41. # Power down HDA controllers after 10 idle seconds
  42. options snd-hda-intel power_save=10 power_save_controller=N
  43. alias snd-card-0 snd-hda-codec-nvhdmi
  44.