Fix issue #490: udev rule not working correctly on Arch Linux
As per issue #490, the current udev rule does not work correctly on Arch Linux.
This change is based on udev rules from probe-rs.
This new rule should work fine on any Linux distribution using systemd (or elogind), but I am unsure if it will also work on non-systemd distributions.
I was able to remove the 666 mode and use the plugdev group instead (which is also suggested at #276) by changing my rules file to look like this:
# CMSIS-DAP for microbit
SUBSYSTEM=="usb", ATTR{idVendor}=="0d28", ATTR{idProduct}=="0204", TAG+="uaccess", GROUP+="plugdev"
I'm using Pop OS however, I'm not sure if making the key SUBSYSTEMS and ATTRS is what fixes the issue over on Arch.
I'm using Pop OS however, I'm not sure if making the key SUBSYSTEMS and ATTRS is what fixes the issue over on Arch.
I can confirm that using SUBSYSTEM and ATTR did not work for me on Arch Linux.
I'm using Pop OS however, I'm not sure if making the key SUBSYSTEMS and ATTRS is what fixes the issue over on Arch.
Using SUBSYSTEMS and ATTRS, along with TAG+="uaccess" solved it for me on ubuntu.