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

sirex

About

Username
sirex
Location
nz
Joined
Visits
11
Last Active
Roles
No Roles
Points
4
Location
nz
Posts
3
2
Badges
  • how to get USB midi working

    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 */

  • how to get USB midi working

    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.