USB Device permissions - maphew/SARndbox GitHub Wiki

hello@sandbox ~ $ RawKinectViewer -compress 0
Caught exception USB::Device::open: Insufficient device permissions

The device manager rule file that’s installed by make installudevrule (note it's 'udev' not 'dev') while building the Kinect software is only applied when new USB devices are plugged into the system, or the system is rebooted. Meaning, it will not affect the USB device nodes of a Kinect that’s already plugged in.

There are three alternative methods to activate the rules:

  1. Unplug the Kinect from its USB port, wait five seconds, and plug it back in.

  2. Restart the device manager by running the following two commands from a terminal:

$ sudo udevadm control --reload
$ sudo udevadm trigger --action=change
  1. Reboot the computer (it might be only necessary to log off and then back on again).

References: