Skip to content

USB udev rules

Rob edited this page Dec 9, 2024 · 1 revision

Note

If installing from the buildfarm, the udev rules will be installed automatically

This driver comes with udev rules that will create a symlink for all microstrain devices. To install the rules. Download the udev file from this repo and copy it to /etc/udev/rules.d/100-microstrain.rules

Once the udev rules are installed, the devices will appear as follows in the file system, where {serial} is the serial number of the device:

  • /dev/microstrain_main - Most recent non-GQ7 device, or the main port of a GQ7 connected. NOTE: Do not use this rule with multiple devices as it gets overridden with multiple devices.
  • /dev/microstrain_aux - Most recent GQ7 aux port connected. NOTE: Do not use this rule with multiple devices as it gets overridden with multiple devices.
  • /dev/microstrain_main_{serial} - All non-GQ7 devices, and the main port of GQ7 devices
  • /dev/microstrain_aux_{serial} - The aux port of GQ7 devices