Re: [LAU] MIDI keyboard not recognized

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <linux-audio-user@...>
Date: Tuesday, September 11, 2012 - 8:57 am

Hi,

On Tuesday 11 September 2012, jy wrote:

Yes. Jack depends on ALSA drivers to work with hardware MIDI devices, just
like it depends on ALSA drivers to work with hardware audio devices, except
for FireWire devices where jack depends on ffado/freebob. Jack does not have
its own hardware drivers.

> Would a message found in dmesg like :

Yes, it is a good sign. Answering your previous question:

> Does anyone know from where qjackctl gets its MIDI device list ?

The ALSA tab is filled from the ALSA Sequencer list of ports, which can be
hardware devices or software applications.

The MIDI tab list comes from one of those bridges that provide MIDI support
to jack.

If you should solve the problem at the ALSA level, I guess that you will be
able to solve the problem with jack as well at the same time.

ALSA provides a number of kernel modules. You can list them with this
command:

$ lsmod | grep ^snd

My guess is that some modules are not automatically loaded in your system.

Summing up your previous diagnostics, the ALSA hardware driver (snd-usb-
audio) recognizes your device properly:

$ cat /proc/asound/cards
1 [v2 ]: USB-Audio - USB Oxygen 8 v2
M-Audio USB Oxygen 8 v2 at usb-0000:00:1d.1-1, full

And the ALSA raw MIDI interface (snd-rawmidi) is working properly as well:

$ amidi -l
Dir Device Name
IO hw:1,0,0 USB Oxygen 8 v2 MIDI 1

In your previous messages it is not clear if the ALSA Sequencer interface is
working or not for you. To verify, there are several tests that you can try.

$ cat /proc/asound/seq/drivers
snd-seq-midi,loaded,2

$ cat /proc/asound/seq/clients
Client info
cur clients : 4
peak clients : 5
max clients : 192

Client 0 : "System" [Kernel]
Port 0 : "Timer" (Rwe-)
Port 1 : "Announce" (R-e-)
Client 14 : "Midi Through" [Kernel]
Port 0 : "Midi Through Port-0" (RWe-)

Another way is the ALSA sequencer player (from the ALSA tools collection):

$ aplaymidi -l
Port Client name Port name
14:0 Midi Through Midi Through Port-0
20:0 MidiSport 2x2 MidiSport 2x2 MIDI 1
[...]

Or the ALSA Sequencer event monitor/receiver:

$ aseqdump -l

If some or all the above tests failed, my guess is that the ALSA Sequencer
modules aren't loaded. In that case, you may try this command:

$ sudo modprobe snd-seq-midi

Regards,
Pedro
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-user

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [LAU] MIDI keyboard not recognized, Nigel Henry, (Sun Sep 9, 8:19 pm)
Re: [LAU] MIDI keyboard not recognized, jy, (Mon Sep 10, 7:51 am)
Re: [LAU] MIDI keyboard not recognized, Nigel Henry, (Mon Sep 10, 3:05 pm)
Re: [LAU] MIDI keyboard not recognized, jy, (Mon Sep 10, 5:09 pm)
Re: [LAU] MIDI keyboard not recognized, Paul Davis, (Mon Sep 10, 5:55 pm)
Re: [LAU] MIDI keyboard not recognized, jy, (Mon Sep 10, 8:41 pm)
Re: [LAU] MIDI keyboard not recognized, Brett McCoy, (Mon Sep 10, 9:13 pm)
Re: [LAU] MIDI keyboard not recognized, jy, (Tue Sep 11, 7:38 am)
Re: [LAU] MIDI keyboard not recognized, Pedro Lopez-Cabanillas, (Tue Sep 11, 8:57 am)
Re: [LAU] MIDI keyboard not recognized, jy, (Thu Sep 13, 5:39 am)
Re: [LAU] MIDI keyboard not recognized, Jeremy Jongepier, (Thu Sep 13, 7:11 am)
Re: [LAU] MIDI keyboard not recognized, jy, (Thu Sep 13, 7:31 am)
Re: [LAU] MIDI keyboard not recognized, Jeremy Jongepier, (Thu Sep 13, 7:41 am)
Re: [LAU] MIDI keyboard not recognized, jy, (Thu Sep 13, 5:23 pm)
Re: [LAU] MIDI keyboard not recognized, Jeremy Jongepier, (Thu Sep 13, 7:53 pm)
Re: [LAU] MIDI keyboard not recognized, david, (Thu Sep 13, 7:55 pm)
Re: [LAU] MIDI keyboard not recognized, jy, (Tue Sep 11, 9:08 am)
Re: [LAU] MIDI keyboard not recognized, jy, (Mon Sep 10, 8:56 pm)
Re: [LAU] MIDI keyboard not recognized, Paul Davis, (Mon Sep 10, 8:57 pm)
Re: [LAU] MIDI keyboard not recognized, Paul Davis, (Sun Sep 9, 8:25 pm)
Re: [LAU] MIDI keyboard not recognized, Nigel Henry, (Mon Sep 10, 2:31 pm)
Re: [LAU] MIDI keyboard not recognized, jy, (Mon Sep 10, 2:40 pm)