[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: usb audio device & sound card



> Greetings Mark:

> As others have said, it sounds like the cards are not always getting
> recognized in the same order, so sometimes your sound card is card 0 and
> sometimes it is card 1.  That used to happen to me once in a while, but
> it hasn't lately.

> In any event, you can verify that this is in fact what is happening by
> looking at the contents of your /proc/asound/cards file.  It will list
> all of the cards that the kernel recognizes.  The card statement in your
> .asound file is telling the system which of those two cards (0 or 1) to
> use as the default.

> Another poster suggested modifications to the udev rules.  That is
> certainly worth a try, but I'm not sure that udev is the process
> responsible for ordering those cards.  I could certainly be wrong about
> that, but a quick look through the rules didn't show me anything that
> looked promising.

> Back when my system was changing the order of my cards, I planned to
> write a script and run it from my .bashrc file.  I was going to have the
> script look at the contents of the /proc/asound/cards file and
> dynamically generate my .asoundrc file based on the order of the cards
> listed in /proc/asound/cards.  I never got around to it, and my system
> hasn't changed the order of initialization in months, so I never got
> around to doing it.  It would not be a difficult script to write, but if
> it's not your thing, post the contents of your /proc/asound/cards file
> and I'll post you back a script.

> - -Scott

Thanks Scott.  I certainly appreciate your offer.  Here's the /proc/asound/cards file:

 0 [Headset           ]: USB-Audio - USB Headset
                      GENERIC USB Headset at USB-0000:00:04.2-1, full speed

 1 [CS46xx            ]: CS46xx - Sound Fusion CS46xx
                      Sound Fusion CS46xx at 0xf4100000/0xf000000, irq 11



Mark



Reply to: