Udev rules physical binding - Team-Anveshak/aurora2019 GitHub Wiki

Binding a dev-name to a particular physical USB port

Reference: https://superuser.com/a/536648

Commands

  • udevadm info /dev/ttyUSB0 gives the info of USB device \dev\ttyUSB0 and note the ID_PATH

  • Edit /etc/udev/rules.d/10-local.rules as

    • SUBSYSTEM=="tty", ENV{ID_PATH}=="pci-0000:00:1d.0-usb-0:1.2:1.0", SYMLINK+="imu"