Skip to content

Commit ca1e2c9

Browse files
authored
Add note about LIBUSB_ERROR_IO
1 parent c257865 commit ca1e2c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ You can find the full list of specs at the USB Implmentors Forum. Look for a doc
125125

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

128-
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).
128+
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).
129129

130130
Pull requests and testers welcome!
131131

0 commit comments

Comments
 (0)