I have a hackrf board which I am able to use using gqrx (using Ubuntu 14.04 LTS, gnuradio v3.7.10.1-182-g59136936). This, I guess, confirms the permissions issue for accessing hackrf under my username.
However, when I try to execute a flow graph I created using gnuradio-companion, it fails for the following reason:
Generating: '/mymachine/sdr/gnuradioProjects/flowGraphsFromGRC/top_block.py'
Executing: /usr/bin/python2 -u /mymachine/sdr/gnuradioProjects/flowGraphsFromGRC/top_block.py
linux; GNU C++ version 4.8.4; Boost_105400; UHD_3.11.0.git-59-g52ca2e0b
gr-osmosdr v0.1.x-xxx-xunknown (0.1.5git) gnuradio 3.7.10
built-in source types: file osmosdr fcd rtl rtl_tcp uhd miri hackrf bladerf rfspace airspy soapy redpitaya
Number of USB devices: 13
USB device 1d50:0089: 0000000000000000909864c82c3a2fcf match
Using HackRF One with firmware 2015.07.2
gr-osmosdr v0.1.x-xxx-xunknown (0.1.5git) gnuradio 3.7.10
built-in sink types: uhd hackrf bladerf soapy redpitaya file
Number of USB devices: 13
USB device 1d50:0089: 0000000000000000909864c82c3a2fcf match
FATAL: Failed to open HackRF device (-1000) HACKRF_ERROR_LIBUSB
Trying to fill up 1 missing channel(s) with null sink(s).
This is being done to prevent the application from crashing
due to gnuradio bug #528.
Traceback (most recent call last):
File "/mymachine/sdr/gnuradioProjects/flowGraphsFromGRC/top_block.py", line 128, in <module>
main()
File "/mymachine/sdr/gnuradioProjects/flowGraphsFromGRC/top_block.py", line 117, in main
tb.start()
File "/usr/local/lib/python2.7/dist-packages/gnuradio/gr/top_block.py", line 109, in start
top_block_start_unlocked(self._impl, max_noutput_items)
File "/usr/local/lib/python2.7/dist-packages/gnuradio/gr/runtime_swig.py", line 4879, in top_block_start_unlocked
return _runtime_swig.top_block_start_unlocked(*args, **kwargs)
RuntimeError: list contains invalid format!
Any help is appreciated.
Sonny.