[linux-audio-user] USB midi Setup

Clemens Ladisch clemens at ladisch.de
Mon Mar 15 13:06:48 EST 2004


Elias Kesh (P) wrote:
> I'm trying to get my Roland UM-2 usb to midi interface working on the
> 2.6.4 kernel. I have the kernels usb midi and usb audio turned off. The
> alsa usb audio driver is a module.
> I can access the device via /dev/midi01 meaning if I cat a midi file the
> lights on the interface blink.

The /dev/midi0X files are for raw MIDI data. To play midi files, use
some program like aplaymidi or playmidi or pmidi.

> Mar 14 07:55:09 Kesh kernel: ALSA sound/usb/usbmidi.c:782: created 2
> output and 2 input ports

Fine.

> [root at Kesh /]# cat /proc/asound/oss/sndstat
> ...
> Card config:
> EDIROL UM-2 at usb-0001:01:1b.0-1
> ...
> Midi devices:
> 1: UM-2

OK.

> [root at Kesh src]# aconnect -lo
> client 80: 'Virtual Raw MIDI 2-0' [type=kernel]
>     0 'VirMIDI 2-0     '
> client 81: 'Virtual Raw MIDI 2-1' [type=kernel]
>     0 'VirMIDI 2-1     '
> client 82: 'Virtual Raw MIDI 2-2' [type=kernel]
>     0 'VirMIDI 2-2     '
> client 83: 'Virtual Raw MIDI 2-3' [type=kernel]
>     0 'VirMIDI 2-3     '

Strange. Is the snd-seq-midi module loaded?
Do the UM-2's ports appear in /proc/asound/UM2/midi0?
In /proc/asound/seq/clients?
In the output of "aplaymidi -l"?


Regards,
Clemens





More information about the Linux-audio-user mailing list