1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-02-14 00:42:04 +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:
Andrew Walbran 2024-07-12 12:27:26 +01:00 committed by GitHub
parent a62d665af2
commit ec47ec2b5f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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
```