F9 and multiple sound cards - no go

stan goedigi89__e at cox.net
Wed Jun 11 21:01:01 UTC 2008


Florin Andrei wrote:
> This system has an NForce motherboard with a sound chip. There's also 
> a USB-attached external sound card.
>
> To use the USB card, all I had to do before was to create an 
> ~/.asoundrc file with the following content:
>
> defaults.pcm.card 1
> defaults.ctl.card 1
>
> And all sounds would be played to the USB device.
>
> With F9, this doesn't seem to work. I made some changes to the 
> .asoundrc file (tried device #0 instead of #1), nothing happened.
> Went to System / Preferences / Hardware / Sound and tried different 
> devices - nothing happened.
>
> Rhythmbox doesn't work - no sound. Flash plugin doesn't work. Video 
> players do work, but without sound.
>
> The only thing that works properly is XMMS. I configured manually the 
> ALSA output plugin to use USB Audio Codec and it works fine.
>
> So what do I do to enable sound on the USB sound card for all the 
> other applications?
>
First, look at the output of aplay -lL    You can also use cat 
/proc/asound/cards to get the card numbers.
See if the card has been reassigned to a higher number.  I think USB 
devices are assigned at 7 now to keep from conflicting with other cards.
If you get the USB card in the aplay output, try playing something using 
aplay.

aplay -Dplughw:"card_no",0  some.wav

If it works there, you are in business.  Just change your .asoundrc to 
reflect the number shown by aplay.

If aplay doesn't show anything, then your card is not being recognized.  
This is unlikely if xmms can use it.

If this doesn't work, post back.




More information about the fedora-list mailing list