Hi all,<br>So here are the results of the suggestions of Pedro !<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></blockquote><div><br>Here is lsmod before plugging the keyboard in :<br><br> $ lsmod | grep snd<br>snd_hda_codec_hdmi 30352 1 <br>snd_hda_codec_realtek 95198 1 <br>
snd_hda_intel 25788 5 <br>snd_hda_codec 87980 3 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel<br>snd_hwdep 12910 1 snd_hda_codec<br>snd_pcm_oss 39968 0 <br>snd_mixer_oss 21707 2 snd_pcm_oss<br>
snd_pcm 69043 4 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_pcm_oss<br>snd_seq_dummy 12455 0 <br>snd_seq_oss 32416 0 <br>snd_seq_midi_event 13124 1 snd_seq_oss<br>snd_seq 51504 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event<br>
snd_timer 22187 2 snd_pcm,snd_seq<br>snd_seq_device 12980 3 snd_seq_dummy,snd_seq_oss,snd_seq<br>snd 50814 21 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_dummy,snd_seq_oss,snd_seq,snd_timer,snd_seq_device<br>
soundcore 12926 2 snd<br>snd_page_alloc 12841 2 snd_hda_intel,snd_pcm<br><br><br>and after :<br><br>$ lsmod | grep snd<br>snd_usb_audio 83446 0 <br>snd_usbmidi_lib 22777 1 snd_usb_audio<br>
snd_rawmidi 22278 1 snd_usbmidi_lib<br>snd_hda_codec_hdmi 30352 1 <br>snd_hda_codec_realtek 95198 1 <br>snd_hda_intel 25788 5 <br>snd_hda_codec 87980 3 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel<br>
snd_hwdep 12910 2 snd_usb_audio,snd_hda_codec<br>snd_pcm_oss 39968 0 <br>snd_mixer_oss 21707 2 snd_pcm_oss<br>snd_pcm 69043 5 snd_usb_audio,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_pcm_oss<br>
snd_seq_dummy 12455 0 <br>snd_seq_oss 32416 0 <br>snd_seq_midi_event 13124 1 snd_seq_oss<br>snd_seq 51504 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event<br>snd_timer 22187 2 snd_pcm,snd_seq<br>
snd_seq_device 12980 4 snd_rawmidi,snd_seq_dummy,snd_seq_oss,snd_seq<br>snd 50814 24 snd_usb_audio,snd_usbmidi_lib,snd_rawmidi,snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_dummy,snd_seq_oss,snd_seq,snd_timer,snd_seq_device<br>
soundcore 12926 2 snd<br>snd_page_alloc 12841 2 snd_hda_intel,snd_pcm<br><br><br>snd_usb_audio loads properly!<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<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></blockquote><div><br>here i have :<br>$ cat /proc/asound/seq/drivers<br>snd-seq-oss,loaded,0<br>snd-seq-midi,empty,0<br><br> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
$ cat /proc/asound/seq/clients<br>
Client info<br>
cur clients : 4<br>
peak clients : 5<br>
max clients : 192<br></blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<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></blockquote><div><br>$ cat /proc/asound/seq/clients<br>Client info<br> cur clients : 3<br> peak clients : 3<br> max clients : 192<br><br>Client 0 : "System" [Kernel]<br> Port 0 : "Timer" (Rwe-)<br>
Port 1 : "Announce" (R-e-)<br> Connecting To: 15:0<br>Client 14 : "Midi Through" [Kernel]<br> Port 0 : "Midi Through Port-0" (RWe-)<br>Client 15 : "OSS sequencer" [Kernel]<br>
Port 0 : "Receiver" (-we-)<br> Connected From: 0:1<br><br> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
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></blockquote><div><br>and <br>$ aplaymidi -l<br> Port Client name Port name<br> 14:0 Midi Through Midi Through Port-0<br><br><br> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Or the ALSA Sequencer event monitor/receiver:<br>
<br>
$ aseqdump -l<br></blockquote><div>$ aseqdump -l<br> Port Client name Port name<br> 0:0 System Timer<br> 0:1 System Announce<br> 14:0 Midi Through Midi Through Port-0<br>
<br> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<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></blockquote><div>It seems clear that some of the previous ones failed (cat /proc/asound/seq/drivers did not show the keyboard) and lsmod | grep snd-seq-midi gives no answer..<br>but lsmod | grep midi gives<br>$ lsmod | grep midi<br>
snd_usbmidi_lib 22777 1 snd_usb_audio<br>snd_rawmidi 22278 1 snd_usbmidi_lib<br>snd_seq_midi_event 13124 1 snd_seq_oss<br>snd_seq 51504 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event<br>
snd_seq_device 12980 4 snd_rawmidi,snd_seq_dummy,snd_seq_oss,snd_seq<br>snd 50814 24 snd_usb_audio,snd_usbmidi_lib,snd_rawmidi,snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_dummy,snd_seq_oss,snd_seq,snd_timer,snd_seq_device<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
$ sudo modprobe snd-seq-midi<br></blockquote><div><br>I tried loading this module but got <br>$ sudo mod<br>probe snd-seq-midi<br>[sudo] password for therockers: <br>FATAL: Module snd_seq_midi not found.<br><br>as a return !<br>
<br>Thanks a lot and cheers !!<br><br>jy<br> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Regards,<br>
Pedro<br>
</blockquote></div><br>