[LAU] Midi port assignment

Clemens Ladisch clemens at ladisch.de
Thu Aug 12 06:31:42 UTC 2010


Bob van der Poel wrote:
> I've just installed a new motherboard in my computer and am having
> some problems with the ALSA port numbering. The computer has audio on
> board, plus a Ensoniq pci card used only for midi (via a gameport). It
> seems that sometimes, after booting, the card is assigned port 16:0,
> sometimes 20:0. Very annoying!
> 
> Is there a way to force a consistent port value?

The sound card configuration utility of your distribution should allow
you to set the cards' order.

Alternatively, you can configure the card order yourself by setting
module options, in /etc/modprobe.d/alsa.conf or wherever your
distribution puts them:

  options snd slots=snd-hda-intel,snd-ens1731

(or whatever the driver name of your onboard device is)


Regards,
Clemens


More information about the Linux-audio-user mailing list