Udev Rules

Author: Johannes Hofmann 2025

Setup

Note

If you are using a docker container. Please remind, that udev rules have to be added to the host system not to the container.

  1. Create a New udev Rule:

Create a new file called <device-name>.rules and place it in /etc/udev/rules.d. Paste the udev rule of your board into the file.

  1. Reload udev Rules:

$ sudo udevadm control --reload
$ sudo udevadm trigger

ULX3S

# /etc/udev/rules.d/80-fpga-ulx3s.rules
# this is for usb-serial tty device
SUBSYSTEM=="tty", ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6015", \
  MODE="664", GROUP="dialout"
# this is for ujprog libusb access
ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6015", \
  GROUP="dialout", MODE="666"