Reply To: USB insufficient permissions?

Home Forums AR Sandbox Forum USB insufficient permissions? Reply To: USB insufficient permissions?


Ignore the bit about makefiles being different, they’re not. My source folder was contaminated. I removed them and started over. The real problem was a typo in the install command, I typed devrules instead of Udevrules. The correct command is:

sudo make installudevrules

I misled by incorrect error message from make:

$ make any-thing-you-want-man
make: 'any-thing-you-want-man' is up to date.

HOWEVER, this doesn’t fix the permissions problem. The rule file is now installed, but has no effect. :-/

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

hello@sandbox ~ $ ls -l /etc/udev/rules.d/
total 8
-rw-r--r-- 1 root root 1016 Dec  4 16:49 69-Kinect.rules
-rw-r--r-- 1 root root 2233 Dec  3 20:30 69-Vrui-devices.rules

hello@sandbox ~ $ ls -l /etc/udev/rules.d/69-Kinect.rules 
-rw-r--r-- 1 root root 1016 Dec  4 16:49 /etc/udev/rules.d/69-Kinect.rules

hello@sandbox ~ $ cat /etc/udev/rules.d/69-Kinect.rules 
# Rules to relax permissions on USB files for Microsoft Xbox Kinect
# This file was installed by the Kinect 3D Video Capture Project.
# Copyright (c) 2013-2016 Oliver Kreylos

# Rules for Kinect-for-Xbox model 1414:
SUBSYSTEMS=="usb", ATTRS{idVendor}=="045e", ATTRS{idProduct}=="02ad", TAG+="uaccess"
SUBSYSTEMS=="usb", ATTRS{idVendor}=="045e", ATTRS{idProduct}=="02ae", TAG+="uaccess"
SUBSYSTEMS=="usb", ATTRS{idVendor}=="045e", ATTRS{idProduct}=="02b0", TAG+="uaccess"

# Rules for Kinect-for-Xbox model 1473 and Kinect-for-Windows model 1517:
SUBSYSTEMS=="usb", ATTRS{idVendor}=="045e", ATTRS{idProduct}=="02be", TAG+="uaccess"
SUBSYSTEMS=="usb", ATTRS{idVendor}=="045e", ATTRS{idProduct}=="02bf", TAG+="uaccess"
SUBSYSTEMS=="usb", ATTRS{idVendor}=="045e", ATTRS{idProduct}=="02c2", TAG+="uaccess"

# Rules for Kinect-for-Windows version 2.0:
SUBSYSTEMS=="usb", ATTRS{idVendor}=="045e", ATTRS{idProduct}=="02c4", TAG+="uaccess"
SUBSYSTEMS=="usb", ATTRS{idVendor}=="045e", ATTRS{idProduct}=="02d9", TAG+="uaccess"
  • This reply was modified 4 years, 7 months ago by maphew.

Comments are closed.