[linux-audio-user] tell ALSA to use secondary card (on USB) instead of primary

Karl Hammar karl at aspodata.se
Thu Sep 14 12:07:57 EDT 2006


> On Thu, 2006-09-14 at 13:52 +0200, Karl Hammar wrote:
> > cladisch at fastmail.net:
> > > Florin Andrei wrote:
> > > > I'm pretty sure there has to be a way to configure ALSA to direct all
> > > > apps to the second card by default.
> > > 
> > > Add the following line to your ~/.asoundrc or /etc/asound.conf:
> > > 
> > > defaults.pcm.card 1
> > > 
> > > 
> > > HTH
> > > Clemens
> > 
> > For some reason, it doesn't work with alsamixer, amixer nor gamix.
> > Ok with alsaplayer.
> 
> Because it only sets the default PCM, not the default mixer.
> 
> Lee
> 

Hmm, got it.

 defaults.ctl.card 1

works.

/Karl





More information about the Linux-audio-user mailing list