Udev Rules (Linux)

To access USB devices like the PX4FMU, FTDI devices, or programmer and probes as a user, udev permissions are sometimes needed.

Create the file /etc/udev/rules.d/10-px4.rules as root with a text editor

sudo gedit /etc/udev/rules.d/10-px4.rules

and enter the rules you need:

# All 3D Robotics (includes PX4) devices
SUBSYSTEM=="usb", ATTRS{idVendor}=="26AC", GROUP="users", MODE="0666"
# FTDI (and Black Magic Probe) Devices
SUBSYSTEM=="usb", ATTRS{idVendor}=="0483", GROUP="users", MODE="0666"
# FTDI USB-Serial
SUBSYSTEM=="usb", ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6001", GROUP="users", MODE="0666"

Save and close the file. Ubuntu needs a restart:

sudo restart udev

Arch Linux doesn't, just make sure you unplug and re-plug the device.

Determine additional Vendor and Product IDs

to add additional devices, the Vendor IDs and Product IDs can be found using:

Bus 006 Device 017: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC

Therefore we find the following values of the FTDI cable:

  • idVendor: 0403
  • idProduct: 60001
Translations of this page:

Quick Links

QR Code: URL of current page