中文版本:
Back to Table of Contents:
The USB device's name on Linux changes after each reboot, so we need to fix it. We bind USB devices via KERNELS. For example, the KERNEL value of the /dev/video0 device can be obtained by udevadm info —-name=/dev/video0 --attribute-walk | grep KERNELS command or by lsusb —tv.
💡 If you wish to ascertain which is left or right, you may try plugging and unplugging the USB cable.
For example, in this output, 1-6.2:1.0 represents the device tty_puppet_left :

Please follow the format in the https://github.com/hilookas/AstraFirmwares/blob/main/99-astra-fixed-port.rules file to bind the USB device:
sudo bash -c "curl <https://github.com/hilookas/AstraFirmwares/raw/refs/heads/main/99-astra-fixed-port.rules> > /etc/udev/rules.d/99-astra-fixed-port.rules"
Configure the udev rules for the ODrive:
sudo bash -c "curl <https://cdn.odriverobotics.com/files/odrive-udev-rules.rules> > /etc/udev/rules.d/91-odrive.rules"