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
# maybe not work following lines
sudo /etc/init.d/udev restart
# or
sudo udevadm control --reload-rules
Or re-plugin device
How To Create the Rule 😎
For Example:
Find the port of your device
$ ls /dev/tty*
/dev/ttyUSB0
Find idVendor and idProduct for your device
$ lsusb
Bus 003 Device 071: ID 10c4:ea60 Cygnal Integrated Products, Inc. CP210x UART Bridge / myAVR mySmartUSB light
Find serial for your device
This step is optional if you need to specify the device.
$ udevadm info -a -n /dev/ttyUSB0 | grep '{serial}'| head -n1
ATTRS{serial}=="IFD65000W650005"
Create the file "99-example.rules" in "/etc/udev/rules.d"
Section of ATTRS{serial} is optional if you need to specify the device.
$ sudo vim /etc/udev/rules.d/99-example.rules
edit or add the following line:
SUBSYSTEM=="tty", ATTRS{idVendor}=="10c4", ATTRS{idProduct}=="ea60", ATTRS{serial}=="IFD65000W650005", SYMLINK+="arc/motion"