Microsoft Kinect with Jetson TK1

Hello,

I am trying to connect my Kinect with Jetson TK1. After having done the procedure described in a couple of sources (http://openkinect.org/wiki/Getting_Started#Manual_Build_on_Linux, http://jetsonhacks.com/2014/07/14/jetson-tk1-microsoft-kinect-using-openkinect/), I still cannot run my Kinect. This is what the terminal outputs:

Kinect camera test
Number of devices found: 1
Could not open audio: -4
Failed to open motor subdevice or it is not disabled. Failed to open audio subdevice or it is not disabled. Could not open device.

Anyone knows why this happens and how to fix it? Thanks!

Solved. Find solution below:

Replace:
freenect_select_subdevices(f_ctx, (freenect_device_flags)(FREENECT_DEVICE_CAMERA | FREENECT_DEVICE_CAMERA));
by
freenect_select_subdevices(f_ctx, (freenect_device_flags)(FREENECT_DEVICE_CAMERA));
in glview.c.