ilg-archived / openocd

The GNU MCU Eclipse OpenOCD
http://gnuarmeclipse.github.io/openocd/
GNU General Public License v2.0
234 stars 62 forks source link

Need additional step for linux installation (http://gnuarmeclipse.github.io/openocd/install/) #8

Closed qywx closed 8 years ago

qywx commented 8 years ago

I followed installation manual on Ubuntu 15.10 and met an issue:

 libusb_open failed: LIBUSB_ERROR_ACCESS

No error was with sudo. The solution is to add user to plugdev group.

 sudo usermod -aG plugdev $USER

Than relogin or restart. FIXED.

ilg-ul commented 8 years ago

yes, thank you for the info, it looks like each different Linux version has its own way of dealing with usb access rights :-(

I'll update the documentation.

ilg-ul commented 8 years ago

the explanation with plugdev was already present in the Troubleshooting section at the end of the page. to avoid further confusion, I moved it to the GNU/Linux section.