automatically use USB headset

Jason White jason at
Mon Sep 26 21:44:21 EDT 2011

John G. Heim <speakup at> wrote:
> Anybody know how to get linux to 
>automatically use a USB headset for sound when you plug it in?

The only means of changing the default sound device in Alsa that I am aware of
is with a .asoundrc file (or the equivalent in /etc).

So if you're prepared to create or modify configuration files in a script then
you could probably write a shell script to do it.

More information about the Speakup mailing list