Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8127651
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T07:36:27+00:00 2026-06-06T07:36:27+00:00

I have tried just about everything for getting the Kinect for Windows to actually

  • 0

I have tried just about everything for getting the Kinect for Windows to actually produce an image. I have downloaded Daniel Shiffman’s Openkinect library and I have installed it as instructed, yet I get the message that no kinect devices are installed. I took a look at the system profiler in Lion and I have the Camera and the Kinect Audio information available. Still, I have no success. I am running Processing with the RGBDepth example and I get a nullpointerexception every time I try to enable the depth image, RGB image, or IR image. I am thinking that because the program cannot ‘see’ the Kinect, the image returns null and the exception occurs. What can I do to have the Kinect ‘seen’
by my laptop?

Also, before you say to plug in the 12V DC adapter or switch the USB port, I have already done so.

Running on a Macbook Pro OSX Lion late 2011

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T07:36:30+00:00Added an answer on June 6, 2026 at 7:36 am

    EDIT 2: Working code:
    This branch already contains a subset of the changes I was making, and actually runs. It’s unstable, but at least you can get a depth and color image.
    https://github.com/zarvox/libfreenect/tree/k4w-wip

    The instability is due to isochronous transfers in libusb on Darwin. The patch that comes with libfreenect just makes libusb less unstable.

    Kinect for Windows isn’t supported in the main tree. Have you tried this patch? https://github.com/renewagner/libfreenect/tree/k4w-wip

    Edit: This repository is too old for the firmware version that I (we) have.

    To detect the camera, you only need to change usb_libusb10.c in three places, where it checks desc.idProduct == PID_NUI_CAMERA. This must now be

    (desc.idProduct == PID_NUI_CAMERA || desc.idProduct == PID_NUI_CAMERA_K4W);
    

    And add:

    #define PID_NUI_CAMERA_K4W 0x02bf
    

    Also remember that the Kinect for Windows does not have a motor. You may need to modify source that assumes it exists.

    This is still insufficient, however. The USB commands have also changed.

    In cameras.c,

    static int freenect_fetch_zero_plane_info(freenect_device *dev)
    {
        freenect_context *ctx = dev->parent;
    
        char reply[0x200];
        uint16_t cmd[5] = {0}; // Offset is the only field in this command, and it's 0
        // Different reply based on hardware
        const int expected_reply_length = dev->kinect_for_windows ? 334 : 322;
        int res;
        res = send_cmd(dev, 0x04, cmd, 10, reply, expected_reply_length); //OPCODE_GET_FIXED_PARAMS = 4,
        if (res != expected_reply_length) {
            FN_ERROR("freenect_fetch_zero_plane_info: send_cmd read %d bytes (expected %d)\n", res, expected_reply_length);
            return -1;
        }
    

    Note that I added a field to freenect_device to store if it’s a Kinect for Windows.

    It’s still not streaming data, but this is as far as I’ve gotten.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have just tried using the NSArchiver but for some reason I am getting
I have just downloaded the flexigrid and examples and tried to execute. In the
I've tried just about everything I can find out there, if someone is able
Can someone tell me why this string won't unserialize? I've tried just about everything
I have just tried adding a WebService (asmx based) from a WebForms project to
I have just tried to uploaded an app through the Application Loader, but it
I have tried troubleshooting this problem and just ended up with nothing, I hope
I have tried using a stemmer but the words it produces are just not
Iam running WAMP server and just enabled php_memcache extension and have tried the code
I tried implementing a sorting program in mapreduce such that I have just the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.