FAQ Search Today's Posts Mark Forums Read

» Linux Archive
Home
New Posts
Search
FAQ


Go Back   Linux Archive > Redhat > Fedora User

 
 
LinkBack Thread Tools
 
Old 06-11-2008, 08:00 PM
Florin Andrei
 
Default F9 and multiple sound cards - no go

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?


--
Florin Andrei

http://florin.myip.org/

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 06-11-2008, 10:01 PM
stan
 
Default F9 and multiple sound cards - no go

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.

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 06-12-2008, 12:11 AM
"Amadeus W.M."
 
Default F9 and multiple sound cards - no go

On Wed, 11 Jun 2008 12:00:57 -0700, 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?
>
> --
> Florin Andrei
>
> http://florin.myip.org/



Assuming you're using pulseaudio:

pactl stat # see which sink is the default

pactl list # see which sink is which

In my case, the default is sink 0, which happens to be the onboard card.
The speakers are not connected to that one, but to the pci card which
happens to be sink 1. Finally,

cat /etc/pulse/client.conf # set the default sink here.




To play mp3s with mpg123 I have to alias it to

alias mpg123='mpg123 -o alsa -a plug:front:1'

I guess mpg123 hasn't heard of pulseaudio.



--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 

Thread Tools




All times are GMT. The time now is 09:42 AM.

VBulletin, Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org