Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set udev rules to avoid needing sudo #14

Open
jgvictores opened this issue Apr 13, 2018 · 1 comment
Open

Set udev rules to avoid needing sudo #14

jgvictores opened this issue Apr 13, 2018 · 1 comment

Comments

@jgvictores
Copy link
Member

jgvictores commented Apr 13, 2018

usb

In order to allow a non-sudoer to read data from the sensors connected via USB port, you need to add a rule for udev system.

Similar to the advice from debian udev documentation, create /etc/udev/rules.d/80-persistent-local-usb.rules with the following contents:

KERNEL == "ttyUSB0", MODE = "0777"

Another popular solution:

sudo usermod -a -G dialout $USER # Effect after reboot

gpio

http://wiringpi.com/wiringpi-update-to-2-29/ as commented at asrob-uc3m/hexakiller#6

note

Could be generated and installed

@jgvictores
Copy link
Member Author

Added sudo usermod -a -G dialout $USER to description.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant