Skip to content

Commit d787d37

Browse files
committed
openocd: Remove plugdev group and set 0666 rights for Digilent devices
Signed-off-by: Yuriy Kolerov <ykolerov@synopsys.com>
1 parent 57a00f8 commit d787d37

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

docs/platforms/get-openocd.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,16 @@ SUBSYSTEM=="usb", ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6010", MODE="0664"
7373
SUBSYSTEM=="usb", ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6014", MODE="0664", GROUP="plugdev"
7474
```
7575

76+
In case of CentOS/AlmaLinux/Fedora distributions you need to remove `GROUP="plugdev"` and set
77+
`0666` rights for Digilent devices since `plugdev` group is not presented there:
78+
79+
```text
80+
# Digilent HS1 and similiar products
81+
SUBSYSTEM=="usb", ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6010", MODE="0666"
82+
# Digilent HS2
83+
SUBSYSTEM=="usb", ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6014", MODE="0666"
84+
```
85+
7686
You also can use file `contrib/99-openocd.udev` supplied with OpenOCD sources,
7787
however this file doesn't work with Digilent HS2, though on the other hand it
7888
mentions many other FTDI-based devices.

0 commit comments

Comments
 (0)