2010-08-05 05:00, Erik de Castro Lopo skrev: > Hi all, > > I've acquired a pair of wireless headphones; the type that has a USB > dongle that plugs into my machine and uses analog FM to communicate > with the headphones. > > These JustWorked(tm) under linux, but now I'd like to have audio > (either PulseAudio or ALSA) auto switch to the headphones whenever > they are plugged in. > > Is this doable? Any hints? > > Cheers, > Erik There is also module-switch-on-connect (see ticket http://pulseaudio.org/ticket/706 ). I'm a little hesitant to whether it actually does the right thing in all cases though, and Colin's work in progress is probably a more complete solution, once it is easily accessible, but I think it does what you want for now. Michael, will you update the ticket with the changes you did yesterday? -- David Henningsson, Canonical Ltd. http://launchpad.net/~diwic