jasperproject / jasperproject.github.io

Web site for general information and documentation
409 stars 189 forks source link

raspbian jessie alsa config #50

Open curioussavage opened 8 years ago

curioussavage commented 8 years ago

looks like in the new jessie version of the os the config file mentioned on this page under configuring raspbian is now located here: /usr/share/alsa/alsa.conf

housni commented 8 years ago

Even editing /usr/share/alsa/alsa.conf didn't entirely work for me. Even after editing that file, I'd still see this:

$ cat /proc/asound/modules
 0 snd_bcm2835
 1 snd_usb_audio

I'm using Raspbian Jessie (2015-11-21) and to make this work, I had to create the file /etc/modprobe.d/alsa-base.conf and add the following to it:

# This sets the index value of the cards but doesn't reorder.
options snd_usb_audio index=0
options snd_bcm2835 index=1

# Does the reordering.
options snd slots=snd-usb-audio,snd-bcm2835

It was after reading the ALSA Wiki that I was able to sort it out. There are some other details, all documented in my StackOverflow thread: How do I configure my sound for Jasper on Raspbian Jessie?.

Moini commented 8 years ago

@housni: this worked for me, thank you!