diff --git a/host/misc/udev/60-nuand-bladerf1.rules.in b/host/misc/udev/60-nuand-bladerf1.rules.in new file mode 100644 index 000000000..51c9653df --- /dev/null +++ b/host/misc/udev/60-nuand-bladerf1.rules.in @@ -0,0 +1,5 @@ +# Nuand bladeRF +SUBSYSTEM=="usb", ATTR{idVendor}=="2cf0", ATTR{idProduct}=="5246", MODE="660", GROUP="@BLADERF_GROUP@", ENV{ID_SOFTWARE_RADIO}="1" + +# Nuand bladeRF, legacy VID/PID +SUBSYSTEM=="usb", ATTR{idVendor}=="1d50", ATTR{idProduct}=="6066", MODE="660", GROUP="@BLADERF_GROUP@", ENV{ID_SOFTWARE_RADIO}="1" diff --git a/host/misc/udev/60-nuand-bladerf2.rules.in b/host/misc/udev/60-nuand-bladerf2.rules.in new file mode 100644 index 000000000..6e2cb39d5 --- /dev/null +++ b/host/misc/udev/60-nuand-bladerf2.rules.in @@ -0,0 +1,2 @@ +# Nuand bladeRF 2.0 micro +SUBSYSTEM=="usb", ATTR{idVendor}=="2cf0", ATTR{idProduct}=="5250", MODE="660", GROUP="@BLADERF_GROUP@", ENV{ID_SOFTWARE_RADIO}="1" diff --git a/host/misc/udev/60-nuand-bootloader.rules.in b/host/misc/udev/60-nuand-bootloader.rules.in new file mode 100644 index 000000000..2f26a5732 --- /dev/null +++ b/host/misc/udev/60-nuand-bootloader.rules.in @@ -0,0 +1,2 @@ +# Cypress FX3 Bootloader, used by bladeRF in recovery mode +SUBSYSTEM=="usb", ATTR{idVendor}=="04b4", ATTR{idProduct}=="00f3", MODE="660", GROUP="@BLADERF_GROUP@", ENV{ID_SOFTWARE_RADIO}="1" diff --git a/host/misc/udev/88-nuand-bladerf1.rules.in b/host/misc/udev/88-nuand-bladerf1.rules.in deleted file mode 100644 index ca2441976..000000000 --- a/host/misc/udev/88-nuand-bladerf1.rules.in +++ /dev/null @@ -1,5 +0,0 @@ -# Nuand bladeRF -ATTR{idVendor}=="2cf0", ATTR{idProduct}=="5246", MODE="660", GROUP="@BLADERF_GROUP@" - -# Nuand bladeRF, legacy VID/PID -ATTR{idVendor}=="1d50", ATTR{idProduct}=="6066", MODE="660", GROUP="@BLADERF_GROUP@" diff --git a/host/misc/udev/88-nuand-bladerf2.rules.in b/host/misc/udev/88-nuand-bladerf2.rules.in deleted file mode 100644 index 32a7daf03..000000000 --- a/host/misc/udev/88-nuand-bladerf2.rules.in +++ /dev/null @@ -1,2 +0,0 @@ -# Nuand bladeRF 2.0 micro -ATTR{idVendor}=="2cf0", ATTR{idProduct}=="5250", MODE="660", GROUP="@BLADERF_GROUP@" diff --git a/host/misc/udev/88-nuand-bootloader.rules.in b/host/misc/udev/88-nuand-bootloader.rules.in deleted file mode 100644 index a373f78dd..000000000 --- a/host/misc/udev/88-nuand-bootloader.rules.in +++ /dev/null @@ -1,2 +0,0 @@ -# Cypress FX3 Bootloader, used by bladeRF in recovery mode -ATTR{idVendor}=="04b4", ATTR{idProduct}=="00f3", MODE="660", GROUP="@BLADERF_GROUP@" diff --git a/host/misc/udev/CMakeLists.txt b/host/misc/udev/CMakeLists.txt index 02e12b643..5bc8c7728 100644 --- a/host/misc/udev/CMakeLists.txt +++ b/host/misc/udev/CMakeLists.txt @@ -22,9 +22,9 @@ set(UDEV_RULES_PATH set(BLADERF_GROUP "plugdev" CACHE STRING "Group to associate bladeRF devices with in udev rules") set(BLADERF_UDEV_FILES - 88-nuand-bladerf1.rules - 88-nuand-bladerf2.rules - 88-nuand-bootloader.rules + 60-nuand-bladerf1.rules + 60-nuand-bladerf2.rules + 60-nuand-bootloader.rules ) if(SYSTEM_IS_LINUX)