BeginnersBuildDeprecated » History » Revision 11
Revision 10 (matt, 04/22/2017 04:04 PM) → Revision 11/12 (matt, 04/22/2017 04:04 PM)
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. Here's what's worked for me, based on op25 svn revision 198: 1. Install Ubuntu 9.10 Upon reboot, login and launch a terminal window (Applications -> Accessories -> Terminal), and run the rest of the following instructions from this window. 2. The next commands will update your system with the latest patches: {{{ sudo apt-get upgrade sudo shutdown -r now }}} 3. After the system reboots, relaunch the terminal window as above and continue with these commands, which will install the gnuradio prerequisites: {{{ sudo apt-get install gcc-4.1 g++-4.1 swig g++ automake libtool \ python-dev libfftw3-dev libcppunit-dev libboost-all-dev libusb-dev \ fort77 sdcc sdcc-libraries libsdl1.2-dev python-wxgtk2.8 subversion \ git-core guile-1.8-dev libqt4-dev python-numpy ccache python-opengl \ libgsl0-dev python-cheetah python-lxml doxygen qt4-dev-tools \ libqwt5-qt4-dev libqwtplot3d-qt4-dev pyqt4-dev-tools libitpp-dev \ libjack-dev texlive-latex-base }}} 4. This next part installs gnuradio: {{{ mkdir ~/src; cd ~/src wget ftp://ftp.gnu.org/gnu/gnuradio/gnuradio-3.2.2.tar.gz tar zxvf gnuradio-3.2.2.tar.gz cd gnuradio-3.2.2 ./configure make -j 4 CC=gcc-4.1 CXX=g++-4.1 make check sudo make install }}} 5. This part installs the gr-fsk4 demodulator: {{{ cd ~/src wget http://radiorausch.googlepages.com/gr-fsk4-22Apr08.tar.gz -O gr-fsk4-22Apr08.tar.gz tar zxvf gr-fsk4-22Apr08.tar.gz cd gr-fsk4 ./bootstrap ./configure make -j 4 CC=gcc-4.1 CXX=g++-4.1 sudo make install }}} 6. And this part will setup the op25 source. {{{ cd ~/src svn co http://op25.osmocom.org/svn/trunk@198 http://op25.osmocom.org/svn/op25/trunk@198 op25 cd op25/decoder ./bootstrap ./configure make -j 4 CC=gcc-4.1 CXX=g++-4.1 sed -i 's/flow_graph/top_block/' src/python/qa_op25.py make check sudo make install sudo cp /usr/local/include/gnuradio/swig/* /usr/include/gnuradio/swig sudo cp /usr/local/include/gnuradio/* /usr/include/gnuradio/ cd ~/src/op25/imbe_vocoder ./bootstrap ./configure CXXFLAGS="-O3" make -j 4 CC=gcc-4.1 CXX=g++-4.1 sudo make install echo -e "[wxgui]\nstyle=nongl\nfft_rate=4\n" > ~/.gnuradio/config.conf }}} 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. {{{ cd ~/src/op25/python ./audio_p25_rx.py -a }}} This last bit is up to you. Poke around the interface, read the rest of the wiki and mailing list, and, well, good luck!