[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

configure 2 cards wALSA



Hey all,

I had alsa configured and sound was working.
I added a second card.  It is a ICE1712 and
is used for recording purposes.  Both card
drivers are compiled as modules in kernel
2.6.8

Now when I boot both the ICE1712 and the INTEL8x0
(onboard AMD sound card) load.  When I run /proc/asound/cards
I get

0 [M66            ]: ICE1712 - M Audio Delta 66
                     M Audio Delta 66 at 0x9000, irq 145
1 [AMD768         ]: ICH - AMD AMD768
                     AMD AMD768 at 0xd000, irq 


I would like to switch the cards so that the AMD card
is snd-card-0 and players such as mpg123, ogg123, and
mplayer use it as default.  







See below for what I added  to
/etc/modutils/alsa
I alsa ran update-modules but this does not work.

installed:
Advanced Linux Sound Architecture Driver Version 1.0.4 (Mon May 17 14:31:44 2004 UTC).
Compiled on Sep  1 2004 for kernel 2.6.8 (SMP).



/etc/modutils/alsa
## Example Configuration of ALSA 0.9 for Debian GNU/Linux

alias char-major-116 snd
alias char-major-14 soundcore

options snd snd_major=116 snd_cards_limit=4   \
     snd_device_mode=0660 snd_device_gid=29 snd_device_uid=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

alias sound-slot-0 snd-card-0
alias sound-slot-1 snd-card-1


# You must need to add your own card setteings below.
#  or use alsaconf to setup in menu form.


-----Zile: alsa               (Text)--L16/44,C1--34%-------------------12:02AM--
# You must need to add your own card setteings below.
#  or use alsaconf to setup in menu form.



alias char-major-116 snd
alias char-major-14 soundcore


alias snd-card-0 snd-card-intel8x0
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

alias snd-card-1 snd-ice1712
alias sound-slot-1 snd-card-1
alias sound-service-1-0 snd-mixer-oss
alias sound-service-1-1 snd-seq-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss

options snd-card-intel8x0 snd_index=0 snd_id=CARD_0
options snd snd_major=116 snd_cards_limit=2 snd_device_mode=0660 snd_device_gid>options snd-card-intel8x0 snd_index=0 snd_id=CARD_0[EOB]





-- 

                                Lance Hoffmeyer
                              lance@augustmail.com

-------------------------------------------------------------------------------
  It gives me great pleasure indeed to see the stubbornness of an incorrigible
                        nonconformist warmly acclaimed.
                                       -
                                Albert Einstein



Reply to: