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

From: chris beagles <christhemonkey@email-addr-hidden>
Date: Thu Sep 14 2006 - 18:32:06 EEST

On 9/14/06, Lee Revell <rlrevell@email-addr-hidden-job.com> wrote:
> On Thu, 2006-09-14 at 13:52 +0200, Karl Hammar wrote:
> > cladisch@email-addr-hidden:
> > > 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
>
>

alsactl store 1

This will use the 2nd card in your system and store it as the default
for your acount.
(sudo alsactl store 1 to make it system wide)

Chris
Received on Fri Sep 15 00:15:03 2006

This archive was generated by hypermail 2.1.8 : Fri Sep 15 2006 - 00:15:03 EEST