Multiple audio devices and hotplug troubles.
Lee Revell
rlrevell at joe-job.com
Thu Feb 2 22:36:10 UTC 2006
On Thu, 2006-02-02 at 14:31 -0800, crimsun at fungus.sh.nu wrote:
> 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.
Wow, this is all great news. I hack on ALSA and follow the lists and
had no idea. No one bothers to tell the ALSA developers this stuff...
So gnome-volume-manager provides a frontend to manipulate the modprobe
config files? Sweet...
Now we can kick the KDE people in the pants, if they don't provide
similar utilities...
Lee
More information about the ubuntu-users
mailing list