Re: [libbladerf2] Change udev rule to add plugdev group
Martin Herren - HB9FXX wrote:
> Currently the udev rules for the BladeRFs (`SUBSYSTEM=="usb", ATTR{idVendor}=="2cf0", ATTR{idProduct}=="5250", ENV{ID_SOFTWARE_RADIO}="1", TAG+="uaccess"`) do two things:
> - Set the ENV ID_SOFTWARE_RADIO to 1
> - Add the uaccess TAG
>
> The second action is redundant with the first, as the rule in `/usr/lib/udev/rules.d/70-uaccess.rules`: `ENV{ID_SOFTWARE_RADIO}=="?*", TAG+="uaccess"`, already adds the uaccess TAG when ID_SOFTWARE_RADIO is set to 1.
if you are referring to the 88-nuand-*.rules then I think that at this
time TAG+="uaccess"` is needed because those rules are executed after
the rule 70-uaccess.rules so you would also need to change the
filename of the rule
> I'd happily propose a merge request on https://salsa.debian.org/debian-hamradio-team/bladerf/-/blob/debian/debian/patches/update-bladerf-udev-rules?ref_type=heads
> if I had access.
you should be able to create an account on salsa, then fork the
repository and finally create a merge request from the new commits in
your fork.
If it doesn't work, I can do that for you if you can send a git
format-patch preferably to this mailing list so others can check it,
or privately to me.
--
73 de IU5HKX Daniele
Reply to: