April 25, 2024, 02:27:59 pm
Welcome, Guest. Please login or register
News:

Arturia Forums



Author Topic: Use of USB hubs  (Read 2530 times)

endreola

  • Full Member
  • ***
  • Posts: 156
  • Karma: 3
Use of USB hubs
« on: April 26, 2018, 03:46:48 pm »
Greetings,

Best practice states to connect MB directly to a computer, not to USB hub.  And the same holds true for Beatstep Pro.  I've been eyeing the Keystep Pro but am now concerned that it too will required a dedicated USB port.  That would not normally be an issue but my iMac only has a finite number of ports and am not left with available open ports to host other devices.

Is all that really necessary, I mean are these devices so sensitive to timing or generate so much traffic that they require a dedicated port?  The speed of USB 2.0 is around 480 Mbits/s.  That's a lot of bandwidth for a single device.

I've read that the USB 2.0 standard does not allow for "low speed" or "full speed" devices to be polled more than 1,000 times/second; "high speed" devices may be polled up to 8,000 times/second, but require fancier electronics. A MIDI interface takes 320 microseconds (0.32 milliseconds) to send each byte of data; if multiple notes are pressed simultaneously, two bytes will have to be sent for each note after the first, so simultaneous notes will be played at least 0.64 milliseconds apart.

Having MIDI timings rounded off to the nearest millisecond would represent a loss of timing precision, but it's only slightly worse than the loss of timing precision imposed by the MIDI standard itself. An interface which communicated as a "high speed" device could have a 1/8 millisecond polling interval, which would cause only minimal loss of timing accuracy; I don't know how many interfaces do so, however.

One would hope that in this era of technology that Arturia devices use high speed USB technology and all this dedicated USB business is just to rule out timing issues when hubbing MB along with with say "noisy" devices.  Of course the other aspect is that not all USB hubs perform the same and some pollute the USB channel with EMI that impares sound quality.

If this requirement is based on the poor hub quality (and the market is flooded with cheap units) then that makes sense.  And I would like to understand if others have been successful using their MB with hubs, which units have worked and which to avoid.  I would have to speculate that "AC powered" hubs is a requirement.

DrJustice

  • Super Doc
  • Administrator
  • Hero Member
  • *****
  • Posts: 1.046
  • Karma: 480
Re: Use of USB hubs
« Reply #1 on: April 26, 2018, 04:10:22 pm »
Potential timing issues aside, there is another aspect of USB hubs:

I used the MxB with a Dinic 7 port hub which would get into a bad state after my PC had been through a  hibernate / wakeup cycle. In this state, when using the MIDI Control Center, copying patches from the MxB to the MCC, the patches on the MxB side would either become Init patches or they'd become corrupted. While this indicates an issue on the MxB since no read operation should ever be able to corrupt a patch, the crappy Dinic hub was the culprit in that it triggered the issue.

So be warned: some hubs can cause trouble of the data corrupting kind.

Edit: I'm currently using a Dinic USB repeater cable connected to a Lindy 4 port hub without any problems. 
« Last Edit: April 27, 2018, 07:44:48 pm by DrJustice »

 

Carbonate design by Bloc
SMF 2.0.17 | SMF © 2019, Simple Machines