Skip to content
This repository has been archived by the owner on Jul 28, 2021. It is now read-only.

Could not claim device with interface 0, error -99 #3

Open
moberg opened this issue Nov 21, 2018 · 2 comments
Open

Could not claim device with interface 0, error -99 #3

moberg opened this issue Nov 21, 2018 · 2 comments

Comments

@moberg
Copy link

moberg commented Nov 21, 2018

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

@madmod
Copy link

madmod commented Dec 7, 2018

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.)

@git-moss
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

3 participants