alsa-base.conf 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. # BK got this file from Ubuntu, May 2011.
  2. # autoloader aliases
  3. install sound-slot-0 /sbin/modprobe snd-card-0
  4. install sound-slot-1 /sbin/modprobe snd-card-1
  5. install sound-slot-2 /sbin/modprobe snd-card-2
  6. install sound-slot-3 /sbin/modprobe snd-card-3
  7. install sound-slot-4 /sbin/modprobe snd-card-4
  8. install sound-slot-5 /sbin/modprobe snd-card-5
  9. install sound-slot-6 /sbin/modprobe snd-card-6
  10. install sound-slot-7 /sbin/modprobe snd-card-7
  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. # Load saa7134-alsa instead of saa7134 (which gets dragged in by it anyway)
  24. install saa7134 /sbin/modprobe --ignore-install saa7134 $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist saa7134-alsa ; : ; }
  25. # Prevent abnormal drivers from grabbing index 0
  26. options bt87x index=-2
  27. options cx88_alsa index=-2
  28. options saa7134-alsa index=-2
  29. options snd-atiixp-modem index=-2
  30. options snd-intel8x0m index=-2
  31. options snd-via82xx-modem index=-2
  32. options snd-usb-audio index=-2
  33. options snd-usb-caiaq index=-2
  34. options snd-usb-ua101 index=-2
  35. options snd-usb-us122l index=-2
  36. options snd-usb-usx2y 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. # Keep snd-usb-audio from beeing loaded as first soundcard
  42. options snd-usb-audio index=-2