LinHES Forums
http://forum.linhes.org/

Two Audio Cards Change /dev Entries
http://forum.linhes.org/viewtopic.php?f=6&t=12415
Page 1 of 1

Author:  the_crowbar [ Wed Nov 01, 2006 8:12 am ]
Post subject:  Two Audio Cards Change /dev Entries

I have a Myth box that has two WinTV cards. Neither one can output audio with btaudio so I need two sound cards. My motherboard has a builting sound card and I have a usb sound card.

Both cards work and I can route audio from each capture card into line in on a sound card.

The problem is when the system is restarted some times the audio devices switch. i.e. on one boot the onboard audio is /dev/dsp0 and at the next boot it is /dev/dsp1.

How can I set the builtin soundcard to be the same audio device each time the system is booted?

Thanks,
James

Author:  Girkers [ Wed Nov 01, 2006 8:26 pm ]
Post subject: 

You need to set the order of the sound card drivers in a file called /etc/modprobe.d/sound

Eg I have a webcam with a microphone and when I load it, it takes over as the sound /dev/dsp0. To stop this I have to put an index in the file stated above, using the driver as reference.

My /etc/modprobe.d/sound looks like this:
Code:
options snd-emu10k1 index=0
options snd-usb-audio index=1

This will now work across reboots. Obviously you will need to replace my sound drivers, with the appropriate drivers for your hardware.

Author:  the_crowbar [ Thu Nov 02, 2006 8:13 am ]
Post subject: 

Girkers: Thanks for the info!

I saw that modules option in the alsa docs, but there was no indication of what it actually did.

Thanks,
James

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/