azonenberg / openfpga

Open FPGA tools
Other
257 stars 30 forks source link

Simplify udev rules and make them compatible with systemd #84

Closed ArcaneNibble closed 7 years ago

ArcaneNibble commented 7 years ago

@cyrozap I am splitting out this particular commit for now. Could you please explain how this makes things "compatible with systemd?" Most importantly, does it break compatibility with systems that do not have systemd?

azonenberg commented 7 years ago

Merged, seems to work fine on my Debian stable box. If anyone with a non-systemd Linux system that's not super ancient finds a problem with this rule, feel free to re-open this issue.

cyrozap commented 7 years ago

@rqou TAG+="uaccess" is for systemd compatibility and MODE="660", GROUP="plugdev" is for non-systemd systems. This is the same pattern OpenOCD uses for its udev rules.