-
Notifications
You must be signed in to change notification settings - Fork 453
udev rules (USB permissions)
Michal Szwaj edited this page Apr 4, 2018
·
3 revisions
In order to use OpenAuto with Linux-based OS (e.g. Raspbian) with udev, you must create a rule to allow communication with USB devices in R/W mode. Please see this issue in order to create secure udev rules for OpenAuto purposes.
The simplest rule looks like below one:
SUBSYSTEM=="usb", ATTR{idVendor}=="*", ATTR{idProduct}=="*", MODE="0660", GROUP="plugdev"
In order to add this rule to udev, do:
$ cd /etc/udev/rules.d
$ sudo touch openauto.rules
$ sudo nano openauto.rules
then paste above rule, save the file and reboot your device.