[Pkg-alsa-devel] Bug#500509: alsa-utils: /usr/share/alsa/alsa.conf should be moved to /etc

Elimar Riesebieter riesebie at lxtec.de
Sat Jan 2 08:27:18 UTC 2016


* Antoine Beaupré <anarcat at debian.org> [2016-01-01 23:00 -0500]:

> Package: libasound2-data
> Version: 1.0.28-1
> Followup-For: Bug #500509
> 
> This is still a problem. While /etc/alsa.conf may not make sense
> because it is a "default configuration", now stuff like pulseaudio
> jumped into the fray and now configures pulseaudio automaticall to
> fire up whenever you talk to alsa, through
> /usr/share/alsa/alsa.conf.d/*.conf files.
> 
> If i want pulseaudio installed, but want to turn that freaking thing
> off, it's basically impossible because the changes will be overwritten
> on upgrade. Similarly, it's impossible to change the default alsa
> config that way.
> 
> Config files belong to /etc, i believe this is a pretty clear Policy
> we have, no?
> 
> The problem with the current approach is discoverability - until i
> found out about the Debian wiki article describing the way PA was
> overriding ALSA, i had *no* idea there was a ALSA configuration
> directory, because there was nothing in /etc/alsa*

Did you ever had a look at /usr/share/alsa/alsa.conf?

$ head -3 /usr/share/alsa/alsa.conf
#
#  ALSA library configuration file
#

All files residing in /usr/share/alsa/ have the purpose to give
information on apps which rely on libasound. So $USER has nothing to
modify and the files _have_ to stay here!

If you want to create your own alsa environment read
/usr/share/doc/libasound2/examples/asoundrc.txt.gz and create your
own $HOME/.asoundrc or find an appropriate example for your card in
the net.

If you want to get rid of pulse go i.e. here:
http://ubuntuforums.org/showthread.php?t=1381284

Elimar
-- 
 Obviously the human brain works like a computer.
  Since there are no stupid computers humans can't be stupid.
  There are just a few running with Windows or even CE ;-)



More information about the Pkg-alsa-devel mailing list