Skip to content

Commit

Permalink
Update udev rule for microbit. (#2217)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
qwandor committed Jul 12, 2024
1 parent a62d665 commit ec47ec2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bare-metal.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ And give users in the `plugdev` group access to the micro:bit programmer:
<!-- mdbook-xgettext: skip -->

```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 udevadm control --reload-rules
```
Expand Down

0 comments on commit ec47ec2

Please sign in to comment.