Package: bladerf / 0.2017.12~rc1-2

update-bladerf-udev-rules Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- a/host/misc/udev/88-nuand.rules.in
+++ b/host/misc/udev/88-nuand.rules.in
@@ -1,8 +1,8 @@
 # Nuand bladeRF
-ATTR{idVendor}=="2cf0", ATTR{idProduct}=="5246", MODE="660", GROUP="@BLADERF_GROUP@"
+SUBSYSTEM=="usb", ATTR{idVendor}=="2cf0", ATTR{idProduct}=="5246", ENV{ID_SOFTWARE_RADIO}="1", MODE="660", GROUP="@BLADERF_GROUP@"
 
 # Nuand bladeRF, legacy VID/PID
-ATTR{idVendor}=="1d50", ATTR{idProduct}=="6066", MODE="660", GROUP="@BLADERF_GROUP@"
+SUBSYSTEM=="usb", ATTR{idVendor}=="1d50", ATTR{idProduct}=="6066", ENV{ID_SOFTWARE_RADIO}="1", MODE="660", GROUP="@BLADERF_GROUP@"
 
 # Cypress Bootloader
-ATTR{idVendor}=="04b4", ATTR{idProduct}=="00f3", MODE="660", GROUP="@BLADERF_GROUP@"
+SUBSYSTEM=="usb", ATTR{idVendor}=="04b4", ATTR{idProduct}=="00f3", ENV{ID_SOFTWARE_RADIO}="1", MODE="660", GROUP="@BLADERF_GROUP@"