Hello all, i have been using my bladerf x40 perfectly in windows and under linux. The problem im facing is that there is a sdr software i wanted to try and used a Ubuntu-26.04 new install under WSl2 in windows. When i try to launch the program(qradiolink) i get the following error:
[WARNING @ host/libraries/libbladeRF/src/backend/usb/libusb.c:529] Found a bladeRF via VID/PID, but could not open it due to insufficient permissions.
[ERROR] bladerf_open_with_devinfo() returned -7 - No device(s) available
If i try to execute bladeRF-cli, for example, to load the fpga the program doesn't see the bladerf connected. Of course if i do a sudo bladeRF-cli -i it works perfectly. The problem is that this software(qradiolink) does not allow to be run as root, so i'm unable to get the blade recognized by it.
I searched and came to a solution that involved reloading of the 88.rules files, but i already have them on my system, and i'm unable to get access to the bladerf without root. Anyone can point me in the right direction?
Thanks in advance!!!!
Privilege problems when executing bladeRF-cli in Linux
-
creator9724
- Posts: 17
- Joined: Tue Jul 05, 2016 7:00 am
-
NuandSupport
- Posts: 1
- Joined: Fri Jul 17, 2026 10:46 pm
Re: Privilege problems when executing bladeRF-cli in Linux
Since works, the USB forwarding itself is OK. This looks like a permissions issue rather than a libbladeRF or WSL problem.
A couple of things to check:
Find the bladeRF entry from , then check the matching device node. Ideally it should look something like:
One WSL-specific issue is that the udev rule should already be active before the device is attached with . If you installed or changed the rule while the bladeRF was already attached, try:
Then, from Windows PowerShell:
Start Ubuntu again and reattach the bladeRF using .
Also check the actual bladeRF rules file, for example:
or:
Make sure the rule uses a valid group such as:
and that your user belongs to that group:
After adding the group, fully restart WSL or log out and back in before testing again.
Once works without , qRadioLink should also be able to access the device as a normal user.
Code: Select all
sudo bladeRF-cli -iA couple of things to check:
- Does show the bladeRF as your normal user?
Code: Select all
lsusb - What permissions does the bladeRF device node have under ?
Code: Select all
/dev/bus/usb/ - Is your user actually a member of the group specified in the udev rule, usually ?
Code: Select all
plugdev
Code: Select all
lsusb
id
ls -l /dev/bus/usb/*/*
Code: Select all
lsusbCode: Select all
crw-rw---- 1 root plugdev ...
Code: Select all
usbipdCode: Select all
sudo udevadm control --reload-rules
sudo udevadm trigger
Code: Select all
wsl --shutdown
Code: Select all
usbipd attach --wsl --busid <BUSID>Also check the actual bladeRF rules file, for example:
Code: Select all
cat /etc/udev/rules.d/88-nuand.rules
Code: Select all
grep -R "bladeRF|2cf0|1d50" /etc/udev/rules.d /usr/lib/udev/rules.d /lib/udev/rules.d 2>/dev/null
Code: Select all
GROUP="plugdev", MODE="0660"
Code: Select all
sudo usermod -aG plugdev $USER
Once
Code: Select all
bladeRF-cli -pCode: Select all
sudo