1 |
On Sun, Feb 24, 2008 at 9:44 AM, Grant <emailgrant@×××××.com> wrote: |
2 |
> I have a USB sound card and an internal sound card in my laptop. Is |
3 |
> there a way to switch between them while the system is booted? Is |
4 |
> module loading/unloading via modprobe the best way to do it? |
5 |
> |
6 |
> - Grant |
7 |
> -- |
8 |
> gentoo-user@l.g.o mailing list |
9 |
> |
10 |
> |
11 |
|
12 |
Why switch between them when you can use them both at the same time as |
13 |
hw:0 and hw:1? |
14 |
|
15 |
- Mark |
16 |
|
17 |
mark@lightning ~ $ cat /etc/modules.d/alsa |
18 |
# Alsa 0.9.X kernel modules' configuration file. |
19 |
# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/files/alsa-modules.conf-rc,v |
20 |
1.4 2004/11/16 01:31:22 eradicator Exp $ |
21 |
|
22 |
# ALSA portion |
23 |
alias char-major-116 snd |
24 |
|
25 |
# OSS/Free portion |
26 |
alias char-major-14 soundcore |
27 |
|
28 |
## ALSA portion |
29 |
alias snd-card-0 snd-intel8x0 |
30 |
options snd-intel8x0 index=0 |
31 |
alias snd-card-1 snd-hdsp |
32 |
options snd-hdsp index=1 |
33 |
|
34 |
## OSS/Free portion |
35 |
alias sound-slot-0 snd-card-0 |
36 |
|
37 |
|
38 |
# OSS/Free portion - card #1 |
39 |
alias sound-service-0-0 snd-mixer-oss |
40 |
alias sound-service-0-1 snd-seq-oss |
41 |
alias sound-service-0-3 snd-pcm-oss |
42 |
alias sound-service-0-8 snd-seq-oss |
43 |
alias sound-service-0-12 snd-pcm-oss |
44 |
|
45 |
alias /dev/mixer snd-mixer-oss |
46 |
alias /dev/dsp snd-pcm-oss |
47 |
alias /dev/midi snd-seq-oss |
48 |
|
49 |
# Set this to the correct number of cards. |
50 |
options snd cards_limit=2 |
51 |
mark@lightning ~ $ |
52 |
-- |
53 |
gentoo-user@l.g.o mailing list |