Hi Fguim,
yes indeed. To use a Orbbec camera without root, you can do this.
Generate a file with the name orbbec-usb.rules and with the following content. (Ignore the wrong line breaks. Every line starts with SUB… and ends with :=“video”).
SUBSYSTEM==“usb”, ATTR{idProduct}==“0401”, ATTR{idVendor}==“2bc5”, MODE:=“0666”, OWNER:=“root”, GROUP:=“video”
SUBSYSTEM==“usb”, ATTR{idProduct}==“0402”, ATTR{idVendor}==“2bc5”, MODE:=“0666”, OWNER:=“root”, GROUP:=“video”
SUBSYSTEM==“usb”, ATTR{idProduct}==“0403”, ATTR{idVendor}==“2bc5”, MODE:=“0666”, OWNER:=“root”, GROUP:=“video”
SUBSYSTEM==“usb”, ATTR{idProduct}==“0404”, ATTR{idVendor}==“2bc5”, MODE:=“0666”, OWNER:=“root”, GROUP:=“video”
SUBSYSTEM==“usb”, ATTR{idProduct}==“0405”, ATTR{idVendor}==“2bc5”, MODE:=“0666”, OWNER:=“root”, GROUP:=“video”
The file lists the vendor id (2bc5) and the product id’s (0401, 0402, 0403, …) of different orbbec cameras. This list might not be complete! To check this, connect your camera and type this in a console.
lsusb
You should see a list of your usb devices. Your camera has the product id 0403. So, you should see something like this.
Bus 001 Device 004: ID 2bc5:0403
If the product id of your camera is not mentioned in the file orbbec-usb.rules above, you have to extend this file for your camera.
Afterwards you do this.
sudo cp orbbec-usb.rules /etc/udev/rules.d/
To activate it immediately after reconnecting the Orbbec camera, you can do this.
udevadm control --reload-rules
Alternatively, you can just restart your PC.
Cheers,
Malte