howto change default sound card
Gerhard Magnus
magnus at agora.rdrop.com
Fri Nov 17 02:31:16 UTC 2006
On Wed, 2006-11-15 at 14:57 +0000, Rob Andrews wrote:
> On 14-Nov-2006 17:11.58 (GMT), Gerhard Magnus wrote:
> > 0 [AudioPCI ]: ENS1371 - Ensoniq AudioPCI
> > Ensoniq AudioPCI ENS1371 at 0xd800, irq 9
> > 1 [DAC ]: USB-Audio - stereo-link 1200 USB DAC
> > stereo-link stereo-link 1200 USB DAC at
> >
> > I would like to change the default from 0 (AudioPCI) to 1 (DAC) so I
> > don't have to do this manually from Kmix each time I log on.
>
> The PCI card drivers are loaded when udev starts and the hotplug events
> cause the kernel modules to load. For these cards, the card index number
> (card 0 == default card) is assigned inside modprobe.conf:
>
> alias snd-card-0 snd-via82xx
> options snd-card-0 index=0
> options snd-via82xx index=0
>
> You could *probably* push the USB audio device in at index 0 by:
>
> alias snd-card-0 snd-usb-audio
> options snd-card-0 index=0
> options snd-usb-audio index=0
>
> (don't forget to edit the entries for the AudioPCI entry to alias as
> snd-card-1 with option of index=1)
My new modprobe.conf is:
alias eth0 8139too
alias snd-card-0 snd-usb-audio
options snd-card-0 index=0
options snd-usb-audio index=0
alias snd-card-1 snd-ens1371
options snd-card-1 index=1
options snd-ens1371 index=1
remove snd-ens1371 { /usr/sbin/alsactl store 0 >/dev/null 2>&1
|| : ; }; /sbin/modprobe -r --ignore-remove snd-ens1371
where I left the "remove" line as it was originally.
Kmix comes up with the usb soundcard as default. Thanks!
The remaining problem may be a bug. In order to get xmms to work after
starting it I go options -> preferences and then configure the ALSA
Output Plugin. The Audio device entry shows "hw:0,0" -- which
corresponds to the usb soundcard on the pulldown menu -- but I have to
apply this and restart xmms in order to get any sound....
More information about the fedora-list
mailing list