Hi, thanks for your replies :-) On Sun, Jun 13, 2010 at 5:43 PM, Micha? Sawicz <michal at sawicz.net> wrote: > Dnia 2010-06-11, pi? o godzinie 23:37 +0200, Geralt pisze: >> I've got three soundcards: my onboard card (sd1), my usb card (sd2) >> and my headset (sd3) and I want the default card to be the one with >> the highest numbering in the sdX naming scheme that is currently >> attached to the system. > > Eh? No idea what sdX mean here. > I was refering to either sd1, sd2 or sd3. > If you want your audio to be heard over headset, then usb card, then > onboard card, depending on which are available, just set them as > fallbacks with pavucontrol or gnome-volume-control in the reverse > direction (that's - connect your usb card, set it as fallback, then > connect your headset and set that as fallback). That should be enough in > at least with a recent enough PA. > That's exactly what I want and thanks for mentioning pavucontrol, I didn't know of this application (I've basically zero experience with Pulseaudio, yet). On Sun, Jun 13, 2010 at 11:08 PM, Colin Guthrie <gmane at colin.guthr.ie> wrote: > 'Twas brillig, and Geralt at 11/06/10 22:37 did gyre and gimble: >> Hi everybody, >> >> I've got an onboard soundcard and two usb soundcards and I'd like it >> if pulseaudio could switch automatically the default sound card (or >> default sink to be more precise) depending on the soundcards that are >> currently plugged in. Is this possible? >> >> In case it's not clear what I want, let me explain it on an example: >> >> I've got three soundcards: my onboard card (sd1), my usb card (sd2) >> and my headset (sd3) and I want the default card to be the one with >> the highest numbering in the sdX naming scheme that is currently >> attached to the system. > > Bascially you want a priority list of defaults and the current default > to the the highest priority available device to be the one used? > > This is possible but no GUI exists on Gnome to exploit it just yet. > > This is the routing policy used under KDE, and the PA module > module-device-manager implements this in PulseAudio. > > Sadly my proposal to make PA's routing policy work in a (IMO) much more > sensible way, has not yet been endorsed by Lennart so I've not started > working on it. I'm pretty confident that even with some issues it > creates, it's a far more sensible configuration system than is currently > available. > > The behaviour you describe would work perfectly under this setup, even > if the priority list itself is never actually exposed to the user via > confirguration GUIs. > > Even the current module-default-device-restore does not actually work on > hotplug etc. (as the default is worked out at startup and then set, so > it's idea of the "default device" is lost). > > Here is my proposal: > http://colin.guthr.ie/2010/02/this-is-the-route-to-hell/ > > > Hopefully when Lennart is less busy, we can revisit the discussions and > I can convince him I'm right! > That is exactly what I want, however I don't use KDE, is there still a way to use youre pulseaudio module? Geralt