1 |
On Sun, 2008-02-24 at 11:34 -0800, Grant 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 |
> Thanks Mark. After studying your config, here is mine: |
16 |
> |
17 |
> alias snd-card-0 snd-hda-intel |
18 |
> options snd-hda-intel index=1 |
19 |
> options snd-hda-intel model=acer |
20 |
> |
21 |
> alias snd-card-1 snd-usb-audio |
22 |
> options snd-usb-audio index=0 |
23 |
> |
24 |
> alias sound-slot-0 snd-card-0 |
25 |
> alias sound-slot-1 snd-card-1 |
26 |
> |
27 |
> alias /dev/mixer snd-mixer-oss |
28 |
> alias /dev/dsp snd-pcm-oss |
29 |
> alias /dev/midi snd-seq-oss |
30 |
> |
31 |
> options snd cards_limit=2 |
32 |
> |
33 |
> I get sound from the USB card but not from the internal card |
34 |
> (snd-hda-intel). How can I tell the system to turn off the USB card |
35 |
> and turn on the internal card? |
36 |
> |
37 |
> - Grant |
38 |
> |
39 |
|
40 |
You might want to take a look at the new pulseaudio daemon. I don't use |
41 |
it but as far as I know it's perfect for complex setups like yours. |
42 |
Think of it as a (transparent, if necessary) layer between your software |
43 |
and alsa. It should be easier to reconfigure than alsa. |
44 |
|
45 |
You could use it (or the older the older jack daemon) to send audio to |
46 |
both devices. |