Re: How to use both outputs on 1x2 USB MIDI adapter?

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

 



Evan DeMond wrote:
> Just acquired a Edirol UM-2EX, a little USB MIDI adapter with 1 input and 2
> outputs, and I only seem to be able to use one of the outputs. Plugging it
> into my Eee PC (Arch Linux with ALSA 1.0.20) creates /dev/midi1, to which I
> can read and write with no trouble.
> But the second MIDI out is silent - does anyone know how I could open
> it, perhaps through the ALSA library, or somehow getting a /dev/midi2,
> or otherwise?

In the ALSA raw MIDI interface or sequencer interface, both ports show
up (see the output of "amidi -l" or "aplaymidi -l").  All ALSA
applications will see the second port.

/dev/midi* is the OSS interface emulation for applications that do not
support ALSA; the second port does not show up as a separate device
because the USB driver uses a mechanism for enumerating MIDI ports that
supports more than 8 ports per device, which is not supported by OSS.

(You could access the second port through /dev/midi1 by opening that
device a second time while it's still open.)

To get /dev/midi2, load the snd-virmidi driver to create a virtual MIDI
device, then connect its sequencer port with the UM-2EX's second port
with aconnect.


HTH
Clemens

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user

[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux