JLink Linux udev rules incompatibility with openSUSE

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • JLink Linux udev rules incompatibility with openSUSE

      JLink RPM package for Linux provides /etc/udev/rules.d/99-jlink.rules file which allows to use SEGGER devices without root access.

      This file also contains the following line which skips processing of rule entries for devices which are not handled by usb_device subsystem.

      ACTION!="add", SUBSYSTEM!="usb_device", GOTO="jlink_rules_end"

      However, in some Linux distros (openSUSE at least) the subsystem name is usb instead of usb_device, which results in the rules not being applied and access to the device being denied.

      Source Code

      1. $udevadm monitor -u -p
      2. ...
      3. UDEV [10583.559786] bind /devices/pci0000:00/0000:00:08.1/0000:08:00.3/usb4/4-2 (usb)
      4. ACTION=bind
      5. DEVPATH=/devices/pci0000:00/0000:00:08.1/0000:08:00.3/usb4/4-2
      6. SUBSYSTEM=usb
      7. ...

      It would be nice if this line could be fixed in the next release of the JLink software as follows:
      ACTION!="add", SUBSYSTEM!="usb_device", SUBSYSTEM!="usb", GOTO="jlink_rules_end"
    • This and some other reasons had decide me to left suse since suse3 to ubuntu LTS. I miss YAST, but i got a more compatible and faster system. A good point to learn using other and more common tools to setup a linux system.