Skip to content

Commit

Permalink
Add note about LIBUSB_ERROR_IO
Browse files Browse the repository at this point in the history
  • Loading branch information
positlabs authored Jul 7, 2019
1 parent c257865 commit ca1e2c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ You can find the full list of specs at the USB Implmentors Forum. Look for a doc

To debug the USB descriptors, open chrome://usb-internals in Chrome

On Raspberry Pi, you need to run node as root in order to access USB devices. Alternatively, you can add a udev rule to grant access to the default user, as described in [this AskUbuntu answer](https://askubuntu.com/questions/978552/how-do-i-make-libusb-work-as-non-root).
On Raspberry Pi, you need to run node as root in order to access USB devices. If you don't have access, you'll get a `LIBUSB_ERROR_IO` error on initialization. Alternatively, you can add a udev rule to grant access to the default user, as described in [this AskUbuntu answer](https://askubuntu.com/questions/978552/how-do-i-make-libusb-work-as-non-root).

Pull requests and testers welcome!

Expand Down

0 comments on commit ca1e2c9

Please sign in to comment.