Ian, Follow up:
Here is a copy of my /etc/modules.d/alsa file ==== # Alsa 0.9.X kernel modules' configuration file. # $Header: /home/cvsroot/gentoo-x86/media-sound/alsa-driver/files/alsa-modules.conf-rc,v 1.1 2002/12/21 06:31:52 agenkin Exp $ # ALSA portion alias char-major-116 snd # OSS/Free portion alias char-major-14 soundcore ## ALSA portion alias snd-card-0 snd-emu10k1 alias snd-card-1 snd-ens1370 ## OSS/Free portion alias sound-slot-0 snd-card-0 alias sound-slot-1 snd-card-1 ## # OSS/Free portion - card #1 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 alias sound-service-1-0 snd-mixer-oss alias sound-service-1-3 snd-pcm-oss alias sound-service-1-12 snd-pcm-oss alias /dev/mixer snd-mixer-oss alias /dev/dsp snd-pcm-oss alias /dev/midi snd-seq-oss alias /dev/mixer2 snd-mixer-oss alias /dev/dsp2 snd-pcm-oss # Set this to the correct number of cards. options snd cards_limit=3 ==== this is the script I run once rebooted to "make" the extra device nodes ==== mknod /dev/sound/dsp2 c 14 19 mknod /dev/sound/mixer2 c 14 16 chown root.audio /dev/sound/dsp2 chown root.audio /dev/sound/mixer2 chmod 664 /dev/sound/dsp2 /dev/sound/mixer2 rm -r /dev/dsp2 rm /dev/mixer2 ln -s /dev/sound/dsp2 /dev/dsp2 ln -s /dev/sound/mixer2 /dev/mixer2 === it's kinda rough but it works :) Cheers Simon On Fri, 2003-10-10 at 08:15, Simon Mushi wrote: > Hey Ian, > > Aha....it took me 2 months (well on an off :) ) to figure out how to get > my gentoo box talking to the two sound cards (an SBLIve! and an SB > AUdioPCI) in my system via alsa. But I > think it was all damn worth it. I plan to use the box as a dj mixing > station and with my mixing coming around this weekend I think I'm gonna > have the neighbours pissed at me for a while...anyway...this is kinda what > you need to do: > > 1. Compile alsa with support for both sound cards...I am assumning both > your cards are suported? Which cards d'u have in there. > 2. Edit the /etc/modules.d/alsa file to include device references ..such > as /dev/dsp2 and /dev/mixer2 etc to the > new card...there is some sort a skeleton outline to follow for multi-cards > in there...but some parts of it were not that clear...i'll send u mine > when I get a chance...maybe tonight. > 3. Run modules-update > 4. Restart devfsd > 5. Pray that the device nodes dsp2 and mixer2 are created ... i did and > they weren't but u may be lucky ... as I did some other stuff that made > this not so striuaghtforward. > 6. If 5 failed then you need to create the new nodes manually (some > alsa-dev posting discussed the fact the there is something wacky with the > soundcore.o and devfs and something or other....If you get this far I'll > send the manual dev node creating commands that you need. They are > online also...somewhere on the alsa-project website...I don;t remember > where though. > > Best of luck, > > Simon > > On Fri, 10 Oct > 2003, Ian Truelsen wrote: > > > I have two sound cards, but only one of them gets an entry in > > /dev/sound. Should devfsd not create an entry for the other card as > > well? I am using alsa for both cards and they are both working fine. > > > > Is there something that I need to do in, say devfsd.conf, to have an > > entry in /dev/sound for the second card? > > > > -- > > Ian Truelsen > > Email: [EMAIL PROTECTED] > > AIM: ihtruelsen > > Homepage: http://www.ihtruelsen.dyndns.org > > > > -- > > [EMAIL PROTECTED] mailing list > > > > > > > -- > [EMAIL PROTECTED] mailing list > -- [EMAIL PROTECTED] mailing list
