When adding the RTL-SDR source I get the following output:
linux; GNU C++ version 4.9.0 20140604 (prerelease); Boost_105500;
UHD_003.007.001-0-unknown
gr-osmosdr 0.1.1 (0.1.1) gnuradio 3.7.4
built-in source types: file fcd rtl rtl_tcp uhd hackrf bladerf rfspace
Using device #0 Realtek RTL2838UHIDIR
Found Fitipower FC0013 tuner
Exact sample rate is: 2000000.052982 Hz
Traceback (most recent call last):
File “/home/tinus/GNURadio/top_block.py”, line 144, in
tb = top_block()
File “/home/tinus/GNURadio/top_block.py”, line 46, in init
self.rtlsdr_source_0.set_gain_mode(0, 0)
File “/usr/lib/python2.7/site-packages/osmosdr/osmosdr_swig.py”, line
1213, in set_gain_mode
return _osmosdr_swig.source_sptr_set_gain_mode(self, *args,
**kwargs)
TypeError: in method ‘source_sptr_set_gain_mode’, argument 2 of type
‘bool’
Strangely enough I have an example which does work, and here the RTL-SDR
source has ‘False’ as ‘ch0: Gain Mode’ which isn’t even selectable when
adding a new block.
Every other combination of setting gives the shown output…
EDIT: I’m on Arch Linux and had some problems installing and running the
software but most seems to work now.