discovery icon indicating copy to clipboard operation
discovery copied to clipboard

Fix issue #490: udev rule not working correctly on Arch Linux

Open sudoBash418 opened this issue 2 years ago • 3 comments

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.

sudoBash418 avatar Jan 17 '23 13:01 sudoBash418

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.

ddotthomas avatar Dec 07 '23 02:12 ddotthomas

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.

sudoBash418 avatar Jan 07 '24 01:01 sudoBash418

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.

RabidGhost avatar Jan 09 '24 07:01 RabidGhost