You've already forked comprehensive-rust
mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-06-22 16:57:41 +02:00
Update udev rule for microbit. (#2217)
The subsystem seems to have changed with a newer version of udev, and using logindev and uaccess rather than plugdev is consistent with how other similar devices are handled.
This commit is contained in:
@ -42,7 +42,7 @@ And give users in the `plugdev` group access to the micro:bit programmer:
|
|||||||
<!-- mdbook-xgettext: skip -->
|
<!-- mdbook-xgettext: skip -->
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
echo 'SUBSYSTEM=="usb", ATTR{idVendor}=="0d28", MODE="0664", GROUP="plugdev"' |\
|
echo 'SUBSYSTEM=="hidraw", ATTRS{idVendor}=="0d28", MODE="0660", GROUP="logindev", TAG+="uaccess"' |\
|
||||||
sudo tee /etc/udev/rules.d/50-microbit.rules
|
sudo tee /etc/udev/rules.d/50-microbit.rules
|
||||||
sudo udevadm control --reload-rules
|
sudo udevadm control --reload-rules
|
||||||
```
|
```
|
||||||
|
Reference in New Issue
Block a user