[linux-audio-user] Re: [PlanetCCRMA] Un-blacklist-able USB MIDI devices

Fernando Pablo Lopez-Lezcano nando at ccrma.Stanford.EDU
Wed Apr 7 15:00:10 EDT 2004


> My USB MIDI devices refuse not to be loaded, when plugged-in at startup, 

You mean, "refuse to be loaded", right?

> before all other ALSA devices which are then "stealthed".
> 
> As mentionned on the Planet CCRMA pages, I've made sure that "audio" and
> "usb-midi" aren't hotplugged on /etc/hotplug/blacklist.
> I've installed too the alsasound mod script given by Fernando Pablo
> Lopez-Lezcano on the thead "[PlanetCCRMA] usb audio and midi devices: loading
> and unloading drivers".
> All silently...

You should erase the oss seq aliases for the 2nd and subsequent cards,
they are not needed (change made in the following quotation):

> Here's a snippet of my /etc/modules.conf:
> alias usb-controller usb-uhci
> alias usb-controller1 ehci-hcd
> 
> # ALSA portion
> alias char-major-116 snd
> alias char-major-14 soundcore
> 
> alias snd-card-0 snd-ice1712
> alias snd-card-1 snd-intel8x0
> alias snd-card-2 snd-usb-audio
> alias snd-card-3 snd-usb-audio
> alias snd-card-4 snd-virmidi
> 
> # Terratec EWX 24/96
> alias sound-slot-0 snd-ice1712
> alias sound-service-0-0 snd-mixer-oss
> alias sound-service-0-1 snd-seq-oss
> alias sound-service-0-3 snd-pcm-oss
> alias sound-service-0-8 snd-seq-oss
> alias sound-service-0-12 snd-pcm-oss
> options snd-card-ice1712 snd_enable
> alias /dev/dsp1 snd-pcm-oss
> 
> # Shuttle Intel Audio Chipset
> alias sound-slot-1 snd-intel8x0
> alias sound-service-1-0 snd-mixer-oss
> alias sound-service-1-3 snd-pcm-oss
> alias sound-service-1-12 snd-pcm-oss
> options snd-intel8x0 snd_enable
> alias /dev/dsp snd-pcm-oss
> 
> # M-Audio Radium 61
> alias sound-slot-2 snd-usb-audio
> alias sound-service-2-0 snd-mixer-oss
> alias sound-service-2-3 snd-pcm-oss
> alias sound-service-2-12 snd-pcm-oss
> 
> # Edirol UM-1S
> alias sound-slot-3 snd-usb-audio
> alias sound-service-3-0 snd-mixer-oss
> alias sound-service-3-3 snd-pcm-oss
> alias sound-service-3-12 snd-pcm-oss
> 
> # VirMIDI
> alias sound-slot-4 snd-card-4
> 
> What's wrong?

Hmm, maybe adding this:

options snd snd_major=116 snd_cards_limit=4

Otherwise snd_card_limit has a default of "1"? (I'm not sure). 
-- Fernando





More information about the Linux-audio-user mailing list