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

Clemens Ladisch clemens at ladisch.de
Thu Apr 8 05:21:13 EDT 2004


Mr.Freeze wrote:
> My USB MIDI devices refuse not to be loaded, when plugged-in at startup, 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.

The ALSA driver is "snd-usb-audio"; add that one to the blacklist,
too.

> Here's a snippet of my /etc/modules.conf:

> options snd-card-ice1712 snd_enable

This should be

  options snd-ice1712 enable=1

but you don't need this line because the driver is enabled by default
anyway.

> options snd-intel8x0 snd_enable

Same here.

> 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

You should tell the drivers at which index to load, too.  I recommend
the following options lines:

  options snd-ice1712 index=0
  options snd-intel8x0 index=1
  options snd-usb-audio index=2,3 vid=0x0763,0x0582
  options snd-virmidi index=4

(The "vid" parameters force the keyboard and the MIDI interface to be
loaded at index 2 and 3, respectively.)


HTH
Clemens





More information about the Linux-audio-user mailing list