Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1473 fails *every other* time #45

Open
shiffman opened this issue Oct 30, 2015 · 6 comments
Open

1473 fails *every other* time #45

shiffman opened this issue Oct 30, 2015 · 6 comments

Comments

@shiffman
Copy link
Owner

For some reason the 1473 doesn't work every other time. I suspect this has something to do with the kinect not shutting down properly. The error message is:

Unable to claim interface -7
Could not claim interface on audio: -99
Failed to open motor subddevice or it is not disabled.
Failed to open audio subdevice or it is not disabled.
There are no kinects, returning null

Amusingly, if you just try again it works. In other words, with the following code, after it fails I click the mouse and it comes to life.

  void setup() {
    kinect = new Kinect(this);
    kinect.initDepth();
  }

  void mousePressed() {
    kinect = new Kinect(this);
    kinect.initDepth();
 }

@ThomasLengeling did you ever try with a 1473? Do you have one? I've attempted various things to make sure the kinect "shuts down" when the Processing sketch closes but no luck.

I wonder if this is just a 1473 bug and not our library. I don't see anything about this in https://github.com/OpenKinect/libfreenect/.

@ThomasLengeling
Copy link
Collaborator

I'll give it a look, strange behavior.
I don't think I have a 1473 model, I can try to access one.

@ThomasLengeling
Copy link
Collaborator

I wonder if its relative to this issue #39

@savvasio
Copy link

Unfortunately it doesn't work for me. I need to run the sketch twice in order for the Kinect to work. Any other way to properly shut down the depth before exiting the app?

@AndreasRef
Copy link

I have the same issue...

@NickCrews
Copy link

This is also happening to me as well, with model 1473. "Unable to claim interface -7 Could not claim interface on audio: -99" errors alternate with the errors "upload_firmware: failed to find firmware file. upload_firmware failed: -2" on every other run, not sure if they're related.

@smokhov
Copy link

smokhov commented Mar 8, 2016

As a data point, I also observed the same behaviour with 1473 on every other time while ago, but never had a chance reporting it, so I guess this is a prevailing reproduceable issue.

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

No branches or pull requests

6 participants