You are here

Usb port access

When I run rawlog-grabber application I get the following output in the terminal

monkey@monkey-HP-Pavilion-dv6700-Notebook-PC:~/Desktop/Project Development$ rawlog-grabber kinect.ini

rawlog-grabber - Part of the MRPT
MRPT C++ Library: MRPT 0.9.4 - BUILD DATE May 9 2011
-------------------------------------------------------------------

Output rawlog filename: ./data_kinect_2011-05-09_16h40m18s.rawlog
External image storage: ./data_kinect_2011-05-09_16h40m18s_Images

[thread_Kinect] Starting... at 200 Hz
libusb couldn't open USB device /dev/bus/usb/002/005: Permission denied.
libusb requires write access to USB device nodes.
Could not open motor: -3

=============== MRPT EXCEPTION =============
void mrpt::hwdrivers::CKinect::open(), line 340:
Error opening Kinect sensor with index: 0

Press any key to exit program
[main thread] Ended due to other thread signal to exit application.

Waiting for all threads to close...

I'm not sure how to provide access to the usb ports???

Any Advice would be much appreciated

regards

Monkey

Forums: 
Mike Davies's picture

You have not read the platform specific comments part of http://reference.mrpt.org/svn/classmrpt_1_1hwdrivers_1_1_c_kinect.html.

Linux: You'll need root privileges to access Kinect. Or, install MRPT/scripts/51-kinect.rules in /etc/udev/rules.d/ to allow access to all users.