Browse Source

USB linux rules for libusb to give privs to non-root users

nfactor-troky
Kano 12 years ago
parent
commit
8800da6a38
  1. 18
      FPGA-README

18
FPGA-README

@ -26,6 +26,24 @@ with cgminer (not the libusbx version) @@ -26,6 +26,24 @@ with cgminer (not the libusbx version)
-
When mining on linux, but not using 'sudo' and not logged into 'root' you
may get a USB priviledge error (-3), so you may also need to do the following:
Create /etc/udev/rules.d/01-cgminer.rules
With:
ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6014", SUBSYSTEMS=="usb", ACTION=="add", MODE="0666", GROUP="plugdev"
ATTRS{idVendor}=="1fc9", ATTRS{idProduct}=="0003", SUBSYSTEMS=="usb", ACTION=="add", MODE="0666", GROUP="plugdev"
And also:
sudo usermod -G plugdev -a `whoami`
Then reboot ...
If your linux distro doesn't have the 'plugdev' group, you can create it like:
sudo groupadd plugdev
-
There is a hidden option in cgminer to dump out a lot of information
about USB that will help the developers to assist you if you are having
problems:

Loading…
Cancel
Save