You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**NOTE:** This assumes you have root privileges on the machine you will use and are fine with giving _all users_ access to serial devices on the system.
13
+
**NOTE:** This guide assumes you have root privileges on the machine you will use and are fine
14
+
giving _all users_ access to a specific serial devices on the system. Some distributions create
15
+
a `plugdev` group to allow similar. However, this group permits usage of _all serial devices_.
14
16
15
17
If you're using a USB serial device like an FTDI USB UART serial converter on Linux,
16
-
only root can access the device by default. To allow users to use the USB serial device
17
-
_without being root_, you need to configure a udev rule for the device.
18
+
you'll need to either login as `root` or run your program with `sudo` permissions.
19
+
For many reasons, this can be undesirable. However, for users without root permissions, this
20
+
is a deal-breaker. A dedicated udev rule is one way to permit non-root usage.
18
21
19
22
If you aren't familiar with udev, [this article]("https://wiki.archlinux.org/title/udev")
20
-
explains the basics and a bit of history. The main takeaway is that udev controls USB serial devices,
21
-
among other things. This necessitates the creating an appropriate udev rule to use the device as a non-root user.
23
+
explains the basics and a bit of history. The main takeaway is udev controls USB serial device
24
+
system configuration, among other things, on many modern Linux distributions. Given this,
0 commit comments