Project

General

Profile

BeginnersBuildDeprecated » History » Version 11

matt, 04/22/2017 04:04 PM
fix broken link

1 4
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.  
2 1
3
Here's what's worked for me, based on op25 svn revision 198:
4
5
1. Install Ubuntu 9.10
6
7
Upon reboot, login and launch a terminal window (Applications -> Accessories -> Terminal), and run the rest of the following instructions from this window.
8
9
2. The next commands will update your system with the latest patches:
10
{{{
11 6
sudo apt-get upgrade
12 1
sudo shutdown -r now
13
}}}
14
15
3. After the system reboots, relaunch the terminal window as above and continue with these commands, which will install the gnuradio prerequisites:
16
17
{{{
18
sudo apt-get install gcc-4.1 g++-4.1 swig g++ automake libtool \
19 7 matt
python-dev libfftw3-dev libcppunit-dev libboost-all-dev libusb-dev \
20 1
fort77 sdcc sdcc-libraries libsdl1.2-dev python-wxgtk2.8 subversion \
21
git-core guile-1.8-dev libqt4-dev python-numpy ccache python-opengl \
22
libgsl0-dev python-cheetah python-lxml doxygen qt4-dev-tools \
23
libqwt5-qt4-dev libqwtplot3d-qt4-dev pyqt4-dev-tools libitpp-dev \
24
libjack-dev texlive-latex-base
25
}}}
26
27
4. This next part installs gnuradio:
28
29
{{{
30
mkdir ~/src; cd ~/src
31
wget ftp://ftp.gnu.org/gnu/gnuradio/gnuradio-3.2.2.tar.gz
32
tar zxvf gnuradio-3.2.2.tar.gz
33
cd gnuradio-3.2.2
34 8 matt
./configure
35 4
make -j 4 CC=gcc-4.1 CXX=g++-4.1
36 1
make check
37
sudo make install
38
}}}
39
40
5. This part installs the gr-fsk4 demodulator:
41
42
{{{
43
cd ~/src
44
wget http://radiorausch.googlepages.com/gr-fsk4-22Apr08.tar.gz -O gr-fsk4-22Apr08.tar.gz
45
tar zxvf gr-fsk4-22Apr08.tar.gz
46
cd gr-fsk4
47
./bootstrap
48 8 matt
./configure
49 4
make -j 4 CC=gcc-4.1 CXX=g++-4.1
50 1
sudo make install
51
}}}
52
53 9
6. And this part will setup the op25 source. 
54 1
55
{{{
56
cd ~/src
57 11 matt
svn co http://op25.osmocom.org/svn/trunk@198 op25
58 1
cd op25/decoder
59
./bootstrap
60 8 matt
./configure
61 4
make -j 4 CC=gcc-4.1 CXX=g++-4.1
62 1
sed -i 's/flow_graph/top_block/' src/python/qa_op25.py
63
make check
64
sudo make install
65 5
66
sudo cp /usr/local/include/gnuradio/swig/* /usr/include/gnuradio/swig 
67
sudo cp /usr/local/include/gnuradio/* /usr/include/gnuradio/ 
68 1
69
cd ~/src/op25/imbe_vocoder
70
./bootstrap
71 8 matt
./configure CXXFLAGS="-O3"
72 4
make -j 4 CC=gcc-4.1 CXX=g++-4.1
73 1
sudo make install
74
75
echo -e "[wxgui]\nstyle=nongl\nfft_rate=4\n" > ~/.gnuradio/config.conf
76
}}}
77
78
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. 
79
80
{{{
81
cd ~/src/op25/python
82
./audio_p25_rx.py -a
83
}}}
84
85
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)