alsa-base.conf 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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. # Cause optional modules to be loaded above generic modules
  11. install snd /sbin/modprobe --ignore-install snd $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-ioctl32 ; /sbin/modprobe --quiet --use-blacklist snd-seq ; }
  12. #
  13. # Workaround at bug #499695 (reverted in Ubuntu see LP #319505)
  14. install snd-pcm /sbin/modprobe --ignore-install snd-pcm $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-pcm-oss ; : ; }
  15. install snd-mixer /sbin/modprobe --ignore-install snd-mixer $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-mixer-oss ; : ; }
  16. 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 ; : ; }
  17. #
  18. install snd-rawmidi /sbin/modprobe --ignore-install snd-rawmidi $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq-midi ; : ; }
  19. # Cause optional modules to be loaded above sound card driver modules
  20. install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-emu10k1-synth ; }
  21. install snd-via82xx /sbin/modprobe --ignore-install snd-via82xx $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq ; }
  22. # Load saa7134-alsa instead of saa7134 (which gets dragged in by it anyway)
  23. install saa7134 /sbin/modprobe --ignore-install saa7134 $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist saa7134-alsa ; : ; }
  24. # Prevent abnormal drivers from grabbing index 0
  25. options bt87x index=-2
  26. options cx88_alsa index=-2
  27. options saa7134-alsa index=-2
  28. options snd-atiixp-modem index=-2
  29. options snd-intel8x0m index=-2
  30. options snd-via82xx-modem index=-2
  31. options snd-usb-audio index=-2
  32. options snd-usb-caiaq index=-2
  33. options snd-usb-ua101 index=-2
  34. options snd-usb-us122l index=-2
  35. options snd-usb-usx2y index=-2
  36. # Ubuntu #62691, enable MPU for snd-cmipci
  37. options snd-cmipci mpu_port=0x330 fm_port=0x388
  38. # Keep snd-pcsp from being loaded as first soundcard
  39. options snd-pcsp index=-2
  40. # Keep snd-usb-audio from beeing loaded as first soundcard
  41. options snd-usb-audio index=-2