From 6ae884741fba0ea09390bbdc1ab54151b4b14f74 Mon Sep 17 00:00:00 2001 From: dragonmux Date: Mon, 6 Jun 2022 01:52:52 -0400 Subject: [PATCH] driver/udev: Created a set of rules for group uucp systems --- driver/99-blackmagic-uucp.rules | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 driver/99-blackmagic-uucp.rules diff --git a/driver/99-blackmagic-uucp.rules b/driver/99-blackmagic-uucp.rules new file mode 100644 index 0000000..b752c21 --- /dev/null +++ b/driver/99-blackmagic-uucp.rules @@ -0,0 +1,8 @@ +# Black Magic Probe +# there are two connections, one for GDB and one for UART debugging +# copy this to /etc/udev/rules.d/99-blackmagic.rules +# and run sudo udevadm control -R +SUBSYSTEM=="tty", ACTION=="add", ATTRS{interface}=="Black Magic GDB Server", SYMLINK+="ttyBmpGdb" +SUBSYSTEM=="tty", ACTION=="add", ATTRS{interface}=="Black Magic UART Port", SYMLINK+="ttyBmpTarg" +SUBSYSTEM=="usb", ATTR{idVendor}=="1d50", ATTR{idProduct}=="6017", MODE="0666", GROUP="uucd", TAG+=uaccess +SUBSYSTEM=="usb", ATTR{idVendor}=="1d50", ATTR{idProduct}=="6018", MODE="0666", GROUP="uucd", TAG+=uaccess