This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/op25-dev@lists.osmocom.org/.
'lists@lazygranch.com' lists@lazygranch.com [op25-dev] op25-dev at yahoogroups.comOn Thu, 16 Mar 2017 23:46:09 -0700 "'lists at lazygranch.com' lists at lazygranch.com [op25-dev]" <op25-dev at yahoogroups.com> wrote: > On 14 Mar 2017 19:19:37 +0000 > "ikj1234i at yahoo.com [op25-dev]" <op25-dev at yahoogroups.com> wrote: > > > the message "osmosdr source_c creation failure" suggests the SDR > > device isn't being seen by scope.py. > > > > To rule out hardware and/or driver and/or permission issues let's > > have you first run the osmocom_fft app to test and verify basic SDR > > connectivity... > > > > also scope.py wants a frequency (even a dummy frequency) such as > > scope.py -f 858.7e6. I highly recommend adding a sampling rate (-S) > > and offset (-o) as well as a correction for PPM drift (-q). This > > should be enough to get tuned to the trunk CC as a first step... > > > > Max > > I'm using my flightaware dongle. The MCX fell out of my DVB-T. :-( > > Here is the FFT: > osmocom_fft -f 88.5e6 -s 2e6 > linux; GNU C++ version 4.8.5; Boost_105400; UHD_003.009.005-0-unknown > > Works fine. > > gr-osmosdr 772fb153 (0.1.1git) gnuradio v3.7.10.1-237-g81e7af7b > built-in source types: file osmosdr fcd rtl rtl_tcp uhd hackrf > Using device #0 Realtek RTL2832UFA SN: 00001000 > Found Rafael Micro R820T tuner > [R82XX] PLL not locked! > Exact sample rate is: 2000000.052982 Hz > [R82XX] PLL not locked! > > ---------------------------------------------------- > > /usr/local/src/op25/op25/gr-op25_repeater/apps> ./scope.py -f > 772.54375e6 linux; GNU C++ version 4.8.5; Boost_105400; > UHD_003.009.005-0-unknown > > gr-osmosdr 772fb153 (0.1.1git) gnuradio v3.7.10.1-237-g81e7af7b > built-in source types: file osmosdr fcd rtl rtl_tcp uhd hackrf > Using device #0 Realtek RTL2832UFA SN: 00001000 > Found Rafael Micro R820T tuner > [R82XX] PLL not locked! > gain: name: LNA range: start 0 stop 0 step 0 > supported sample rates 250000-2400000 step 24000 > Traceback (most recent call last): > File "./scope.py", line 2751, in <module> > app = stdgui2.stdapp(p25_rx_block, "APCO P25 Receiver", 3) > File > "/usr/local/lib64/python2.7/site-packages/gnuradio/wxgui/stdgui2.py", > line 46, in __init__ wx.App.__init__ (self, redirect=False) File > "/usr/lib64/python2.7/site-packages/wx-3.0-gtk2/wx/_core.py", line > 8628, in __init__ self._BootstrapApp() File > "/usr/lib64/python2.7/site-packages/wx-3.0-gtk2/wx/_core.py", line > 8196, in _BootstrapApp return _core_.PyApp__BootstrapApp(*args, > **kwargs) File > "/usr/local/lib64/python2.7/site-packages/gnuradio/wxgui/stdgui2.py", > line 49, in OnInit frame = stdframe (self.top_block_maker, self.title, > self._nstatus) File > "/usr/local/lib64/python2.7/site-packages/gnuradio/wxgui/stdgui2.py", > line 76, in __init__ self.panel = stdpanel (self, self, > top_block_maker) File > "/usr/local/lib64/python2.7/site-packages/gnuradio/wxgui/stdgui2.py", > line 98, in __init__ self.top_block = top_block_maker (frame, self, > vbox, sys.argv) File "./scope.py", line 212, in __init__ > self.__init_gui(frame, panel, vbox) File "./scope.py", line 544, in > __init_gui self.data_scope = datascope_sink_f(self.notebook, > samples_per_symbol = 10, num_plots = 100) File "./scope.py", line > 1467, in __init__ self.st = blocks.message_sink(gr.sizeof_float, > msgq, 1) File > "/usr/local/lib64/python2.7/site-packages/gnuradio/blocks/blocks_swig0.py", > line 1547, in make return _blocks_swig0.message_sink_make(*args) > NotImplementedError: Wrong number or type of arguments for overloaded > function 'message_sink_make'. Possible C/C++ prototypes are: > gr::blocks::message_sink::make(size_t,gr::msg_queue::sptr,bool) > gr::blocks::message_sink::make(size_t,gr::msg_queue::sptr,bool,std::string > const &) #################################################### Well I see what you are trying to do here. So the function call can take a 0 or 1 as the boolean, or the string True or False. Nothing consistent here, but I can make them whichever you want. Note the differences in the first parameter of the function call. Here are the relevant lines, with the one changed as you suggested. 1467 self.st = blocks.message_sink(gr.sizeof_float, msgq, True) 1686 self.st = blocks.message_sink(gr.sizeof_gr_complex, msgq, 1) 2038 self.st = blocks.message_sink(gr.sizeof_float, msgq, 1) 2465 sink = blocks.message_sink(gr.sizeof_float * fac_size, self.msgq, True) Rerun with the one line change. ./scope.py -f 772.54375e6 -s 2400000 linux; GNU C++ version 4.8.5; Boost_105400; UHD_003.009.005-0-unknown gr-osmosdr 772fb153 (0.1.1git) gnuradio v3.7.10.1-237-g81e7af7b built-in source types: file osmosdr fcd rtl rtl_tcp uhd hackrf Using device #0 Realtek RTL2832UFA SN: 00001000 Found Rafael Micro R820T tuner [R82XX] PLL not locked! gain: name: LNA range: start 0 stop 0 step 0 supported sample rates 250000-2400000 step 24000 Traceback (most recent call last): File "./scope.py", line 2751, in <module> app = stdgui2.stdapp(p25_rx_block, "APCO P25 Receiver", 3) File "/usr/local/lib64/python2.7/site-packages/gnuradio/wxgui/stdgui2.py", line 46, in __init__ wx.App.__init__ (self, redirect=False) File "/usr/lib64/python2.7/site-packages/wx-3.0-gtk2/wx/_core.py", line 8628, in __init__ self._BootstrapApp() File "/usr/lib64/python2.7/site-packages/wx-3.0-gtk2/wx/_core.py", line 8196, in _BootstrapApp return _core_.PyApp__BootstrapApp(*args, **kwargs) File "/usr/local/lib64/python2.7/site-packages/gnuradio/wxgui/stdgui2.py", line 49, in OnInit frame = stdframe (self.top_block_maker, self.title, self._nstatus) File "/usr/local/lib64/python2.7/site-packages/gnuradio/wxgui/stdgui2.py", line 76, in __init__ self.panel = stdpanel (self, self, top_block_maker) File "/usr/local/lib64/python2.7/site-packages/gnuradio/wxgui/stdgui2.py", line 98, in __init__ self.top_block = top_block_maker (frame, self, vbox, sys.argv) File "./scope.py", line 212, in __init__ self.__init_gui(frame, panel, vbox) File "./scope.py", line 551, in __init_gui self.complex_scope = constellation_plot_c(self.notebook, title="Constellation", num_plots=250) File "./scope.py", line 1686, in __init__ self.st = blocks.message_sink(gr.sizeof_gr_complex, msgq, 1) File "/usr/local/lib64/python2.7/site-packages/gnuradio/blocks/blocks_swig0.py", line 1547, in make return _blocks_swig0.message_sink_make(*args) NotImplementedError: Wrong number or type of arguments for overloaded function 'message_sink_make'. Possible C/C++ prototypes are: gr::blocks::message_sink::make(size_t,gr::msg_queue::sptr,bool) gr::blocks::message_sink::make(size_t,gr::msg_queue::sptr,bool,std::string const &) -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/op25-dev/attachments/20170317/02f9c5fb/attachment.htm>