[linux-audio-user] USB midi Setup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@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@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



[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux