Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
how to configure ALSA to the 2nd sound controler?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
isaac
n00b
n00b


Joined: 05 Mar 2004
Posts: 7

PostPosted: Sun Mar 28, 2004 4:48 am    Post subject: how to configure ALSA to the 2nd sound controler? Reply with quote

Dear All,

I have an onboard intel audio controler, and a SB Audgy 2 -

Code:
 $ grep audio /proc/pci
    Multimedia audio controller: Intel Corp. 82801DB AC'97 Audio Controller (rev 2).
    Multimedia audio controller: Creative Labs SB Audigy (rev 3).


under 2.6.3, when try to get the sound card work, following the steps given in ALSA installation gentoo guide, always the default card was configured -

Code:
$ amixer info
Card default 'I82801DBICH4'/'Intel 82801DB-ICH4 at 0xfebff800, irq 17'
  Mixer name    : 'Analog Devices AD1981B'
  Components    : 'AC97a'
  Controls      : 26
  Simple ctrls  : 18


Does anyone know how to let the system recognize the SB Audigy card, and wich driver I should choose when compiling the 2.6.3 kernel?

Thanks!!!
Back to top
View user's profile Send private message
isaac
n00b
n00b


Joined: 05 Mar 2004
Posts: 7

PostPosted: Sun Mar 28, 2004 4:54 am    Post subject: my current alsa config Reply with quote

Code:

# Alsa 0.9.X kernel modules' configuration file.
# $Header: /home/cvsroot/gentoo-x86/media-sound/alsa-utils/files/alsa-modules.conf-rc,v 1.1 2003/08/05 21:07:55 johnm Exp $
 
# ALSA portion
alias char-major-116 snd
# OSS/Free portion
alias char-major-14 soundcore

##  ALSA portion
#alias snd-card-0 snd-interwave
alias snd-card-1 snd-ens1371
 
##  OSS/Free portion
#alias sound-slot-0 snd-card-0
alias sound-slot-1 snd-card-1

##  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

# Set this to the correct number of cards.
options snd cards_limit=1

[/code]
Back to top
View user's profile Send private message
theturner
Tux's lil' helper
Tux's lil' helper


Joined: 12 Mar 2004
Posts: 111
Location: United Socialist Republic of Europe

PostPosted: Sun Mar 28, 2004 1:41 pm    Post subject: Reply with quote

turn off the onboard audio in your BIOS. then look through the ALSA Guide and configure ALSA for your PCI sound card. The driver is called snd-emu10k1.
Look through the ALSA Guide carefully, everything you need is in there. I have a very similar configuration as you have (ali5455 onboard & SoundBlaster Live! Player) and it was no problem for me to switch to the LIve! Player.
Back to top
View user's profile Send private message
krinkle
Guru
Guru


Joined: 04 Feb 2003
Posts: 338
Location: Garden Grove, CA

PostPosted: Sun Mar 28, 2004 9:04 pm    Post subject: Reply with quote

i think the audigy uses the emu10k1 driver, but i'll let someone else answer that for you since i don't really know =). Do you want both sound cards working? it's not that hard. first of all, have you read the gentoo alsa guide?. Assuming that, just set up your /etc/modules.d/alsa so that it has two cards set up. then modify your /etc/asound.conf to look somethign like this:
Code:
pcm.ens1371 {
        type hw
        card 0
        device 0
}
ctl.ens1371 {
        type hw
        card 0
}

pcm.ice1712 {
        type hw
        card 1
        device 0
}
ctl.ice1712 {
        type hw
        card 1
}


I use the ens1371 driver and the ice1712 drivers, so replace those with you drivers.
to get amixer to see the second card you have to pass it a parameter to look at the second sound card. so amixer -c0 if you want it to talk about sound card one, and amixer -c1 if you want it took talk about sound card two. In applications (such ass xmms) you can just tell it to use "ice1712" or "ens1731" as teh device (that's what editing asound.conf let you do).
Sorry if that didn't make a lot of sense, but I gotta get to work. Just wanted to get you started, i'll clarify if you don't understand something. Good luck
(it will probably take a few times to get it right, so don't get discouraged)
Back to top
View user's profile Send private message
isaac
n00b
n00b


Joined: 05 Mar 2004
Posts: 7

PostPosted: Mon Mar 29, 2004 1:04 am    Post subject: Many thanks! Now the card works! still CD cannot play Reply with quote

Hi, theturner, krinkle

Really thanks for all your good suggestions.

- since I mostly interested in getting the system just works, so I choose to direct way -
disable the on board sound card (which I have not jack at the pc back), recompile the kernel with emu1k (driver for SB audigy). I happened to make mistakes as a beginner that forgetting to cp the new recompiled kernel to the /boot (I compile the driver directly into the kernel, not as a module)...

after about 8-10 times kernel compiling, I happened to use the system sound from gnome, only now I know the card is working properly! (-since I was using a CD to test during all these times of recompiling !)

kinkle really encouraged me when I thought it was almost impossible! //solute

Now, the question is: - why the CD player in gnome doesn't work?

many thanks!
Back to top
View user's profile Send private message
isaac
n00b
n00b


Joined: 05 Mar 2004
Posts: 7

PostPosted: Mon Mar 29, 2004 3:10 am    Post subject: xmms works great! Reply with quote

Hi, just emerged xmms,
it works great! - listening to my favorite now!!! Thanks a lot for your help!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
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