OP25 VirtualBox Project - Run OP25 on Windows 7

Status
Not open for further replies.

jcardani

Member
Premium Subscriber
Joined
Jan 16, 2002
Messages
1,390
Location
Orlando, FL & Ocean City, NJ
Funny story,

I was running OP25 while switching antennas and OP25 was still decoding away with no issues even with my antenna disconnected and only touching the center conductor of the coax. So it even works with a human antenna!

Great job again to Max, Scott, and the rest of the team!
 

br0adband

Member
Joined
Apr 8, 2005
Messages
1,567
Location
Springfield MO
Another funny thing (maybe it's just me and my off-kilter sense of humor, who knows):

After all the trouble I went through to get OP25 up and running - no it's really not that difficult with Picco's instructions and some of the other necessities in this thread (the max branch info and the udev thing - I find myself not even using it anymore and I don't even have Linux Mint installed for a dual boot either.

The entire purpose for doing it was experience I suppose but also to be able to monitor the LVMPD's open dispatch channels as everything else on the system is encrypted and it remains the only P25 Phase II system here in the Las Vegas valley that uses Phase II. I didn't own a P25 Phase II scanner and wasn't intending to get one anytime soon so without any other way to do the monitoring I figured I had no other choice. No sooner than I got OP25 up and functional and running great under Linux Mint 17.2 on my laptop I discovered someone had just started up a Broadcastify stream for the LVMPD so, instead of rebooting my laptop to use Linux Mint just to be able to listen in, I now using Scanner Radio Pro on my BlackBerry Z10 smartphone to monitor just as readily.

It wasn't a wasteful thing, mind you, but it is somewhat ironic that as soon as I was able to do my own P25 Phase II decoding of the LVMPD someone beat me to the punch in some respects with that stream and saved me the trouble. :D

Anyway, I'll probably redo the Linux Mint dual boot thing here in the near future since it really doesn't get in the way and devoting about 25GB of drive space to it can't hurt.

Even though I'm not actively using OP25, I too wish to express my thanks to Picco, KA1RBI, and others who provided info that ended up being critical to getting OP25 functional on my end and then allowed me to help others like tlefkowitz in return, passing it on and paying it forward.

Gotta love this community... ;)
 

tlefkowitz

Member
Premium Subscriber
Joined
Apr 11, 2013
Messages
50
op25/linux mint

Hi All

AZSCanner suggested adding SImulcast B in Tucson to the SImulcast N that I am currently monitoring. How would I go about doing that?

Todd
 

jcardani

Member
Premium Subscriber
Joined
Jan 16, 2002
Messages
1,390
Location
Orlando, FL & Ocean City, NJ
Compiling OP25

Hi All,

I have a quick question. I installed a copy of OP25 into s separate folder so I can do some development.
I would like to make minor changes in the C code. How do I re-compile/reinstall the code?

thanks!

Joe
 

jcardani

Member
Premium Subscriber
Joined
Jan 16, 2002
Messages
1,390
Location
Orlando, FL & Ocean City, NJ
Can anyone answer this? I am trying to make some small improvements. Thanks!



Hi All,

I have a quick question. I installed a copy of OP25 into s separate folder so I can do some development.
I would like to make minor changes in the C code. How do I re-compile/reinstall the code?

thanks!

Joe
 

PiccoIntegra

Member
Premium Subscriber
Joined
Dec 19, 2002
Messages
530
Location
North Texas
Hi All,

I have a quick question. I installed a copy of OP25 into s separate folder so I can do some development.
I would like to make minor changes in the C code. How do I re-compile/reinstall the code?

thanks!

Joe

Hi Joe,

I typically create copies of the OP25 directory and rename them whenever I test things like this.

All you have to do is rebuild the OP25 block with pybombs.

Code:
./pybombs rb gr-op25
 

AZScanner

Member
Joined
Dec 19, 2002
Messages
3,342
Location
Somewhere in this room. Right now, you're very col
AZ

I have Icecast 2 running..still stuck at how to use it to stream audio from OP25..please advise

Todd

Sorry about that - ever since we moved I rarely have time to get on this site and post.

This site should get you pointed in the right direction: https://www.tkalin.com/blog_posts/broadcasting-your-rhythmbox-in-ubuntu-11-10/

I use Ices2 instead of Darkice but the setup is pretty straight forward with either. Google is your friend - I had to use it plenty while setting this up. I feel like a blind man with no cane stumbling around in Linux but I'm getting the hang of it slowly but surely. If you follow the directions on the page I linked above, you should have no problems streaming your audio output over your LAN - or even over the 'net. I can monitor my OP25 setup on my phone from anywhere I can get to the internet, which is pretty sweet. ;)

-AZ
 

tlefkowitz

Member
Premium Subscriber
Joined
Apr 11, 2013
Messages
50
many thx for the reference.

Can you tell me how to add Simulcast B to my setup? I can forward any files you might need to look at

Todd
 

PiccoIntegra

Member
Premium Subscriber
Joined
Dec 19, 2002
Messages
530
Location
North Texas
I am trying to install gnuradio and it keeps freezing at 67 percent at installing from source. On ubuntu15.04 help

If I remember correctly, this is the point in the install process that involves SWIG. This is by far the most demanding part of the compilation stages. It also requires a lot of memory to complete.

It sounds like that's what is happening here, running out of memory/swap space. You've provided no details so I can only assume at this point.

There is a configuration option when running the pybombs installation that allows you to specify a "make width". It's default is 4 concurrent make threads. You may specify a lower setting, at the expense of a longer install time. Try a setting of 2 first, and if that doesn't work then try 1 (This will be an excruciatingly long install process).
 

tlefkowitz

Member
Premium Subscriber
Joined
Apr 11, 2013
Messages
50
icecast for op25

Using ezstream instead of darkice or ices 2. How do I set up pulseaudio so I can broadcast?

Todd
 

SOUTH300

Member
Joined
Jun 13, 2002
Messages
228
Location
Carencro, LA
Error

Can anyone help with this error? I have resolved almost everything so far, but cannot get this one:

ohaydel@HAYDEL-LINUX:~/pybombs/src/gr-op25/op25/gr-op25_repeater/apps$ ./scope.py --args "rtl=0" -N 'LNA:46' -f 769.18125 -S 2400000 -q 67 -v 0 -V -T trunk.tsv
osmosdr source_c creation failure
Traceback (most recent call last):
File "./scope.py", line 2781, in <module>
app = stdgui2.stdapp(p25_rx_block, "APCO P25 Receiver", 3)
File "/home/ohaydel/target/lib/python2.7/dist-packages/gnuradio/wxgui/stdgui2.py", line 46, in __init__
wx.App.__init__ (self, redirect=False)
File "/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 7981, in __init__
self._BootstrapApp()
File "/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 7555, in _BootstrapApp
return _core_.PyApp__BootstrapApp(*args, **kwargs)
File "/home/ohaydel/target/lib/python2.7/dist-packages/gnuradio/wxgui/stdgui2.py", line 49, in OnInit
frame = stdframe (self.top_block_maker, self.title, self._nstatus)
File "/home/ohaydel/target/lib/python2.7/dist-packages/gnuradio/wxgui/stdgui2.py", line 76, in __init__
self.panel = stdpanel (self, self, top_block_maker)
File "/home/ohaydel/target/lib/python2.7/dist-packages/gnuradio/wxgui/stdgui2.py", line 98, in __init__
self.top_block = top_block_maker (frame, self, vbox, sys.argv)
File "./scope.py", line 141, in __init__
gain_names = self.src.get_gain_names()
AttributeError: 'NoneType' object has no attribute 'get_gain_names'
ohaydel@HAYDEL-LINUX:~/pybombs/src/gr-op25/op25/gr-op25_repeater/apps$
[/I]
 

KA1RBI

Member
Joined
Aug 15, 2008
Messages
799
Location
Portage Escarpment
ohaydel@HAYDEL-LINUX:~/pybombs/src/gr-op25/op25/gr-op25_repeater/apps$ ./scope.py --args "rtl=0" -N 'LNA:46' -f 769.18125 -S 2400000 -q 67 -v 0 -V -T trunk.tsv
osmosdr source_c creation failure


The "osmosdr source_c creation failure" is probably the key clue - it's apparently not seeing the RTL device. This could be due to udev rules or some other low level driver or hardware issue.

Also I think the frequency should be in one of two forms (769181250, or 769.18125e6), but that might not be pertinent to the above error since you're using -T...

Max
 

PiccoIntegra

Member
Premium Subscriber
Joined
Dec 19, 2002
Messages
530
Location
North Texas
AttributeError: 'NoneType' object has no attribute 'get_gain_names'

Max already alluded to it in his post this morning. It has to do with the gr-osmosdr package missing something.

Issue the following command and post the output(in code tags please)

cd ~pybombs
./pybombs inv
 

KA1RBI

Member
Joined
Aug 15, 2008
Messages
799
Location
Portage Escarpment
The scope program (unfortunately) has a try/except block that obscures the actual error. If you are willing to edit the source code in scope.py, there is a quick mod that should make scope.py output the actual error, it will still crash but it should get closer to the actual underlying error. Using a text editor, not a word processor, (or you could try using the actual patch command), the following patch

Code:
--- scope.py    2015-11-28 20:43:31.228075651 -0500
+++ scope2.py   2016-01-08 13:06:30.234302122 -0500
@@ -142,10 +142,10 @@
         self.src = None
         if not options.input:
             # check if osmocom is accessible
-            try:
+            if True:
                 import osmosdr
                 self.src = osmosdr.source(options.args)
-            except Exception:
+            else:
                 print "osmosdr source_c creation failure"
                 ignore = True

locate the above code and remove the lines (try/except) that start with a '-' sign, Then add the lines shown with '+'. You should end up with something like this (below). Python is picky about indentation, so be sure to keep that intact.

Code:
        if not options.input:
            # check if osmocom is accessible
            if True:
                import osmosdr
                self.src = osmosdr.source(options.args)
            else:
                print "osmosdr source_c creation failure"
                ignore = True

assuming this works the program will output a more informative crash message - please post that

Max
 
Status
Not open for further replies.
Top