On Tue, April 28, 2015 12:16 pm, hollundertee(a)gmx.net wrote:
I do have some trouble setting up alsa the way I want
it.
The machine is a laptop that I carry around and use at home.
What I want to have:
1) If on the road, the internal card (PCH) should be the default.
2) If at home, the usb card (UA25) should be the default.
What distribution? Any reason you particularly want this handled at the
ALSA layer? This seems like the kind of situation that Pulse was intended
to handle.
In fact I have a similar setup where Pulse defaults to my m-audio PCI card
if the USB interface is not connected, if the USB interface is connected
it becomes the default audio interface, and if I start jack then pulse
connects to jack instead of directly to the ALSA interface. I start jack
with qjackctl so I decide on startup which interface I want jack to use.
--
Chris Caudle