Project

General

Profile

BeginnersBuildDeprecated » History » Version 2

laforge, 02/20/2022 07:38 PM

1 2 laforge
*PLEASE NOTE - These instructions are outdated and only work with older versions of GNUradio, Ubuntu and OP25 - They will not work with current builds*
2 1 zecke
3
These instructions were compiled in January 2010, and revised in April 2010 with a few minor changes.  These directions are fairly explicit, so that even those with little Linux experience should be able to follow along.  Please note you'll need a decent processor to get a discriminator tap decode to work -- I'd guess at least a dual core CPU running at 2.4GHz+.  This isn't a project for your five year old laptop to tackle.  
4
5
Here's what's worked for me, based on op25 svn revision 198:
6
7
1. Install Ubuntu 9.10
8
9
Upon reboot, login and launch a terminal window (Applications -> Accessories -> Terminal), and run the rest of the following instructions from this window.
10
11
2. The next commands will update your system with the latest patches:
12
{{{
13
sudo apt-get upgrade
14
sudo shutdown -r now
15
}}}
16
17
3. After the system reboots, relaunch the terminal window as above and continue with these commands, which will install the gnuradio prerequisites:
18
19
{{{
20
sudo apt-get install gcc-4.1 g++-4.1 swig g++ automake libtool \
21
python-dev libfftw3-dev libcppunit-dev libboost-all-dev libusb-dev \
22
fort77 sdcc sdcc-libraries libsdl1.2-dev python-wxgtk2.8 subversion \
23
git-core guile-1.8-dev libqt4-dev python-numpy ccache python-opengl \
24
libgsl0-dev python-cheetah python-lxml doxygen qt4-dev-tools \
25
libqwt5-qt4-dev libqwtplot3d-qt4-dev pyqt4-dev-tools libitpp-dev \
26
libjack-dev texlive-latex-base
27
}}}
28
29
4. This next part installs gnuradio:
30
31
{{{
32
mkdir ~/src; cd ~/src
33
wget ftp://ftp.gnu.org/gnu/gnuradio/gnuradio-3.2.2.tar.gz
34
tar zxvf gnuradio-3.2.2.tar.gz
35
cd gnuradio-3.2.2
36
./configure
37
make -j 4 CC=gcc-4.1 CXX=g++-4.1
38
make check
39
sudo make install
40
}}}
41
42
5. This part installs the gr-fsk4 demodulator:
43
44
{{{
45
cd ~/src
46
wget http://radiorausch.googlepages.com/gr-fsk4-22Apr08.tar.gz -O gr-fsk4-22Apr08.tar.gz
47
tar zxvf gr-fsk4-22Apr08.tar.gz
48
cd gr-fsk4
49
./bootstrap
50
./configure
51
make -j 4 CC=gcc-4.1 CXX=g++-4.1
52
sudo make install
53
}}}
54
55
6. And this part will setup the op25 source. 
56
57
{{{
58
cd ~/src
59
svn co http://op25.osmocom.org/svn/trunk@198 op25
60
cd op25/decoder
61
./bootstrap
62
./configure
63
make -j 4 CC=gcc-4.1 CXX=g++-4.1
64
sed -i 's/flow_graph/top_block/' src/python/qa_op25.py
65
make check
66
sudo make install
67
68
sudo cp /usr/local/include/gnuradio/swig/* /usr/include/gnuradio/swig 
69
sudo cp /usr/local/include/gnuradio/* /usr/include/gnuradio/ 
70
71
cd ~/src/op25/imbe_vocoder
72
./bootstrap
73
./configure CXXFLAGS="-O3"
74
make -j 4 CC=gcc-4.1 CXX=g++-4.1
75
sudo make install
76
77
echo -e "[wxgui]\nstyle=nongl\nfft_rate=4\n" > ~/.gnuradio/config.conf
78
}}}
79
80
7. You should be done ready to run the app. Plug your scanner into the mic input. Launch the sound mixer (under System -> Preferences -> Sound) and make sure you can see the signal coming in from the discriminator tap of the scanner. 
81
82
{{{
83
cd ~/src/op25/python
84
./audio_p25_rx.py -a
85
}}}
86
87
This last bit is up to you. Poke around the interface, read the rest of the wiki and mailing list, and, well, good luck!
Add picture from clipboard (Maximum size: 48.8 MB)