Fix issue #490: udev rule not working correctly on Arch Linux#504
Fix issue #490: udev rule not working correctly on Arch Linux#504sudoBash418 wants to merge 1 commit intorust-embedded:masterfrom
Conversation
Fixes the udev rule on Arch Linux and potentially other distros.
adamgreig
left a comment
There was a problem hiding this comment.
I wonder if it's worth leaving the mode at 666 or adding the plugdev group to increase support on systems that don't support the uaccess tag. Still, these days I think that's pretty much everything...
|
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: 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 |
Using SUBSYSTEMS and ATTRS, along with |
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.