On Sun, Feb 24, 2008 at 9:44 AM, Grant <[EMAIL PROTECTED]> wrote:
> I have a USB sound card and an internal sound card in my laptop.  Is
>  there a way to switch between them while the system is booted?  Is
>  module loading/unloading via modprobe the best way to do it?
>
>  - Grant
>  --
>  gentoo-user@lists.gentoo.org mailing list
>
>

Why switch between them when you can use them both at the same time as
hw:0 and hw:1?

- Mark

[EMAIL PROTECTED] ~ $ cat /etc/modules.d/alsa
# Alsa 0.9.X kernel modules' configuration file.
# $Header: 
/var/cvsroot/gentoo-x86/media-sound/alsa-utils/files/alsa-modules.conf-rc,v
1.4 2004/11/16 01:31:22 eradicator Exp $

# ALSA portion
alias char-major-116 snd

# OSS/Free portion
alias char-major-14 soundcore

##  ALSA portion
alias snd-card-0 snd-intel8x0
options snd-intel8x0 index=0
alias snd-card-1 snd-hdsp
options snd-hdsp index=1

##  OSS/Free portion
alias sound-slot-0 snd-card-0


# 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

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
[EMAIL PROTECTED] ~ $
-- 
gentoo-user@lists.gentoo.org mailing list

Reply via email to