From 3bc38f1a9bde53e512cdbc67f6bf0c1180b77b03 Mon Sep 17 00:00:00 2001 From: dragonmux Date: Mon, 6 Jun 2022 01:49:08 -0400 Subject: [PATCH] driver/udev: Fixed up the rules to correctly target the device and set the group for plugdev systems --- driver/99-blackmagic.rules | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/driver/99-blackmagic.rules b/driver/99-blackmagic.rules index 87fbf75..048cc7a 100644 --- a/driver/99-blackmagic.rules +++ b/driver/99-blackmagic.rules @@ -4,5 +4,5 @@ # 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", ENV{DEVTYPE}=="usb_device", ATTR{idVendor}=="1d50", ATTR{idProduct}=="6017", MODE="0666" -SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ATTR{idVendor}=="1d50", ATTR{idProduct}=="6018", MODE="0666" +SUBSYSTEM=="usb", ATTR{idVendor}=="1d50", ATTR{idProduct}=="6017", MODE="0666", GROUP="plugdev", TAG+=uaccess +SUBSYSTEM=="usb", ATTR{idVendor}=="1d50", ATTR{idProduct}=="6018", MODE="0666", GROUP="plugdev", TAG+=uaccess