kinect stops recording images after 6-10 seconds

asked 2019-05-01 05:35:49 -0500

pratikparwatwar gravatar image

updated 2019-05-01 05:37:23 -0500

This question is linked to my previous question. After discussing with matlabbe the problem reduced to Camera driver issue which is causing it to fail with freenect or openni.

Testing kinect Sensor with

freenect-glview

yields the following output

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

And with

freenect-regview

The libfreenect registration viewer window opens and start recording images for 6-10 seconds then stops recording. and in the terminal the the last lines are as below.

[Stream 70] Invalid magic 0000
[Stream 70] Invalid magic 0000
[Stream 70] Invalid magic 0000
[Stream 70] Invalid magic 0000
[Stream 70] Invalid magic 0000
iso_callback(): failed to resubmit transfer after successful completion: -4
USB camera marked dead, stopping streams
write_register: 0x0005 <= 0x00
send_cmd: Output control transfer failed (-4)
write_register: send_cmd() returned -4
write_register: 0x0006 <= 0x00
send_cmd: Output control transfer failed (-4)
write_register: send_cmd() returned -4

Error -1 received from libusb - aborting.

shutting down streams...
-- done!

It is indicating there is some issue with USB. but I have tried with both USB2.0 and USB3.0 but the same issue occurs. I am not getting what could be the problem.

edit retag flag offensive close merge delete