中文版本:
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
.
For example, in this output, 1-6.2:1.0
represents the device tty_puppet_left
:
Please follow the format in the ‣ file to bind the USB device:
sudo bash -c "curl <https://github.com/hilookas/astra_ws/raw/refs/heads/main/99-astra-fixed-port.rules> > /etc/udev/rules.d/91-odrive.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"
Apply the modified configuration:
sudo udevadm control --reload && sudo udevadm trigger