UHD and privileges

Hello everyone.
I installed the following UHD, Ettus USRP drivers, packages: uhd-devel uhd-udev uhd-doc uhd-firmware libuhd003

When I try to run the command uhd_find_devices I got and error “UHD Error:USB open failed: insufficient permissions.”
But when I try it with sudo, it does find the device.

I want to set the privileges to the right settings, which I will not need supervisor privileges in order to use the UHD.
How and what I need to do in order to give a normal user privileges to this driver and images?

I use openSUSE 13.2 64bit version.


I solved my issue by the following solution (verified on openSUSE 13.2 64bit):

  1. sudo groupadd usrp
  2. sudo usermod -G usrp -a <YOUR_USERNAME>
  3. echo ‘ACTION==“add”, BUS==“usb”, SYSFS{idVendor}==“fffe”, SYSFS{idProduct}==“0002”, GROUP:=“usrp”, MODE:=“0660”’ > tmpfile
  4. sudo chown root.root tmpfile
  5. sudo mv tmpfile /etc/udev/rules.d/10-usrp.rules
  6. Reboot the system