Please familiarise yourself with the forum, including policy on feature requests, rules & guidelines

how to get USB midi working

0
sirexsirex nzPosts: 3

Hey there. I'm having an absolute devil of a time trying to get the deluge working with USB MIDI.

It's a brand new Deluge (and i'm new to deluge so maybe this is an idiot error, but could also be the unit perhaps - as i've not had usb midi working on it yet).
I've put it on Community Firmware 1.2.
I've plugged in my USB keyboard to the deluge which is a Medelli MK49 (a very dumb keyboard it literally just has a USB port, no other connectivity).
put the Deluge onto a 9v center-neg wall adapter
I turn on the keyboard with the passed through USB power.
I turn on the deluge. (have also tried turning the keyboard on after, same outcome)
I then hit learn + an audition key, which makes the audition keys flash.
I then hit a key on the keyboard, and... nothing.

What am i missing here ?
Other info:

  • the cable is a USB type B to A, with an A to C adaptor on it (the keyboard is usb-c)
  • this cable i've used before with this keyboard direct to my mac so i know thats ok
  • the medeli 49 keyboard i've never had an issue with - usually just plug it into my mac and no issues.
  • i tried connecting the deluge direct to my mac, and it shows up on the "ioreg -p IOUSB" command
  • i couldnt get the deluge to trigger off notes passed to it from bitwig, or vice versa, but it did show up as a device at least
Tagged:

Answers

  • 0
    sirexsirex nzPosts: 3
    edited August 26

    should prolly clarify, i'm hitting the keyboard key with learn+audition also pressed. There doesnt' seem to be a lot of wiggle room for things to go wrong :(

    other notes:

    • have also just tried official firmware 4.1.4. Same thing
    • have noticed when i plug the usb keyboard direct to mac it appears on the mac's "audio midi setup" page, but the deluge does not (does appear on usb devices list though via ioreg command as mentioned previously, so cable seems to be ok)

    ok getting somewhere:

    • can send midi to the deluge and from the deluge to the mac via bitwig
    • can send midi to the usb keyboard and from the usb keyboard to the mac via bitwig
      -** can send mifi to the deluge from the usb keyboard via bitwig.**

    So it seems like the problem is just usb-keyboard to deluge directly. I'm wondering if the keyboard has a similar "if no device is connected to usb when you turn on, don't enable usb" but if the deluge and the usb keyboard both do that, then i'm kinda boned ? Is there any way to force the deluge into usb host mode on startup ? The usb keyboard has no options to change anything at all about how it works, but the manual does mention having your computer turned on when it starts


    potentially this is an issue with the usb descriptor size vs the 256byte limit of cf 1.2.1, looking into it further.

    Post edited by sirex on
  • 1
    sirexsirex nzPosts: 3

    Got It working. Was indeed that problem. The device usb descriptor was slightly too long for the limit and was being lost, which caused the USB endpoints to not set up cleanly. Fix was:

    --- a/src/RZA1/usb/r_usb_basic/src/driver/inc/r_usb_basic_define.h
    +++ b/src/RZA1/usb/r_usb_basic/src/driver/inc/r_usb_basic_define.h

    /* Descriptor size /
    #define USB_DEVICESIZE (20u) /
    Device Descriptor size /
    -#define USB_CONFIGSIZE (256u) /
    Configuration Descriptor size /
    +#define USB_CONFIGSIZE (512u) /
    Configuration Descriptor size */

Sign In or Register to comment.