VirtualBox: No bladeRF device(s) available.

Having issues with the site, hardware, source code, or any other issues?
Post Reply
n_qrtu
Posts: 17
Joined: Fri Feb 12, 2016 3:59 am

Re: VirtualBox: No bladeRF device(s) available.

Post by n_qrtu »

Hi,

In short, my VirtualBox problem was solved by adding (on the native OS system) my username to the group vboxusers. This is usually done in Settings --> Users and Groups.
To connect the board, from the VM menu select Devices --> USB select bladeRF. This will connect the bladeRF to the VM. To check if the baldeRF is seen by the VM, one has to redo the previous steps and check that the baldeRF has a check sign next to it.
=====
Now, the long version :-) If you are interested in all the steps of installing the bladeRF here is what I did (for installing on CentOS). Do not ask me more, I will probably do not know the answer, I had our sysadmin help me with the installation :-)

Basically I just followed the steps from the documentation
https://github.com/Nuand/bladeRF/wiki/G ... ora_CentOS
with two small variations (described below)

sudo yum groupinstall "Development Tools" "Development Libraries"
sudo yum install libusbx libusbx-devel cmake wget gcc-c++

wget http://www.astro.caltech.edu/~mcs/tecla/libtecla.tar.gz
tar zxvf libtecla-1.6.3.tar.gz
cd libtecla
./configure
make && sudo make install

sudo groupadd bladerf
sudo usermod -a -G bladerf $USER
# Now log out and log back in...
groups

git clone https://github.com/Nuand/bladeRF.git ./bladeRF
cd bladeRF/
cd host/
mkdir build
cd build/

cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr/local
-DINSTALL_UDEV_RULES=ON -DBLADERF_GROUP=bladerf ../

(The last option "-DBLADERF_GROUP=bladerf" is not in the original guide on the web, but is added in some troubleshooting page. And is needed for us.)


cat "/usr/local/lib64" > /etc/ld.so.conf.d/libbladeRF.conf
sudo ldconfig

make && sudo make install

(or as original is saying: make && sudo make install && sudo ldconfig)

To test the board operation: (remember to mount it from the menu of the VirtualBox machine)

bladeRF-cli -i

For VirtualBox additionally:
-----------------------------
sudo groupadd vboxusers

(or using some GUI settings on your native OS)

=====

Cheers,
Nicolae

myusic wrote:Hi n_qrtu,

I refer to your thread, I see you have found the solution to solve your bladerf using VirtualBox. I have encounter the same exact problem. Could you kindly guide me through how do you do this step? So I could try on my side.

The other thing I did was adding the option "-DBLADERF_GROUP=bladerf"
to
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr/local
-DINSTALL_UDEV_RULES=ON ../

FInally, I did this as well:
cat "/usr/local/lib64" > /etc/ld.so.conf.d/libbladeRF.conf
sudo ldconfig

Your help is kindly appreciated

Thank you
Post Reply