Forum Rule: Always post complete source code & details to reproduce any issue!
Page 2 of 2 FirstFirst 1 2
Results 26 to 30 of 30

Thread: USBHost_t36 Midi InputFunctions example is not working for me... Hardware issue?

  1. #26
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    19,248
    Quote Originally Posted by xxxajk View Post
    Novation Launchpad isn't a regular midi device.
    It is indeed a class compliant USB MIDI device.

    Novation used interrupt rather than bulk for their endpoints. The USB audio class spec allows this, though it is a rather unusual choice.


    Quote Originally Posted by xxxajk View Post
    The actual core of UHS3 is quite fast. I'd have to say if it acts that way across everything, then it is UHS3, else it is the t3.2 code.
    If you care about this, hopefully this at least gives you a test case to look at the issue.... a test case where you actually have the source code for the device side!

  2. #27
    Senior Member xxxajk's Avatar
    Join Date
    Nov 2013
    Location
    Buffalo, NY USA
    Posts
    508
    Novation Launchpad... any chance you can give me a
    Code:
    lsusb -vdVID:PID
    on Linux for that? I should be able to make it work.

    T3.2 testing midi... Well, I don't "care" in the fact that I've never used it, but, hey, why not. I can take a look at it later tonight if I get some free time.

  3. #28
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    19,248
    Quote Originally Posted by xxxajk View Post
    Novation Launchpad... any chance you can give me a lsusb -vdVID:PID on Linux for that?
    Code:
    Bus 004 Device 032: ID 1235:0069 Focusrite-Novation 
    Device Descriptor:
      bLength                18
      bDescriptorType         1
      bcdUSB               1.10
      bDeviceClass            0 (Defined at Interface level)
      bDeviceSubClass         0 
      bDeviceProtocol         0 
      bMaxPacketSize0        64
      idVendor           0x1235 Focusrite-Novation
      idProduct          0x0069 
      bcdDevice            0.01
      iManufacturer           1 Focusrite A.E. Ltd
      iProduct                2 Launchpad MK2
      iSerial                 0 
      bNumConfigurations      1
      Configuration Descriptor:
        bLength                 9
        bDescriptorType         2
        wTotalLength           82
        bNumInterfaces          2
        bConfigurationValue     1
        iConfiguration          0 
        bmAttributes         0x80
          (Bus Powered)
        MaxPower              500mA
        Interface Descriptor:
          bLength                 9
          bDescriptorType         4
          bInterfaceNumber        0
          bAlternateSetting       0
          bNumEndpoints           0
          bInterfaceClass         1 Audio
          bInterfaceSubClass      1 Control Device
          bInterfaceProtocol      0 
          iInterface              3 Launchpad MK2
          AudioControl Interface Descriptor:
            bLength                 9
            bDescriptorType        36
            bDescriptorSubtype      1 (HEADER)
            bcdADC               1.00
            wTotalLength            9
            bInCollection           1
            baInterfaceNr( 0)       1
        Interface Descriptor:
          bLength                 9
          bDescriptorType         4
          bInterfaceNumber        1
          bAlternateSetting       0
          bNumEndpoints           2
          bInterfaceClass         1 Audio
          bInterfaceSubClass      3 MIDI Streaming
          bInterfaceProtocol      0 
          iInterface              3 Launchpad MK2
          MIDIStreaming Interface Descriptor:
            bLength                 7
            bDescriptorType        36
            bDescriptorSubtype      1 (HEADER)
            bcdADC               1.00
            wTotalLength           46
          MIDIStreaming Interface Descriptor:
            bLength                 6
            bDescriptorType        36
            bDescriptorSubtype      2 (MIDI_IN_JACK)
            bJackType               1 Embedded
            bJackID                 1
            iJack                   0 
          MIDIStreaming Interface Descriptor:
            bLength                 9
            bDescriptorType        36
            bDescriptorSubtype      3 (MIDI_OUT_JACK)
            bJackType               1 Embedded
            bJackID                 2
            bNrInputPins            1
            baSourceID( 0)          1
            BaSourcePin( 0)         1
            iJack                   0 
          Endpoint Descriptor:
            bLength                 7
            bDescriptorType         5
            bEndpointAddress     0x81  EP 1 IN
            bmAttributes            3
              Transfer Type            Interrupt
              Synch Type               None
              Usage Type               Data
            wMaxPacketSize     0x0040  1x 64 bytes
            bInterval               1
            MIDIStreaming Endpoint Descriptor:
              bLength                 5
              bDescriptorType        37
              bDescriptorSubtype      1 (GENERAL)
              bNumEmbMIDIJack         1
              baAssocJackID( 0)       2
          Endpoint Descriptor:
            bLength                 7
            bDescriptorType         5
            bEndpointAddress     0x02  EP 2 OUT
            bmAttributes            3
              Transfer Type            Interrupt
              Synch Type               None
              Usage Type               Data
            wMaxPacketSize     0x0040  1x 64 bytes
            bInterval               1
            MIDIStreaming Endpoint Descriptor:
              bLength                 5
              bDescriptorType        37
              bDescriptorSubtype      1 (GENERAL)
              bNumEmbMIDIJack         1
              baAssocJackID( 0)       1
    Device Status:     0x0000
      (Bus Powered)

  4. #29
    Senior Member xxxajk's Avatar
    Join Date
    Nov 2013
    Location
    Buffalo, NY USA
    Posts
    508
    Pushed some fixes, enhancements. Let me know if Novation Launchpad works now, or not.
    The Audio Control subclass isn't supported, needs an interface driver for that.

  5. #30
    Junior Member
    Join Date
    Jan 2019
    Posts
    7
    Quote Originally Posted by PaulStoffregen View Post
    Good news, turns out a friend here in the Portland area has an OP-1 and they're willing to let me use at a bi-weekly electronics meetup.

    I'm still getting over a cold right now, so it's unlikely I'll make it out there this week. Will probably have to wait until Feb 4th.
    Paul, did you have a chance to try the OP1? Excited to hear your findings

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •