Ok Pedro thanks a lot for the insight !<br>Very interesting to know how things work from the inside :)<br><br>I'll try the various commands tonight and give a report here as soon as it's done<br><br>Thanks again and cheers<br>

<br>jy<br><br><div class="gmail_quote">2012/9/11 Pedro Lopez-Cabanillas <span dir="ltr"><<a href="mailto:pedro.lopez.cabanillas@gmail.com" target="_blank">pedro.lopez.cabanillas@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Hi,<br>
<div class="im"><br>
On Tuesday 11 September 2012, jy wrote:<br>
> still no appearance of the midi keyboard.<br>
><br>
> I also tried with all proposed audio cards in qjackctl setup but still no<br>
> midi keyboard (even though the keyboard is correctly listed as an<br>
> interface in the interface combo box)<br>
><br>
> I'm starting to feel like this is hopeless (i'm gonna shed a tear) :-)<br>
><br>
> just to know, how does jack know about the midi devices present. does it<br>
> rely on ALSA ?<br>
<br>
</div>Yes. Jack depends on ALSA drivers to work with hardware MIDI devices, just<br>
like it depends on ALSA drivers to work with hardware audio devices,  except<br>
for FireWire devices where jack depends on ffado/freebob. Jack does not have<br>
its own hardware drivers.<br>
<div class="im"><br>
> Would a message found in dmesg like :<br>
> [  782.208027] usb 7-1: new full-speed USB device number 8 using uhci_hcd<br>
> when plugging in the keyboard be of any interest in my case ?<br>
<br>
</div>Yes, it is a good sign. Answering your previous question:<br>
<div class="im"><br>
> Does anyone know from where qjackctl gets its MIDI device list ?<br>
<br>
</div>The ALSA tab is filled from the ALSA Sequencer list of ports, which can be<br>
hardware devices or software applications.<br>
<br>
The MIDI tab list comes from one of those bridges that provide MIDI support<br>
to jack.<br>
<br>
If you should solve the problem at the ALSA level, I guess that you will be<br>
able to solve the problem with jack as well at the same time.<br>
<br>
ALSA provides a number of kernel modules. You can list them with this<br>
command:<br>
<br>
$ lsmod | grep ^snd<br>
<br>
My guess is that some modules are not automatically loaded in your system.<br>
<br>
Summing up your previous diagnostics, the ALSA hardware driver (snd-usb-<br>
audio) recognizes your device properly:<br>
<br>
$ cat /proc/asound/cards<br>
<div class="im">1 [v2             ]: USB-Audio - USB Oxygen 8 v2<br>
                     M-Audio USB Oxygen 8 v2 at usb-0000:00:1d.1-1, full<br>
<br>
</div>And the ALSA raw MIDI interface (snd-rawmidi) is working properly as well:<br>
<br>
$ amidi -l<br>
<div class="im">Dir Device    Name<br>
IO  hw:1,0,0  USB Oxygen 8 v2 MIDI 1<br>
<br>
</div>In your previous messages it is not clear if the ALSA Sequencer interface is<br>
working or not for you. To verify, there are several tests that you can try.<br>
<br>
$ cat /proc/asound/seq/drivers<br>
snd-seq-midi,loaded,2<br>
<br>
$ cat /proc/asound/seq/clients<br>
Client info<br>
  cur  clients : 4<br>
  peak clients : 5<br>
  max  clients : 192<br>
<br>
Client   0 : "System" [Kernel]<br>
  Port   0 : "Timer" (Rwe-)<br>
  Port   1 : "Announce" (R-e-)<br>
Client  14 : "Midi Through" [Kernel]<br>
  Port   0 : "Midi Through Port-0" (RWe-)<br>
<br>
Another way is the ALSA sequencer player (from the ALSA tools collection):<br>
<br>
$ aplaymidi -l<br>
 Port    Client name                      Port name<br>
 14:0    Midi Through                     Midi Through Port-0<br>
 20:0    MidiSport 2x2                    MidiSport 2x2 MIDI 1<br>
[...]<br>
<br>
Or the ALSA Sequencer event monitor/receiver:<br>
<br>
$ aseqdump -l<br>
<br>
If some or all the above tests failed, my guess is that the ALSA Sequencer<br>
modules aren't loaded. In that case, you may try this command:<br>
<br>
$ sudo modprobe snd-seq-midi<br>
<br>
Regards,<br>
Pedro<br>
</blockquote></div><br>