I have had some success with the kinect360 (is that model 1414?) on my Rpi2.
Are you running the kinect example that comes with the addon?
Have you tried running with sudo?
in of_v0.8.4_linuxarmv7l_release dont have a kinect example, i copy this from of_v0.8.4_osx_release.
i dont have try running this with sudo.
as you would?
don’t forget to replace the ofxKinect addon with the one you find in the zip (backup the old one!),
I think I may have made some modifications to it a while ago to get it to work on the RPI2 (but I forgot to document).
Also read the readme of the addon It tells you to copy a rules file to /etc/udev/rules.d so you don’t need to run with sudo
thanks gepatto!
but i have the same problem.
i try to compile your proyect, this is the out of the console:
[notice ] ofAppEGLWindow: setupRPiNativeWindow(): screenRect: 1920x1080
[notice ] ofAppEGLWindow: setupRPiNativeWindow(): windowRect: 1280x720
[notice ] ofAppEGLWindow: createSurface(): setting up EGL Display
[notice ] ofAppEGLWindow: createSurface(): EGL Display correctly set
[notice ] ofAppEGLWindow: createSurface(): current renderer type: GL
[notice ] ofAppEGLWindow: createSurface(): default renderer detected
[notice ] ofAppEGLWindow: createSurface(): surface created correctly
[notice ] ofAppEGLWindow: createSurface(): API bound correctly
[notice ] ofAppEGLWindow: createSurface(): -----EGL-----
[notice ] ofAppEGLWindow: createSurface(): EGL_VERSION_MAJOR = 1
[notice ] ofAppEGLWindow: createSurface(): EGL_VERSION_MINOR = 4
[notice ] ofAppEGLWindow: createSurface(): EGL_CLIENT_APIS = OpenGL_ES OpenVG
[notice ] ofAppEGLWindow: createSurface(): EGL_VENDOR = Broadcom
[notice ] ofAppEGLWindow: createSurface(): EGL_VERSION = 1.4
[notice ] ofAppEGLWindow: createSurface(): EGL_EXTENSIONS = EGL_KHR_image EGL_KHR_image_base EGL_KHR_image_pixmap EGL_KHR_vg_parent_image EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_lock_surface
[notice ] ofAppEGLWindow: createSurface(): GL_RENDERER = VideoCore IV HW
[notice ] ofAppEGLWindow: createSurface(): GL_VERSION = OpenGL ES-CM 1.1
[notice ] ofAppEGLWindow: createSurface(): GL_VENDOR = Broadcom
[notice ] ofAppEGLWindow: createSurface(): -------------
[notice ] ofAppEGLWindow: setupPeripherals(): peripheral setup complete
[notice ] ofAppEGLWindow: setupNativeUDev(): created udev object
[notice ] ofAppEGLWindow: setupMouse(): unabled to find mouse
[ error ] ofAppEGLWindow: setupMouse(): did not open mouse
[ error ] ofAppEGLWindow: setupMouse(): did not open mouse, mouse_fd < 0
[notice ] ofAppEGLWindow: setupKeyboard(): keyboard_fd= 5 devicePath=/dev/input/by-path/platform-3f980000.usb-usb-0:1.5.2:1.0-event-kbd
[notice ] ofAppEGLWindow: setupKeyboard(): keyboard device name = Apple, Inc Apple Keyboard
[notice ] ofAppEGLWindow: setupPeripherals(): native event setup complete
[notice ] ofAppEGLWindow: setupOpenGL(): peripheral setup complete
[notice ] ofAppEGLWindow: runAppViaInfiniteLoop(): entering infinite loop
Failed to open camera subdevice or it is not disabled.Failed to open motor subddevice or it is not disabled.Failed to open audio subdevice or it is not disabled.[ error ] ofxKinect: could not open device -1
grayImageWidth 640
[notice ] ofAppEGLWindow: runAppViaInfiniteLoop(): setting up notifications complete
[warning] ofxKinect: update(): device -1 isn’t delivering data, reconnecting tries: 1
Failed to open camera subdevice or it is not disabled.Failed to open motor subddevice or it is not disabled.Failed to open audio subdevice or it is not disabled.[ error ] ofxKinect: could not open device -1
[warning] ofxKinect: update(): device -1 isn’t delivering data, reconnecting tries: 2
Failed to open camera subdevice or it is not disabled.Failed to open motor subddevice or it is not disabled.Failed to open audio subdevice or it is not disabled.[ error ] ofxKinect: could not open device -1
[warning] ofxKinect: update(): device -1 isn’t delivering data, reconnecting tries: 3
Failed to open camera subdevice or it is not disabled.Failed to open motor subddevice or it is not disabled.Failed to open audio subdevice or it is not disabled.[ error ] ofxKinect: could not open device -1
[warning] ofxKinect: update(): device -1 isn’t delivering data, reconnecting tries: 4
Failed to open camera subdevice or it is not disabled.Failed to open motor subddevice or it is not disabled.Failed to open audio subdevice or it is not disabled.[ error ] ofxKinect: could not open device -1
[warning] ofxKinect: update(): device -1 isn’t delivering data, reconnecting tries: 5
Failed to open camera subdevice or it is not disabled.Failed to open motor subddevice or it is not disabled.Failed to open audio subdevice or it is not disabled.[ error ] ofxKinect: could not open device -1
Looks like it’s not seeing the Kinect at all…
Can you run
lsusb
and see if you can spot your kinect? (something like)
Bus 001 Device 012: ID 045e:02ad Microsoft Corp. Xbox NUI Audio
Bus 001 Device 010: ID 045e:02b0 Microsoft Corp. Xbox NUI Motor
Bus 001 Device 013: ID 045e:02ae Microsoft Corp. Xbox NUI Camera
[edit]
Oh wait, I see that your first example Did find the kinect, but my test doesn’t
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.
Bus 001 Device 004: ID 0409:005a NEC Corp. HighSpeed Hub
Bus 001 Device 005: ID 0951:1666 Kingston Technology
Bus 001 Device 007: ID 05ac:1006 Apple, Inc. Hub in Aluminum Keyboard
Bus 001 Device 009: ID 045e:02ad Microsoft Corp. Xbox NUI Audio
Bus 001 Device 006: ID 045e:02b0 Microsoft Corp. Xbox NUI Motor
Bus 001 Device 010: ID 045e:02ae Microsoft Corp. Xbox NUI Camera
Bus 001 Device 008: ID 05ac:0221 Apple, Inc. Aluminum Keyboard (ISO)
Ok so it does find the kinect,
This may sound strange but have you tried a different USB port or connect without your usb-hub.
And try with the original ofxKinect-addon again.
i try almost everything, format and reinstall everything from zero but I still get the same error, I am using optimal voltage and amperage (5V, 2A - 5A), the SD card is Class 4, it can affect?
But I really don’t know if that could be the cause.
I have tried my kinect ( also a 1414) on 2 sd-cards that have of-0.8.4 on them and they both work with my test.
It doesn’t seem clear whether you’ve confirmed that the RPI is able to see the Kinect device – Have you confirmed that the device is visible with lsusb?
If you can see the device, have you confirmed that another piece of software can connect to the kinect? If it can’t then it’s likely a hardware problem.
Have you tried using a different USB plug? Are you plugging in directly to the RPI?
Other ideas …
Have you tried to use the latest version of OF?
Have you tried changing the gpu / cpu memory distribution?
hello
i test a two new kinect cameras (1414 model) and have the same problem.
[verbose] ofxKinect: context inited
[verbose] ofxKinect: 1 device found
Failed to open camera subdevice or it is not disabled.Failed to open motor subddevice or it is not disabled.Failed to open audio subdevice or it is not disabled.[ error ] ofxKinect: could not open device -1
I am having similar mentioned issues in this thread with the KinectExample.
I didnt use the PG to compile the kinectExample in 0.9.0, but copied the OS X kinectExample over to RPi2 since the make files are compiled.
No errors during compiling. Something in detecting Kinect. I have used the libfreenect Python wrappers without any issues, so this isn’t a hardware issue ( for me).
I have upgraded to of 0.9.0 and raspbian jessie (clean install).
And it worked straight away for me with my xbox kinect model 1414
So I think it must somehow be related to the kinect device or the power-supply.
for me lsusb returns these vendor an product ids
Bus 001 Device 014: ID 045e:02ae Microsoft Corp. Xbox NUI Camera
Bus 001 Device 012: ID 045e:02b0 Microsoft Corp. Xbox NUI Motor
Bus 001 Device 013: ID 045e:02ad Microsoft Corp. Xbox NUI Audio