Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Udev rules update #985

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions host/misc/udev/60-nuand-bladerf1.rules.in
Original file line number Diff line number Diff line change
@@ -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"
2 changes: 2 additions & 0 deletions host/misc/udev/60-nuand-bladerf2.rules.in
Original file line number Diff line number Diff line change
@@ -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"
2 changes: 2 additions & 0 deletions host/misc/udev/60-nuand-bootloader.rules.in
Original file line number Diff line number Diff line change
@@ -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"
5 changes: 0 additions & 5 deletions host/misc/udev/88-nuand-bladerf1.rules.in

This file was deleted.

2 changes: 0 additions & 2 deletions host/misc/udev/88-nuand-bladerf2.rules.in

This file was deleted.

2 changes: 0 additions & 2 deletions host/misc/udev/88-nuand-bootloader.rules.in

This file was deleted.

6 changes: 3 additions & 3 deletions host/misc/udev/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down