Nope the formatting doesn't seem to work with text only.

Trying once more with HTML format:

********************************************

 

Seems like the line breaks on my alsa-base.conf below were missing in the post.

(I was typing everything by hand since my email is on another computer, sorry!)

 

There is always a new line before "install ..." or "option ..."

So it should read:

 

# Keep snd-usb-audio from being loaded as first sound card

 

options snd-usb-audio index=-2

 

Hope it shows up below correctly now ...

 

 

 

> When I store /etc/modprobe.d/alsa-base.conf in [DOS-Format] (with nano) it doesn't work at all.

> Alsamixer does not even open. So I have to store in [MAC-Format] with nano.

> This seems to be readable but does unfortunately not work.

>

> After rebooting I got 4 MIDI interfaces from soundcard number 0-3 and the actual soundcard shows up a number 4.

> Which means no sound! Very annoying ...

>

> Ingo

 

 

 

Hi there,

 

I have a problem where a USB audio device sometimes uses the soundcard slot 0 when connected during startup.

This happens only from time to time with no obvious indication why it boots up differently.

 

I have set up /etc/modprobe.d/alsa-base.conf like this:

 

***************************************************************************************

 

#autoloader aliases

install sound-slot-0 /sbin/modprobe snd-card-0

install sound-slot-1 /sbin/modprobe snd-card-1

install sound-slot-2 /sbin/modprobe snd-card-2

install sound-slot-3 /sbin/modprobe snd-card-3

install sound-slot-4 /sbin/modprobe snd-card-4

install sound-slot-5 /sbin/modprobe snd-card-5

install sound-slot-6 /sbin/modprobe snd-card-6

install sound-slot-7 /sbin/modprobe snd-card-7

 

# Cause optional modules to be loaded above generic modules

install snd /sbin/modprobe --ignore-install snd $CMDLINE_OPTS && { /sbinmodprobe --quiet --use-blacklist snd-ioctl132 ; /sbin/modprobe --quiet --use-blacklist snd-seq ; }

# Workaround at bug #499695 (reverted in Ubuntu see LP #319505)

install snd-pcm /sbin/modprobe -- ignore-install snd-pcm $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-pcm-oss ; : ; }

install snd-mixer /sbin/modprobe -- ignore-install snd-pcm $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-mixer-oss ; : ; }

install snd-seq /sbin/modprobe -- ignore-install snd-pcm $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq-midi ; /sbin/modprobe --quiet --use-blacklist snd-mixer-seq ; : ; }

#

install snd-rawmidi /sbin/modprobe --ignore-install snd-rawmidi $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq-midi ; : ; }

# Cause optional modules to be loaded above sound card driver modules

install snd-emu10k1 /sbin/mod .....

.....

# Prevent abnormal drivers from grabbing index 0

options bt87x indes -2

options cx88_alsa index ......

.....

# Keep snd-usb-audio from being loaded as first sound card

options snd-usb-audio index=-2

 

alias snd-card-0 snd-hda-intel

alias snd-card-1 snd_hda_codec_atihdmi

alias snd-card-2 snd-usb-audio

alias snd-card-3 snd-usb-audio

alias snd-card-4 snd-usb-audio

alias snd-card-5 snd-usb-audio

alias snd-card-6 snd-usb-audio

alias snd-card-7 snd-usb-audio

 

options snd-hda-intel model=6stack-digout

options snd-hda-intel index=0

options snd_hda_codec_atihdmi index=1

 

options snd-usb-audio index=2,3,4,5 id=midi1,midi2,midi3,midi4

 

***************************************************************************************

 

 

Does anybody have an idea why the USB keyboard still takes over the sound card slot 0 and keeps the sound-card from showing up?

I just took a look at /sbin/. "modprobe" links to /bin/kmod.

Are there any other setup files for the sound cards other than /etc/modprobe.d/alsa-base.conf?

 

When I edit and store alsa-base.conf in the console it tells me [MAC-Format] by default.

Should this be set to [DOS-Format] in order to be readable?

 

Any help or ideas are appreciated!

 

Thanks!

Ingo