Multiple audio devices and hotplug troubles.

crimsun at fungus.sh.nu crimsun at fungus.sh.nu
Thu Feb 2 22:31:37 UTC 2006


On Thu, Feb 02, 2006 at 11:01:55PM +0100, Lea Gris wrote:
> >How do I make sure the internel audio controler is always loaded as
> >first audio device and that still allow the usb headset as hotpluggable
> >audio device ?

echo "options snd-usb-audio index=-2" | sudo tee -a /etc/modprobe.d/alsa-base

ensures that the usb device will be always be secondary to any other
sound device.

The negative index mask was added to Debian's ALSA 1.0.8 packages and
was merged upstream into ALSA 1.0.9.

> >Is there a way I can have Kmix aware of hot-pluggable audio 
> >devices/mixers ?

In GNOME this functionality is provided by gnome-volume-manager. You
can, however, also use the set-default-soundcard(1) script to set the
default device, then kill and respawn arts.

I can't speak for Kmix offhand.

Thanks,
-- 
Daniel T. Chen            crimsun at ubuntu.com
GPG key:   www.sh.nu/~crimsun/pubkey.gpg.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20060202/b15d8436/attachment.sig>


More information about the ubuntu-users mailing list