You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1.0 KiB
1.0 KiB
Розширені варіанти налаштування Linux
Використання адаптерів з програмування JTAG
Користувачам Linux потрібно явно дозволити доступ до USB шини для адаптерів програмування JTAG.
:::info For Archlinux: replace the group plugdev with uucp in the following commands :::
Run a simple ls in sudo mode to ensure the commands below succeed:
sudo ls
Then with sudo rights temporarily granted, run this command:
cat > $HOME/rule.tmp <<_EOF
# All 3D Robotics (includes PX4) devices
SUBSYSTEM=="usb", ATTR{idVendor}=="26AC", GROUP="plugdev"
# FTDI (and Black Magic Probe) Devices
SUBSYSTEM=="usb", ATTR{idVendor}=="0483", GROUP="plugdev"
# Olimex Devices
SUBSYSTEM=="usb", ATTR{idVendor}=="15ba", GROUP="plugdev"
_EOF
sudo mv $HOME/rule.tmp /etc/udev/rules.d/10-px4.rules
sudo /etc/init.d/udev restart
The user needs to be added to the group plugdev:
sudo usermod -a -G plugdev $USER