问题:
Wmware ubuntu 18.04 Azure Kinect DK 摄像头驱动,error :[2020-02-26 22:39:38.407] [critical] [t=2928] /__w/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?
解决方式:
创建99-k4a.rules:
# Bus 002 Device 116: ID 045e:097a Microsoft Corp.
# Bus 001 Device 015: ID 045e:097b Microsoft Corp.
# Bus 002 Device 118: ID 045e:097c Microsoft Corp.
# Bus 002 Device 117: ID 045e:097d Microsoft Corp.
# Bus 001 Device 016: ID 045e:097e Microsoft Corp.
BUS!="usb", ACTION!="add", SUBSYSTEM!=="usb_device", GOTO="k4a_logic_rules_end"
ATTRS{idVendor}=="045e", ATTRS{idProduct}=="097a", MODE="0666", GROUP="plugdev"
ATTRS{idVendor}=="045e", ATTRS{idProduct}=="097b", MODE="0666", GROUP="plugdev"
ATTRS{idVendor}=="045e", ATTRS{idProduct}=="097c", MODE="0666", GROUP="plugdev"
ATTRS{idVendor}=="045e", ATTRS{idProduct}=="097d", MODE="0666", GROUP="plugdev"
ATTRS{idVendor}=="045e", ATTRS{idProduct}=="097e", MODE="0666", GROUP="plugdev"
LABEL="k4a_logic_rules_end"
结果:
$ ll /etc/udev/rules.d/99-k4a.rules
-rw-r--r-- 1 root root 771 Okt 28 12:08 /etc/udev/rules.d/99-k4a.rules
重启成功!
来源:CSDN
作者:猫爪子挠
链接:https://blog.csdn.net/qq_24537165/article/details/104537413