You need to define sound-services for the second card in modules.conf.
It should look something like this:
xyz@localhost#pico /etc/modules.conf
# ALSA portion
alias snd-card-0 snd-cs46xx
alias snd-card-1 snd-cmipci
options snd-cmipci id="first" enable_midi="1"
# OSS/Free portion
alias sound-slot-0 snd-card-0
alias sound-slot-1 snd-card-1
NB. For drivers older than 0.9.0rc5 use:
options snd-cmipci snd_id="first" snd_enable_midi="1"
The "snd_" prefix has been removed from the "module options" to fit with
the kernel standard.
Autoloading OSS/free emulation
# OSS/Free portion - card #1
alias sound-slot-0 snd-card-0
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
# OSS/Free portion - card #2 (cmipci)
alias sound-slot-1 snd-card-1
alias sound-service-1-0 snd-mixer-oss
alias sound-service-1-3 snd-pcm-oss
alias sound-service-1-12 snd-pcm-oss
Here is the link to the pahe from where I extracted the information. I
hope this helps.
Miguel
On Thu, 2003-01-02 at 16:27, Richard Stevens wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
I have two soundcards in my PC. One is a Terratec DMX Xfire using cs46xx and
the other is an onboard cmipci thing. I conifgured alsa to get the cmipci as
card 0 and the cs46xx thing as card1. There are a couple of things I'd like
to have but that don't seem to work or at least where I don't find
documentation giving me enough info to understand how to do things right.
Here is what I'd like to do.
1: Have oss emulation for both cards. That doesn't seem to work. Only the
first card seems to become oss emulated. Or at least only devices are created
for the first card.
2: As a workaround, I'm using the cmipci sound card in oss emulation with
teamspeak and the second card for everything else. I can't figure out the
naming of alsa devices though. Accessing the /dev/sdn/pcmC1Dxx devices
doesn't seem to work with anything (kde-arts with alsa support or anything
else I tried). xmms with alsa-xmms finds the second card though and selecting
CS46xx as device let's me listen to music. I figured there are some sort of
logical Alsa names that can be used so I tried to set those names as device
for mplayers alsa9 output plugin (ao=alsa9:CS46xx). With this setting mplayer
starts but outputs sound through the cmipci sound card.
I tried to create some pcm or pcmslave devices via .alsarc and use those. But
neither the slaves nor the named pcm devices worked, I got "unable to set
periodsize" errors from mplayer or a not found error.
But the reason for that not working is most definately me not understanding
the tiny bits of information regarding these topics one can find. There is a
whole lot but it's basically all the same. Smallish default asoundrcs that
are more or less the same as in the alsa docs or incredibly complex asoundrcs
from ecasound users for wild sound cards without too much of documentation.
Grrr I'm a little frustrated as you might notice, sorry ;)
Id like to have either oss emulation for both cards with /dev/dsp and
/dev/dsp1 or if that isn't possible I'd like to have the cs46xx card as my
defualt and first card and the cmipci as second card with oss emulation. If
that doesn't work either, some Info on how to find out those device names and
how to configure mplayer to use the pcm device on my cs46xx card would be
nice (I know this is more of an mplayer question but I couldn't find any help
there, either).
Any information would be greatly appreciated.
Thanks,
Richard
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE+FNjxWQvEMJfcXlQRAoA5AKCpgsFVAFSsMWArDOQf0uZiZw7h7ACeL6BO
dh9iCIKQppFxteEeDhQIVQ0=
=EUQI
-----END PGP SIGNATURE-----
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user