Commit 57c1515e authored by David Boddie's avatar David Boddie

Merge branch 'imx8-udev-rules' into 'master'

imx8: Simplify udev rules setup

See merge request !154
parents 6a84e16e e92321ea
Pipeline #4108 passed with stages
in 9 minutes and 59 seconds
......@@ -186,7 +186,7 @@ The ``uuu`` binary will find itself in ``mfgtools-build/uuu/uuu``.
Udev Rules
^^^^^^^^^^
We recommend running ``uuu`` as an unprivileged user. Issue the following commands as root to make the dev kit accessible to your user over USB whenever it is connected:
We recommend running ``uuu`` as an unprivileged user. On Debian-based systems, issue the following commands **as root** to make the development board accessible to your user over USB whenever it's connected:
.. code:: bash
......@@ -199,19 +199,26 @@ We recommend running ``uuu`` as an unprivileged user. Issue the following comman
LABEL="librem5_devkit_rules_end"
EOF
udevadm control -R
adduser <youruser> plugdev
and then, to log in to the new group:
Users of non-Debian systems may need to add the ``plugdev`` group if it does not already exist. This group grants permission to its members to access the devices it owns:
.. code:: bash
newgrp plugdev
groupadd plugdev
You will need to add your user to the ``plugdev`` group to access the development board:
.. code:: bash
sudo usermod -a -G plugdev $USER
The next time you plug in the USB cable, the development board's USB interface
will be accessible by your user.
You can log in to the new group without having to log out by running this command:
.. code:: bash
newgrp plugdev
**Note:** You may need to create the ``plugdev`` group with ``groupadd`` if you
are not using a Debian-based distribution.
Next time you plug in the USB cable, the development board's USB interface will be accessible by your user.
Downloading Flashing Scripts
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment