From 02d3fe1ba8223a4d02c30565ae360ea816c5d970 Mon Sep 17 00:00:00 2001 From: RealMalWare <39832934+RealMalWare@users.noreply.github.com> Date: Mon, 31 Jan 2022 20:13:07 +0100 Subject: [PATCH] Fixed file name for USB symlinks (#1745) documentation pointed at etc/udev/rules.d/99-com.rules instead of etc/udev/rules.d/99-usb-serial.rules --- administration/serial.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/administration/serial.md b/administration/serial.md index 8538fe47a..3c5485af8 100644 --- a/administration/serial.md +++ b/administration/serial.md @@ -23,7 +23,7 @@ If you can see issues related to opening the serial port with Linux, and you are - Adapt Java command line arguments to include `-Dgnu.io.rxtx.SerialPorts=/dev/ttyAMA0` (where `/dev/ttyAMA0` is the serial port). If you have multiple serial ports to configure, separate them with colon (`:`). Depending on openHAB installation method, you should modify `start.sh`, `start_debug.sh`, `start.bat`, or `start_debug.bat` (standalone/manual installation) or `EXTRA_JAVA_OPTS` in `/etc/default/openhab` (Debian installation) - Depending on Linux distribution, you might need to add the user running openHAB to `dialout` user group.With Debian openHAB installation: `sudo usermod -a -G dialout openhab`. The user will need to logout from all login instances and log back in to see their new group added. If the user added to this group still cannot get permission, rebooting the box to ensure the new group permission is attached to the user is suggested. -- When using more than one USB-Serial converters, it may happen that the `/dev/ttyUSB0` device is named `/dev/ttyUSB1` after a reboot. To prevent this problem, alias names can be assigned to serial devices by adding them to `/etc/udev/rules.d/99-com.rules`. Example: +- When using more than one USB-Serial converters, it may happen that the `/dev/ttyUSB0` device is named `/dev/ttyUSB1` after a reboot. To prevent this problem, alias names can be assigned to serial devices by adding them to `/etc/udev/rules.d/99-usb-serial.rules`. Example: ```shell SUBSYSTEM=="tty", ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6001", ATTRS{serial}=="AE01F0PD", SYMLINK+="ttyMySensors"