Created
April 27, 2015 12:45
-
-
Save jochasinga/91e7714739ea328db8db to your computer and use it in GitHub Desktop.
Using USB audio as the first sound card in Raspberry Pi
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# autoloader aliases | |
install sound-slot-0 /sbin/modprobe snd-card-0 | |
install sound-slot-1 /sbin/modprobe snd-card-1 | |
install sound-slot-2 /sbin/modprobe snd-card-2 | |
install sound-slot-3 /sbin/modprobe snd-card-3 | |
install sound-slot-4 /sbin/modprobe snd-card-4 | |
install sound-slot-5 /sbin/modprobe snd-card-5 | |
install sound-slot-6 /sbin/modprobe snd-card-6 | |
install sound-slot-7 /sbin/modprobe snd-card-7 | |
# Cause optional modules to be loaded above generic modules | |
install snd /sbin/modprobe --ignore-install snd && { /sbin/modprobe --quiet snd-ioctl32 ; /sbin/modprobe --quiet snd-s\ | |
eq ; : ; } | |
install snd-rawmidi /sbin/modprobe --ignore-install snd-rawmidi && { /sbin/modprobe --quiet snd-seq-midi ; : ; } | |
install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 && { /sbin/modprobe --quiet snd-emu10k1-synth ; : ; } | |
# Keep snd-pcsp from beeing loaded as first soundcard | |
# options snd-pcsp index=-2 | |
# Keep snd-usb-audio from beeing loaded as first soundcard | |
# options snd-usb-audio index=-2 | |
# Use snd-usb-audio as output | |
options snd-usb-audio index=0 | |
# And disable the default sound module | |
options snd_bcm2835 index=1 | |
# Prevent abnormal drivers from grabbing index 0 | |
options bt87x index=-2 | |
options cx88_alsa index=-2 | |
options snd-atiixp-modem index=-2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment