[Pkg-alsa-devel] Bug#505089: alsa-utils: "asoundconf set-default-card" does not work

Lionel Elie Mamane lionel at mamane.lu
Sun Nov 9 20:14:46 UTC 2008


On Sun, Nov 09, 2008 at 08:58:13PM +0100, Elimar Riesebieter wrote:
> * Lionel Elie Mamane [081109 15:10 +0100]
>> On Sun, Nov 09, 2008 at 02:35:26PM +0100, Elimar Riesebieter wrote:

>>> asoundconf is a Debian utility. Is that needed nowadays? I don't
>>> know an usefull application right now.

>> Well, a useful application is to set the default sound card on
>> machines that have several (and where the default default, card number
>> 0, varies from reboot to reboot).

> /usr/share/doc/alsa-base/README:Debian.gz describes how to set up
> more than 1 soundcard and how to set the default one.

I don't see where it does, at least in the case where /dev is managed
by udev; there is a section called "loading modules" that say "ALSA
has a special built-in module autoloading system. (...)  it is useless
if your /dev directory is managed by udev (...)" and then goes on to
explain how, when using this system, one controls which driver takes
which card number slot, which allows to control which one is card 0,
which is the default default.

I don't see where it explains how an udev+hotplug-module-autoload
setup would control which card is the default. The word "default" does
not appear in the file, except for the string "/etc/default/alsa", in
the section "reloading modules across APM suspend-and-resum".

Other sections are "creating device files", "restoring sound volumes
across APM suspend-and-resume", "unloading modules", "getting OSS
support" and "internal speaker"; none of them explains how to set up
the which card is the default, except if one uses the special Alsa
built-in module autload system.

-- 
Lionel





More information about the Pkg-alsa-devel mailing list