Ableton/push2-display-with-juce

Could not claim device with interface 0, error -99

Opened this issue · 2 comments

Hi,

I was trying to compile and run the push2 display example on OSX 10.13.6, but I'm getting this error when the application is trying to claim the interface: Could not claim device with interface 0, error -99.

Stepping through the code in the Xcode debugger, it fails in darwin_usb.c:1327

  /* Do the actual claim */
  kresult = (*plugInInterface)->QueryInterface(plugInInterface,
                                               CFUUIDGetUUIDBytes(kIOUSBInterfaceInterfaceID),
                                               (LPVOID)&cInterface->interface);

kresult is -2147483644. In Apples developer forums I found:

IOCFPlugInInterface's QueryInterface returns an error, HRESULT = -2147483644.
...
That error translates to 0x80000004, which is defined in <CoreFoundation/CFPlugInCOM.h> as E_NOINTERFACE

https://forums.developer.apple.com/thread/110920)

Any idea what could be causing this?

Thanks

I am also having this issue. For reference I am connected to the Push via a USB hub and it worked fine in Ableton. (Which I closed and then restarted the Push before running the app.)

I ran into the same problem. Meanwhile, libusb prodives a fix for that issue (it is not officially released but you can build the Trunk): libusb/libusb#519