View previous topic :: View next topic |
Author |
Message |
Darkwarrior n00b
Joined: 26 Jul 2002 Posts: 5 Location: Pennsylvania, USA
|
Posted: Fri Jul 26, 2002 2:08 am Post subject: 2 Sound Cards |
|
|
Hello all,
I have two soundcards in my system, one is a cs64xx based, and the other is a fm801 based, chip. When I was using slackware (what I switched from... kinda) I was able to use ALSA (as the fm801 driver is only avail under alsa), and I would add the snddevices file to the rc.local file on startup. this would create mixer and mixer1 and so on for each sound card. I have emerged alsa, configured it, and it loads the card modules fine, no errors, but either a. it only creates mixer (for the first one, the cs64xx), or b. nothing at all (depending on what I was messing with at the time). Here is the /etc/modules.d/alsa:
Code: | # ALSA portion
alias char-major-116 snd
# OSS/Free portion
alias char-major-14 soundcore
##
## IMPORTANT:
## You need to customise this section for your specific sound card(s)
## and then run `update-modules' command.
## Read alsa-driver's INSTALL file in /usr/share/doc for more info. ##
## ALSA portion
alias snd-card-0 snd-cs46xx
alias snd-card-1 snd-fm801
## 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-1 snd-seq-oss
alias sound-service-1-3 snd-pcm-oss
alias sound-service-1-8 snd-seq-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
|
Sound works fine on the one card, but I can't get anything to use the other card. Does anyone have any ideas of how to create the device "nods(?)" for the second sound card with ALSA using the helm? _________________ Jul 11 23:20:14 <worth> Linux kernel: Free, GNOME Desktop: Free, X-chat: Free, Posting a screenshot with your IRC password in it so everyone can see it: Priceless
(Yes, he's referring to me...) |
|
Back to top |
|
|
d3vlin Tux's lil' helper
Joined: 02 Apr 2003 Posts: 134
|
Posted: Mon Sep 22, 2003 3:39 pm Post subject: |
|
|
I have a similar sort of problem;
My first audio card is an SBLive1024 (emu10k1), second one a CS46xx card. I am trying to get them working with ALSA using the 2.6.0beta5-mm3 kernel.
Upon starting alsasound (at boot or manual) I get:
Code: |
giediprime / # /etc/init.d/alsasound start
* Loading ALSA drivers...
* Loading: snd_cs46xx
* Loading: snd_emu10k1
* Loading: snd-seq-midi
* Loading: snd-emu10k1-synth
* Running card-dependent scripts
* Restoring Mixer Levels
/usr/sbin/alsactl: set_controls:986: snd_ctl_open error: No such file or directory
|
and KDE doesn't recognise any audio cards, so I get an empty mixer.
My /etc/modules.d/alsa looks like:
Code: |
# ALSA portion
alias char-major-116 snd
# OSS/Free portion
alias char-major-14 soundcore
##
## IMPORTANT:
## You need to customise this section for your specific sound card(s)
## and then run `update-modules' command.
## Read alsa-driver's INSTALL file in /usr/share/doc for more info.
##
## ALSA portion
alias snd-card-0 snd-cs46xx
alias snd-card-1 snd-emu10k1
## 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-1 snd-seq-oss
alias sound-service-1-3 snd-pcm-oss
alias sound-service-1-8 snd-seq-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
# Set this to the correct number of cards.
options snd cards_limit=2
|
BTW: I tried to remove the cs64xx card from the alsa setup and did an
but after that, alsa still loaded the cs64xx.ko module...
Any ideas? |
|
Back to top |
|
|
d3vlin Tux's lil' helper
Joined: 02 Apr 2003 Posts: 134
|
Posted: Mon Sep 22, 2003 4:13 pm Post subject: |
|
|
compiling OSS API support in kernel solved the problem; but now I have a mixer with 2 tabs stating sliders for each device, but nothing happens when modifying the volume levels...
next to that alsasound gives the following error on booting:
Code: |
/etc/init.d/alsasound start
* Loading ALSA drivers...
* Loading: snd-mixer-oss
* Loading: snd-pcm-oss
* Loading: snd-seq-oss
* Loading: snd_cs46xx
FATAL: Module snd_cs46xx already in kernel.
* Loading: snd_emu10k1
FATAL: Module snd_emu10k1 already in kernel.
* Loading: snd-emu10k1-synth
FATAL: Module snd_emu10k1_synth already in kernel.
* Loading: snd-seq-midi
FATAL: Module snd_seq_midi already in kernel.
* Loading: snd-seq-oss
FATAL: Module snd_seq_oss already in kernel.
* Running card-dependent scripts
* Restoring Mixer Levels
|
|
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|