1

I need create two or more MIDI devices. Using the command "modprobe snd-virmidi", I create one midi device: "/dev/midi1". This device is connect in port 20. I can see in "aconnect -l" and put with another softs.

However, I need create anothers as: /dev/midi2, /dev/midi3, after that connect in other softs.

1

The snd-virmidi module has the parameters midi_devs to specify the number of ports per card, and enable to get more cards.

The OSS API usually does not allow to have multiple devices (/dev/midi*) per card, so you should create more cards; run:

modprobe snd-virmidi enable=1,1,1,1,1 midi_devs=1,1,1,1,1

Or put the line

options snd-virmidi enable=1,1,1,1,1 midi_devs=1,1,1,1,1

into some .conf file in /etc/modprobe.d/.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.