Documentos de Académico
Documentos de Profesional
Documentos de Cultura
_
Super User is a question and answer Here's how it works:
site for computer enthusiasts and
power users. Join them; it only takes a
minute:
Sign up Anybody can ask Anybody can The best answers are voted
a question answer up and rise to the top
However the version of Raspbian I have (pretty new build, I just installed it a week or two ago) doesn't have this fine - it's empty when
I try and edit it.
Does anyone know how to change the sound card boot priority now that this file is gone?
Thanks, Carl
4 Answers
The file your looking for is located in /usr/share/alsa/alsa.conf . Its not called
alsa-base.conf just alsa.conf
All the relevent text is in that file just run sudo nano /usr/share/alsa/alsa.conf change the
default sound card to 1 or whatever one you prefer obviously 0 is default so not that one i also
deleted the # from the line that says... load card-specific configuration files (on request)
and now i have the sound coming from my cirrus audio card running debian 8 jessie on ras pi2
1 I've done a few quick formatting fixes. Perhaps a copy of the relevant part of the alsa config file would
make your answer even better. – Journeyman Geek ♦ Oct 22 '15 at 1:10
1 Isn't "load card-specific configuration files (on request)" a comment? – SILENT Dec 2 '15 at 1:45
It is indeed just a comment to explain the code block below it – Professor Sparkles Dec 14 '15 at 17:14
There is a file called aliases.conf in /lib/modprobe.d which contains the line options
snd-usb-audio index=-2 . That line overrides the /etc/modprobe.d/ files, so you need to
change that one. Comment out with a # the line options snd-usb-audio index=-2
1 de 2 21/11/16 06:53
usb - alsa-base.conf missing in new Raspberry Pi ... http://superuser.com/questions/989385/alsa-base...
pcm.!default plughw:Device
ctl.!default plughw:Device
The downside of this solution is the desktop sound applet won't appear. So to control volume use
the alsamixer application or physical sound level buttons on the USB sound dongle.
1. https://www.raspberrypi.org/forums/viewtopic.php?f=28&t=124016&p=857433&
hilit=usb+audio#p857433
2. http://alsa.opensrc.org/Asoundrc#Default_PCM_device.
If you don't need analog audio then prevent the module from loading and set the USB headset as
the default device.
3. Reboot
It will be ok
2 de 2 21/11/16 06:53