UBS host - esi midi mate ii

46 views
Skip to first unread message

Mark Harris

unread,
Apr 30, 2015, 3:13:11 PM4/30/15
to axolot...@googlegroups.com
Hi,

Ive just tested the axoloti board with an  ESI MIDIMATE II - http://www.esi-audio.com/products/midimate2, connected to the host port and its doesn't work.
(its midi compliant and i have it running on mac/linux and even a raspberry PI :)) 

Is there any diagnostic I can run to see why not, or how far its getting (e.g. is it enumerating the device)

my suspicion is that it is failing because it actually presents 2 MIDI ports rather than 1....  (both are bi-directional)

if this is the case, perhaps a temporary fix in the firmware could be to just select the first one?

note: its not a particular important device to work, as it converts from midi din to usb, and you already have midi din, but it may be other usb class compliant midi devices have similar issues?

I'll email you the a log from linux (lsusb -v) which gives you the device descriptors 

Johannes Taelman

unread,
Apr 30, 2015, 4:11:45 PM4/30/15
to Mark Harris, axolot...@googlegroups.com
Hi Mark,

If firmware is compiled with
#define USBH_DEBUG_LEVEL 2
in usbh_conf.h
and that's what's currently in git.
When you connect Axoloti with the gui and then hotplug your USB device, you should get info like this:

Axoloti says: USB Device Attached
Axoloti says: PID: 117h
Axoloti says: VID: 944h
Axoloti says: Address (#1) assigned.
Axoloti says: Manufacturer : KORG INC.
Axoloti says: Product : nanoKONTROL2
Axoloti says: Serial Number : N/A
Axoloti says: Enumeration done.
Axoloti says: This device has only 1 configuration.
Axoloti says: Default configuration set.
Axoloti says: Switching to Interface (#0)
Axoloti says: Class    : 1h
Axoloti says: SubClass : 3h
Axoloti says: Protocol : 0h
Axoloti says: MID class started.

Increasing the USBH_DEBUG_LEVEL to 3 should give you even more info, but haven't tested this recently.

I'm a bit confused by the concept of a usb-midi cable that has 2 inputs, 2 outputs but only 2 DIN plugs.


--
You received this message because you are subscribed to the Google Groups "axoloti-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to axoloti-user...@googlegroups.com.
To post to this group, send email to axolot...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/axoloti-users/be026e6c-0d6e-4037-b5fe-54656962d012%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

tim vets

unread,
May 1, 2015, 6:52:10 AM5/1/15
to axolot...@googlegroups.com, ma...@technobear.com
This makes me wonder: if we get such devices working,
how would we go about using multiple midi ins/outs?
I'm going to try out a midiman midisport 8x8 one of these days... :)
gr,
Tim

Mark Harris

unread,
May 1, 2015, 6:57:21 AM5/1/15
to tim vets, axolot...@googlegroups.com
I can see from the midimate II , that each of its connections,  comes across as a different 'port' in the first byte of the status message, so we will just need to extend the 'patchers' to know which port they come from.. 
I think one complication is you will probably have the same port # from different hardware inputs e.g. midi din, and the 2 usb ports... so we will probably need to prefix them..
(not hard since, there is a max of 16 ports per input (obviously each with 16 channels))

we will no doubt need this, but even more so when doing midi output, as you won't want to broadcast  it :)


Reply all
Reply to author
Forward
0 new messages