question

SunsonHuang-2116 avatar image
0 Votes"
SunsonHuang-2116 asked PearlJonah-2349 published

azure kinect Failed to open device!

hi, we cannot start the azure kinect devices today, and before are all good!
we open the cmd windows to find some errors bellow

3 devices has connected.
[2022-03-15 15:26:32.686] [critical] [t=6632] D:\a\1\s\extern\Azure-Kinect-Sensor-SDK\src\usbcommand\usbcommand.c (360): find_libusb_device(). libusb device(s) are all unavalable. Is the device being used by another application?
[2022-03-15 15:26:32.693] [error] [t=6632] D:\a\1\s\extern\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-03-15 15:26:32.699] [error] [t=6632] D:\a\1\s\extern\Azure-Kinect-Sensor-SDK\src\sdk\k4a.c (133): depthmcu_create(index, &device->depthmcu) returned failure in k4a_device_open()
Failed with exception:
Failed to open device!
183175-%E6%88%AA%E5%B1%8F2022-03-15-153531.png

anyone can support for this problem?


azure-kinect-dk
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

SatishBoddu-MSFT avatar image
0 Votes"
SatishBoddu-MSFT answered BillEdward-7341 commented

Hello @SunsonHuang-2116 Welcome to Q&A forum! I hope the below information would help you with initial query!

Try Create 99-k4a.rules:

If you create the rules file from these instructions it should work without sudo. If you still have trouble we may need more details on what you are changing in rules.d specifically.

review other rules files that might also be running. It looks like some users may also have rules.d in /usr/lib/udev/rules.d that get merged in.

Ref GitHub issue Link


· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

I have similar problem with him, but I don't know how to use 99-k4a.rules, is there a tutorial?

0 Votes 0 ·
PearlJonah-2349 avatar image
0 Votes"
PearlJonah-2349 answered PearlJonah-2349 published

For what it's worth, I had the exact same error message, and it turned out that the power cable had come out of the socket a little bit. Probably the power from the computer's USB port is enough to detect the camera, but not enough to turn it on. Securing the power adapter fixed the issue.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.