1 |
> > I have a USB sound card and an internal sound card in my laptop. Is |
2 |
> > there a way to switch between them while the system is booted? Is |
3 |
> > module loading/unloading via modprobe the best way to do it? |
4 |
> > |
5 |
> > - Grant |
6 |
> > -- |
7 |
> > gentoo-user@l.g.o mailing list |
8 |
> > |
9 |
> > |
10 |
> |
11 |
> Why switch between them when you can use them both at the same time as |
12 |
> hw:0 and hw:1? |
13 |
|
14 |
Thanks Mark. After studying your config, here is mine: |
15 |
|
16 |
alias snd-card-0 snd-hda-intel |
17 |
options snd-hda-intel index=1 |
18 |
options snd-hda-intel model=acer |
19 |
|
20 |
alias snd-card-1 snd-usb-audio |
21 |
options snd-usb-audio index=0 |
22 |
|
23 |
alias sound-slot-0 snd-card-0 |
24 |
alias sound-slot-1 snd-card-1 |
25 |
|
26 |
alias /dev/mixer snd-mixer-oss |
27 |
alias /dev/dsp snd-pcm-oss |
28 |
alias /dev/midi snd-seq-oss |
29 |
|
30 |
options snd cards_limit=2 |
31 |
|
32 |
I get sound from the USB card but not from the internal card |
33 |
(snd-hda-intel). How can I tell the system to turn off the USB card |
34 |
and turn on the internal card? |
35 |
|
36 |
- Grant |
37 |
|
38 |
|
39 |
> # Alsa 0.9.X kernel modules' configuration file. |
40 |
> # $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/files/alsa-modules.conf-rc,v |
41 |
> 1.4 2004/11/16 01:31:22 eradicator Exp $ |
42 |
> |
43 |
> # ALSA portion |
44 |
> alias char-major-116 snd |
45 |
> |
46 |
> # OSS/Free portion |
47 |
> alias char-major-14 soundcore |
48 |
> |
49 |
> ## ALSA portion |
50 |
> alias snd-card-0 snd-intel8x0 |
51 |
> options snd-intel8x0 index=0 |
52 |
> alias snd-card-1 snd-hdsp |
53 |
> options snd-hdsp index=1 |
54 |
> |
55 |
> ## OSS/Free portion |
56 |
> alias sound-slot-0 snd-card-0 |
57 |
> |
58 |
> |
59 |
> # OSS/Free portion - card #1 |
60 |
> alias sound-service-0-0 snd-mixer-oss |
61 |
> alias sound-service-0-1 snd-seq-oss |
62 |
> alias sound-service-0-3 snd-pcm-oss |
63 |
> alias sound-service-0-8 snd-seq-oss |
64 |
> alias sound-service-0-12 snd-pcm-oss |
65 |
> |
66 |
> alias /dev/mixer snd-mixer-oss |
67 |
> alias /dev/dsp snd-pcm-oss |
68 |
> alias /dev/midi snd-seq-oss |
69 |
> |
70 |
> # Set this to the correct number of cards. |
71 |
> options snd cards_limit=2 |
72 |
> mark@lightning ~ $ |
73 |
-- |
74 |
gentoo-user@l.g.o mailing list |