I had virmidi working fine with 10.4 Lucid but since updating to 11.04 Natty I cannot make it work.<br><br>I have followed the HOWTO [url]<a href="http://tldp.org/HOWTO/MIDI-HOWTO-10.html%5B/url%5D" target="_blank">http://tldp.org/HOWTO/MIDI-HOWTO-10.html[/url]</a> which is the best and about the only reference I can find.  It&#39;s out of date but I&#39;ve done my best with it.<br>

<br>I have installed the standard 11.04 installation as an update from 10.04 - generally everything is fine, just this one problem.<br><br>My installation includes:-<br><br>paman - Pulse Audio Manager<br>pulseaudio<br>pulseaudio-module-jack<br>

qjackctl<br>jackd1 (I can&#39;t get jackd2 to work)<br>aconnectgui - midi router<br>vmpk - virtual midi piano keyboard<br>timidity - midi synthesizer<br><br>Here&#39;s what I&#39;ve done:-<br><br>[CODE]/etc/modules<br><br>

# /etc/modules: kernel modules to load at boot time.<br>#<br># This file contains the names of kernel modules that should be loaded<br># at boot time, one per line. Lines beginning with &quot;#&quot; are ignored.<br><br>
lp<br>
snd-virmidi index=1[/CODE]<br><br>virmidi seems to load fine<br><br>[QUOTE]tony@ubuntu:~$ lsmod|grep virmidi<br>snd_virmidi            13064  0<br>snd_seq_virmidi        13309  1 snd_virmidi<br>snd_rawmidi            25269  2 snd_seq_virmidi,snd_seq_midi<br>

snd_seq_midi_event     14475  2 snd_seq_virmidi,snd_seq_midi<br>snd_seq                51291  8 snd_seq_dummy,snd_seq_virmidi,snd_seq_midi,snd_seq_midi_event<br>snd                    55295  19 snd_intel8x0,snd_ac97_codec,snd_pcm,snd_virmidi,snd_seq_virmidi,snd_rawmidi,snd_seq,snd_timer,snd_seq_device<br>

tony@ubuntu:~$[/QUOTE]<br><br>I put these lines in /etc/modprobe.d/alsa-base.conf<br><br>[CODE] # mods for virmidi<br> # Configure support for OSS /dev/sequencer and<br> # /dev/music (aka /dev/sequencer2)<br> # (Takashi Iwai advises that it is unnecessary<br>

 # to alias these services beyond the first card, i.e., card 0)<br>alias sound-service-0-1 snd-seq-oss<br>alias sound-service-0-8 snd-seq-oss<br><br> # Configure card 1 (second card) as a virtual MIDI card<br>alias sound-slot-1 snd-card-1<br>

alias snd-card-1 snd-virmidi[/CODE]<br><br>the sound stopped working altogether so I took them out again.<br><br>I&#39;ve checked<br><br>[QUOTE]tony@ubuntu:~$ cat /proc/asound/cards<br> 0 [ICH6           ]: ICH4 - Intel ICH6<br>

                      Intel ICH6 with AD1981B at irq 21<br> 1 [VirMIDI        ]: VirMIDI - VirMIDI<br>                      Virtual MIDI Card 1<br>tony@ubuntu:~$[/QUOTE]<br><br>[QUOTE]tony@ubuntu:~$ cat /proc/asound/devices<br>

  1:        : sequencer<br>  2: [ 1- 3]: raw midi<br>  3: [ 1- 2]: raw midi<br>  4: [ 1- 1]: raw midi<br>  5: [ 1- 0]: raw midi<br>  6: [ 1]   : control<br>  7: [ 0- 4]: digital audio playback<br>  8: [ 0- 3]: digital audio capture<br>

  9: [ 0- 2]: digital audio capture<br> 10: [ 0- 1]: digital audio capture<br> 11: [ 0- 0]: digital audio playback<br> 12: [ 0- 0]: digital audio capture<br> 13: [ 0]   : control<br> 33:        : timer<br>tony@ubuntu:~$[/QUOTE]<br>

<br>[QUOTE]tony@ubuntu:~$ aconnect -o<br>client 14: &#39;Midi Through&#39; [type=kernel]<br>    0 &#39;Midi Through Port-0&#39;<br>client 20: &#39;Virtual Raw MIDI 1-0&#39; [type=kernel]<br>    0 &#39;VirMIDI 1-0     &#39;<br>

client 21: &#39;Virtual Raw MIDI 1-1&#39; [type=kernel]<br>    0 &#39;VirMIDI 1-1     &#39;<br>client 22: &#39;Virtual Raw MIDI 1-2&#39; [type=kernel]<br>    0 &#39;VirMIDI 1-2     &#39;<br>client 23: &#39;Virtual Raw MIDI 1-3&#39; [type=kernel]<br>

    0 &#39;VirMIDI 1-3     &#39;<br>client 129: &#39;TiMidity&#39; [type=user]<br>    0 &#39;TiMidity port 0 &#39;<br>    1 &#39;TiMidity port 1 &#39;<br>    2 &#39;TiMidity port 2 &#39;<br>    3 &#39;TiMidity port 3 &#39;<br>

tony@ubuntu:~$[/QUOTE]<br><br>[QUOTE]tony@ubuntu:~$ aconnect -i<br>client 0: &#39;System&#39; [type=kernel]<br>    0 &#39;Timer           &#39;<br>    1 &#39;Announce        &#39;<br>client 14: &#39;Midi Through&#39; [type=kernel]<br>

    0 &#39;Midi Through Port-0&#39;<br>client 20: &#39;Virtual Raw MIDI 1-0&#39; [type=kernel]<br>    0 &#39;VirMIDI 1-0     &#39;<br>client 21: &#39;Virtual Raw MIDI 1-1&#39; [type=kernel]<br>    0 &#39;VirMIDI 1-1     &#39;<br>

client 22: &#39;Virtual Raw MIDI 1-2&#39; [type=kernel]<br>    0 &#39;VirMIDI 1-2     &#39;<br>client 23: &#39;Virtual Raw MIDI 1-3&#39; [type=kernel]<br>    0 &#39;VirMIDI 1-3     &#39;<br>tony@ubuntu:~$<br>[/QUOTE]<br>
Everything is as per the HOWTO.<br>
<br>HOWTO says<br><br>[QUOTE] $ ln -s /dev/snd/midiC2D0 /dev/midi20<br> $ ln -s /dev/snd/midiC2D1 /dev/midi21<br> [...]<br><br>but this should not be necessary, so don&#39;t do this at home, kids![/QUOTE] <br><br>I can&#39;t find an install of for aseqview anywhere and don&#39;t know if it would be useful if I did.<br>

<br>I can use either qjackctl or aconnectgui to make the virtual patches.<br><br>I test thus:-<br><br>1. start timidity<br>2. launch vmpk virtual keyboard<br>3. edit connections in vmpk to send output to a timidity port<br>

4. play the keyboard and I can hear the piano<br><br>5. edit connections in vmpk to send output to virmidi port<br>6. change the connections in aconnectgui<br>[IMG]<a href="http://www.wikiwhatever.com/aconnectgui-1.jpg%5B/IMG%5D%5BIMG%5Dhttp://www.wikiwhatever.com/aconnectgui-3.jpg%5B/IMG%5D" target="_blank">http://www.wikiwhatever.com/aconnectgui-1.jpg[/IMG][IMG]http://www.wikiwhatever.com/aconnectgui-3.jpg[/IMG]</a><br>

7. play the keyboard and there is no sound<br>8. conclusion: virmidi is not working.<br><br>If anyone can shed any light on this I would be grateful.<br><br>Tony