microsoft / Azure-Kinect-Sensor-SDK

A cross platform (Linux and Windows) user mode SDK to read data from your Azure Kinect device.
https://Azure.com/Kinect
MIT License
1.47k stars 614 forks source link

usb_cmd_create(USB_DEVICE_DEPTH_PROCESSOR, device_index, NULL, &depthmcu->usb_cmd) returned failure in depthmcu_create() #1805

Open jiapei-nexera opened 2 years ago

jiapei-nexera commented 2 years ago

Finally, had Azure-Kinect-Sensor-SDK built , under Ubuntu 22.04 .

However, when I tried to run k4aviewer, I got the following ERROR message:

➜  ~ k4aviewer
[2022-07-19 13:20:06.649] [critical] [t=2705509] ....../Azure-Kinect-Sensor-SDK/src/usbcommand/usbcommand.c (365): find_libusb_device(). libusb device(s) are all unavalable. Is the device being used by another application?
[2022-07-19 13:20:06.649] [error] [t=2705509] ....../Azure-Kinect-Sensor-SDK/src/depth_mcu/depth_mcu.c (68): usb_cmd_create(USB_DEVICE_DEPTH_PROCESSOR, device_index, NULL, &depthmcu->usb_cmd) returned failure in depthmcu_create()
[2022-07-19 13:20:06.649] [error] [t=2705509] ....../Azure-Kinect-Sensor-SDK/src/sdk/k4a.c (133): depthmcu_create(index, &device->depthmcu) returned failure in k4a_device_open()

Any suggestions?

Eric-chuan commented 1 year ago

I have met the same issue. Any Solution?

Eric-chuan commented 1 year ago

Hi, I eventually found out that I had forgotten to copy the rules.d to the appropriate location and after doing this step everything worked fine, you can try this.

Eric-chuan commented 1 year ago

Hi, I eventually found out that I had forgotten to copy the rules.d to the appropriate location and after doing this step everything worked fine, you can try this.

WentsingNee commented 4 months ago

Hi, I eventually found out that I had forgotten to copy the rules.d to the appropriate location and after doing this step everything worked fine, you can try this.

Thank you, that helps me A LOT!