Skip to content

Hubs compatibility  #47

Description

@jeromeDms

Hi
I'm using the M482 in a USB MIDI host product.
Everything works as expected but I'm facing one issue with some hubs.
Some are working, some are not working.

  • If I connect the hub to the M482 host with no connected device to the hub, it is recognized and connecting devices one by one works fine, they are all recognized.
  • If I connect the hub to the M482 host with already connected devices to the hub, the hub is recognized but the connected devices do not trigger an interrupt, and the host does not see the connected devices.

hub_status_irq() is called only one time but sc_bitmap is 0 after this first call (sounds like utr->buff[I] are only zero's), that results in no status change, thus no further detection of connected devices, since the itr is not rearmed in hub_polling

What about checking if utr->buff[I] contains only zeros in hub_status_irq() and re-submit interrupt-in transfer in that case ?

Any tip would be appreciated
Thanks
Jerome

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions