garyed
April 24th, 2008, 10:48 AM
I originally posted this in the beginners group & I hope tihs is not a no-no but i think this is probably a better group for my question.
My problem is every time I boot up I never know what my sound cards place will be given, 0,1, or 2. I have three sound devices.
1 - Onboard - disabled in bios but still shows up in Ubuntu studio Gusty
2 - M-audio 2496
3 - Sound Blaster Live
I mainly use just the M-audio but sometimes I might want some sound out of the SBlive. Anyways everytime I boot up I have to check "/proc/asound/cards"
to find the number of my M-audio card to set up Jack for recording. Is there any way to keep the card numbers constant on every boot?
__________________
I found this solutution in another forum so i figure I'n post it here:
To solve multiple sound cards order from changing on boot-up take the output of:
cat /proc/asound/modules
(Should look something like this)
0 snd_ice1712
1 snd_emu10k1
2 snd_via82xx
--------------------
Then edit "/etc/modprobe.d/alsa-base" file & add the following lines to the end of the file in the order you want the cards to be using the results of your output like this:
options snd-ice1712 index=0
options snd-emu10k1 index=1
options snd-via82xx index=2
-----------------------------------
Note: The spacing has to be exact with special notice to no spaces between "=" sign.
My problem is every time I boot up I never know what my sound cards place will be given, 0,1, or 2. I have three sound devices.
1 - Onboard - disabled in bios but still shows up in Ubuntu studio Gusty
2 - M-audio 2496
3 - Sound Blaster Live
I mainly use just the M-audio but sometimes I might want some sound out of the SBlive. Anyways everytime I boot up I have to check "/proc/asound/cards"
to find the number of my M-audio card to set up Jack for recording. Is there any way to keep the card numbers constant on every boot?
__________________
I found this solutution in another forum so i figure I'n post it here:
To solve multiple sound cards order from changing on boot-up take the output of:
cat /proc/asound/modules
(Should look something like this)
0 snd_ice1712
1 snd_emu10k1
2 snd_via82xx
--------------------
Then edit "/etc/modprobe.d/alsa-base" file & add the following lines to the end of the file in the order you want the cards to be using the results of your output like this:
options snd-ice1712 index=0
options snd-emu10k1 index=1
options snd-via82xx index=2
-----------------------------------
Note: The spacing has to be exact with special notice to no spaces between "=" sign.