Visibility into the FPGA.

How to use libusb without administrator privileges?

< All Topics
Print

How to use libusb without administrator privileges?

If you use Exostiv Dashboard analyzer under Linux OS and whish to connect to the probe, you’ll need to have libusb installed.
If you do not have the right permission, you will not be able to use it. Please check the symptoms / solutions below:

Symptom :
Using libusb without administrator privileges.
Libusb persmissions.
Solution :
In file /etc/udev/rules.d/50-udev-default.rules, change:
SUBSYSTEM==”usb”, ENV{DEVTYPE}==”usb_device”, MODE=”0664″
to :
SUBSYSTEM==”usb”, ENV{DEVTYPE}==”usb_device”, MODE=”0666″

If the file is not present, you can find an example of the 50-udev-default.rules file here: https://github.com/pavlinux/udev/blob/master/rules/50-udev-default.rules

Symptom
/<path to installation directory>/DriverLinux.h:6: error: libusb-1.0/libusb.h: No such file or directory
#include  <libusb-1.0/libusb.h>

Solution :
sudo apt-get install libusb-1.0-0-dev (Ubuntu)
sudo yum install libusb-1.0.so.0 (Cent-OS)
sudo yum install libusb-devel.x86_64 (Cent-OS)
sudo yum install libusb-static.x86_64 (Cent-OS)
sudo yum install libusbx-devel-1.0.15-4.el7.x86_64 – for headers (Cent-OS)

×