<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://napan.ca/ghpsdr3/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Frohro</id>
	<title>Ghpsdr3 SDR project - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://napan.ca/ghpsdr3/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Frohro"/>
	<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php/Special:Contributions/Frohro"/>
	<updated>2026-04-08T23:49:56Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.42.7</generator>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=Hermes&amp;diff=780</id>
		<title>Hermes</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=Hermes&amp;diff=780"/>
		<updated>2013-09-24T04:03:59Z</updated>

		<summary type="html">&lt;p&gt;Frohro: /* dspserver */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Thanks to Andrea for providing the Hermes backend for ghpsdr3-alex.  &lt;br /&gt;
There are two programs you need to start to get the server running. The first is hpsdr-server.  It is the software that sets up the Hermes for action.  It sends and gets data from the Hermes as shown on the [[Main Page]]. &lt;br /&gt;
&lt;br /&gt;
====hpsdr-server====&lt;br /&gt;
Here is how you start the hpsdr-server from the command line.  &lt;br /&gt;
 $ hpsdr-server --samplerate 48000 --hermes 16 --interface eth2&lt;br /&gt;
&lt;br /&gt;
Note: &lt;br /&gt;
*you can use 48000, 96000, 192000, or 384000 for the --samplerate parameter.&lt;br /&gt;
*the --hermes parameter is how much power Hermes will put out on transmit.  The values go from 0 to 255.&lt;br /&gt;
*the --interface parameter is the network interface that is connected to the same local area network that Hermes is connected to.  It may be eth1, eth2, etc. or wlan1, wlan2, etc.  You can figure out what it is by using the ifconfig command at the terminal as follows:&lt;br /&gt;
&lt;br /&gt;
 $ ifconfig&lt;br /&gt;
 eth9      Link encap:Ethernet  HWaddr 5c:26:0a:45:28:7b  &lt;br /&gt;
          inet addr:192.168.2.157  Bcast:192.168.2.255  Mask:255.255.255.0&lt;br /&gt;
          inet6 addr: fe80::5e26:aff:fe45:287b/64 Scope:Link&lt;br /&gt;
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1&lt;br /&gt;
          RX packets:1877498 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
          TX packets:2572794 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
          collisions:0 txqueuelen:1000 &lt;br /&gt;
          RX bytes:881124281 (881.1 MB)  TX bytes:3414696100 (3.4 GB)&lt;br /&gt;
          Interrupt:20 Memory:f6900000-f6920000 &lt;br /&gt;
 &lt;br /&gt;
 lo        Link encap:Local Loopback  &lt;br /&gt;
          inet addr:127.0.0.1  Mask:255.0.0.0&lt;br /&gt;
          inet6 addr: ::1/128 Scope:Host&lt;br /&gt;
          UP LOOPBACK RUNNING  MTU:65536  Metric:1&lt;br /&gt;
          RX packets:7758949 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
          TX packets:7758949 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
          collisions:0 txqueuelen:0 &lt;br /&gt;
          RX bytes:4143306543 (4.1 GB)  TX bytes:4143306543 (4.1 GB)&lt;br /&gt;
 &lt;br /&gt;
 wlan2     Link encap:Ethernet  HWaddr 18:3d:a2:10:95:80  &lt;br /&gt;
          inet addr:192.168.2.250  Bcast:192.168.2.255  Mask:255.255.255.0&lt;br /&gt;
          inet6 addr: fe80::1a3d:a2ff:fe10:9580/64 Scope:Link&lt;br /&gt;
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1&lt;br /&gt;
          RX packets:3622385 errors:0 dropped:2 overruns:0 frame:0&lt;br /&gt;
          TX packets:1970372 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
          collisions:0 txqueuelen:1000 &lt;br /&gt;
          RX bytes:4139564914 (4.1 GB)  TX bytes:1254030073 (1.2 GB)&lt;br /&gt;
&lt;br /&gt;
In this case either eth9 or wlan2 could be used because my Hermes is on the 192.168.2.x network.  The eth9 is an ethernet connection and wlan2 is a wireless connection.&lt;br /&gt;
Other hpsdr-server options can be seen by using the --? option.&lt;br /&gt;
 $ hpsdr-server --?&lt;br /&gt;
 hpsdr-server: unrecognized option &#039;--?&#039;&lt;br /&gt;
 Usage: &lt;br /&gt;
  server --receivers N (default 1)&lt;br /&gt;
         --samplerate 48000|96000|192000|384000&lt;br /&gt;
         --dither off|on&lt;br /&gt;
         --random off|on&lt;br /&gt;
         --preamp off|on&lt;br /&gt;
         --10mhzsource atlas|penelope|mercury&lt;br /&gt;
         --122.88mhzsource atlas|penelope|mercury&lt;br /&gt;
         --micsource janus|penelope&lt;br /&gt;
         --class other|E&lt;br /&gt;
         --timing 1&lt;br /&gt;
         --metis&lt;br /&gt;
         --interface if&lt;br /&gt;
         --fpga &amp;lt;file name&amp;gt;&lt;br /&gt;
         --ozyhex &amp;lt;file name&amp;gt;&lt;br /&gt;
         --hermes &amp;lt;power 0-255&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====dspserver====&lt;br /&gt;
The second program you need to start is dspserver.  It processes the samples coming from hpsdr-server using dttSP and communicates with the client (QtRadio, glSDR, etc.) to determine what signal processing is wanted.  &lt;br /&gt;
Here is how you start dspserver from the command line.&lt;br /&gt;
 do dspserver --lo 0 --hpsdr --nocorrectiq --share&lt;br /&gt;
The options are described if you use the --? command line option as follows:&lt;br /&gt;
 $ dspserver --?&lt;br /&gt;
 dspserver: unrecognized option &#039;--?&#039;&lt;br /&gt;
 Usage: &lt;br /&gt;
  dspserver --receiver (0-3)&lt;br /&gt;
            --server 0.0.0.0 (default 127.0.0.1)&lt;br /&gt;
            --soundcard (machine dependent)&lt;br /&gt;
            --offset 0 &lt;br /&gt;
            --share (will register this server for other users &lt;br /&gt;
                     use the default config file ~/.dspserver.conf) &lt;br /&gt;
            --lo 0 (if no LO offset desired in DDC receivers, or 9000 in softrocks&lt;br /&gt;
            --hpsdr (if using hpsdr hardware with no local mike and headphone)&lt;br /&gt;
            --hpsdrloc (if using hpsdr hardware with LOCAL mike and headphone)&lt;br /&gt;
            --nocorrectiq (select if using non QSD receivers, like Hermes, Perseus, HiQSDR, Mercury)&lt;br /&gt;
Because the dspserver communicates with the clients and they are the most unstable as far as network connection, etc. I find that sometimes the dspserver crashes, so I have taken to making a script I call do-dspserver-hermes that contains the following to automatically restart it.&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 while true&lt;br /&gt;
        do dspserver --lo 0 --hpsdr --nocorrectiq --share&lt;br /&gt;
        sleep 5&lt;br /&gt;
 done&lt;br /&gt;
&lt;br /&gt;
You have to make this executable ($ chmod 755 do-dspserver-hermes) and put it somewhere in your command search PATH.&lt;br /&gt;
&lt;br /&gt;
Other useful commands to google that will help you run the server on linux are nohup, top, ps and kill.&lt;/div&gt;</summary>
		<author><name>Frohro</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=Hermes&amp;diff=779</id>
		<title>Hermes</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=Hermes&amp;diff=779"/>
		<updated>2013-09-24T03:59:33Z</updated>

		<summary type="html">&lt;p&gt;Frohro: /* dspserver */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Thanks to Andrea for providing the Hermes backend for ghpsdr3-alex.  &lt;br /&gt;
There are two programs you need to start to get the server running. The first is hpsdr-server.  It is the software that sets up the Hermes for action.  It sends and gets data from the Hermes as shown on the [[Main Page]]. &lt;br /&gt;
&lt;br /&gt;
====hpsdr-server====&lt;br /&gt;
Here is how you start the hpsdr-server from the command line.  &lt;br /&gt;
 $ hpsdr-server --samplerate 48000 --hermes 16 --interface eth2&lt;br /&gt;
&lt;br /&gt;
Note: &lt;br /&gt;
*you can use 48000, 96000, 192000, or 384000 for the --samplerate parameter.&lt;br /&gt;
*the --hermes parameter is how much power Hermes will put out on transmit.  The values go from 0 to 255.&lt;br /&gt;
*the --interface parameter is the network interface that is connected to the same local area network that Hermes is connected to.  It may be eth1, eth2, etc. or wlan1, wlan2, etc.  You can figure out what it is by using the ifconfig command at the terminal as follows:&lt;br /&gt;
&lt;br /&gt;
 $ ifconfig&lt;br /&gt;
 eth9      Link encap:Ethernet  HWaddr 5c:26:0a:45:28:7b  &lt;br /&gt;
          inet addr:192.168.2.157  Bcast:192.168.2.255  Mask:255.255.255.0&lt;br /&gt;
          inet6 addr: fe80::5e26:aff:fe45:287b/64 Scope:Link&lt;br /&gt;
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1&lt;br /&gt;
          RX packets:1877498 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
          TX packets:2572794 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
          collisions:0 txqueuelen:1000 &lt;br /&gt;
          RX bytes:881124281 (881.1 MB)  TX bytes:3414696100 (3.4 GB)&lt;br /&gt;
          Interrupt:20 Memory:f6900000-f6920000 &lt;br /&gt;
 &lt;br /&gt;
 lo        Link encap:Local Loopback  &lt;br /&gt;
          inet addr:127.0.0.1  Mask:255.0.0.0&lt;br /&gt;
          inet6 addr: ::1/128 Scope:Host&lt;br /&gt;
          UP LOOPBACK RUNNING  MTU:65536  Metric:1&lt;br /&gt;
          RX packets:7758949 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
          TX packets:7758949 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
          collisions:0 txqueuelen:0 &lt;br /&gt;
          RX bytes:4143306543 (4.1 GB)  TX bytes:4143306543 (4.1 GB)&lt;br /&gt;
 &lt;br /&gt;
 wlan2     Link encap:Ethernet  HWaddr 18:3d:a2:10:95:80  &lt;br /&gt;
          inet addr:192.168.2.250  Bcast:192.168.2.255  Mask:255.255.255.0&lt;br /&gt;
          inet6 addr: fe80::1a3d:a2ff:fe10:9580/64 Scope:Link&lt;br /&gt;
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1&lt;br /&gt;
          RX packets:3622385 errors:0 dropped:2 overruns:0 frame:0&lt;br /&gt;
          TX packets:1970372 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
          collisions:0 txqueuelen:1000 &lt;br /&gt;
          RX bytes:4139564914 (4.1 GB)  TX bytes:1254030073 (1.2 GB)&lt;br /&gt;
&lt;br /&gt;
In this case either eth9 or wlan2 could be used because my Hermes is on the 192.168.2.x network.  The eth9 is an ethernet connection and wlan2 is a wireless connection.&lt;br /&gt;
Other hpsdr-server options can be seen by using the --? option.&lt;br /&gt;
 $ hpsdr-server --?&lt;br /&gt;
 hpsdr-server: unrecognized option &#039;--?&#039;&lt;br /&gt;
 Usage: &lt;br /&gt;
  server --receivers N (default 1)&lt;br /&gt;
         --samplerate 48000|96000|192000|384000&lt;br /&gt;
         --dither off|on&lt;br /&gt;
         --random off|on&lt;br /&gt;
         --preamp off|on&lt;br /&gt;
         --10mhzsource atlas|penelope|mercury&lt;br /&gt;
         --122.88mhzsource atlas|penelope|mercury&lt;br /&gt;
         --micsource janus|penelope&lt;br /&gt;
         --class other|E&lt;br /&gt;
         --timing 1&lt;br /&gt;
         --metis&lt;br /&gt;
         --interface if&lt;br /&gt;
         --fpga &amp;lt;file name&amp;gt;&lt;br /&gt;
         --ozyhex &amp;lt;file name&amp;gt;&lt;br /&gt;
         --hermes &amp;lt;power 0-255&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====dspserver====&lt;br /&gt;
The second program you need to start is dspserver.  It processes the samples coming from hpsdr-server using dttSP and communicates with the client (QtRadio, glSDR, etc.) to determine what signal processing is wanted.  &lt;br /&gt;
Here is how you start dspserver from the command line.&lt;br /&gt;
 do dspserver --lo 0 --hpsdr --nocorrectiq --share&lt;br /&gt;
The options are described if you use the --? command line option as follows:&lt;br /&gt;
 $ dspserver --?&lt;br /&gt;
 dspserver: unrecognized option &#039;--?&#039;&lt;br /&gt;
 Usage: &lt;br /&gt;
  dspserver --server 0.0.0.0 (default 127.0.0.1)&lt;br /&gt;
            --soundcard (machine dependent)&lt;br /&gt;
            --offset 0 &lt;br /&gt;
            --share (will register this server for other users &lt;br /&gt;
                     use the default config file ~/.dspserver.conf) &lt;br /&gt;
            --lo 0 (if no LO offset desired in DDC receivers, or 9000 in softrocks&lt;br /&gt;
            --hpsdr (if using hpsdr hardware with no local mike and headphone)&lt;br /&gt;
            --hpsdrloc (if using hpsdr hardware with LOCAL mike and headphone)&lt;br /&gt;
            --nocorrectiq (select if using non QSD receivers, like Hermes, Perseus, HiQSDR, Mercury)&lt;br /&gt;
Because the dspserver communicates with the clients and they are the most unstable as far as network connection, etc. I find that sometimes the dspserver crashes, so I have taken to making a script I call do-dspserver-hermes that contains the following to automatically restart it.&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 while true&lt;br /&gt;
        do dspserver --lo 0 --hpsdr --nocorrectiq --share&lt;br /&gt;
        sleep 5&lt;br /&gt;
 done&lt;br /&gt;
&lt;br /&gt;
You have to make this executable ($ chmod 755 do-dspserver-hermes) and put it somewhere in your command search PATH.&lt;br /&gt;
&lt;br /&gt;
Other useful commands to google that will help you run the server on linux are nohup, top, ps and kill.&lt;/div&gt;</summary>
		<author><name>Frohro</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=776</id>
		<title>QtRadio Installation</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=776"/>
		<updated>2013-08-27T17:08:39Z</updated>

		<summary type="html">&lt;p&gt;Frohro: /* VirtualBox Easy Installation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Installation on Linux ==&lt;br /&gt;
The instructions below are for Debian based distributions like Ubuntu but you should be able to compile on any Linux distribution with the correct libraries installed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Installation from Git ===&lt;br /&gt;
Installing from git involves building or compiling from source.  This is required if you want to use one of the various branches to work the &amp;quot;bleeding edge&amp;quot; branches like Alex&#039;s rxtx-event branch where the current (Nov 12 2011) TX work is being done.&lt;br /&gt;
The PPA install is never more than a few days behind master so there is not much to gain from building from git unless you want to work with the source code your self.&lt;br /&gt;
&lt;br /&gt;
==== Installing compiler and autotool ====&lt;br /&gt;
&lt;br /&gt;
First off, install the compiler; depending on which distribution are you using, some or all of this stuff could be already installed: &lt;br /&gt;
&lt;br /&gt;
===== Ubuntu/Debian =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install make gcc g++&lt;br /&gt;
sudo apt-get install autoconf automake autotools-dev libtool git subversion&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Fedora =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo yum install gcc gcc-c++ man-pages autoconf automake subversion libtool git&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Installing prerequisite packages ====&lt;br /&gt;
&lt;br /&gt;
===== Ubuntu 12.04 and newer =====&lt;br /&gt;
First of all, you have to check that the universe repository is enabled. Click on the gear shaped icon (bottom into left side bar): the System Settings menu will shown, click on Software Sources and finally check the Community-maintained Open Source Software (universe) tick. Next, submit the following commands into a terminal window:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install \&lt;br /&gt;
libqt4-opengl-dev \&lt;br /&gt;
qtmobility-dev \&lt;br /&gt;
libusb-0.1-4 \&lt;br /&gt;
libusb-dev \&lt;br /&gt;
libfftw3-dev \&lt;br /&gt;
portaudio19-dev \&lt;br /&gt;
libpulse-dev \&lt;br /&gt;
libsamplerate0-dev \&lt;br /&gt;
libusb-1.0-0-dev \&lt;br /&gt;
libconfig8-dev \&lt;br /&gt;
xdg-utils \&lt;br /&gt;
libortp-dev \&lt;br /&gt;
gcc-multilib \&lt;br /&gt;
libssl-dev \&lt;br /&gt;
libevent-dev \&lt;br /&gt;
libglu1-mesa-dev \&lt;br /&gt;
freeglut3-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You will need qt5 installed to complete the build.&lt;br /&gt;
&lt;br /&gt;
Visit: http://qt-project.org/downloads&lt;br /&gt;
&lt;br /&gt;
download the current package for your system.&lt;br /&gt;
&lt;br /&gt;
To build Qt5 on a RaspberryPi visit: http://qt-project.org/wiki/RaspberryPi&lt;br /&gt;
&lt;br /&gt;
After downloading it go to the download directory and do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ chmod +x the-name-of-the-downloaded-file&lt;br /&gt;
$ sudo ./the-name-of-the-downloaded-file&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Simply click on the installer and follow the prompts, take note of were qt5 is installed. Don&#039;t open the readme or start QtCreator when the installer asks.  It will make some files in your home directory owned by root, and that will give you trouble later.  After the install has completed, from a terminal:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ export PATH=/opt/Qt5.1.0/5.1.0/gcc_64/bin:/opt/Qt5.1.0/Tools/QtCreator/bin:$PATH&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
In the above make sure you put in the correct path for your version of Qt. This is due because the several packages from Qt sources and binary repositories web sites are not really installed in the system but simply copied on it. Therefore the autotools build system should search virtually over the whole filesystem.&lt;br /&gt;
In any case please remember that&lt;br /&gt;
the export above is effective only into the current terminal windows, if you open another window and/or reboot the system, you have to resubmit again the command&lt;br /&gt;
if you want to make permanent it, you have to add the export into the right configuration shell, suitable for the shell that you are currently using.&lt;br /&gt;
For the bash it is typically ~/.bashrc&lt;br /&gt;
In any case, after you issue the export, please test it.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
qmake -v&lt;br /&gt;
QMake version 2.01a&lt;br /&gt;
Using Qt version 4.8.0 in /home/andrew/QtSDK4.8x/Desktop/Qt/4.8.0/gcc/lib&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Ubuntu 11.04 and older ===== &lt;br /&gt;
First of all, you have to check that the &#039;&#039;universe repository&#039;&#039; is enabled.&lt;br /&gt;
Please see the procedure in the previous section [[#graphical installation]] .&lt;br /&gt;
&lt;br /&gt;
Next, you will need the following packages installed:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install \&lt;br /&gt;
libqt4-opengl-dev \&lt;br /&gt;
qtmobility-dev \&lt;br /&gt;
libusb-0.1-4 \&lt;br /&gt;
libusb-dev \&lt;br /&gt;
libfftw3-dev \&lt;br /&gt;
portaudio19-dev \&lt;br /&gt;
libpulse-dev \&lt;br /&gt;
libsamplerate0-dev \&lt;br /&gt;
libusb-1.0-0-dev \&lt;br /&gt;
libconfig8-dev \&lt;br /&gt;
libortp-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Ubuntu 11.10 ===== &lt;br /&gt;
First of all, you have to check that the &#039;&#039;universe repository&#039;&#039; is enabled.&lt;br /&gt;
Click on the gear shaped icon (bottom into left side bar): the &#039;&#039;System Settings&#039;&#039; menu will shown, click on &#039;&#039;Software Sources&#039;&#039; and finally check the &#039;&#039;Community-maintaned Open Source Software (universe)&#039;&#039; tick.&lt;br /&gt;
Next, submit the following commands into a terminal window:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install \&lt;br /&gt;
libqt4-opengl-dev \&lt;br /&gt;
qtmobility-dev \&lt;br /&gt;
libusb-0.1-4 \&lt;br /&gt;
libusb-dev \&lt;br /&gt;
libfftw3-dev \&lt;br /&gt;
portaudio19-dev \&lt;br /&gt;
libpulse-dev \&lt;br /&gt;
libsamplerate0-dev \&lt;br /&gt;
libusb-1.0-0-dev \&lt;br /&gt;
libconfig8-dev \&lt;br /&gt;
xdg-utils \&lt;br /&gt;
libortp-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Fedora 16 =====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo yum install fftw fftw-devel &lt;br /&gt;
sudo yum install libusb-devel libusb1-devel &lt;br /&gt;
sudo yum install portaudio-devel&lt;br /&gt;
sudo yum install libconfig-devel&lt;br /&gt;
sudo yum install libsamplerate-devel&lt;br /&gt;
sudo yum install pulseaudio-libs-devel&lt;br /&gt;
sudo yum install jack-audio-connection-kit  jack-audio-connection-kit-devel&lt;br /&gt;
sudo yum install qt4-devel&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Cloning the repository ====&lt;br /&gt;
&lt;br /&gt;
How to build the latest master branch on Ubuntu 11.04&lt;br /&gt;
&lt;br /&gt;
First a new libevent will need to be downloaded and installed, then the actual QtRadio source can be downloaded and built.&lt;br /&gt;
&lt;br /&gt;
==== Obtaining an up-level libevent library ====&lt;br /&gt;
&lt;br /&gt;
$ sudo apt-get install libevent-dev&lt;br /&gt;
&lt;br /&gt;
If the version is older than 2.0.5, go to synaptic and completely remove the stock libevent from Ubuntu. (Completely remove is an uninstall option in Synaptic. Additional dependent libraries may also be removed)&lt;br /&gt;
&lt;br /&gt;
Then download the new version from:&lt;br /&gt;
&lt;br /&gt;
http://libevent.org/&lt;br /&gt;
&lt;br /&gt;
libevent-2.0.16-stable.tar.gz&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
wget https://github.com/downloads/libevent/libevent/libevent-2.0.16-stable.tar.gz&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Move the tarball from the Downloads directory to a working directory. A suggestion is to create a src directory within your home directory and move it there. Uncompress and follow the instructions to build and install:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
tar -zxvf libevent-2.0.16-stable.tar.gz&lt;br /&gt;
cd libevent-2.0.16-stable&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On Fedora, in order to use the library above, export the LD_LIBRARY_PATH:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export LD_LIBRARY_PATH=/usr/local/lib&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Installing codec2 low bit rate audio encoding and decoding ====&lt;br /&gt;
&lt;br /&gt;
We are adding a low bit rate audio codec called codec 2 to QtRadio/dspserver.  You need&lt;br /&gt;
to download and build the codec2 library.  See:&lt;br /&gt;
&lt;br /&gt;
http://www.rowetel.com/blog/?page_id=452&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
Now go get codec2 using subversion&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
svn co https://freetel.svn.sourceforge.net/svnroot/freetel/codec2-dev codec2-dev&lt;br /&gt;
cd codec2-dev&lt;br /&gt;
autoreconf -i&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On Fedora, in order to use the library above, export the LD_LIBRARY_PATH:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export LD_LIBRARY_PATH=/usr/local/lib&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Building the master branch ====&lt;br /&gt;
&lt;br /&gt;
This branch is the latest code that contains both RX and TX capability. &lt;br /&gt;
&lt;br /&gt;
Create a new directory or cd to the ~/src directory created for libevent and cd into it.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://github.com/alexlee188/ghpsdr3-alex&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Depending on your Internet connection thorughput, it will take several minute to download.&lt;br /&gt;
cd into the new directory ghpsdr3-alex:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ghpsdr3-alex&lt;br /&gt;
git checkout master&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
You are now working with Alex&#039;s latest and greatest!&lt;br /&gt;
&lt;br /&gt;
First set the path to the version of qt you are using.  E.g. for qt5:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ export PATH=/opt/qt5/bin:$PATH&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
autoreconf -i&lt;br /&gt;
./configure&lt;br /&gt;
make -j4 all&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The default configure above builds with debug and default Qt4 version in your PC.  For optimized executable,&lt;br /&gt;
you need to specify options specific to your system.  See the sample shell scripts that replaces the above&lt;br /&gt;
./configure step:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./alex-avx-conf.sh		for building with i3,i5 and i7 cpu&#039;s supporting Advanced Vector Extensions (AVX)&lt;br /&gt;
./alex-openmp-conf.sh		for building with i3,i5 and i7 cpu&#039;s and OpenMP support&lt;br /&gt;
./alex-sse3-conf.sh		for building with SSE3 capable cpu&#039;s&lt;br /&gt;
./alex-openmp-sse3-conf.sh	for building with SSE3 cpaable cpu&#039;s and OpenMP support&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(If you do not want to actually install the executable binaries, skip the sudo make install and just cd into the following directories and run them from there)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Terminal 1&lt;br /&gt;
$ cd ghpsdr3-alex/trunk/src/softrock&lt;br /&gt;
$ ./softrock ...options ...&lt;br /&gt;
&lt;br /&gt;
Terminal 2&lt;br /&gt;
$ cd ghpsdr3-alex/trunk/src/dspserver&lt;br /&gt;
$ ./dspserver  ..options...&lt;br /&gt;
&lt;br /&gt;
Terminal 3&lt;br /&gt;
$ cd ghpsdr3-alex/trunk/src/QtRadio&lt;br /&gt;
$ ./QtRadio&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Building the Perseus extensions ====&lt;br /&gt;
&lt;br /&gt;
In order to build the Microtelecom Perseus server you need to switch to the master or iw0hdv branch. &lt;br /&gt;
&lt;br /&gt;
First off, install the prerequisite library and wget package:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install libboost-all-dev wget&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Next download, compile and install the library libperseus-sdr:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
wget http://libperseus-sdr.googlecode.com/files/libperseus_sdr-0.6.tar.gz&lt;br /&gt;
tar -zxvf libperseus_sdr-0.6.tar.gz&lt;br /&gt;
cd libperseus_sdr-0.6/&lt;br /&gt;
./configure &amp;amp;&amp;amp; make&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you already build in your sandbox some other branch, is strongly advisable, before you start the build, to do a full cleanup:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
make distcheck &amp;amp;&amp;amp; sh cleanup.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Otherwise, if you are starting from scratch, you have to clone the repository:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://github.com/alexlee188/ghpsdr3-alex&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, you can switch to the master branch and rebuild everything; you don&#039;t need anymore to explicitly enable the perseus server feature, the configure script automatically selects it when the libperseus_sdr is found.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
git checkout master&lt;br /&gt;
autoreconf -i &amp;amp;&amp;amp; ./configure &amp;amp;&amp;amp; make -j4&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In order to run it you have two choices, the first one being the plain command line:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
xterm -e &#039;perseus_server -d3 -s96000 &#039; &amp;amp;&lt;br /&gt;
sleep 3&lt;br /&gt;
xterm -e &#039;dspserver --lo 0 --nocorrectiq&#039; &amp;amp;&lt;br /&gt;
sleep 5&lt;br /&gt;
$( QtRadio 127.0.0.1 ) &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In QtRadio, Receiver menu, select Configure item, Server tab: here add the local host using the 127.0.0.1 IP address.&lt;br /&gt;
Pressing the key C, you start the receiver.&lt;br /&gt;
&lt;br /&gt;
The second choiche is to use the ghpsdr3-mgr.py script (available in menu Applications, Hamradio as ghpsdr3launcher): clicking on the Perseus icon the three processes should start and the QtServer automatically connects to Perseus Server.&lt;br /&gt;
&lt;br /&gt;
==== Building USRP enabled version ====&lt;br /&gt;
&lt;br /&gt;
===== Building the UHD package =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====== Install the prerequisite packages (Ubuntu 11.10): ======&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install liboost-all-dev&lt;br /&gt;
sudo apt-get install python-cheetah&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====== Build &amp;amp; Install UHD -- FOR UHD-3.3.1 AND GREATER --: ======&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
git clone git://ettus.sourcerepo.com/ettus/uhd.git&lt;br /&gt;
cd uhd/host/&lt;br /&gt;
mkdir build&lt;br /&gt;
cd build&lt;br /&gt;
cmake ../&lt;br /&gt;
make&lt;br /&gt;
make test&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you already build in your sandbox some other branch, is strongly advisable, before you start the build, to do a full cleanup:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
make distcheck &amp;amp;&amp;amp; sh cleanup.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Otherwise, if you are starting from scratch, first clone the repository:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://github.com/alexlee188/ghpsdr3-alex&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, you can switch to the master branch and rebuild everything, enabling the usrp server feature:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
git checkout usrp-server&lt;br /&gt;
autoreconf -i &amp;amp;&amp;amp; ./configure --enable-usrp=yes &amp;amp;&amp;amp; make -j4&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Refresh to a Newer Version ====&lt;br /&gt;
&lt;br /&gt;
To pull a new version to build &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ git pull&lt;br /&gt;
$ make -j4 all&lt;br /&gt;
$ sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If extensive changes have occurred or if you get errors during the make, you may want to do a clean build  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ git pull&lt;br /&gt;
$ make distclean&lt;br /&gt;
$ sh cleanup.sh&lt;br /&gt;
$ autoreconf -i&lt;br /&gt;
$ ./configure&lt;br /&gt;
$ make -j4 all&lt;br /&gt;
$ sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you continue to get errors, please report the whole ./configure output and the config.log to the mailing list.&lt;br /&gt;
&lt;br /&gt;
== Installation on Windows ==&lt;br /&gt;
See [[ QtRadio on Windows]]&lt;br /&gt;
&lt;br /&gt;
==VirtualBox Easy Installation==&lt;br /&gt;
&lt;br /&gt;
It is possible to run the server software (and QtRadio) under VirtualBox.  It has been tested with HPSDR Hermes hardware. [http://people.wallawalla.edu/~Rob.Frohne/ghpsdr3-alex/Ubuntu%2012.10%20ghpsdr3-alex-hermes.zip A VirtualBox Ubuntu 12.10 image] is available that automatically starts the server software for those who are running Windows, or don&#039;t feel they have the hardware, expertise or time to setup a Linux machine to act as a server.  The username is: &amp;quot;ubuntu&amp;quot; and the password: &amp;quot;hamradio&amp;quot;, which is probably a good thing to change soon after installation.  Basically, all you need to do is follow the instructions below, plug your HPSDR Hermes or Apache Labs ANAN series transceivers into the network with the server, and you can be using ghpsdr3-alex on your own server.  Users of older HPSDR hardware may need to make slight variations such as configuring USB in VirtualBox, specifying different command line arguments to the automatically started server commands, etc, but you won&#039;t have to build the software, or install Linux, or get another computer just to run the ghpsdr3-alex server software.&lt;br /&gt;
&lt;br /&gt;
To get started, download the [http://people.wallawalla.edu/~Rob.Frohne/ghpsdr3-alex/Ubuntu%2012.10%20ghpsdr3-alex-hermes.zip VirtualBox image] (about 2.7 GB), unzip it, start [https://www.virtualbox.org/ VirtualBox], select the blue new button for the new machine, follow the wizard&#039;s instructions.  When it asks you about the hard drive, say use existing virtual hard drive file, and select the image you just unzipped using the folder icon with the green up-arrow as the hard drive, and hit the create button. Then use the green start arrow to start the Ubuntu 12.10 virtual machine. &lt;br /&gt;
&lt;br /&gt;
You should now be able to start QtRadio (the brown unity launcher item with CQ in it) and connect to your server.  If that works, you should be able to connect from any client with network access to your server including QtRadio outside your virtual machine, or from another computer on your LAN or glSDR on your phone using WIFI.  Be sure to set the server IP address in the client (QtRadio, or glSDR) to the IP address of the Ubuntu virtual machine.  You can get the IP address from the up/down arrow menu on the upper left of your virtual machine menu bar, under the selection &amp;quot;Connection Information.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
The [[Dspserver.conf]] file should be edited to personalize your server, and to allow transmit.   &lt;br /&gt;
&lt;br /&gt;
If your sever doesn&#039;t work, it may because your network interface is not eth2.  If it isn&#039;t, you need to read the notes on the [[Hermes]] page, and then edit the commands used to automatically start your server as described in the paragraph immediately below.  Another problem may occur because the SSL keys need to be generated.  You can learn how to do that [[SSL Key Generation|here]].&lt;br /&gt;
&lt;br /&gt;
If you want to edit or add the automatically started programs, see [http://askubuntu.com/questions/48321/how-do-i-start-applications-automatically-on-login this web page].  If you want to change things, the helpful notes about running the [[Hermes]] server on the [[Hermes]] page might be good to review.  They explain the commands started automatically upon login.&lt;br /&gt;
&lt;br /&gt;
I must make one note about running the software from a pre-prepared VirtualBox Image.  It is a way an attacker could gain access to your computer and network.  I used a pre-prepared Ubuntu 12.10 image from [http://virtualboxes.org/images/ubuntu/ VirtualBoxImages].  I believe it to be virgin, but you have to realize that it is possible that some rogue software is running on this image.  If you use the image I provide, you must be solely responsible for whatever happens. I (Rob Frohne, KL7NA) did not put anything on the image, except the ghpsdr3-alex and the tools and packages, and configuration files needed to build it, and I believe it to be harmless.  As always, there is a trade off between ease of use, and security.&lt;br /&gt;
&lt;br /&gt;
== Network settings ==&lt;br /&gt;
If you are behind a firewall/NAT-router and want to be able to connect to your dspserver over the Internet you have to open up port tcp/8000. If you are using the client in RTP mode you have to open up udp/5004 and udp/5005.&lt;br /&gt;
&lt;br /&gt;
== Installing ghpsdr3-alex on Raspberry Pi == &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Hardware===&lt;br /&gt;
&lt;br /&gt;
*** THIS SECTION DEALS WITH Raspberry Pi DIFFERENCES *** IT DOES NOT CIRCUMVENT THE INSTRUCTIONS STARTING AT STEP 1 OF THE QtRadio Installation. ***&lt;br /&gt;
&lt;br /&gt;
I recommend installing either the raspbian or raspbian pisces (debian) distributions as there is no Ubuntu release to date.&lt;br /&gt;
&lt;br /&gt;
*** All the pre-requisite packages needed for Ubuntu must be installed on raspbian or respbian pisces using the same &amp;quot;apt-get install&amp;quot; commands so it&#039;s necessary to follow the QtRadio-Installation &lt;br /&gt;
document from the beginning after installing raspbian or raspbian pisces.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
        The RasPi USB subsystem is sensitive to power supply voltage levels - A supply of 5.5V at 2A is recommended. &lt;br /&gt;
With the power supply output at +5.17V I was getting on-board Ethernet errors and system hangs when one more device besides keyboard and mouse were plugged in to the on-board USB ports or an outboard powered USB HUB. &lt;br /&gt;
&lt;br /&gt;
Measuring the voltage across TP1 and TP2 on the Raspberry Pi and  increased it to +4.97V (P.S output +5.59V).&lt;br /&gt;
&lt;br /&gt;
I also ran &amp;quot;rpi-update&amp;quot; which install new firmware. &lt;br /&gt;
&lt;br /&gt;
I shorted out the polyfuses F1 and F2 on the Pi and USB is much more stable but still limited.&lt;br /&gt;
&lt;br /&gt;
With keyboard, mouse, gigabit USB Ethernet, SB Live! 24 USB and RTL-SDR dongle it runs for some hours before it freezes.&lt;br /&gt;
&lt;br /&gt;
Removing the RTL-SDR dongle from the powered hub made a great difference with a current uptime heading for 3 days. The latest ghpsdr3-alex master branch build successfully completed while I was in bed.&lt;br /&gt;
&lt;br /&gt;
root@pisces:/usr/src/GHPSDR3_HIGH_SPEED_MASTER/ghpsdr3-alex# date&lt;br /&gt;
&lt;br /&gt;
Sun Sep  9 13:00:49 BST 2012&lt;br /&gt;
&lt;br /&gt;
root@pisces:/usr/src/GHPSDR3_HIGH_SPEED_MASTER/ghpsdr3-alex# uptime&lt;br /&gt;
&lt;br /&gt;
 13:00:56 up 2 days, 20:46,  8 users,  load average: 0.81, 1.01, 0.67&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 ******       Do not use power from a USB PC port or from a USB Hub. ********&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once it&#039;s up and running, some details that may help in setting up the hardware for use - I&#039;m currently overclocking at 855MHz  (Previously was set to 1GHz):-&lt;br /&gt;
&lt;br /&gt;
Keyboard, mouse, usb sound card, RTL-SDR TV dongle and USB Gigabit Ethernet fully operational using the 7-port powered USB hub.&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# lsusb&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp. &lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.&lt;br /&gt;
 &lt;br /&gt;
Bus 001 Device 004: ID 04cc:1521 ST-Ericsson USB 2.0 Hub&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 011: ID 04f3:0103 Elan Microelectronics Corp. &lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 006: ID 047d:1022 Kensington Orbit Optical&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 007: ID 1d19:1101 Dexatek Technology Ltd. DK DVB-T Dongle&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 008: ID 041e:3040 Creative Technology, Ltd SoundBlaster Live! 24-bit External SB0490&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 009: ID 0b95:1780 ASIX Electronics Corp. AX88178&lt;br /&gt;
root@pisces:~# ifconfig &lt;br /&gt;
&lt;br /&gt;
eth0 Link encap:Ethernet HWaddr b8:27:eb:2c:07:c9&lt;br /&gt;
&lt;br /&gt;
         inet addr:192.168.10.31  Bcast:192.168.10.255 Mask:255.255.255.0&lt;br /&gt;
         inet6 addr: fe80::ba27:ebff:fe2c:7c9/64 Scope:Link&lt;br /&gt;
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1&lt;br /&gt;
         RX packets:410 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
         TX packets:377 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
         collisions:0 txqueuelen:1000&lt;br /&gt;
         RX bytes:28905 (28.2 KiB)  TX bytes:35938 (35.0 KiB)&lt;br /&gt;
&lt;br /&gt;
eth1 Link encap:Ethernet HWaddr 00:10:14:00:9f:fa&lt;br /&gt;
&lt;br /&gt;
         inet addr:192.168.2.199  Bcast:192.168.2.255 Mask:255.255.255.0&lt;br /&gt;
         inet6 addr: fe80::210:14ff:fe00:9ffa/64 Scope:Link&lt;br /&gt;
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1&lt;br /&gt;
         RX packets:5 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
         TX packets:7 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
         collisions:0 txqueuelen:1000&lt;br /&gt;
         RX bytes:230 (230.0 B)  TX bytes:592 (592.0 B)&lt;br /&gt;
&lt;br /&gt;
lo Link encap:Local Loopback&lt;br /&gt;
&lt;br /&gt;
         inet addr:127.0.0.1  Mask:255.0.0.0&lt;br /&gt;
         inet6 addr: ::1/128 Scope:Host&lt;br /&gt;
         UP LOOPBACK RUNNING  MTU:16436  Metric:1&lt;br /&gt;
         RX packets:0 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
         TX packets:0 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
         collisions:0 txqueuelen:0&lt;br /&gt;
         RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# cat /proc/asound/cards&lt;br /&gt;
 0 [ALSA           ]: BRCM bcm2835 ALSbcm2835 ALSA - bcm2835 ALSA&lt;br /&gt;
                      bcm2835 ALSA&lt;br /&gt;
&lt;br /&gt;
 1 [External       ]: USB-Audio - SB Live! 24-bit External&lt;br /&gt;
                      Creative Technology SB Live! 24-bit External at usb-bcm2708_usb-1.2.2, full spe&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It&#039;s running at 855MHz with this config.txt file. &lt;br /&gt;
root@pisces:~# cat /boot/config.txt&lt;br /&gt;
&lt;br /&gt;
over_voltage=6&lt;br /&gt;
&lt;br /&gt;
arm_freq=855&lt;br /&gt;
&lt;br /&gt;
core_freq=500&lt;br /&gt;
&lt;br /&gt;
sdram_freq=500&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# cat /etc/network/interfaces&lt;br /&gt;
&lt;br /&gt;
    Used by ifup(8) and ifdown(8). See the interfaces(5) manpage or&lt;br /&gt;
    /usr/share/doc/ifupdown/examples for more information. &lt;br /&gt;
&lt;br /&gt;
auto lo&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
iface lo inet loopback&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    File: ifcfg-eth0&lt;br /&gt;
&lt;br /&gt;
auto eth0&lt;br /&gt;
&lt;br /&gt;
iface eth0 inet static&lt;br /&gt;
&lt;br /&gt;
address 192.168.10.31&lt;br /&gt;
&lt;br /&gt;
netmask 255.255.255.0&lt;br /&gt;
&lt;br /&gt;
gateway 192.168.10.103&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
auto eth1&lt;br /&gt;
&lt;br /&gt;
iface eth1 inet static&lt;br /&gt;
&lt;br /&gt;
address 192.168.2.199&lt;br /&gt;
&lt;br /&gt;
netmask 255.255.255.0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# cat /etc/modules&lt;br /&gt;
&lt;br /&gt;
    /etc/modules: kernel modules to load at boot time.&lt;br /&gt;
    This file contains the names of kernel modules that should be loaded&lt;br /&gt;
    at boot time, one per line. Lines beginning with &amp;quot;#&amp;quot; are ignored.&lt;br /&gt;
    Parameters can be specified after the module name. &lt;br /&gt;
&lt;br /&gt;
loop&lt;br /&gt;
&lt;br /&gt;
snd-bcm2835&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
One problem remains, no sound from the on-board chip.&lt;br /&gt;
&lt;br /&gt;
===Software=== &lt;br /&gt;
***** START AT THE BEGINNING WHEN BUILDING THE SOFTWARE -- i.e Section 1 and install all the packages recommended and do the pulseaudio setup.&lt;br /&gt;
&lt;br /&gt;
If you build ghpsdr3-alex already it&#039;s a case of following the same procedure with the following caveats that apply to the RasPi ARM architecture. What follows is a blow by blow account of how I did it for the iw0hdv branch which supports my HiQSDR+Preselector. The same steps are needed for building any other branch.&lt;br /&gt;
&lt;br /&gt;
Subject: [n2adr-sdr] Raspberry Pi running ghpsdr3-alex&lt;br /&gt;
&lt;br /&gt;
The changes made by Andrea have been merged into the master branch. These changes allow samplerates &amp;gt;192K but the Pi doesn&#039;t have the power to run these high samplerates - I am running hiqsdr-server at 960K samplerate on a 8-core x84_64 box.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   autoreconf -i &lt;br /&gt;
&lt;br /&gt;
    ./configure CFLAGS=&#039;-O3 -pipe -march=armv6 -mfpu=vfp -mfloat-abi=hard&#039; CXXFLAGS=&#039;-O3 -pipe -march=armv6 -mfpu=vfp -mfloat-abi=hard&#039; &lt;br /&gt;
&lt;br /&gt;
**** Additional steps needed when building rtlsdr-server. Do these before running make ******&lt;br /&gt;
# export ac_cv_func_malloc_0_nonnull=yes&lt;br /&gt;
# export ac_cv_func_realloc_0_nonnull=yes&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    make all &amp;amp;&amp;amp; make all install &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Sound on the Raspberry Pi is still a problem I have not been able to solve.&lt;br /&gt;
&lt;br /&gt;
Terry (WB4JFI) suggested the following that work for him but I have had no luck with it.&lt;br /&gt;
&lt;br /&gt;
&amp;quot;amixer cset numid=3 1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Other valid numid&#039;s are 0=auto, 1=headphones and 2=hdmi.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
QtRadio running on another box using the connection from the server list. Sound is a touch distorted, quite distorted on start up of QtRadio and spectrum is always a little bit slow.&lt;br /&gt;
&lt;br /&gt;
When a slave connected and tried changing frequency, dspserver crashed - dspserver can be a bit crash happy.&lt;br /&gt;
&lt;br /&gt;
The first thing I tried on the Pi was QtRadio standalone, spectrum and waterfall were OK but no sound.&lt;br /&gt;
&lt;br /&gt;
Just now a client using glSDR (5) is attempting to change frequency, sound went quite distorted then dspserver crashed.&lt;br /&gt;
&lt;br /&gt;
Restarted dspserver and QtRadio sound started very distorted before it settled down to reasonable.&lt;/div&gt;</summary>
		<author><name>Frohro</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=SSL_Key_Generation&amp;diff=775</id>
		<title>SSL Key Generation</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=SSL_Key_Generation&amp;diff=775"/>
		<updated>2013-08-27T13:54:18Z</updated>

		<summary type="html">&lt;p&gt;Frohro: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;You may have a problem starting dspserver because you haven&#039;t created the SSL key pairs.  For example:&lt;br /&gt;
 $ dspserver&lt;br /&gt;
 Reading conf file /home/frohro/dspserver.conf&lt;br /&gt;
 Country Lookup is On&lt;br /&gt;
 gHPSDR rx 0 (Version 0.7)&lt;br /&gt;
 dspserver string: 20130609;-master&lt;br /&gt;
 getSoundcardId: HPSDR id=8&lt;br /&gt;
 setSoundcard: 8&lt;br /&gt;
 setSoundcard -41.000000 -48.000000&lt;br /&gt;
 etup sdr thread 0: done&lt;br /&gt;
 setup sdr thread 1: done&lt;br /&gt;
 setup sdr thread 2: done&lt;br /&gt;
 client_thread&lt;br /&gt;
 [2013-08-26 10:15:12] client_thread: listening on port 8000&lt;br /&gt;
 Couldn&#039;t read &#039;pkey&#039; or &#039;cert&#039; file.  To generate a key&lt;br /&gt;
 and self-signed certificate, run:&lt;br /&gt;
  openssl genrsa -out pkey 2048&lt;br /&gt;
  openssl req -new -key pkey -out cert.req&lt;br /&gt;
  openssl x509 -req -days 365 -in cert.req -signkey pkey -out cert&lt;br /&gt;
 client ctx init failed: No such file or directory&lt;br /&gt;
  &lt;br /&gt;
&lt;br /&gt;
Note the message about the SSL keys (&amp;quot;Couldn&#039;t read &#039;pkey&#039; or &#039;cert&#039; file.&amp;quot;) not being set up.  This is a process you do once.  The three commands to set up the SSL keys are just what the dspserver response above told you to do.  The second of these commands will ask you to personalize your keys.  Just answer the questions as they are presented. The three commands in the proper order, are here below for you to paste into your terminal window to execute.&lt;br /&gt;
  openssl genrsa -out pkey 2048&lt;br /&gt;
&lt;br /&gt;
  openssl req -new -key pkey -out cert.req&lt;br /&gt;
&lt;br /&gt;
  openssl x509 -req -days 365 -in cert.req -signkey pkey -out cert&lt;/div&gt;</summary>
		<author><name>Frohro</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=SSL_Key_Generation&amp;diff=774</id>
		<title>SSL Key Generation</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=SSL_Key_Generation&amp;diff=774"/>
		<updated>2013-08-27T13:52:40Z</updated>

		<summary type="html">&lt;p&gt;Frohro: Created page with &amp;quot;You may have a problem starting dspserver because you haven&amp;#039;t created the SSL key pairs.  For example:  $ dspserver  Reading conf file /home/frohro/dspserver.conf  Country Loo...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;You may have a problem starting dspserver because you haven&#039;t created the SSL key pairs.  For example:&lt;br /&gt;
 $ dspserver&lt;br /&gt;
 Reading conf file /home/frohro/dspserver.conf&lt;br /&gt;
 Country Lookup is On&lt;br /&gt;
 gHPSDR rx 0 (Version 0.7)&lt;br /&gt;
 dspserver string: 20130609;-master&lt;br /&gt;
 getSoundcardId: HPSDR id=8&lt;br /&gt;
 setSoundcard: 8&lt;br /&gt;
 setSoundcard -41.000000 -48.000000&lt;br /&gt;
 etup sdr thread 0: done&lt;br /&gt;
 setup sdr thread 1: done&lt;br /&gt;
 setup sdr thread 2: done&lt;br /&gt;
 client_thread&lt;br /&gt;
 [2013-08-26 10:15:12] client_thread: listening on port 8000&lt;br /&gt;
 Couldn&#039;t read &#039;pkey&#039; or &#039;cert&#039; file.  To generate a key&lt;br /&gt;
 and self-signed certificate, run:&lt;br /&gt;
  openssl genrsa -out pkey 2048&lt;br /&gt;
  openssl req -new -key pkey -out cert.req&lt;br /&gt;
  openssl x509 -req -days 365 -in cert.req -signkey pkey -out cert&lt;br /&gt;
 client ctx init failed: No such file or directory&lt;br /&gt;
  &lt;br /&gt;
&lt;br /&gt;
Note the message about the SSL keys (&amp;quot;Couldn&#039;t read &#039;pkey&#039; or &#039;cert&#039; file.&amp;quot;) not being set up.  This is a process you do once.  The three commands to set up the SSL keys are just what the dspserver response above told you to do.  The second of these commands will ask you to personalize your keys.  Just answer the questions as they are presented.&lt;br /&gt;
  openssl genrsa -out pkey 2048&lt;br /&gt;
&lt;br /&gt;
  openssl req -new -key pkey -out cert.req&lt;br /&gt;
&lt;br /&gt;
  openssl x509 -req -days 365 -in cert.req -signkey pkey -out cert&lt;/div&gt;</summary>
		<author><name>Frohro</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=773</id>
		<title>QtRadio Installation</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=773"/>
		<updated>2013-08-27T13:49:03Z</updated>

		<summary type="html">&lt;p&gt;Frohro: /* Network settings */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Installation on Linux ==&lt;br /&gt;
The instructions below are for Debian based distributions like Ubuntu but you should be able to compile on any Linux distribution with the correct libraries installed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Installation from Git ===&lt;br /&gt;
Installing from git involves building or compiling from source.  This is required if you want to use one of the various branches to work the &amp;quot;bleeding edge&amp;quot; branches like Alex&#039;s rxtx-event branch where the current (Nov 12 2011) TX work is being done.&lt;br /&gt;
The PPA install is never more than a few days behind master so there is not much to gain from building from git unless you want to work with the source code your self.&lt;br /&gt;
&lt;br /&gt;
==== Installing compiler and autotool ====&lt;br /&gt;
&lt;br /&gt;
First off, install the compiler; depending on which distribution are you using, some or all of this stuff could be already installed: &lt;br /&gt;
&lt;br /&gt;
===== Ubuntu/Debian =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install make gcc g++&lt;br /&gt;
sudo apt-get install autoconf automake autotools-dev libtool git subversion&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Fedora =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo yum install gcc gcc-c++ man-pages autoconf automake subversion libtool git&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Installing prerequisite packages ====&lt;br /&gt;
&lt;br /&gt;
===== Ubuntu 12.04 and newer =====&lt;br /&gt;
First of all, you have to check that the universe repository is enabled. Click on the gear shaped icon (bottom into left side bar): the System Settings menu will shown, click on Software Sources and finally check the Community-maintained Open Source Software (universe) tick. Next, submit the following commands into a terminal window:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install \&lt;br /&gt;
libqt4-opengl-dev \&lt;br /&gt;
qtmobility-dev \&lt;br /&gt;
libusb-0.1-4 \&lt;br /&gt;
libusb-dev \&lt;br /&gt;
libfftw3-dev \&lt;br /&gt;
portaudio19-dev \&lt;br /&gt;
libpulse-dev \&lt;br /&gt;
libsamplerate0-dev \&lt;br /&gt;
libusb-1.0-0-dev \&lt;br /&gt;
libconfig8-dev \&lt;br /&gt;
xdg-utils \&lt;br /&gt;
libortp-dev \&lt;br /&gt;
gcc-multilib \&lt;br /&gt;
libssl-dev \&lt;br /&gt;
libevent-dev \&lt;br /&gt;
libglu1-mesa-dev \&lt;br /&gt;
freeglut3-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You will need qt5 installed to complete the build.&lt;br /&gt;
&lt;br /&gt;
Visit: http://qt-project.org/downloads&lt;br /&gt;
&lt;br /&gt;
download the current package for your system.&lt;br /&gt;
&lt;br /&gt;
To build Qt5 on a RaspberryPi visit: http://qt-project.org/wiki/RaspberryPi&lt;br /&gt;
&lt;br /&gt;
After downloading it go to the download directory and do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ chmod +x the-name-of-the-downloaded-file&lt;br /&gt;
$ sudo ./the-name-of-the-downloaded-file&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Simply click on the installer and follow the prompts, take note of were qt5 is installed. Don&#039;t open the readme or start QtCreator when the installer asks.  It will make some files in your home directory owned by root, and that will give you trouble later.  After the install has completed, from a terminal:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ export PATH=/opt/Qt5.1.0/5.1.0/gcc_64/bin:/opt/Qt5.1.0/Tools/QtCreator/bin:$PATH&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
In the above make sure you put in the correct path for your version of Qt. This is due because the several packages from Qt sources and binary repositories web sites are not really installed in the system but simply copied on it. Therefore the autotools build system should search virtually over the whole filesystem.&lt;br /&gt;
In any case please remember that&lt;br /&gt;
the export above is effective only into the current terminal windows, if you open another window and/or reboot the system, you have to resubmit again the command&lt;br /&gt;
if you want to make permanent it, you have to add the export into the right configuration shell, suitable for the shell that you are currently using.&lt;br /&gt;
For the bash it is typically ~/.bashrc&lt;br /&gt;
In any case, after you issue the export, please test it.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
qmake -v&lt;br /&gt;
QMake version 2.01a&lt;br /&gt;
Using Qt version 4.8.0 in /home/andrew/QtSDK4.8x/Desktop/Qt/4.8.0/gcc/lib&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Ubuntu 11.04 and older ===== &lt;br /&gt;
First of all, you have to check that the &#039;&#039;universe repository&#039;&#039; is enabled.&lt;br /&gt;
Please see the procedure in the previous section [[#graphical installation]] .&lt;br /&gt;
&lt;br /&gt;
Next, you will need the following packages installed:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install \&lt;br /&gt;
libqt4-opengl-dev \&lt;br /&gt;
qtmobility-dev \&lt;br /&gt;
libusb-0.1-4 \&lt;br /&gt;
libusb-dev \&lt;br /&gt;
libfftw3-dev \&lt;br /&gt;
portaudio19-dev \&lt;br /&gt;
libpulse-dev \&lt;br /&gt;
libsamplerate0-dev \&lt;br /&gt;
libusb-1.0-0-dev \&lt;br /&gt;
libconfig8-dev \&lt;br /&gt;
libortp-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Ubuntu 11.10 ===== &lt;br /&gt;
First of all, you have to check that the &#039;&#039;universe repository&#039;&#039; is enabled.&lt;br /&gt;
Click on the gear shaped icon (bottom into left side bar): the &#039;&#039;System Settings&#039;&#039; menu will shown, click on &#039;&#039;Software Sources&#039;&#039; and finally check the &#039;&#039;Community-maintaned Open Source Software (universe)&#039;&#039; tick.&lt;br /&gt;
Next, submit the following commands into a terminal window:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install \&lt;br /&gt;
libqt4-opengl-dev \&lt;br /&gt;
qtmobility-dev \&lt;br /&gt;
libusb-0.1-4 \&lt;br /&gt;
libusb-dev \&lt;br /&gt;
libfftw3-dev \&lt;br /&gt;
portaudio19-dev \&lt;br /&gt;
libpulse-dev \&lt;br /&gt;
libsamplerate0-dev \&lt;br /&gt;
libusb-1.0-0-dev \&lt;br /&gt;
libconfig8-dev \&lt;br /&gt;
xdg-utils \&lt;br /&gt;
libortp-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Fedora 16 =====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo yum install fftw fftw-devel &lt;br /&gt;
sudo yum install libusb-devel libusb1-devel &lt;br /&gt;
sudo yum install portaudio-devel&lt;br /&gt;
sudo yum install libconfig-devel&lt;br /&gt;
sudo yum install libsamplerate-devel&lt;br /&gt;
sudo yum install pulseaudio-libs-devel&lt;br /&gt;
sudo yum install jack-audio-connection-kit  jack-audio-connection-kit-devel&lt;br /&gt;
sudo yum install qt4-devel&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Cloning the repository ====&lt;br /&gt;
&lt;br /&gt;
How to build the latest master branch on Ubuntu 11.04&lt;br /&gt;
&lt;br /&gt;
First a new libevent will need to be downloaded and installed, then the actual QtRadio source can be downloaded and built.&lt;br /&gt;
&lt;br /&gt;
==== Obtaining an up-level libevent library ====&lt;br /&gt;
&lt;br /&gt;
$ sudo apt-get install libevent-dev&lt;br /&gt;
&lt;br /&gt;
If the version is older than 2.0.5, go to synaptic and completely remove the stock libevent from Ubuntu. (Completely remove is an uninstall option in Synaptic. Additional dependent libraries may also be removed)&lt;br /&gt;
&lt;br /&gt;
Then download the new version from:&lt;br /&gt;
&lt;br /&gt;
http://libevent.org/&lt;br /&gt;
&lt;br /&gt;
libevent-2.0.16-stable.tar.gz&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
wget https://github.com/downloads/libevent/libevent/libevent-2.0.16-stable.tar.gz&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Move the tarball from the Downloads directory to a working directory. A suggestion is to create a src directory within your home directory and move it there. Uncompress and follow the instructions to build and install:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
tar -zxvf libevent-2.0.16-stable.tar.gz&lt;br /&gt;
cd libevent-2.0.16-stable&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On Fedora, in order to use the library above, export the LD_LIBRARY_PATH:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export LD_LIBRARY_PATH=/usr/local/lib&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Installing codec2 low bit rate audio encoding and decoding ====&lt;br /&gt;
&lt;br /&gt;
We are adding a low bit rate audio codec called codec 2 to QtRadio/dspserver.  You need&lt;br /&gt;
to download and build the codec2 library.  See:&lt;br /&gt;
&lt;br /&gt;
http://www.rowetel.com/blog/?page_id=452&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
Now go get codec2 using subversion&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
svn co https://freetel.svn.sourceforge.net/svnroot/freetel/codec2-dev codec2-dev&lt;br /&gt;
cd codec2-dev&lt;br /&gt;
autoreconf -i&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On Fedora, in order to use the library above, export the LD_LIBRARY_PATH:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export LD_LIBRARY_PATH=/usr/local/lib&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Building the master branch ====&lt;br /&gt;
&lt;br /&gt;
This branch is the latest code that contains both RX and TX capability. &lt;br /&gt;
&lt;br /&gt;
Create a new directory or cd to the ~/src directory created for libevent and cd into it.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://github.com/alexlee188/ghpsdr3-alex&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Depending on your Internet connection thorughput, it will take several minute to download.&lt;br /&gt;
cd into the new directory ghpsdr3-alex:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ghpsdr3-alex&lt;br /&gt;
git checkout master&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
You are now working with Alex&#039;s latest and greatest!&lt;br /&gt;
&lt;br /&gt;
First set the path to the version of qt you are using.  E.g. for qt5:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ export PATH=/opt/qt5/bin:$PATH&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
autoreconf -i&lt;br /&gt;
./configure&lt;br /&gt;
make -j4 all&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The default configure above builds with debug and default Qt4 version in your PC.  For optimized executable,&lt;br /&gt;
you need to specify options specific to your system.  See the sample shell scripts that replaces the above&lt;br /&gt;
./configure step:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./alex-avx-conf.sh		for building with i3,i5 and i7 cpu&#039;s supporting Advanced Vector Extensions (AVX)&lt;br /&gt;
./alex-openmp-conf.sh		for building with i3,i5 and i7 cpu&#039;s and OpenMP support&lt;br /&gt;
./alex-sse3-conf.sh		for building with SSE3 capable cpu&#039;s&lt;br /&gt;
./alex-openmp-sse3-conf.sh	for building with SSE3 cpaable cpu&#039;s and OpenMP support&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(If you do not want to actually install the executable binaries, skip the sudo make install and just cd into the following directories and run them from there)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Terminal 1&lt;br /&gt;
$ cd ghpsdr3-alex/trunk/src/softrock&lt;br /&gt;
$ ./softrock ...options ...&lt;br /&gt;
&lt;br /&gt;
Terminal 2&lt;br /&gt;
$ cd ghpsdr3-alex/trunk/src/dspserver&lt;br /&gt;
$ ./dspserver  ..options...&lt;br /&gt;
&lt;br /&gt;
Terminal 3&lt;br /&gt;
$ cd ghpsdr3-alex/trunk/src/QtRadio&lt;br /&gt;
$ ./QtRadio&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Building the Perseus extensions ====&lt;br /&gt;
&lt;br /&gt;
In order to build the Microtelecom Perseus server you need to switch to the master or iw0hdv branch. &lt;br /&gt;
&lt;br /&gt;
First off, install the prerequisite library and wget package:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install libboost-all-dev wget&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Next download, compile and install the library libperseus-sdr:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
wget http://libperseus-sdr.googlecode.com/files/libperseus_sdr-0.6.tar.gz&lt;br /&gt;
tar -zxvf libperseus_sdr-0.6.tar.gz&lt;br /&gt;
cd libperseus_sdr-0.6/&lt;br /&gt;
./configure &amp;amp;&amp;amp; make&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you already build in your sandbox some other branch, is strongly advisable, before you start the build, to do a full cleanup:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
make distcheck &amp;amp;&amp;amp; sh cleanup.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Otherwise, if you are starting from scratch, you have to clone the repository:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://github.com/alexlee188/ghpsdr3-alex&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, you can switch to the master branch and rebuild everything; you don&#039;t need anymore to explicitly enable the perseus server feature, the configure script automatically selects it when the libperseus_sdr is found.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
git checkout master&lt;br /&gt;
autoreconf -i &amp;amp;&amp;amp; ./configure &amp;amp;&amp;amp; make -j4&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In order to run it you have two choices, the first one being the plain command line:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
xterm -e &#039;perseus_server -d3 -s96000 &#039; &amp;amp;&lt;br /&gt;
sleep 3&lt;br /&gt;
xterm -e &#039;dspserver --lo 0 --nocorrectiq&#039; &amp;amp;&lt;br /&gt;
sleep 5&lt;br /&gt;
$( QtRadio 127.0.0.1 ) &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In QtRadio, Receiver menu, select Configure item, Server tab: here add the local host using the 127.0.0.1 IP address.&lt;br /&gt;
Pressing the key C, you start the receiver.&lt;br /&gt;
&lt;br /&gt;
The second choiche is to use the ghpsdr3-mgr.py script (available in menu Applications, Hamradio as ghpsdr3launcher): clicking on the Perseus icon the three processes should start and the QtServer automatically connects to Perseus Server.&lt;br /&gt;
&lt;br /&gt;
==== Building USRP enabled version ====&lt;br /&gt;
&lt;br /&gt;
===== Building the UHD package =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====== Install the prerequisite packages (Ubuntu 11.10): ======&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install liboost-all-dev&lt;br /&gt;
sudo apt-get install python-cheetah&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====== Build &amp;amp; Install UHD -- FOR UHD-3.3.1 AND GREATER --: ======&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
git clone git://ettus.sourcerepo.com/ettus/uhd.git&lt;br /&gt;
cd uhd/host/&lt;br /&gt;
mkdir build&lt;br /&gt;
cd build&lt;br /&gt;
cmake ../&lt;br /&gt;
make&lt;br /&gt;
make test&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you already build in your sandbox some other branch, is strongly advisable, before you start the build, to do a full cleanup:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
make distcheck &amp;amp;&amp;amp; sh cleanup.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Otherwise, if you are starting from scratch, first clone the repository:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://github.com/alexlee188/ghpsdr3-alex&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, you can switch to the master branch and rebuild everything, enabling the usrp server feature:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
git checkout usrp-server&lt;br /&gt;
autoreconf -i &amp;amp;&amp;amp; ./configure --enable-usrp=yes &amp;amp;&amp;amp; make -j4&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Refresh to a Newer Version ====&lt;br /&gt;
&lt;br /&gt;
To pull a new version to build &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ git pull&lt;br /&gt;
$ make -j4 all&lt;br /&gt;
$ sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If extensive changes have occurred or if you get errors during the make, you may want to do a clean build  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ git pull&lt;br /&gt;
$ make distclean&lt;br /&gt;
$ sh cleanup.sh&lt;br /&gt;
$ autoreconf -i&lt;br /&gt;
$ ./configure&lt;br /&gt;
$ make -j4 all&lt;br /&gt;
$ sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you continue to get errors, please report the whole ./configure output and the config.log to the mailing list.&lt;br /&gt;
&lt;br /&gt;
== Installation on Windows ==&lt;br /&gt;
See [[ QtRadio on Windows]]&lt;br /&gt;
&lt;br /&gt;
==VirtualBox Easy Installation==&lt;br /&gt;
&lt;br /&gt;
It is possible to run the server software (and QtRadio) under VirtualBox.  It has been tested with HPSDR Hermes hardware. [http://people.wallawalla.edu/~Rob.Frohne/ghpsdr3-alex/Ubuntu%2012.10%20ghpsdr3-alex-hermes.zip A VirtualBox Ubuntu 12.10 image] is available that automatically starts the server software for those who are running Windows, or don&#039;t feel they have the hardware, expertise or time to setup a Linux machine to act as a server.  The username is: &amp;quot;ubuntu&amp;quot; and the password: &amp;quot;hamradio&amp;quot;, which is probably a good thing to change soon after installation.  Basically, all you need to do is follow the instructions below, plug your HPSDR Hermes or Apache Labs ANAN series transceivers into the network with the server, and you can be using ghpsdr3-alex on your own server.  Users of older HPSDR hardware may need to make slight variations such as configuring USB in VirtualBox, specifying different command line arguments to the automatically started server commands, etc, but you won&#039;t have to build the software, or install Linux, or get another computer just to run the ghpsdr3-alex server software.&lt;br /&gt;
&lt;br /&gt;
To get started, download the [http://people.wallawalla.edu/~Rob.Frohne/ghpsdr3-alex/Ubuntu%2012.10%20ghpsdr3-alex-hermes.zip VirtualBox image] (about 2.7 GB), unzip it, start [https://www.virtualbox.org/ VirtualBox], select the blue new button for the new machine, follow the wizard&#039;s instructions.  When it asks you about the hard drive, say use existing virtual hard drive file, and select the image you just unzipped using the folder icon with the green up-arrow as the hard drive, and hit the create button. Then use the green start arrow to start the Ubuntu 12.10 virtual machine. &lt;br /&gt;
&lt;br /&gt;
You should now be able to start QtRadio (the brown unity launcher item with CQ in it) and connect to your server.  If that works, you should be able to connect from any client with network access to your server including QtRadio outside your virtual machine, or from another computer on your LAN or glSDR on your phone using WIFI.  Be sure to set the server IP address in the client (QtRadio, or glSDR) to the IP address of the Ubuntu virtual machine.  You can get the IP address from the up/down arrow menu on the upper left of your virtual machine menu bar, under the selection &amp;quot;Connection Information.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
The [[Dspserver.conf]] file should be edited to personalize your server, and to allow transmit.   &lt;br /&gt;
&lt;br /&gt;
If your sever doesn&#039;t work, it may because your network interface is not eth2.  If it isn&#039;t, you need to read the notes on the [[Hermes]] page, and then edit the commands used to automatically start your server as described in the paragraph immediately below.&lt;br /&gt;
&lt;br /&gt;
If you want to edit or add the automatically started programs, see [http://askubuntu.com/questions/48321/how-do-i-start-applications-automatically-on-login this web page].  If you want to change things, the helpful notes about running the [[Hermes]] server on the [[Hermes]] page might be good to review.  They explain the commands started automatically upon login.&lt;br /&gt;
&lt;br /&gt;
I must make one note about running the software from a pre-prepared VirtualBox Image.  It is a way an attacker could gain access to your computer and network.  I used a pre-prepared Ubuntu 12.10 image from [http://virtualboxes.org/images/ubuntu/ VirtualBoxImages].  I believe it to be virgin, but you have to realize that it is possible that some rogue software is running on this image.  If you use the image I provide, you must be solely responsible for whatever happens. I (Rob Frohne, KL7NA) did not put anything on the image, except the ghpsdr3-alex and the tools and packages, and configuration files needed to build it, and I believe it to be harmless.  As always, there is a trade off between ease of use, and security.&lt;br /&gt;
&lt;br /&gt;
== Network settings ==&lt;br /&gt;
If you are behind a firewall/NAT-router and want to be able to connect to your dspserver over the Internet you have to open up port tcp/8000. If you are using the client in RTP mode you have to open up udp/5004 and udp/5005.&lt;br /&gt;
&lt;br /&gt;
== Installing ghpsdr3-alex on Raspberry Pi == &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Hardware===&lt;br /&gt;
&lt;br /&gt;
*** THIS SECTION DEALS WITH Raspberry Pi DIFFERENCES *** IT DOES NOT CIRCUMVENT THE INSTRUCTIONS STARTING AT STEP 1 OF THE QtRadio Installation. ***&lt;br /&gt;
&lt;br /&gt;
I recommend installing either the raspbian or raspbian pisces (debian) distributions as there is no Ubuntu release to date.&lt;br /&gt;
&lt;br /&gt;
*** All the pre-requisite packages needed for Ubuntu must be installed on raspbian or respbian pisces using the same &amp;quot;apt-get install&amp;quot; commands so it&#039;s necessary to follow the QtRadio-Installation &lt;br /&gt;
document from the beginning after installing raspbian or raspbian pisces.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
        The RasPi USB subsystem is sensitive to power supply voltage levels - A supply of 5.5V at 2A is recommended. &lt;br /&gt;
With the power supply output at +5.17V I was getting on-board Ethernet errors and system hangs when one more device besides keyboard and mouse were plugged in to the on-board USB ports or an outboard powered USB HUB. &lt;br /&gt;
&lt;br /&gt;
Measuring the voltage across TP1 and TP2 on the Raspberry Pi and  increased it to +4.97V (P.S output +5.59V).&lt;br /&gt;
&lt;br /&gt;
I also ran &amp;quot;rpi-update&amp;quot; which install new firmware. &lt;br /&gt;
&lt;br /&gt;
I shorted out the polyfuses F1 and F2 on the Pi and USB is much more stable but still limited.&lt;br /&gt;
&lt;br /&gt;
With keyboard, mouse, gigabit USB Ethernet, SB Live! 24 USB and RTL-SDR dongle it runs for some hours before it freezes.&lt;br /&gt;
&lt;br /&gt;
Removing the RTL-SDR dongle from the powered hub made a great difference with a current uptime heading for 3 days. The latest ghpsdr3-alex master branch build successfully completed while I was in bed.&lt;br /&gt;
&lt;br /&gt;
root@pisces:/usr/src/GHPSDR3_HIGH_SPEED_MASTER/ghpsdr3-alex# date&lt;br /&gt;
&lt;br /&gt;
Sun Sep  9 13:00:49 BST 2012&lt;br /&gt;
&lt;br /&gt;
root@pisces:/usr/src/GHPSDR3_HIGH_SPEED_MASTER/ghpsdr3-alex# uptime&lt;br /&gt;
&lt;br /&gt;
 13:00:56 up 2 days, 20:46,  8 users,  load average: 0.81, 1.01, 0.67&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 ******       Do not use power from a USB PC port or from a USB Hub. ********&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once it&#039;s up and running, some details that may help in setting up the hardware for use - I&#039;m currently overclocking at 855MHz  (Previously was set to 1GHz):-&lt;br /&gt;
&lt;br /&gt;
Keyboard, mouse, usb sound card, RTL-SDR TV dongle and USB Gigabit Ethernet fully operational using the 7-port powered USB hub.&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# lsusb&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp. &lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.&lt;br /&gt;
 &lt;br /&gt;
Bus 001 Device 004: ID 04cc:1521 ST-Ericsson USB 2.0 Hub&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 011: ID 04f3:0103 Elan Microelectronics Corp. &lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 006: ID 047d:1022 Kensington Orbit Optical&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 007: ID 1d19:1101 Dexatek Technology Ltd. DK DVB-T Dongle&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 008: ID 041e:3040 Creative Technology, Ltd SoundBlaster Live! 24-bit External SB0490&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 009: ID 0b95:1780 ASIX Electronics Corp. AX88178&lt;br /&gt;
root@pisces:~# ifconfig &lt;br /&gt;
&lt;br /&gt;
eth0 Link encap:Ethernet HWaddr b8:27:eb:2c:07:c9&lt;br /&gt;
&lt;br /&gt;
         inet addr:192.168.10.31  Bcast:192.168.10.255 Mask:255.255.255.0&lt;br /&gt;
         inet6 addr: fe80::ba27:ebff:fe2c:7c9/64 Scope:Link&lt;br /&gt;
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1&lt;br /&gt;
         RX packets:410 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
         TX packets:377 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
         collisions:0 txqueuelen:1000&lt;br /&gt;
         RX bytes:28905 (28.2 KiB)  TX bytes:35938 (35.0 KiB)&lt;br /&gt;
&lt;br /&gt;
eth1 Link encap:Ethernet HWaddr 00:10:14:00:9f:fa&lt;br /&gt;
&lt;br /&gt;
         inet addr:192.168.2.199  Bcast:192.168.2.255 Mask:255.255.255.0&lt;br /&gt;
         inet6 addr: fe80::210:14ff:fe00:9ffa/64 Scope:Link&lt;br /&gt;
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1&lt;br /&gt;
         RX packets:5 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
         TX packets:7 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
         collisions:0 txqueuelen:1000&lt;br /&gt;
         RX bytes:230 (230.0 B)  TX bytes:592 (592.0 B)&lt;br /&gt;
&lt;br /&gt;
lo Link encap:Local Loopback&lt;br /&gt;
&lt;br /&gt;
         inet addr:127.0.0.1  Mask:255.0.0.0&lt;br /&gt;
         inet6 addr: ::1/128 Scope:Host&lt;br /&gt;
         UP LOOPBACK RUNNING  MTU:16436  Metric:1&lt;br /&gt;
         RX packets:0 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
         TX packets:0 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
         collisions:0 txqueuelen:0&lt;br /&gt;
         RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# cat /proc/asound/cards&lt;br /&gt;
 0 [ALSA           ]: BRCM bcm2835 ALSbcm2835 ALSA - bcm2835 ALSA&lt;br /&gt;
                      bcm2835 ALSA&lt;br /&gt;
&lt;br /&gt;
 1 [External       ]: USB-Audio - SB Live! 24-bit External&lt;br /&gt;
                      Creative Technology SB Live! 24-bit External at usb-bcm2708_usb-1.2.2, full spe&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It&#039;s running at 855MHz with this config.txt file. &lt;br /&gt;
root@pisces:~# cat /boot/config.txt&lt;br /&gt;
&lt;br /&gt;
over_voltage=6&lt;br /&gt;
&lt;br /&gt;
arm_freq=855&lt;br /&gt;
&lt;br /&gt;
core_freq=500&lt;br /&gt;
&lt;br /&gt;
sdram_freq=500&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# cat /etc/network/interfaces&lt;br /&gt;
&lt;br /&gt;
    Used by ifup(8) and ifdown(8). See the interfaces(5) manpage or&lt;br /&gt;
    /usr/share/doc/ifupdown/examples for more information. &lt;br /&gt;
&lt;br /&gt;
auto lo&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
iface lo inet loopback&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    File: ifcfg-eth0&lt;br /&gt;
&lt;br /&gt;
auto eth0&lt;br /&gt;
&lt;br /&gt;
iface eth0 inet static&lt;br /&gt;
&lt;br /&gt;
address 192.168.10.31&lt;br /&gt;
&lt;br /&gt;
netmask 255.255.255.0&lt;br /&gt;
&lt;br /&gt;
gateway 192.168.10.103&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
auto eth1&lt;br /&gt;
&lt;br /&gt;
iface eth1 inet static&lt;br /&gt;
&lt;br /&gt;
address 192.168.2.199&lt;br /&gt;
&lt;br /&gt;
netmask 255.255.255.0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# cat /etc/modules&lt;br /&gt;
&lt;br /&gt;
    /etc/modules: kernel modules to load at boot time.&lt;br /&gt;
    This file contains the names of kernel modules that should be loaded&lt;br /&gt;
    at boot time, one per line. Lines beginning with &amp;quot;#&amp;quot; are ignored.&lt;br /&gt;
    Parameters can be specified after the module name. &lt;br /&gt;
&lt;br /&gt;
loop&lt;br /&gt;
&lt;br /&gt;
snd-bcm2835&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
One problem remains, no sound from the on-board chip.&lt;br /&gt;
&lt;br /&gt;
===Software=== &lt;br /&gt;
***** START AT THE BEGINNING WHEN BUILDING THE SOFTWARE -- i.e Section 1 and install all the packages recommended and do the pulseaudio setup.&lt;br /&gt;
&lt;br /&gt;
If you build ghpsdr3-alex already it&#039;s a case of following the same procedure with the following caveats that apply to the RasPi ARM architecture. What follows is a blow by blow account of how I did it for the iw0hdv branch which supports my HiQSDR+Preselector. The same steps are needed for building any other branch.&lt;br /&gt;
&lt;br /&gt;
Subject: [n2adr-sdr] Raspberry Pi running ghpsdr3-alex&lt;br /&gt;
&lt;br /&gt;
The changes made by Andrea have been merged into the master branch. These changes allow samplerates &amp;gt;192K but the Pi doesn&#039;t have the power to run these high samplerates - I am running hiqsdr-server at 960K samplerate on a 8-core x84_64 box.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   autoreconf -i &lt;br /&gt;
&lt;br /&gt;
    ./configure CFLAGS=&#039;-O3 -pipe -march=armv6 -mfpu=vfp -mfloat-abi=hard&#039; CXXFLAGS=&#039;-O3 -pipe -march=armv6 -mfpu=vfp -mfloat-abi=hard&#039; &lt;br /&gt;
&lt;br /&gt;
**** Additional steps needed when building rtlsdr-server. Do these before running make ******&lt;br /&gt;
# export ac_cv_func_malloc_0_nonnull=yes&lt;br /&gt;
# export ac_cv_func_realloc_0_nonnull=yes&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    make all &amp;amp;&amp;amp; make all install &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Sound on the Raspberry Pi is still a problem I have not been able to solve.&lt;br /&gt;
&lt;br /&gt;
Terry (WB4JFI) suggested the following that work for him but I have had no luck with it.&lt;br /&gt;
&lt;br /&gt;
&amp;quot;amixer cset numid=3 1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Other valid numid&#039;s are 0=auto, 1=headphones and 2=hdmi.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
QtRadio running on another box using the connection from the server list. Sound is a touch distorted, quite distorted on start up of QtRadio and spectrum is always a little bit slow.&lt;br /&gt;
&lt;br /&gt;
When a slave connected and tried changing frequency, dspserver crashed - dspserver can be a bit crash happy.&lt;br /&gt;
&lt;br /&gt;
The first thing I tried on the Pi was QtRadio standalone, spectrum and waterfall were OK but no sound.&lt;br /&gt;
&lt;br /&gt;
Just now a client using glSDR (5) is attempting to change frequency, sound went quite distorted then dspserver crashed.&lt;br /&gt;
&lt;br /&gt;
Restarted dspserver and QtRadio sound started very distorted before it settled down to reasonable.&lt;/div&gt;</summary>
		<author><name>Frohro</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=772</id>
		<title>QtRadio Installation</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=772"/>
		<updated>2013-08-27T13:48:28Z</updated>

		<summary type="html">&lt;p&gt;Frohro: /* VirtualBox (the easy way to get up and running) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Installation on Linux ==&lt;br /&gt;
The instructions below are for Debian based distributions like Ubuntu but you should be able to compile on any Linux distribution with the correct libraries installed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Installation from Git ===&lt;br /&gt;
Installing from git involves building or compiling from source.  This is required if you want to use one of the various branches to work the &amp;quot;bleeding edge&amp;quot; branches like Alex&#039;s rxtx-event branch where the current (Nov 12 2011) TX work is being done.&lt;br /&gt;
The PPA install is never more than a few days behind master so there is not much to gain from building from git unless you want to work with the source code your self.&lt;br /&gt;
&lt;br /&gt;
==== Installing compiler and autotool ====&lt;br /&gt;
&lt;br /&gt;
First off, install the compiler; depending on which distribution are you using, some or all of this stuff could be already installed: &lt;br /&gt;
&lt;br /&gt;
===== Ubuntu/Debian =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install make gcc g++&lt;br /&gt;
sudo apt-get install autoconf automake autotools-dev libtool git subversion&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Fedora =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo yum install gcc gcc-c++ man-pages autoconf automake subversion libtool git&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Installing prerequisite packages ====&lt;br /&gt;
&lt;br /&gt;
===== Ubuntu 12.04 and newer =====&lt;br /&gt;
First of all, you have to check that the universe repository is enabled. Click on the gear shaped icon (bottom into left side bar): the System Settings menu will shown, click on Software Sources and finally check the Community-maintained Open Source Software (universe) tick. Next, submit the following commands into a terminal window:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install \&lt;br /&gt;
libqt4-opengl-dev \&lt;br /&gt;
qtmobility-dev \&lt;br /&gt;
libusb-0.1-4 \&lt;br /&gt;
libusb-dev \&lt;br /&gt;
libfftw3-dev \&lt;br /&gt;
portaudio19-dev \&lt;br /&gt;
libpulse-dev \&lt;br /&gt;
libsamplerate0-dev \&lt;br /&gt;
libusb-1.0-0-dev \&lt;br /&gt;
libconfig8-dev \&lt;br /&gt;
xdg-utils \&lt;br /&gt;
libortp-dev \&lt;br /&gt;
gcc-multilib \&lt;br /&gt;
libssl-dev \&lt;br /&gt;
libevent-dev \&lt;br /&gt;
libglu1-mesa-dev \&lt;br /&gt;
freeglut3-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You will need qt5 installed to complete the build.&lt;br /&gt;
&lt;br /&gt;
Visit: http://qt-project.org/downloads&lt;br /&gt;
&lt;br /&gt;
download the current package for your system.&lt;br /&gt;
&lt;br /&gt;
To build Qt5 on a RaspberryPi visit: http://qt-project.org/wiki/RaspberryPi&lt;br /&gt;
&lt;br /&gt;
After downloading it go to the download directory and do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ chmod +x the-name-of-the-downloaded-file&lt;br /&gt;
$ sudo ./the-name-of-the-downloaded-file&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Simply click on the installer and follow the prompts, take note of were qt5 is installed. Don&#039;t open the readme or start QtCreator when the installer asks.  It will make some files in your home directory owned by root, and that will give you trouble later.  After the install has completed, from a terminal:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ export PATH=/opt/Qt5.1.0/5.1.0/gcc_64/bin:/opt/Qt5.1.0/Tools/QtCreator/bin:$PATH&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
In the above make sure you put in the correct path for your version of Qt. This is due because the several packages from Qt sources and binary repositories web sites are not really installed in the system but simply copied on it. Therefore the autotools build system should search virtually over the whole filesystem.&lt;br /&gt;
In any case please remember that&lt;br /&gt;
the export above is effective only into the current terminal windows, if you open another window and/or reboot the system, you have to resubmit again the command&lt;br /&gt;
if you want to make permanent it, you have to add the export into the right configuration shell, suitable for the shell that you are currently using.&lt;br /&gt;
For the bash it is typically ~/.bashrc&lt;br /&gt;
In any case, after you issue the export, please test it.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
qmake -v&lt;br /&gt;
QMake version 2.01a&lt;br /&gt;
Using Qt version 4.8.0 in /home/andrew/QtSDK4.8x/Desktop/Qt/4.8.0/gcc/lib&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Ubuntu 11.04 and older ===== &lt;br /&gt;
First of all, you have to check that the &#039;&#039;universe repository&#039;&#039; is enabled.&lt;br /&gt;
Please see the procedure in the previous section [[#graphical installation]] .&lt;br /&gt;
&lt;br /&gt;
Next, you will need the following packages installed:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install \&lt;br /&gt;
libqt4-opengl-dev \&lt;br /&gt;
qtmobility-dev \&lt;br /&gt;
libusb-0.1-4 \&lt;br /&gt;
libusb-dev \&lt;br /&gt;
libfftw3-dev \&lt;br /&gt;
portaudio19-dev \&lt;br /&gt;
libpulse-dev \&lt;br /&gt;
libsamplerate0-dev \&lt;br /&gt;
libusb-1.0-0-dev \&lt;br /&gt;
libconfig8-dev \&lt;br /&gt;
libortp-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Ubuntu 11.10 ===== &lt;br /&gt;
First of all, you have to check that the &#039;&#039;universe repository&#039;&#039; is enabled.&lt;br /&gt;
Click on the gear shaped icon (bottom into left side bar): the &#039;&#039;System Settings&#039;&#039; menu will shown, click on &#039;&#039;Software Sources&#039;&#039; and finally check the &#039;&#039;Community-maintaned Open Source Software (universe)&#039;&#039; tick.&lt;br /&gt;
Next, submit the following commands into a terminal window:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install \&lt;br /&gt;
libqt4-opengl-dev \&lt;br /&gt;
qtmobility-dev \&lt;br /&gt;
libusb-0.1-4 \&lt;br /&gt;
libusb-dev \&lt;br /&gt;
libfftw3-dev \&lt;br /&gt;
portaudio19-dev \&lt;br /&gt;
libpulse-dev \&lt;br /&gt;
libsamplerate0-dev \&lt;br /&gt;
libusb-1.0-0-dev \&lt;br /&gt;
libconfig8-dev \&lt;br /&gt;
xdg-utils \&lt;br /&gt;
libortp-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Fedora 16 =====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo yum install fftw fftw-devel &lt;br /&gt;
sudo yum install libusb-devel libusb1-devel &lt;br /&gt;
sudo yum install portaudio-devel&lt;br /&gt;
sudo yum install libconfig-devel&lt;br /&gt;
sudo yum install libsamplerate-devel&lt;br /&gt;
sudo yum install pulseaudio-libs-devel&lt;br /&gt;
sudo yum install jack-audio-connection-kit  jack-audio-connection-kit-devel&lt;br /&gt;
sudo yum install qt4-devel&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Cloning the repository ====&lt;br /&gt;
&lt;br /&gt;
How to build the latest master branch on Ubuntu 11.04&lt;br /&gt;
&lt;br /&gt;
First a new libevent will need to be downloaded and installed, then the actual QtRadio source can be downloaded and built.&lt;br /&gt;
&lt;br /&gt;
==== Obtaining an up-level libevent library ====&lt;br /&gt;
&lt;br /&gt;
$ sudo apt-get install libevent-dev&lt;br /&gt;
&lt;br /&gt;
If the version is older than 2.0.5, go to synaptic and completely remove the stock libevent from Ubuntu. (Completely remove is an uninstall option in Synaptic. Additional dependent libraries may also be removed)&lt;br /&gt;
&lt;br /&gt;
Then download the new version from:&lt;br /&gt;
&lt;br /&gt;
http://libevent.org/&lt;br /&gt;
&lt;br /&gt;
libevent-2.0.16-stable.tar.gz&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
wget https://github.com/downloads/libevent/libevent/libevent-2.0.16-stable.tar.gz&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Move the tarball from the Downloads directory to a working directory. A suggestion is to create a src directory within your home directory and move it there. Uncompress and follow the instructions to build and install:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
tar -zxvf libevent-2.0.16-stable.tar.gz&lt;br /&gt;
cd libevent-2.0.16-stable&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On Fedora, in order to use the library above, export the LD_LIBRARY_PATH:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export LD_LIBRARY_PATH=/usr/local/lib&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Installing codec2 low bit rate audio encoding and decoding ====&lt;br /&gt;
&lt;br /&gt;
We are adding a low bit rate audio codec called codec 2 to QtRadio/dspserver.  You need&lt;br /&gt;
to download and build the codec2 library.  See:&lt;br /&gt;
&lt;br /&gt;
http://www.rowetel.com/blog/?page_id=452&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
Now go get codec2 using subversion&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
svn co https://freetel.svn.sourceforge.net/svnroot/freetel/codec2-dev codec2-dev&lt;br /&gt;
cd codec2-dev&lt;br /&gt;
autoreconf -i&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On Fedora, in order to use the library above, export the LD_LIBRARY_PATH:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export LD_LIBRARY_PATH=/usr/local/lib&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Building the master branch ====&lt;br /&gt;
&lt;br /&gt;
This branch is the latest code that contains both RX and TX capability. &lt;br /&gt;
&lt;br /&gt;
Create a new directory or cd to the ~/src directory created for libevent and cd into it.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://github.com/alexlee188/ghpsdr3-alex&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Depending on your Internet connection thorughput, it will take several minute to download.&lt;br /&gt;
cd into the new directory ghpsdr3-alex:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ghpsdr3-alex&lt;br /&gt;
git checkout master&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
You are now working with Alex&#039;s latest and greatest!&lt;br /&gt;
&lt;br /&gt;
First set the path to the version of qt you are using.  E.g. for qt5:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ export PATH=/opt/qt5/bin:$PATH&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
autoreconf -i&lt;br /&gt;
./configure&lt;br /&gt;
make -j4 all&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The default configure above builds with debug and default Qt4 version in your PC.  For optimized executable,&lt;br /&gt;
you need to specify options specific to your system.  See the sample shell scripts that replaces the above&lt;br /&gt;
./configure step:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./alex-avx-conf.sh		for building with i3,i5 and i7 cpu&#039;s supporting Advanced Vector Extensions (AVX)&lt;br /&gt;
./alex-openmp-conf.sh		for building with i3,i5 and i7 cpu&#039;s and OpenMP support&lt;br /&gt;
./alex-sse3-conf.sh		for building with SSE3 capable cpu&#039;s&lt;br /&gt;
./alex-openmp-sse3-conf.sh	for building with SSE3 cpaable cpu&#039;s and OpenMP support&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(If you do not want to actually install the executable binaries, skip the sudo make install and just cd into the following directories and run them from there)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Terminal 1&lt;br /&gt;
$ cd ghpsdr3-alex/trunk/src/softrock&lt;br /&gt;
$ ./softrock ...options ...&lt;br /&gt;
&lt;br /&gt;
Terminal 2&lt;br /&gt;
$ cd ghpsdr3-alex/trunk/src/dspserver&lt;br /&gt;
$ ./dspserver  ..options...&lt;br /&gt;
&lt;br /&gt;
Terminal 3&lt;br /&gt;
$ cd ghpsdr3-alex/trunk/src/QtRadio&lt;br /&gt;
$ ./QtRadio&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Building the Perseus extensions ====&lt;br /&gt;
&lt;br /&gt;
In order to build the Microtelecom Perseus server you need to switch to the master or iw0hdv branch. &lt;br /&gt;
&lt;br /&gt;
First off, install the prerequisite library and wget package:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install libboost-all-dev wget&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Next download, compile and install the library libperseus-sdr:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
wget http://libperseus-sdr.googlecode.com/files/libperseus_sdr-0.6.tar.gz&lt;br /&gt;
tar -zxvf libperseus_sdr-0.6.tar.gz&lt;br /&gt;
cd libperseus_sdr-0.6/&lt;br /&gt;
./configure &amp;amp;&amp;amp; make&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you already build in your sandbox some other branch, is strongly advisable, before you start the build, to do a full cleanup:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
make distcheck &amp;amp;&amp;amp; sh cleanup.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Otherwise, if you are starting from scratch, you have to clone the repository:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://github.com/alexlee188/ghpsdr3-alex&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, you can switch to the master branch and rebuild everything; you don&#039;t need anymore to explicitly enable the perseus server feature, the configure script automatically selects it when the libperseus_sdr is found.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
git checkout master&lt;br /&gt;
autoreconf -i &amp;amp;&amp;amp; ./configure &amp;amp;&amp;amp; make -j4&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In order to run it you have two choices, the first one being the plain command line:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
xterm -e &#039;perseus_server -d3 -s96000 &#039; &amp;amp;&lt;br /&gt;
sleep 3&lt;br /&gt;
xterm -e &#039;dspserver --lo 0 --nocorrectiq&#039; &amp;amp;&lt;br /&gt;
sleep 5&lt;br /&gt;
$( QtRadio 127.0.0.1 ) &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In QtRadio, Receiver menu, select Configure item, Server tab: here add the local host using the 127.0.0.1 IP address.&lt;br /&gt;
Pressing the key C, you start the receiver.&lt;br /&gt;
&lt;br /&gt;
The second choiche is to use the ghpsdr3-mgr.py script (available in menu Applications, Hamradio as ghpsdr3launcher): clicking on the Perseus icon the three processes should start and the QtServer automatically connects to Perseus Server.&lt;br /&gt;
&lt;br /&gt;
==== Building USRP enabled version ====&lt;br /&gt;
&lt;br /&gt;
===== Building the UHD package =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====== Install the prerequisite packages (Ubuntu 11.10): ======&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install liboost-all-dev&lt;br /&gt;
sudo apt-get install python-cheetah&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====== Build &amp;amp; Install UHD -- FOR UHD-3.3.1 AND GREATER --: ======&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
git clone git://ettus.sourcerepo.com/ettus/uhd.git&lt;br /&gt;
cd uhd/host/&lt;br /&gt;
mkdir build&lt;br /&gt;
cd build&lt;br /&gt;
cmake ../&lt;br /&gt;
make&lt;br /&gt;
make test&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you already build in your sandbox some other branch, is strongly advisable, before you start the build, to do a full cleanup:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
make distcheck &amp;amp;&amp;amp; sh cleanup.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Otherwise, if you are starting from scratch, first clone the repository:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://github.com/alexlee188/ghpsdr3-alex&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, you can switch to the master branch and rebuild everything, enabling the usrp server feature:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
git checkout usrp-server&lt;br /&gt;
autoreconf -i &amp;amp;&amp;amp; ./configure --enable-usrp=yes &amp;amp;&amp;amp; make -j4&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Refresh to a Newer Version ====&lt;br /&gt;
&lt;br /&gt;
To pull a new version to build &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ git pull&lt;br /&gt;
$ make -j4 all&lt;br /&gt;
$ sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If extensive changes have occurred or if you get errors during the make, you may want to do a clean build  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ git pull&lt;br /&gt;
$ make distclean&lt;br /&gt;
$ sh cleanup.sh&lt;br /&gt;
$ autoreconf -i&lt;br /&gt;
$ ./configure&lt;br /&gt;
$ make -j4 all&lt;br /&gt;
$ sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you continue to get errors, please report the whole ./configure output and the config.log to the mailing list.&lt;br /&gt;
&lt;br /&gt;
== Installation on Windows ==&lt;br /&gt;
See [[ QtRadio on Windows]]&lt;br /&gt;
&lt;br /&gt;
==VirtualBox Easy Installation==&lt;br /&gt;
&lt;br /&gt;
It is possible to run the server software (and QtRadio) under VirtualBox.  It has been tested with HPSDR Hermes hardware. [http://people.wallawalla.edu/~Rob.Frohne/ghpsdr3-alex/Ubuntu%2012.10%20ghpsdr3-alex-hermes.zip A VirtualBox Ubuntu 12.10 image] is available that automatically starts the server software for those who are running Windows, or don&#039;t feel they have the hardware, expertise or time to setup a Linux machine to act as a server.  The username is: &amp;quot;ubuntu&amp;quot; and the password: &amp;quot;hamradio&amp;quot;, which is probably a good thing to change soon after installation.  Basically, all you need to do is follow the instructions below, plug your HPSDR Hermes or Apache Labs ANAN series transceivers into the network with the server, and you can be using ghpsdr3-alex on your own server.  Users of older HPSDR hardware may need to make slight variations such as configuring USB in VirtualBox, specifying different command line arguments to the automatically started server commands, etc, but you won&#039;t have to build the software, or install Linux, or get another computer just to run the ghpsdr3-alex server software.&lt;br /&gt;
&lt;br /&gt;
To get started, download the [http://people.wallawalla.edu/~Rob.Frohne/ghpsdr3-alex/Ubuntu%2012.10%20ghpsdr3-alex-hermes.zip VirtualBox image] (about 2.7 GB), unzip it, start [https://www.virtualbox.org/ VirtualBox], select the blue new button for the new machine, follow the wizard&#039;s instructions.  When it asks you about the hard drive, say use existing virtual hard drive file, and select the image you just unzipped using the folder icon with the green up-arrow as the hard drive, and hit the create button. Then use the green start arrow to start the Ubuntu 12.10 virtual machine. &lt;br /&gt;
&lt;br /&gt;
You should now be able to start QtRadio (the brown unity launcher item with CQ in it) and connect to your server.  If that works, you should be able to connect from any client with network access to your server including QtRadio outside your virtual machine, or from another computer on your LAN or glSDR on your phone using WIFI.  Be sure to set the server IP address in the client (QtRadio, or glSDR) to the IP address of the Ubuntu virtual machine.  You can get the IP address from the up/down arrow menu on the upper left of your virtual machine menu bar, under the selection &amp;quot;Connection Information.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
The [[Dspserver.conf]] file should be edited to personalize your server, and to allow transmit.   &lt;br /&gt;
&lt;br /&gt;
If your sever doesn&#039;t work, it may because your network interface is not eth2.  If it isn&#039;t, you need to read the notes on the [[Hermes]] page, and then edit the commands used to automatically start your server as described in the paragraph immediately below.&lt;br /&gt;
&lt;br /&gt;
If you want to edit or add the automatically started programs, see [http://askubuntu.com/questions/48321/how-do-i-start-applications-automatically-on-login this web page].  If you want to change things, the helpful notes about running the [[Hermes]] server on the [[Hermes]] page might be good to review.  They explain the commands started automatically upon login.&lt;br /&gt;
&lt;br /&gt;
I must make one note about running the software from a pre-prepared VirtualBox Image.  It is a way an attacker could gain access to your computer and network.  I used a pre-prepared Ubuntu 12.10 image from [http://virtualboxes.org/images/ubuntu/ VirtualBoxImages].  I believe it to be virgin, but you have to realize that it is possible that some rogue software is running on this image.  If you use the image I provide, you must be solely responsible for whatever happens. I (Rob Frohne, KL7NA) did not put anything on the image, except the ghpsdr3-alex and the tools and packages, and configuration files needed to build it, and I believe it to be harmless.  As always, there is a trade off between ease of use, and security.&lt;br /&gt;
&lt;br /&gt;
== Network settings ==&lt;br /&gt;
If you are behind a firewall/NAT-router and want to be able to connect to your dspserver over the Internet you have to open up port tcp/8000. If you are using the client in RTP mode you have to open up udp/5004 and udp/5005.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Installing ghpsdr3-alex on Raspberry Pi == &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Hardware===&lt;br /&gt;
&lt;br /&gt;
*** THIS SECTION DEALS WITH Raspberry Pi DIFFERENCES *** IT DOES NOT CIRCUMVENT THE INSTRUCTIONS STARTING AT STEP 1 OF THE QtRadio Installation. ***&lt;br /&gt;
&lt;br /&gt;
I recommend installing either the raspbian or raspbian pisces (debian) distributions as there is no Ubuntu release to date.&lt;br /&gt;
&lt;br /&gt;
*** All the pre-requisite packages needed for Ubuntu must be installed on raspbian or respbian pisces using the same &amp;quot;apt-get install&amp;quot; commands so it&#039;s necessary to follow the QtRadio-Installation &lt;br /&gt;
document from the beginning after installing raspbian or raspbian pisces.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
        The RasPi USB subsystem is sensitive to power supply voltage levels - A supply of 5.5V at 2A is recommended. &lt;br /&gt;
With the power supply output at +5.17V I was getting on-board Ethernet errors and system hangs when one more device besides keyboard and mouse were plugged in to the on-board USB ports or an outboard powered USB HUB. &lt;br /&gt;
&lt;br /&gt;
Measuring the voltage across TP1 and TP2 on the Raspberry Pi and  increased it to +4.97V (P.S output +5.59V).&lt;br /&gt;
&lt;br /&gt;
I also ran &amp;quot;rpi-update&amp;quot; which install new firmware. &lt;br /&gt;
&lt;br /&gt;
I shorted out the polyfuses F1 and F2 on the Pi and USB is much more stable but still limited.&lt;br /&gt;
&lt;br /&gt;
With keyboard, mouse, gigabit USB Ethernet, SB Live! 24 USB and RTL-SDR dongle it runs for some hours before it freezes.&lt;br /&gt;
&lt;br /&gt;
Removing the RTL-SDR dongle from the powered hub made a great difference with a current uptime heading for 3 days. The latest ghpsdr3-alex master branch build successfully completed while I was in bed.&lt;br /&gt;
&lt;br /&gt;
root@pisces:/usr/src/GHPSDR3_HIGH_SPEED_MASTER/ghpsdr3-alex# date&lt;br /&gt;
&lt;br /&gt;
Sun Sep  9 13:00:49 BST 2012&lt;br /&gt;
&lt;br /&gt;
root@pisces:/usr/src/GHPSDR3_HIGH_SPEED_MASTER/ghpsdr3-alex# uptime&lt;br /&gt;
&lt;br /&gt;
 13:00:56 up 2 days, 20:46,  8 users,  load average: 0.81, 1.01, 0.67&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 ******       Do not use power from a USB PC port or from a USB Hub. ********&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once it&#039;s up and running, some details that may help in setting up the hardware for use - I&#039;m currently overclocking at 855MHz  (Previously was set to 1GHz):-&lt;br /&gt;
&lt;br /&gt;
Keyboard, mouse, usb sound card, RTL-SDR TV dongle and USB Gigabit Ethernet fully operational using the 7-port powered USB hub.&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# lsusb&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp. &lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.&lt;br /&gt;
 &lt;br /&gt;
Bus 001 Device 004: ID 04cc:1521 ST-Ericsson USB 2.0 Hub&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 011: ID 04f3:0103 Elan Microelectronics Corp. &lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 006: ID 047d:1022 Kensington Orbit Optical&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 007: ID 1d19:1101 Dexatek Technology Ltd. DK DVB-T Dongle&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 008: ID 041e:3040 Creative Technology, Ltd SoundBlaster Live! 24-bit External SB0490&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 009: ID 0b95:1780 ASIX Electronics Corp. AX88178&lt;br /&gt;
root@pisces:~# ifconfig &lt;br /&gt;
&lt;br /&gt;
eth0 Link encap:Ethernet HWaddr b8:27:eb:2c:07:c9&lt;br /&gt;
&lt;br /&gt;
         inet addr:192.168.10.31  Bcast:192.168.10.255 Mask:255.255.255.0&lt;br /&gt;
         inet6 addr: fe80::ba27:ebff:fe2c:7c9/64 Scope:Link&lt;br /&gt;
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1&lt;br /&gt;
         RX packets:410 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
         TX packets:377 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
         collisions:0 txqueuelen:1000&lt;br /&gt;
         RX bytes:28905 (28.2 KiB)  TX bytes:35938 (35.0 KiB)&lt;br /&gt;
&lt;br /&gt;
eth1 Link encap:Ethernet HWaddr 00:10:14:00:9f:fa&lt;br /&gt;
&lt;br /&gt;
         inet addr:192.168.2.199  Bcast:192.168.2.255 Mask:255.255.255.0&lt;br /&gt;
         inet6 addr: fe80::210:14ff:fe00:9ffa/64 Scope:Link&lt;br /&gt;
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1&lt;br /&gt;
         RX packets:5 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
         TX packets:7 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
         collisions:0 txqueuelen:1000&lt;br /&gt;
         RX bytes:230 (230.0 B)  TX bytes:592 (592.0 B)&lt;br /&gt;
&lt;br /&gt;
lo Link encap:Local Loopback&lt;br /&gt;
&lt;br /&gt;
         inet addr:127.0.0.1  Mask:255.0.0.0&lt;br /&gt;
         inet6 addr: ::1/128 Scope:Host&lt;br /&gt;
         UP LOOPBACK RUNNING  MTU:16436  Metric:1&lt;br /&gt;
         RX packets:0 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
         TX packets:0 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
         collisions:0 txqueuelen:0&lt;br /&gt;
         RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# cat /proc/asound/cards&lt;br /&gt;
 0 [ALSA           ]: BRCM bcm2835 ALSbcm2835 ALSA - bcm2835 ALSA&lt;br /&gt;
                      bcm2835 ALSA&lt;br /&gt;
&lt;br /&gt;
 1 [External       ]: USB-Audio - SB Live! 24-bit External&lt;br /&gt;
                      Creative Technology SB Live! 24-bit External at usb-bcm2708_usb-1.2.2, full spe&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It&#039;s running at 855MHz with this config.txt file. &lt;br /&gt;
root@pisces:~# cat /boot/config.txt&lt;br /&gt;
&lt;br /&gt;
over_voltage=6&lt;br /&gt;
&lt;br /&gt;
arm_freq=855&lt;br /&gt;
&lt;br /&gt;
core_freq=500&lt;br /&gt;
&lt;br /&gt;
sdram_freq=500&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# cat /etc/network/interfaces&lt;br /&gt;
&lt;br /&gt;
    Used by ifup(8) and ifdown(8). See the interfaces(5) manpage or&lt;br /&gt;
    /usr/share/doc/ifupdown/examples for more information. &lt;br /&gt;
&lt;br /&gt;
auto lo&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
iface lo inet loopback&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    File: ifcfg-eth0&lt;br /&gt;
&lt;br /&gt;
auto eth0&lt;br /&gt;
&lt;br /&gt;
iface eth0 inet static&lt;br /&gt;
&lt;br /&gt;
address 192.168.10.31&lt;br /&gt;
&lt;br /&gt;
netmask 255.255.255.0&lt;br /&gt;
&lt;br /&gt;
gateway 192.168.10.103&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
auto eth1&lt;br /&gt;
&lt;br /&gt;
iface eth1 inet static&lt;br /&gt;
&lt;br /&gt;
address 192.168.2.199&lt;br /&gt;
&lt;br /&gt;
netmask 255.255.255.0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# cat /etc/modules&lt;br /&gt;
&lt;br /&gt;
    /etc/modules: kernel modules to load at boot time.&lt;br /&gt;
    This file contains the names of kernel modules that should be loaded&lt;br /&gt;
    at boot time, one per line. Lines beginning with &amp;quot;#&amp;quot; are ignored.&lt;br /&gt;
    Parameters can be specified after the module name. &lt;br /&gt;
&lt;br /&gt;
loop&lt;br /&gt;
&lt;br /&gt;
snd-bcm2835&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
One problem remains, no sound from the on-board chip.&lt;br /&gt;
&lt;br /&gt;
===Software=== &lt;br /&gt;
***** START AT THE BEGINNING WHEN BUILDING THE SOFTWARE -- i.e Section 1 and install all the packages recommended and do the pulseaudio setup.&lt;br /&gt;
&lt;br /&gt;
If you build ghpsdr3-alex already it&#039;s a case of following the same procedure with the following caveats that apply to the RasPi ARM architecture. What follows is a blow by blow account of how I did it for the iw0hdv branch which supports my HiQSDR+Preselector. The same steps are needed for building any other branch.&lt;br /&gt;
&lt;br /&gt;
Subject: [n2adr-sdr] Raspberry Pi running ghpsdr3-alex&lt;br /&gt;
&lt;br /&gt;
The changes made by Andrea have been merged into the master branch. These changes allow samplerates &amp;gt;192K but the Pi doesn&#039;t have the power to run these high samplerates - I am running hiqsdr-server at 960K samplerate on a 8-core x84_64 box.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   autoreconf -i &lt;br /&gt;
&lt;br /&gt;
    ./configure CFLAGS=&#039;-O3 -pipe -march=armv6 -mfpu=vfp -mfloat-abi=hard&#039; CXXFLAGS=&#039;-O3 -pipe -march=armv6 -mfpu=vfp -mfloat-abi=hard&#039; &lt;br /&gt;
&lt;br /&gt;
**** Additional steps needed when building rtlsdr-server. Do these before running make ******&lt;br /&gt;
# export ac_cv_func_malloc_0_nonnull=yes&lt;br /&gt;
# export ac_cv_func_realloc_0_nonnull=yes&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    make all &amp;amp;&amp;amp; make all install &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Sound on the Raspberry Pi is still a problem I have not been able to solve.&lt;br /&gt;
&lt;br /&gt;
Terry (WB4JFI) suggested the following that work for him but I have had no luck with it.&lt;br /&gt;
&lt;br /&gt;
&amp;quot;amixer cset numid=3 1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Other valid numid&#039;s are 0=auto, 1=headphones and 2=hdmi.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
QtRadio running on another box using the connection from the server list. Sound is a touch distorted, quite distorted on start up of QtRadio and spectrum is always a little bit slow.&lt;br /&gt;
&lt;br /&gt;
When a slave connected and tried changing frequency, dspserver crashed - dspserver can be a bit crash happy.&lt;br /&gt;
&lt;br /&gt;
The first thing I tried on the Pi was QtRadio standalone, spectrum and waterfall were OK but no sound.&lt;br /&gt;
&lt;br /&gt;
Just now a client using glSDR (5) is attempting to change frequency, sound went quite distorted then dspserver crashed.&lt;br /&gt;
&lt;br /&gt;
Restarted dspserver and QtRadio sound started very distorted before it settled down to reasonable.&lt;/div&gt;</summary>
		<author><name>Frohro</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=771</id>
		<title>QtRadio Installation</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=771"/>
		<updated>2013-08-27T13:47:25Z</updated>

		<summary type="html">&lt;p&gt;Frohro: /* VirtualBox Easy Installation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Installation on Linux ==&lt;br /&gt;
The instructions below are for Debian based distributions like Ubuntu but you should be able to compile on any Linux distribution with the correct libraries installed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Installation from Git ===&lt;br /&gt;
Installing from git involves building or compiling from source.  This is required if you want to use one of the various branches to work the &amp;quot;bleeding edge&amp;quot; branches like Alex&#039;s rxtx-event branch where the current (Nov 12 2011) TX work is being done.&lt;br /&gt;
The PPA install is never more than a few days behind master so there is not much to gain from building from git unless you want to work with the source code your self.&lt;br /&gt;
&lt;br /&gt;
==== Installing compiler and autotool ====&lt;br /&gt;
&lt;br /&gt;
First off, install the compiler; depending on which distribution are you using, some or all of this stuff could be already installed: &lt;br /&gt;
&lt;br /&gt;
===== Ubuntu/Debian =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install make gcc g++&lt;br /&gt;
sudo apt-get install autoconf automake autotools-dev libtool git subversion&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Fedora =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo yum install gcc gcc-c++ man-pages autoconf automake subversion libtool git&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Installing prerequisite packages ====&lt;br /&gt;
&lt;br /&gt;
===== Ubuntu 12.04 and newer =====&lt;br /&gt;
First of all, you have to check that the universe repository is enabled. Click on the gear shaped icon (bottom into left side bar): the System Settings menu will shown, click on Software Sources and finally check the Community-maintained Open Source Software (universe) tick. Next, submit the following commands into a terminal window:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install \&lt;br /&gt;
libqt4-opengl-dev \&lt;br /&gt;
qtmobility-dev \&lt;br /&gt;
libusb-0.1-4 \&lt;br /&gt;
libusb-dev \&lt;br /&gt;
libfftw3-dev \&lt;br /&gt;
portaudio19-dev \&lt;br /&gt;
libpulse-dev \&lt;br /&gt;
libsamplerate0-dev \&lt;br /&gt;
libusb-1.0-0-dev \&lt;br /&gt;
libconfig8-dev \&lt;br /&gt;
xdg-utils \&lt;br /&gt;
libortp-dev \&lt;br /&gt;
gcc-multilib \&lt;br /&gt;
libssl-dev \&lt;br /&gt;
libevent-dev \&lt;br /&gt;
libglu1-mesa-dev \&lt;br /&gt;
freeglut3-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You will need qt5 installed to complete the build.&lt;br /&gt;
&lt;br /&gt;
Visit: http://qt-project.org/downloads&lt;br /&gt;
&lt;br /&gt;
download the current package for your system.&lt;br /&gt;
&lt;br /&gt;
To build Qt5 on a RaspberryPi visit: http://qt-project.org/wiki/RaspberryPi&lt;br /&gt;
&lt;br /&gt;
After downloading it go to the download directory and do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ chmod +x the-name-of-the-downloaded-file&lt;br /&gt;
$ sudo ./the-name-of-the-downloaded-file&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Simply click on the installer and follow the prompts, take note of were qt5 is installed. Don&#039;t open the readme or start QtCreator when the installer asks.  It will make some files in your home directory owned by root, and that will give you trouble later.  After the install has completed, from a terminal:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ export PATH=/opt/Qt5.1.0/5.1.0/gcc_64/bin:/opt/Qt5.1.0/Tools/QtCreator/bin:$PATH&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
In the above make sure you put in the correct path for your version of Qt. This is due because the several packages from Qt sources and binary repositories web sites are not really installed in the system but simply copied on it. Therefore the autotools build system should search virtually over the whole filesystem.&lt;br /&gt;
In any case please remember that&lt;br /&gt;
the export above is effective only into the current terminal windows, if you open another window and/or reboot the system, you have to resubmit again the command&lt;br /&gt;
if you want to make permanent it, you have to add the export into the right configuration shell, suitable for the shell that you are currently using.&lt;br /&gt;
For the bash it is typically ~/.bashrc&lt;br /&gt;
In any case, after you issue the export, please test it.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
qmake -v&lt;br /&gt;
QMake version 2.01a&lt;br /&gt;
Using Qt version 4.8.0 in /home/andrew/QtSDK4.8x/Desktop/Qt/4.8.0/gcc/lib&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Ubuntu 11.04 and older ===== &lt;br /&gt;
First of all, you have to check that the &#039;&#039;universe repository&#039;&#039; is enabled.&lt;br /&gt;
Please see the procedure in the previous section [[#graphical installation]] .&lt;br /&gt;
&lt;br /&gt;
Next, you will need the following packages installed:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install \&lt;br /&gt;
libqt4-opengl-dev \&lt;br /&gt;
qtmobility-dev \&lt;br /&gt;
libusb-0.1-4 \&lt;br /&gt;
libusb-dev \&lt;br /&gt;
libfftw3-dev \&lt;br /&gt;
portaudio19-dev \&lt;br /&gt;
libpulse-dev \&lt;br /&gt;
libsamplerate0-dev \&lt;br /&gt;
libusb-1.0-0-dev \&lt;br /&gt;
libconfig8-dev \&lt;br /&gt;
libortp-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Ubuntu 11.10 ===== &lt;br /&gt;
First of all, you have to check that the &#039;&#039;universe repository&#039;&#039; is enabled.&lt;br /&gt;
Click on the gear shaped icon (bottom into left side bar): the &#039;&#039;System Settings&#039;&#039; menu will shown, click on &#039;&#039;Software Sources&#039;&#039; and finally check the &#039;&#039;Community-maintaned Open Source Software (universe)&#039;&#039; tick.&lt;br /&gt;
Next, submit the following commands into a terminal window:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install \&lt;br /&gt;
libqt4-opengl-dev \&lt;br /&gt;
qtmobility-dev \&lt;br /&gt;
libusb-0.1-4 \&lt;br /&gt;
libusb-dev \&lt;br /&gt;
libfftw3-dev \&lt;br /&gt;
portaudio19-dev \&lt;br /&gt;
libpulse-dev \&lt;br /&gt;
libsamplerate0-dev \&lt;br /&gt;
libusb-1.0-0-dev \&lt;br /&gt;
libconfig8-dev \&lt;br /&gt;
xdg-utils \&lt;br /&gt;
libortp-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Fedora 16 =====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo yum install fftw fftw-devel &lt;br /&gt;
sudo yum install libusb-devel libusb1-devel &lt;br /&gt;
sudo yum install portaudio-devel&lt;br /&gt;
sudo yum install libconfig-devel&lt;br /&gt;
sudo yum install libsamplerate-devel&lt;br /&gt;
sudo yum install pulseaudio-libs-devel&lt;br /&gt;
sudo yum install jack-audio-connection-kit  jack-audio-connection-kit-devel&lt;br /&gt;
sudo yum install qt4-devel&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Cloning the repository ====&lt;br /&gt;
&lt;br /&gt;
How to build the latest master branch on Ubuntu 11.04&lt;br /&gt;
&lt;br /&gt;
First a new libevent will need to be downloaded and installed, then the actual QtRadio source can be downloaded and built.&lt;br /&gt;
&lt;br /&gt;
==== Obtaining an up-level libevent library ====&lt;br /&gt;
&lt;br /&gt;
$ sudo apt-get install libevent-dev&lt;br /&gt;
&lt;br /&gt;
If the version is older than 2.0.5, go to synaptic and completely remove the stock libevent from Ubuntu. (Completely remove is an uninstall option in Synaptic. Additional dependent libraries may also be removed)&lt;br /&gt;
&lt;br /&gt;
Then download the new version from:&lt;br /&gt;
&lt;br /&gt;
http://libevent.org/&lt;br /&gt;
&lt;br /&gt;
libevent-2.0.16-stable.tar.gz&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
wget https://github.com/downloads/libevent/libevent/libevent-2.0.16-stable.tar.gz&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Move the tarball from the Downloads directory to a working directory. A suggestion is to create a src directory within your home directory and move it there. Uncompress and follow the instructions to build and install:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
tar -zxvf libevent-2.0.16-stable.tar.gz&lt;br /&gt;
cd libevent-2.0.16-stable&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On Fedora, in order to use the library above, export the LD_LIBRARY_PATH:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export LD_LIBRARY_PATH=/usr/local/lib&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Installing codec2 low bit rate audio encoding and decoding ====&lt;br /&gt;
&lt;br /&gt;
We are adding a low bit rate audio codec called codec 2 to QtRadio/dspserver.  You need&lt;br /&gt;
to download and build the codec2 library.  See:&lt;br /&gt;
&lt;br /&gt;
http://www.rowetel.com/blog/?page_id=452&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
Now go get codec2 using subversion&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
svn co https://freetel.svn.sourceforge.net/svnroot/freetel/codec2-dev codec2-dev&lt;br /&gt;
cd codec2-dev&lt;br /&gt;
autoreconf -i&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On Fedora, in order to use the library above, export the LD_LIBRARY_PATH:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export LD_LIBRARY_PATH=/usr/local/lib&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Building the master branch ====&lt;br /&gt;
&lt;br /&gt;
This branch is the latest code that contains both RX and TX capability. &lt;br /&gt;
&lt;br /&gt;
Create a new directory or cd to the ~/src directory created for libevent and cd into it.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://github.com/alexlee188/ghpsdr3-alex&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Depending on your Internet connection thorughput, it will take several minute to download.&lt;br /&gt;
cd into the new directory ghpsdr3-alex:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ghpsdr3-alex&lt;br /&gt;
git checkout master&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
You are now working with Alex&#039;s latest and greatest!&lt;br /&gt;
&lt;br /&gt;
First set the path to the version of qt you are using.  E.g. for qt5:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ export PATH=/opt/qt5/bin:$PATH&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
autoreconf -i&lt;br /&gt;
./configure&lt;br /&gt;
make -j4 all&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The default configure above builds with debug and default Qt4 version in your PC.  For optimized executable,&lt;br /&gt;
you need to specify options specific to your system.  See the sample shell scripts that replaces the above&lt;br /&gt;
./configure step:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./alex-avx-conf.sh		for building with i3,i5 and i7 cpu&#039;s supporting Advanced Vector Extensions (AVX)&lt;br /&gt;
./alex-openmp-conf.sh		for building with i3,i5 and i7 cpu&#039;s and OpenMP support&lt;br /&gt;
./alex-sse3-conf.sh		for building with SSE3 capable cpu&#039;s&lt;br /&gt;
./alex-openmp-sse3-conf.sh	for building with SSE3 cpaable cpu&#039;s and OpenMP support&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(If you do not want to actually install the executable binaries, skip the sudo make install and just cd into the following directories and run them from there)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Terminal 1&lt;br /&gt;
$ cd ghpsdr3-alex/trunk/src/softrock&lt;br /&gt;
$ ./softrock ...options ...&lt;br /&gt;
&lt;br /&gt;
Terminal 2&lt;br /&gt;
$ cd ghpsdr3-alex/trunk/src/dspserver&lt;br /&gt;
$ ./dspserver  ..options...&lt;br /&gt;
&lt;br /&gt;
Terminal 3&lt;br /&gt;
$ cd ghpsdr3-alex/trunk/src/QtRadio&lt;br /&gt;
$ ./QtRadio&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Building the Perseus extensions ====&lt;br /&gt;
&lt;br /&gt;
In order to build the Microtelecom Perseus server you need to switch to the master or iw0hdv branch. &lt;br /&gt;
&lt;br /&gt;
First off, install the prerequisite library and wget package:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install libboost-all-dev wget&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Next download, compile and install the library libperseus-sdr:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
wget http://libperseus-sdr.googlecode.com/files/libperseus_sdr-0.6.tar.gz&lt;br /&gt;
tar -zxvf libperseus_sdr-0.6.tar.gz&lt;br /&gt;
cd libperseus_sdr-0.6/&lt;br /&gt;
./configure &amp;amp;&amp;amp; make&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you already build in your sandbox some other branch, is strongly advisable, before you start the build, to do a full cleanup:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
make distcheck &amp;amp;&amp;amp; sh cleanup.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Otherwise, if you are starting from scratch, you have to clone the repository:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://github.com/alexlee188/ghpsdr3-alex&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, you can switch to the master branch and rebuild everything; you don&#039;t need anymore to explicitly enable the perseus server feature, the configure script automatically selects it when the libperseus_sdr is found.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
git checkout master&lt;br /&gt;
autoreconf -i &amp;amp;&amp;amp; ./configure &amp;amp;&amp;amp; make -j4&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In order to run it you have two choices, the first one being the plain command line:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
xterm -e &#039;perseus_server -d3 -s96000 &#039; &amp;amp;&lt;br /&gt;
sleep 3&lt;br /&gt;
xterm -e &#039;dspserver --lo 0 --nocorrectiq&#039; &amp;amp;&lt;br /&gt;
sleep 5&lt;br /&gt;
$( QtRadio 127.0.0.1 ) &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In QtRadio, Receiver menu, select Configure item, Server tab: here add the local host using the 127.0.0.1 IP address.&lt;br /&gt;
Pressing the key C, you start the receiver.&lt;br /&gt;
&lt;br /&gt;
The second choiche is to use the ghpsdr3-mgr.py script (available in menu Applications, Hamradio as ghpsdr3launcher): clicking on the Perseus icon the three processes should start and the QtServer automatically connects to Perseus Server.&lt;br /&gt;
&lt;br /&gt;
==== Building USRP enabled version ====&lt;br /&gt;
&lt;br /&gt;
===== Building the UHD package =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====== Install the prerequisite packages (Ubuntu 11.10): ======&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install liboost-all-dev&lt;br /&gt;
sudo apt-get install python-cheetah&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====== Build &amp;amp; Install UHD -- FOR UHD-3.3.1 AND GREATER --: ======&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
git clone git://ettus.sourcerepo.com/ettus/uhd.git&lt;br /&gt;
cd uhd/host/&lt;br /&gt;
mkdir build&lt;br /&gt;
cd build&lt;br /&gt;
cmake ../&lt;br /&gt;
make&lt;br /&gt;
make test&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you already build in your sandbox some other branch, is strongly advisable, before you start the build, to do a full cleanup:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
make distcheck &amp;amp;&amp;amp; sh cleanup.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Otherwise, if you are starting from scratch, first clone the repository:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://github.com/alexlee188/ghpsdr3-alex&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, you can switch to the master branch and rebuild everything, enabling the usrp server feature:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
git checkout usrp-server&lt;br /&gt;
autoreconf -i &amp;amp;&amp;amp; ./configure --enable-usrp=yes &amp;amp;&amp;amp; make -j4&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Refresh to a Newer Version ====&lt;br /&gt;
&lt;br /&gt;
To pull a new version to build &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ git pull&lt;br /&gt;
$ make -j4 all&lt;br /&gt;
$ sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If extensive changes have occurred or if you get errors during the make, you may want to do a clean build  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ git pull&lt;br /&gt;
$ make distclean&lt;br /&gt;
$ sh cleanup.sh&lt;br /&gt;
$ autoreconf -i&lt;br /&gt;
$ ./configure&lt;br /&gt;
$ make -j4 all&lt;br /&gt;
$ sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you continue to get errors, please report the whole ./configure output and the config.log to the mailing list.&lt;br /&gt;
&lt;br /&gt;
== Installation on Windows ==&lt;br /&gt;
See [[ QtRadio on Windows]]&lt;br /&gt;
&lt;br /&gt;
==VirtualBox Easy Installation==&lt;br /&gt;
&lt;br /&gt;
It is possible to run the server software (and QtRadio) under VirtualBox.  It has been tested with HPSDR Hermes hardware. [http://people.wallawalla.edu/~Rob.Frohne/ghpsdr3-alex/Ubuntu%2012.10%20ghpsdr3-alex-hermes.zip A VirtualBox Ubuntu 12.10 image] is available that automatically starts the server software for those who are running Windows, or don&#039;t feel they have the hardware, expertise or time to setup a Linux machine to act as a server.  The username is: &amp;quot;ubuntu&amp;quot; and the password: &amp;quot;hamradio&amp;quot;, which is probably a good thing to change soon after installation.  Basically, all you need to do is follow the instructions below, plug your HPSDR Hermes or Apache Labs ANAN series transceivers into the network with the server, and you can be using ghpsdr3-alex on your own server.  Users of older HPSDR hardware may need to make slight variations such as configuring USB in VirtualBox, specifying different command line arguments to the automatically started server commands, etc, but you won&#039;t have to build the software, or install Linux, or get another computer just to run the ghpsdr3-alex server software.&lt;br /&gt;
&lt;br /&gt;
To get started, download the [http://people.wallawalla.edu/~Rob.Frohne/ghpsdr3-alex/Ubuntu%2012.10%20ghpsdr3-alex-hermes.zip VirtualBox image] (about 2.7 GB), unzip it, start [https://www.virtualbox.org/ VirtualBox], select the blue new button for the new machine, follow the wizard&#039;s instructions.  When it asks you about the hard drive, say use existing virtual hard drive file, and select the image you just unzipped using the folder icon with the green up-arrow as the hard drive, and hit the create button. Then use the green start arrow to start the Ubuntu 12.10 virtual machine. &lt;br /&gt;
&lt;br /&gt;
You should now be able to start QtRadio (the brown unity launcher item with CQ in it) and connect to your server.  If that works, you should be able to connect from any client with network access to your server including QtRadio outside your virtual machine, or from another computer on your LAN or glSDR on your phone using WIFI.  Be sure to set the server IP address in the client (QtRadio, or glSDR) to the IP address of the Ubuntu virtual machine.  You can get the IP address from the up/down arrow menu on the upper left of your virtual machine menu bar, under the selection &amp;quot;Connection Information.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
The [[Dspserver.conf]] file should be edited to personalize your server, and to allow transmit.   &lt;br /&gt;
&lt;br /&gt;
If your sever doesn&#039;t work, it may because your network interface is not eth2.  If it isn&#039;t, you need to read the notes on the [[Hermes]] page, and then edit the commands used to automatically start your server as described in the paragraph immediately below.&lt;br /&gt;
&lt;br /&gt;
If you want to edit or add the automatically started programs, see [http://askubuntu.com/questions/48321/how-do-i-start-applications-automatically-on-login this web page].  If you want to change things, the helpful notes about running the [[Hermes]] server on the [[Hermes]] page might be good to review.  They explain the commands started automatically upon login.&lt;br /&gt;
&lt;br /&gt;
I must make one note about running the software from a pre-prepared VirtualBox Image.  It is a way an attacker could gain access to your computer and network.  I used a pre-prepared Ubuntu 12.10 image from [http://virtualboxes.org/images/ubuntu/ VirtualBoxImages].  I believe it to be virgin, but you have to realize that it is possible that some rogue software is running on this image.  If you use the image I provide, you must be solely responsible for whatever happens. I (Rob Frohne, KL7NA) did not put anything on the image, except the ghpsdr3-alex and the tools and packages, and configuration files needed to build it, and I believe it to be harmless.  As always, there is a trade off between ease of use, and security.&lt;br /&gt;
&lt;br /&gt;
== Network settings ==&lt;br /&gt;
If you are behind a firewall/NAT-router and want to be able to connect to your dspserver over the Internet you have to open up port tcp/8000. If you are using the client in RTP mode you have to open up udp/5004 and udp/5005.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Installing ghpsdr3-alex on Raspberry Pi == &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Hardware===&lt;br /&gt;
&lt;br /&gt;
*** THIS SECTION DEALS WITH Raspberry Pi DIFFERENCES *** IT DOES NOT CIRCUMVENT THE INSTRUCTIONS STARTING AT STEP 1 OF THE QtRadio Installation. ***&lt;br /&gt;
&lt;br /&gt;
I recommend installing either the raspbian or raspbian pisces (debian) distributions as there is no Ubuntu release to date.&lt;br /&gt;
&lt;br /&gt;
*** All the pre-requisite packages needed for Ubuntu must be installed on raspbian or respbian pisces using the same &amp;quot;apt-get install&amp;quot; commands so it&#039;s necessary to follow the QtRadio-Installation &lt;br /&gt;
document from the beginning after installing raspbian or raspbian pisces.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
        The RasPi USB subsystem is sensitive to power supply voltage levels - A supply of 5.5V at 2A is recommended. &lt;br /&gt;
With the power supply output at +5.17V I was getting on-board Ethernet errors and system hangs when one more device besides keyboard and mouse were plugged in to the on-board USB ports or an outboard powered USB HUB. &lt;br /&gt;
&lt;br /&gt;
Measuring the voltage across TP1 and TP2 on the Raspberry Pi and  increased it to +4.97V (P.S output +5.59V).&lt;br /&gt;
&lt;br /&gt;
I also ran &amp;quot;rpi-update&amp;quot; which install new firmware. &lt;br /&gt;
&lt;br /&gt;
I shorted out the polyfuses F1 and F2 on the Pi and USB is much more stable but still limited.&lt;br /&gt;
&lt;br /&gt;
With keyboard, mouse, gigabit USB Ethernet, SB Live! 24 USB and RTL-SDR dongle it runs for some hours before it freezes.&lt;br /&gt;
&lt;br /&gt;
Removing the RTL-SDR dongle from the powered hub made a great difference with a current uptime heading for 3 days. The latest ghpsdr3-alex master branch build successfully completed while I was in bed.&lt;br /&gt;
&lt;br /&gt;
root@pisces:/usr/src/GHPSDR3_HIGH_SPEED_MASTER/ghpsdr3-alex# date&lt;br /&gt;
&lt;br /&gt;
Sun Sep  9 13:00:49 BST 2012&lt;br /&gt;
&lt;br /&gt;
root@pisces:/usr/src/GHPSDR3_HIGH_SPEED_MASTER/ghpsdr3-alex# uptime&lt;br /&gt;
&lt;br /&gt;
 13:00:56 up 2 days, 20:46,  8 users,  load average: 0.81, 1.01, 0.67&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 ******       Do not use power from a USB PC port or from a USB Hub. ********&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once it&#039;s up and running, some details that may help in setting up the hardware for use - I&#039;m currently overclocking at 855MHz  (Previously was set to 1GHz):-&lt;br /&gt;
&lt;br /&gt;
Keyboard, mouse, usb sound card, RTL-SDR TV dongle and USB Gigabit Ethernet fully operational using the 7-port powered USB hub.&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# lsusb&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp. &lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.&lt;br /&gt;
 &lt;br /&gt;
Bus 001 Device 004: ID 04cc:1521 ST-Ericsson USB 2.0 Hub&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 011: ID 04f3:0103 Elan Microelectronics Corp. &lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 006: ID 047d:1022 Kensington Orbit Optical&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 007: ID 1d19:1101 Dexatek Technology Ltd. DK DVB-T Dongle&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 008: ID 041e:3040 Creative Technology, Ltd SoundBlaster Live! 24-bit External SB0490&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 009: ID 0b95:1780 ASIX Electronics Corp. AX88178&lt;br /&gt;
root@pisces:~# ifconfig &lt;br /&gt;
&lt;br /&gt;
eth0 Link encap:Ethernet HWaddr b8:27:eb:2c:07:c9&lt;br /&gt;
&lt;br /&gt;
         inet addr:192.168.10.31  Bcast:192.168.10.255 Mask:255.255.255.0&lt;br /&gt;
         inet6 addr: fe80::ba27:ebff:fe2c:7c9/64 Scope:Link&lt;br /&gt;
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1&lt;br /&gt;
         RX packets:410 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
         TX packets:377 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
         collisions:0 txqueuelen:1000&lt;br /&gt;
         RX bytes:28905 (28.2 KiB)  TX bytes:35938 (35.0 KiB)&lt;br /&gt;
&lt;br /&gt;
eth1 Link encap:Ethernet HWaddr 00:10:14:00:9f:fa&lt;br /&gt;
&lt;br /&gt;
         inet addr:192.168.2.199  Bcast:192.168.2.255 Mask:255.255.255.0&lt;br /&gt;
         inet6 addr: fe80::210:14ff:fe00:9ffa/64 Scope:Link&lt;br /&gt;
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1&lt;br /&gt;
         RX packets:5 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
         TX packets:7 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
         collisions:0 txqueuelen:1000&lt;br /&gt;
         RX bytes:230 (230.0 B)  TX bytes:592 (592.0 B)&lt;br /&gt;
&lt;br /&gt;
lo Link encap:Local Loopback&lt;br /&gt;
&lt;br /&gt;
         inet addr:127.0.0.1  Mask:255.0.0.0&lt;br /&gt;
         inet6 addr: ::1/128 Scope:Host&lt;br /&gt;
         UP LOOPBACK RUNNING  MTU:16436  Metric:1&lt;br /&gt;
         RX packets:0 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
         TX packets:0 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
         collisions:0 txqueuelen:0&lt;br /&gt;
         RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# cat /proc/asound/cards&lt;br /&gt;
 0 [ALSA           ]: BRCM bcm2835 ALSbcm2835 ALSA - bcm2835 ALSA&lt;br /&gt;
                      bcm2835 ALSA&lt;br /&gt;
&lt;br /&gt;
 1 [External       ]: USB-Audio - SB Live! 24-bit External&lt;br /&gt;
                      Creative Technology SB Live! 24-bit External at usb-bcm2708_usb-1.2.2, full spe&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It&#039;s running at 855MHz with this config.txt file. &lt;br /&gt;
root@pisces:~# cat /boot/config.txt&lt;br /&gt;
&lt;br /&gt;
over_voltage=6&lt;br /&gt;
&lt;br /&gt;
arm_freq=855&lt;br /&gt;
&lt;br /&gt;
core_freq=500&lt;br /&gt;
&lt;br /&gt;
sdram_freq=500&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# cat /etc/network/interfaces&lt;br /&gt;
&lt;br /&gt;
    Used by ifup(8) and ifdown(8). See the interfaces(5) manpage or&lt;br /&gt;
    /usr/share/doc/ifupdown/examples for more information. &lt;br /&gt;
&lt;br /&gt;
auto lo&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
iface lo inet loopback&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    File: ifcfg-eth0&lt;br /&gt;
&lt;br /&gt;
auto eth0&lt;br /&gt;
&lt;br /&gt;
iface eth0 inet static&lt;br /&gt;
&lt;br /&gt;
address 192.168.10.31&lt;br /&gt;
&lt;br /&gt;
netmask 255.255.255.0&lt;br /&gt;
&lt;br /&gt;
gateway 192.168.10.103&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
auto eth1&lt;br /&gt;
&lt;br /&gt;
iface eth1 inet static&lt;br /&gt;
&lt;br /&gt;
address 192.168.2.199&lt;br /&gt;
&lt;br /&gt;
netmask 255.255.255.0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# cat /etc/modules&lt;br /&gt;
&lt;br /&gt;
    /etc/modules: kernel modules to load at boot time.&lt;br /&gt;
    This file contains the names of kernel modules that should be loaded&lt;br /&gt;
    at boot time, one per line. Lines beginning with &amp;quot;#&amp;quot; are ignored.&lt;br /&gt;
    Parameters can be specified after the module name. &lt;br /&gt;
&lt;br /&gt;
loop&lt;br /&gt;
&lt;br /&gt;
snd-bcm2835&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
One problem remains, no sound from the on-board chip.&lt;br /&gt;
&lt;br /&gt;
==VirtualBox (the easy way to get up and running)==&lt;br /&gt;
&lt;br /&gt;
It is possible to run the server software (and QtRadio) under VirtualBox.  It has been tested with HPSDR Hermes hardware. [http://people.wallawalla.edu/~Rob.Frohne/ghpsdr3-alex/Ubuntu%2012.10%20ghpsdr3-alex-hermes.zip A VirtualBox Ubuntu 12.10 image] is available that automatically starts the server software for those who are running Windows, or don&#039;t feel they have the hardware, expertise or time to setup a Linux machine to act as a server.  The username is: &amp;quot;ubuntu&amp;quot; and the password: &amp;quot;hamradio&amp;quot;, which is probably a good thing to change soon after installation.  Basically, all you need to do is follow the instructions below, plug your HPSDR Hermes or Apache Labs ANAN series transceivers into the network with the server, and you can be using ghpsdr3-alex on your own server.  Users of older HPSDR hardware may need to make slight variations such as configuring USB in VirtualBox, specifying different command line arguments to the automatically started server commands, etc, but you won&#039;t have to build the software, or install Linux, or get another computer just to run the ghpsdr3-alex server software.&lt;br /&gt;
&lt;br /&gt;
To get started, download the [http://people.wallawalla.edu/~Rob.Frohne/ghpsdr3-alex/Ubuntu%2012.10%20ghpsdr3-alex-hermes.zip VirtualBox image] (about 2.7 GB), unzip it, start [https://www.virtualbox.org/ VirtualBox], select the blue new button for the new machine, follow the wizard&#039;s instructions.  When it asks you about the hard drive, say use existing virtual hard drive file, and select the image you just unzipped using the folder icon with the green up-arrow as the hard drive, and hit the create button. Then use the green start arrow to start the Ubuntu 12.10 virtual machine. &lt;br /&gt;
&lt;br /&gt;
You should now be able to start QtRadio (the brown unity launcher item with CQ in it) and connect to your server.  If that works, you should be able to connect from any client with network access to your server including QtRadio outside your virtual machine, or from another computer on your LAN or glSDR on your phone using WIFI.  Be sure to set the server IP address in the client (QtRadio, or glSDR) to the IP address of the Ubuntu virtual machine.  You can get the IP address from the up/down arrow menu on the upper left of your virtual machine menu bar, under the selection &amp;quot;Connection Information.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
The [[Dspserver.conf]] file should be edited to personalize your server, and to allow transmit.   &lt;br /&gt;
&lt;br /&gt;
If your sever doesn&#039;t work, it may because your network interface is not eth2.  If it isn&#039;t, you need to read the notes on the [[Hermes]] page, and then edit the commands used to automatically start your server as described in the paragraph immediately below.&lt;br /&gt;
&lt;br /&gt;
If you want to edit or add the automatically started programs, see [http://askubuntu.com/questions/48321/how-do-i-start-applications-automatically-on-login this web page].  If you want to change things, the helpful notes about running the [[Hermes]] server on the [[Hermes]] page might be good to review.  They explain the commands started automatically upon login.&lt;br /&gt;
&lt;br /&gt;
I must make one note about running the software from a pre-prepared VirtualBox Image.  It is a way an attacker could gain access to your computer and network.  I used a pre-prepared Ubuntu 12.10 image from [http://virtualboxes.org/images/ubuntu/ VirtualBoxImages].  I believe it to be virgin, but you have to realize that it is possible that some rogue software is running on this image.  If you use the image I provide, you must be solely responsible for whatever happens. I (Rob Frohne, KL7NA) did not put anything on the image, except the ghpsdr3-alex and the tools and packages, and configuration files needed to build it, and I believe it to be harmless.  As always, there is a trade off between ease of use, and security.&lt;br /&gt;
&lt;br /&gt;
===Software=== &lt;br /&gt;
***** START AT THE BEGINNING WHEN BUILDING THE SOFTWARE -- i.e Section 1 and install all the packages recommended and do the pulseaudio setup.&lt;br /&gt;
&lt;br /&gt;
If you build ghpsdr3-alex already it&#039;s a case of following the same procedure with the following caveats that apply to the RasPi ARM architecture. What follows is a blow by blow account of how I did it for the iw0hdv branch which supports my HiQSDR+Preselector. The same steps are needed for building any other branch.&lt;br /&gt;
&lt;br /&gt;
Subject: [n2adr-sdr] Raspberry Pi running ghpsdr3-alex&lt;br /&gt;
&lt;br /&gt;
The changes made by Andrea have been merged into the master branch. These changes allow samplerates &amp;gt;192K but the Pi doesn&#039;t have the power to run these high samplerates - I am running hiqsdr-server at 960K samplerate on a 8-core x84_64 box.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   autoreconf -i &lt;br /&gt;
&lt;br /&gt;
    ./configure CFLAGS=&#039;-O3 -pipe -march=armv6 -mfpu=vfp -mfloat-abi=hard&#039; CXXFLAGS=&#039;-O3 -pipe -march=armv6 -mfpu=vfp -mfloat-abi=hard&#039; &lt;br /&gt;
&lt;br /&gt;
**** Additional steps needed when building rtlsdr-server. Do these before running make ******&lt;br /&gt;
# export ac_cv_func_malloc_0_nonnull=yes&lt;br /&gt;
# export ac_cv_func_realloc_0_nonnull=yes&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    make all &amp;amp;&amp;amp; make all install &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Sound on the Raspberry Pi is still a problem I have not been able to solve.&lt;br /&gt;
&lt;br /&gt;
Terry (WB4JFI) suggested the following that work for him but I have had no luck with it.&lt;br /&gt;
&lt;br /&gt;
&amp;quot;amixer cset numid=3 1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Other valid numid&#039;s are 0=auto, 1=headphones and 2=hdmi.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
QtRadio running on another box using the connection from the server list. Sound is a touch distorted, quite distorted on start up of QtRadio and spectrum is always a little bit slow.&lt;br /&gt;
&lt;br /&gt;
When a slave connected and tried changing frequency, dspserver crashed - dspserver can be a bit crash happy.&lt;br /&gt;
&lt;br /&gt;
The first thing I tried on the Pi was QtRadio standalone, spectrum and waterfall were OK but no sound.&lt;br /&gt;
&lt;br /&gt;
Just now a client using glSDR (5) is attempting to change frequency, sound went quite distorted then dspserver crashed.&lt;br /&gt;
&lt;br /&gt;
Restarted dspserver and QtRadio sound started very distorted before it settled down to reasonable.&lt;/div&gt;</summary>
		<author><name>Frohro</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=770</id>
		<title>QtRadio Installation</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=770"/>
		<updated>2013-08-27T13:45:50Z</updated>

		<summary type="html">&lt;p&gt;Frohro: /* VirtualBox (the easy way to get up and running) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Installation on Linux ==&lt;br /&gt;
The instructions below are for Debian based distributions like Ubuntu but you should be able to compile on any Linux distribution with the correct libraries installed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Installation from Git ===&lt;br /&gt;
Installing from git involves building or compiling from source.  This is required if you want to use one of the various branches to work the &amp;quot;bleeding edge&amp;quot; branches like Alex&#039;s rxtx-event branch where the current (Nov 12 2011) TX work is being done.&lt;br /&gt;
The PPA install is never more than a few days behind master so there is not much to gain from building from git unless you want to work with the source code your self.&lt;br /&gt;
&lt;br /&gt;
==== Installing compiler and autotool ====&lt;br /&gt;
&lt;br /&gt;
First off, install the compiler; depending on which distribution are you using, some or all of this stuff could be already installed: &lt;br /&gt;
&lt;br /&gt;
===== Ubuntu/Debian =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install make gcc g++&lt;br /&gt;
sudo apt-get install autoconf automake autotools-dev libtool git subversion&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Fedora =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo yum install gcc gcc-c++ man-pages autoconf automake subversion libtool git&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Installing prerequisite packages ====&lt;br /&gt;
&lt;br /&gt;
===== Ubuntu 12.04 and newer =====&lt;br /&gt;
First of all, you have to check that the universe repository is enabled. Click on the gear shaped icon (bottom into left side bar): the System Settings menu will shown, click on Software Sources and finally check the Community-maintained Open Source Software (universe) tick. Next, submit the following commands into a terminal window:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install \&lt;br /&gt;
libqt4-opengl-dev \&lt;br /&gt;
qtmobility-dev \&lt;br /&gt;
libusb-0.1-4 \&lt;br /&gt;
libusb-dev \&lt;br /&gt;
libfftw3-dev \&lt;br /&gt;
portaudio19-dev \&lt;br /&gt;
libpulse-dev \&lt;br /&gt;
libsamplerate0-dev \&lt;br /&gt;
libusb-1.0-0-dev \&lt;br /&gt;
libconfig8-dev \&lt;br /&gt;
xdg-utils \&lt;br /&gt;
libortp-dev \&lt;br /&gt;
gcc-multilib \&lt;br /&gt;
libssl-dev \&lt;br /&gt;
libevent-dev \&lt;br /&gt;
libglu1-mesa-dev \&lt;br /&gt;
freeglut3-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You will need qt5 installed to complete the build.&lt;br /&gt;
&lt;br /&gt;
Visit: http://qt-project.org/downloads&lt;br /&gt;
&lt;br /&gt;
download the current package for your system.&lt;br /&gt;
&lt;br /&gt;
To build Qt5 on a RaspberryPi visit: http://qt-project.org/wiki/RaspberryPi&lt;br /&gt;
&lt;br /&gt;
After downloading it go to the download directory and do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ chmod +x the-name-of-the-downloaded-file&lt;br /&gt;
$ sudo ./the-name-of-the-downloaded-file&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Simply click on the installer and follow the prompts, take note of were qt5 is installed. Don&#039;t open the readme or start QtCreator when the installer asks.  It will make some files in your home directory owned by root, and that will give you trouble later.  After the install has completed, from a terminal:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ export PATH=/opt/Qt5.1.0/5.1.0/gcc_64/bin:/opt/Qt5.1.0/Tools/QtCreator/bin:$PATH&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
In the above make sure you put in the correct path for your version of Qt. This is due because the several packages from Qt sources and binary repositories web sites are not really installed in the system but simply copied on it. Therefore the autotools build system should search virtually over the whole filesystem.&lt;br /&gt;
In any case please remember that&lt;br /&gt;
the export above is effective only into the current terminal windows, if you open another window and/or reboot the system, you have to resubmit again the command&lt;br /&gt;
if you want to make permanent it, you have to add the export into the right configuration shell, suitable for the shell that you are currently using.&lt;br /&gt;
For the bash it is typically ~/.bashrc&lt;br /&gt;
In any case, after you issue the export, please test it.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
qmake -v&lt;br /&gt;
QMake version 2.01a&lt;br /&gt;
Using Qt version 4.8.0 in /home/andrew/QtSDK4.8x/Desktop/Qt/4.8.0/gcc/lib&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Ubuntu 11.04 and older ===== &lt;br /&gt;
First of all, you have to check that the &#039;&#039;universe repository&#039;&#039; is enabled.&lt;br /&gt;
Please see the procedure in the previous section [[#graphical installation]] .&lt;br /&gt;
&lt;br /&gt;
Next, you will need the following packages installed:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install \&lt;br /&gt;
libqt4-opengl-dev \&lt;br /&gt;
qtmobility-dev \&lt;br /&gt;
libusb-0.1-4 \&lt;br /&gt;
libusb-dev \&lt;br /&gt;
libfftw3-dev \&lt;br /&gt;
portaudio19-dev \&lt;br /&gt;
libpulse-dev \&lt;br /&gt;
libsamplerate0-dev \&lt;br /&gt;
libusb-1.0-0-dev \&lt;br /&gt;
libconfig8-dev \&lt;br /&gt;
libortp-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Ubuntu 11.10 ===== &lt;br /&gt;
First of all, you have to check that the &#039;&#039;universe repository&#039;&#039; is enabled.&lt;br /&gt;
Click on the gear shaped icon (bottom into left side bar): the &#039;&#039;System Settings&#039;&#039; menu will shown, click on &#039;&#039;Software Sources&#039;&#039; and finally check the &#039;&#039;Community-maintaned Open Source Software (universe)&#039;&#039; tick.&lt;br /&gt;
Next, submit the following commands into a terminal window:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install \&lt;br /&gt;
libqt4-opengl-dev \&lt;br /&gt;
qtmobility-dev \&lt;br /&gt;
libusb-0.1-4 \&lt;br /&gt;
libusb-dev \&lt;br /&gt;
libfftw3-dev \&lt;br /&gt;
portaudio19-dev \&lt;br /&gt;
libpulse-dev \&lt;br /&gt;
libsamplerate0-dev \&lt;br /&gt;
libusb-1.0-0-dev \&lt;br /&gt;
libconfig8-dev \&lt;br /&gt;
xdg-utils \&lt;br /&gt;
libortp-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Fedora 16 =====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo yum install fftw fftw-devel &lt;br /&gt;
sudo yum install libusb-devel libusb1-devel &lt;br /&gt;
sudo yum install portaudio-devel&lt;br /&gt;
sudo yum install libconfig-devel&lt;br /&gt;
sudo yum install libsamplerate-devel&lt;br /&gt;
sudo yum install pulseaudio-libs-devel&lt;br /&gt;
sudo yum install jack-audio-connection-kit  jack-audio-connection-kit-devel&lt;br /&gt;
sudo yum install qt4-devel&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Cloning the repository ====&lt;br /&gt;
&lt;br /&gt;
How to build the latest master branch on Ubuntu 11.04&lt;br /&gt;
&lt;br /&gt;
First a new libevent will need to be downloaded and installed, then the actual QtRadio source can be downloaded and built.&lt;br /&gt;
&lt;br /&gt;
==== Obtaining an up-level libevent library ====&lt;br /&gt;
&lt;br /&gt;
$ sudo apt-get install libevent-dev&lt;br /&gt;
&lt;br /&gt;
If the version is older than 2.0.5, go to synaptic and completely remove the stock libevent from Ubuntu. (Completely remove is an uninstall option in Synaptic. Additional dependent libraries may also be removed)&lt;br /&gt;
&lt;br /&gt;
Then download the new version from:&lt;br /&gt;
&lt;br /&gt;
http://libevent.org/&lt;br /&gt;
&lt;br /&gt;
libevent-2.0.16-stable.tar.gz&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
wget https://github.com/downloads/libevent/libevent/libevent-2.0.16-stable.tar.gz&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Move the tarball from the Downloads directory to a working directory. A suggestion is to create a src directory within your home directory and move it there. Uncompress and follow the instructions to build and install:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
tar -zxvf libevent-2.0.16-stable.tar.gz&lt;br /&gt;
cd libevent-2.0.16-stable&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On Fedora, in order to use the library above, export the LD_LIBRARY_PATH:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export LD_LIBRARY_PATH=/usr/local/lib&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Installing codec2 low bit rate audio encoding and decoding ====&lt;br /&gt;
&lt;br /&gt;
We are adding a low bit rate audio codec called codec 2 to QtRadio/dspserver.  You need&lt;br /&gt;
to download and build the codec2 library.  See:&lt;br /&gt;
&lt;br /&gt;
http://www.rowetel.com/blog/?page_id=452&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
Now go get codec2 using subversion&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
svn co https://freetel.svn.sourceforge.net/svnroot/freetel/codec2-dev codec2-dev&lt;br /&gt;
cd codec2-dev&lt;br /&gt;
autoreconf -i&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On Fedora, in order to use the library above, export the LD_LIBRARY_PATH:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export LD_LIBRARY_PATH=/usr/local/lib&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Building the master branch ====&lt;br /&gt;
&lt;br /&gt;
This branch is the latest code that contains both RX and TX capability. &lt;br /&gt;
&lt;br /&gt;
Create a new directory or cd to the ~/src directory created for libevent and cd into it.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://github.com/alexlee188/ghpsdr3-alex&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Depending on your Internet connection thorughput, it will take several minute to download.&lt;br /&gt;
cd into the new directory ghpsdr3-alex:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ghpsdr3-alex&lt;br /&gt;
git checkout master&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
You are now working with Alex&#039;s latest and greatest!&lt;br /&gt;
&lt;br /&gt;
First set the path to the version of qt you are using.  E.g. for qt5:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ export PATH=/opt/qt5/bin:$PATH&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
autoreconf -i&lt;br /&gt;
./configure&lt;br /&gt;
make -j4 all&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The default configure above builds with debug and default Qt4 version in your PC.  For optimized executable,&lt;br /&gt;
you need to specify options specific to your system.  See the sample shell scripts that replaces the above&lt;br /&gt;
./configure step:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./alex-avx-conf.sh		for building with i3,i5 and i7 cpu&#039;s supporting Advanced Vector Extensions (AVX)&lt;br /&gt;
./alex-openmp-conf.sh		for building with i3,i5 and i7 cpu&#039;s and OpenMP support&lt;br /&gt;
./alex-sse3-conf.sh		for building with SSE3 capable cpu&#039;s&lt;br /&gt;
./alex-openmp-sse3-conf.sh	for building with SSE3 cpaable cpu&#039;s and OpenMP support&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(If you do not want to actually install the executable binaries, skip the sudo make install and just cd into the following directories and run them from there)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Terminal 1&lt;br /&gt;
$ cd ghpsdr3-alex/trunk/src/softrock&lt;br /&gt;
$ ./softrock ...options ...&lt;br /&gt;
&lt;br /&gt;
Terminal 2&lt;br /&gt;
$ cd ghpsdr3-alex/trunk/src/dspserver&lt;br /&gt;
$ ./dspserver  ..options...&lt;br /&gt;
&lt;br /&gt;
Terminal 3&lt;br /&gt;
$ cd ghpsdr3-alex/trunk/src/QtRadio&lt;br /&gt;
$ ./QtRadio&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Building the Perseus extensions ====&lt;br /&gt;
&lt;br /&gt;
In order to build the Microtelecom Perseus server you need to switch to the master or iw0hdv branch. &lt;br /&gt;
&lt;br /&gt;
First off, install the prerequisite library and wget package:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install libboost-all-dev wget&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Next download, compile and install the library libperseus-sdr:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
wget http://libperseus-sdr.googlecode.com/files/libperseus_sdr-0.6.tar.gz&lt;br /&gt;
tar -zxvf libperseus_sdr-0.6.tar.gz&lt;br /&gt;
cd libperseus_sdr-0.6/&lt;br /&gt;
./configure &amp;amp;&amp;amp; make&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you already build in your sandbox some other branch, is strongly advisable, before you start the build, to do a full cleanup:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
make distcheck &amp;amp;&amp;amp; sh cleanup.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Otherwise, if you are starting from scratch, you have to clone the repository:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://github.com/alexlee188/ghpsdr3-alex&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, you can switch to the master branch and rebuild everything; you don&#039;t need anymore to explicitly enable the perseus server feature, the configure script automatically selects it when the libperseus_sdr is found.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
git checkout master&lt;br /&gt;
autoreconf -i &amp;amp;&amp;amp; ./configure &amp;amp;&amp;amp; make -j4&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In order to run it you have two choices, the first one being the plain command line:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
xterm -e &#039;perseus_server -d3 -s96000 &#039; &amp;amp;&lt;br /&gt;
sleep 3&lt;br /&gt;
xterm -e &#039;dspserver --lo 0 --nocorrectiq&#039; &amp;amp;&lt;br /&gt;
sleep 5&lt;br /&gt;
$( QtRadio 127.0.0.1 ) &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In QtRadio, Receiver menu, select Configure item, Server tab: here add the local host using the 127.0.0.1 IP address.&lt;br /&gt;
Pressing the key C, you start the receiver.&lt;br /&gt;
&lt;br /&gt;
The second choiche is to use the ghpsdr3-mgr.py script (available in menu Applications, Hamradio as ghpsdr3launcher): clicking on the Perseus icon the three processes should start and the QtServer automatically connects to Perseus Server.&lt;br /&gt;
&lt;br /&gt;
==== Building USRP enabled version ====&lt;br /&gt;
&lt;br /&gt;
===== Building the UHD package =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====== Install the prerequisite packages (Ubuntu 11.10): ======&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install liboost-all-dev&lt;br /&gt;
sudo apt-get install python-cheetah&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====== Build &amp;amp; Install UHD -- FOR UHD-3.3.1 AND GREATER --: ======&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
git clone git://ettus.sourcerepo.com/ettus/uhd.git&lt;br /&gt;
cd uhd/host/&lt;br /&gt;
mkdir build&lt;br /&gt;
cd build&lt;br /&gt;
cmake ../&lt;br /&gt;
make&lt;br /&gt;
make test&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you already build in your sandbox some other branch, is strongly advisable, before you start the build, to do a full cleanup:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
make distcheck &amp;amp;&amp;amp; sh cleanup.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Otherwise, if you are starting from scratch, first clone the repository:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://github.com/alexlee188/ghpsdr3-alex&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, you can switch to the master branch and rebuild everything, enabling the usrp server feature:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
git checkout usrp-server&lt;br /&gt;
autoreconf -i &amp;amp;&amp;amp; ./configure --enable-usrp=yes &amp;amp;&amp;amp; make -j4&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Refresh to a Newer Version ====&lt;br /&gt;
&lt;br /&gt;
To pull a new version to build &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ git pull&lt;br /&gt;
$ make -j4 all&lt;br /&gt;
$ sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If extensive changes have occurred or if you get errors during the make, you may want to do a clean build  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ git pull&lt;br /&gt;
$ make distclean&lt;br /&gt;
$ sh cleanup.sh&lt;br /&gt;
$ autoreconf -i&lt;br /&gt;
$ ./configure&lt;br /&gt;
$ make -j4 all&lt;br /&gt;
$ sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you continue to get errors, please report the whole ./configure output and the config.log to the mailing list.&lt;br /&gt;
&lt;br /&gt;
== Installation on Windows ==&lt;br /&gt;
See [[ QtRadio on Windows]]&lt;br /&gt;
&lt;br /&gt;
==VirtualBox Easy Installation==&lt;br /&gt;
&lt;br /&gt;
It is possible to run the server software (and QtRadio) under VirtualBox.  It has been tested with HPSDR Hermes hardware. [http://people.wallawalla.edu/~Rob.Frohne/ghpsdr3-alex/Ubuntu%2012.10%20ghpsdr3-alex-hermes.zip A VirtualBox Ubuntu 12.10 image] is available that automatically starts the server software for those who are running Windows, or don&#039;t feel they have the hardware, expertise or time to setup a Linux machine to act as a server.  The username is: &amp;quot;ubuntu&amp;quot; and the password: &amp;quot;hamradio&amp;quot;, which is probably a good thing to change soon after installation.  Basically, all you need to do is follow the instructions below, plug your HPSDR Hermes or Apache Labs ANAN series transceivers into the network with the server, and you can be using ghpsdr3-alex on your own server.  Users of older HPSDR hardware may need to make slight variations such as configuring USB in VirtualBox, specifying different command line arguments to the automatically started server commands, etc, but you won&#039;t have to build the software, or install Linux, or get another computer just to run the ghpsdr3-alex server software.&lt;br /&gt;
&lt;br /&gt;
To get started, download the [http://people.wallawalla.edu/~Rob.Frohne/ghpsdr3-alex/Ubuntu%2012.10%20ghpsdr3-alex-hermes.zip VirtualBox image] (about 2.7 GB), unzip it, start [https://www.virtualbox.org/ VirtualBox], select the blue new button for the new machine, follow the wizard&#039;s instructions.  When it asks you about the hard drive, say use existing virtual hard drive file, and select the image you just unzipped using the folder icon with the green up-arrow as the hard drive, and hit the create button. Then use the green start arrow to start the Ubuntu 12.10 virtual machine. &lt;br /&gt;
&lt;br /&gt;
You should now be able to start QtRadio (the brown unity launcher item with CQ in it) and connect to your server.  If that works, you should be able to connect from any client with network access to your server including QtRadio outside your virtual machine, or from another computer on your LAN or glSDR on your phone using WIFI.  Be sure to set the server IP address in the client (QtRadio, or glSDR) to the IP address of the Ubuntu virtual machine.  You can get the IP address from the up/down arrow menu on the upper left of your virtual machine menu bar, under the selection &amp;quot;Connection Information.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
The [[Dspserver.conf]] file should be edited to personalize your server, and to allow transmit.   &lt;br /&gt;
&lt;br /&gt;
If your sever doesn&#039;t work, it may because your network interface is not eth2.  If it isn&#039;t, you need to read the notes on the [[Hermes]] page, and then edit the commands used to automatically start your server as described in the paragraph immediately below.&lt;br /&gt;
&lt;br /&gt;
If you want to edit or add the automatically started programs, see [http://askubuntu.com/questions/48321/how-do-i-start-applications-automatically-on-login this web page].  If you want to change things, the helpful notes about running the [[Hermes]] server on the [[Hermes]] page might be good to review.  They explain the commands started automatically upon login.&lt;br /&gt;
&lt;br /&gt;
I must make one note about running the software from a pre-prepared VirtualBox Image.  It is a way an attacker could gain access to your computer and network.  I used a pre-prepared Ubuntu 12.10 image from [http://virtualboxes.org/images/ubuntu/ VirtualBoxImages].  I believe it to be virgin, but you have to realize that it is possible that some rogue software is running on this image.  If you use the image I provide, you must be solely responsible for whatever happens. I (Rob Frohne, KL7NA) did not put anything on the image, except the ghpsdr3-alex and the tools and packages, and configuration files needed to build it, and I believe it to be harmless.  As always, there is a trade off between ease of use, and security.&lt;br /&gt;
&lt;br /&gt;
===Software=== &lt;br /&gt;
***** START AT THE BEGINNING WHEN BUILDING THE SOFTWARE -- i.e Section 1 and install all the packages recommended and do the pulseaudio setup.&lt;br /&gt;
&lt;br /&gt;
If you build ghpsdr3-alex already it&#039;s a case of following the same procedure with the following caveats that apply to the RasPi ARM architecture. What follows is a blow by blow account of how I did it for the iw0hdv branch which supports my HiQSDR+Preselector. The same steps are needed for building any other branch.&lt;br /&gt;
&lt;br /&gt;
Subject: [n2adr-sdr] Raspberry Pi running ghpsdr3-alex&lt;br /&gt;
&lt;br /&gt;
The changes made by Andrea have been merged into the master branch. These changes allow samplerates &amp;gt;192K but the Pi doesn&#039;t have the power to run these high samplerates - I am running hiqsdr-server at 960K samplerate on a 8-core x84_64 box.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   autoreconf -i &lt;br /&gt;
&lt;br /&gt;
    ./configure CFLAGS=&#039;-O3 -pipe -march=armv6 -mfpu=vfp -mfloat-abi=hard&#039; CXXFLAGS=&#039;-O3 -pipe -march=armv6 -mfpu=vfp -mfloat-abi=hard&#039; &lt;br /&gt;
&lt;br /&gt;
**** Additional steps needed when building rtlsdr-server. Do these before running make ******&lt;br /&gt;
# export ac_cv_func_malloc_0_nonnull=yes&lt;br /&gt;
# export ac_cv_func_realloc_0_nonnull=yes&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    make all &amp;amp;&amp;amp; make all install &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Sound on the Raspberry Pi is still a problem I have not been able to solve.&lt;br /&gt;
&lt;br /&gt;
Terry (WB4JFI) suggested the following that work for him but I have had no luck with it.&lt;br /&gt;
&lt;br /&gt;
&amp;quot;amixer cset numid=3 1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Other valid numid&#039;s are 0=auto, 1=headphones and 2=hdmi.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
QtRadio running on another box using the connection from the server list. Sound is a touch distorted, quite distorted on start up of QtRadio and spectrum is always a little bit slow.&lt;br /&gt;
&lt;br /&gt;
When a slave connected and tried changing frequency, dspserver crashed - dspserver can be a bit crash happy.&lt;br /&gt;
&lt;br /&gt;
The first thing I tried on the Pi was QtRadio standalone, spectrum and waterfall were OK but no sound.&lt;br /&gt;
&lt;br /&gt;
Just now a client using glSDR (5) is attempting to change frequency, sound went quite distorted then dspserver crashed.&lt;br /&gt;
&lt;br /&gt;
Restarted dspserver and QtRadio sound started very distorted before it settled down to reasonable.&lt;br /&gt;
&lt;br /&gt;
== Network settings ==&lt;br /&gt;
If you are behind a firewall/NAT-router and want to be able to connect to your dspserver over the Internet you have to open up port tcp/8000. If you are using the client in RTP mode you have to open up udp/5004 and udp/5005.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Installing ghpsdr3-alex on Raspberry Pi == &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Hardware===&lt;br /&gt;
&lt;br /&gt;
*** THIS SECTION DEALS WITH Raspberry Pi DIFFERENCES *** IT DOES NOT CIRCUMVENT THE INSTRUCTIONS STARTING AT STEP 1 OF THE QtRadio Installation. ***&lt;br /&gt;
&lt;br /&gt;
I recommend installing either the raspbian or raspbian pisces (debian) distributions as there is no Ubuntu release to date.&lt;br /&gt;
&lt;br /&gt;
*** All the pre-requisite packages needed for Ubuntu must be installed on raspbian or respbian pisces using the same &amp;quot;apt-get install&amp;quot; commands so it&#039;s necessary to follow the QtRadio-Installation &lt;br /&gt;
document from the beginning after installing raspbian or raspbian pisces.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
        The RasPi USB subsystem is sensitive to power supply voltage levels - A supply of 5.5V at 2A is recommended. &lt;br /&gt;
With the power supply output at +5.17V I was getting on-board Ethernet errors and system hangs when one more device besides keyboard and mouse were plugged in to the on-board USB ports or an outboard powered USB HUB. &lt;br /&gt;
&lt;br /&gt;
Measuring the voltage across TP1 and TP2 on the Raspberry Pi and  increased it to +4.97V (P.S output +5.59V).&lt;br /&gt;
&lt;br /&gt;
I also ran &amp;quot;rpi-update&amp;quot; which install new firmware. &lt;br /&gt;
&lt;br /&gt;
I shorted out the polyfuses F1 and F2 on the Pi and USB is much more stable but still limited.&lt;br /&gt;
&lt;br /&gt;
With keyboard, mouse, gigabit USB Ethernet, SB Live! 24 USB and RTL-SDR dongle it runs for some hours before it freezes.&lt;br /&gt;
&lt;br /&gt;
Removing the RTL-SDR dongle from the powered hub made a great difference with a current uptime heading for 3 days. The latest ghpsdr3-alex master branch build successfully completed while I was in bed.&lt;br /&gt;
&lt;br /&gt;
root@pisces:/usr/src/GHPSDR3_HIGH_SPEED_MASTER/ghpsdr3-alex# date&lt;br /&gt;
&lt;br /&gt;
Sun Sep  9 13:00:49 BST 2012&lt;br /&gt;
&lt;br /&gt;
root@pisces:/usr/src/GHPSDR3_HIGH_SPEED_MASTER/ghpsdr3-alex# uptime&lt;br /&gt;
&lt;br /&gt;
 13:00:56 up 2 days, 20:46,  8 users,  load average: 0.81, 1.01, 0.67&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 ******       Do not use power from a USB PC port or from a USB Hub. ********&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once it&#039;s up and running, some details that may help in setting up the hardware for use - I&#039;m currently overclocking at 855MHz  (Previously was set to 1GHz):-&lt;br /&gt;
&lt;br /&gt;
Keyboard, mouse, usb sound card, RTL-SDR TV dongle and USB Gigabit Ethernet fully operational using the 7-port powered USB hub.&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# lsusb&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp. &lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.&lt;br /&gt;
 &lt;br /&gt;
Bus 001 Device 004: ID 04cc:1521 ST-Ericsson USB 2.0 Hub&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 011: ID 04f3:0103 Elan Microelectronics Corp. &lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 006: ID 047d:1022 Kensington Orbit Optical&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 007: ID 1d19:1101 Dexatek Technology Ltd. DK DVB-T Dongle&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 008: ID 041e:3040 Creative Technology, Ltd SoundBlaster Live! 24-bit External SB0490&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 009: ID 0b95:1780 ASIX Electronics Corp. AX88178&lt;br /&gt;
root@pisces:~# ifconfig &lt;br /&gt;
&lt;br /&gt;
eth0 Link encap:Ethernet HWaddr b8:27:eb:2c:07:c9&lt;br /&gt;
&lt;br /&gt;
         inet addr:192.168.10.31  Bcast:192.168.10.255 Mask:255.255.255.0&lt;br /&gt;
         inet6 addr: fe80::ba27:ebff:fe2c:7c9/64 Scope:Link&lt;br /&gt;
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1&lt;br /&gt;
         RX packets:410 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
         TX packets:377 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
         collisions:0 txqueuelen:1000&lt;br /&gt;
         RX bytes:28905 (28.2 KiB)  TX bytes:35938 (35.0 KiB)&lt;br /&gt;
&lt;br /&gt;
eth1 Link encap:Ethernet HWaddr 00:10:14:00:9f:fa&lt;br /&gt;
&lt;br /&gt;
         inet addr:192.168.2.199  Bcast:192.168.2.255 Mask:255.255.255.0&lt;br /&gt;
         inet6 addr: fe80::210:14ff:fe00:9ffa/64 Scope:Link&lt;br /&gt;
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1&lt;br /&gt;
         RX packets:5 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
         TX packets:7 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
         collisions:0 txqueuelen:1000&lt;br /&gt;
         RX bytes:230 (230.0 B)  TX bytes:592 (592.0 B)&lt;br /&gt;
&lt;br /&gt;
lo Link encap:Local Loopback&lt;br /&gt;
&lt;br /&gt;
         inet addr:127.0.0.1  Mask:255.0.0.0&lt;br /&gt;
         inet6 addr: ::1/128 Scope:Host&lt;br /&gt;
         UP LOOPBACK RUNNING  MTU:16436  Metric:1&lt;br /&gt;
         RX packets:0 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
         TX packets:0 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
         collisions:0 txqueuelen:0&lt;br /&gt;
         RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# cat /proc/asound/cards&lt;br /&gt;
 0 [ALSA           ]: BRCM bcm2835 ALSbcm2835 ALSA - bcm2835 ALSA&lt;br /&gt;
                      bcm2835 ALSA&lt;br /&gt;
&lt;br /&gt;
 1 [External       ]: USB-Audio - SB Live! 24-bit External&lt;br /&gt;
                      Creative Technology SB Live! 24-bit External at usb-bcm2708_usb-1.2.2, full spe&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It&#039;s running at 855MHz with this config.txt file. &lt;br /&gt;
root@pisces:~# cat /boot/config.txt&lt;br /&gt;
&lt;br /&gt;
over_voltage=6&lt;br /&gt;
&lt;br /&gt;
arm_freq=855&lt;br /&gt;
&lt;br /&gt;
core_freq=500&lt;br /&gt;
&lt;br /&gt;
sdram_freq=500&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# cat /etc/network/interfaces&lt;br /&gt;
&lt;br /&gt;
    Used by ifup(8) and ifdown(8). See the interfaces(5) manpage or&lt;br /&gt;
    /usr/share/doc/ifupdown/examples for more information. &lt;br /&gt;
&lt;br /&gt;
auto lo&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
iface lo inet loopback&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    File: ifcfg-eth0&lt;br /&gt;
&lt;br /&gt;
auto eth0&lt;br /&gt;
&lt;br /&gt;
iface eth0 inet static&lt;br /&gt;
&lt;br /&gt;
address 192.168.10.31&lt;br /&gt;
&lt;br /&gt;
netmask 255.255.255.0&lt;br /&gt;
&lt;br /&gt;
gateway 192.168.10.103&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
auto eth1&lt;br /&gt;
&lt;br /&gt;
iface eth1 inet static&lt;br /&gt;
&lt;br /&gt;
address 192.168.2.199&lt;br /&gt;
&lt;br /&gt;
netmask 255.255.255.0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# cat /etc/modules&lt;br /&gt;
&lt;br /&gt;
    /etc/modules: kernel modules to load at boot time.&lt;br /&gt;
    This file contains the names of kernel modules that should be loaded&lt;br /&gt;
    at boot time, one per line. Lines beginning with &amp;quot;#&amp;quot; are ignored.&lt;br /&gt;
    Parameters can be specified after the module name. &lt;br /&gt;
&lt;br /&gt;
loop&lt;br /&gt;
&lt;br /&gt;
snd-bcm2835&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
One problem remains, no sound from the on-board chip.&lt;br /&gt;
&lt;br /&gt;
==VirtualBox (the easy way to get up and running)==&lt;br /&gt;
&lt;br /&gt;
It is possible to run the server software (and QtRadio) under VirtualBox.  It has been tested with HPSDR Hermes hardware. [http://people.wallawalla.edu/~Rob.Frohne/ghpsdr3-alex/Ubuntu%2012.10%20ghpsdr3-alex-hermes.zip A VirtualBox Ubuntu 12.10 image] is available that automatically starts the server software for those who are running Windows, or don&#039;t feel they have the hardware, expertise or time to setup a Linux machine to act as a server.  The username is: &amp;quot;ubuntu&amp;quot; and the password: &amp;quot;hamradio&amp;quot;, which is probably a good thing to change soon after installation.  Basically, all you need to do is follow the instructions below, plug your HPSDR Hermes or Apache Labs ANAN series transceivers into the network with the server, and you can be using ghpsdr3-alex on your own server.  Users of older HPSDR hardware may need to make slight variations such as configuring USB in VirtualBox, specifying different command line arguments to the automatically started server commands, etc, but you won&#039;t have to build the software, or install Linux, or get another computer just to run the ghpsdr3-alex server software.&lt;br /&gt;
&lt;br /&gt;
To get started, download the [http://people.wallawalla.edu/~Rob.Frohne/ghpsdr3-alex/Ubuntu%2012.10%20ghpsdr3-alex-hermes.zip VirtualBox image] (about 2.7 GB), unzip it, start [https://www.virtualbox.org/ VirtualBox], select the blue new button for the new machine, follow the wizard&#039;s instructions.  When it asks you about the hard drive, say use existing virtual hard drive file, and select the image you just unzipped using the folder icon with the green up-arrow as the hard drive, and hit the create button. Then use the green start arrow to start the Ubuntu 12.10 virtual machine. &lt;br /&gt;
&lt;br /&gt;
You should now be able to start QtRadio (the brown unity launcher item with CQ in it) and connect to your server.  If that works, you should be able to connect from any client with network access to your server including QtRadio outside your virtual machine, or from another computer on your LAN or glSDR on your phone using WIFI.  Be sure to set the server IP address in the client (QtRadio, or glSDR) to the IP address of the Ubuntu virtual machine.  You can get the IP address from the up/down arrow menu on the upper left of your virtual machine menu bar, under the selection &amp;quot;Connection Information.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
The [[Dspserver.conf]] file should be edited to personalize your server, and to allow transmit.   &lt;br /&gt;
&lt;br /&gt;
If your sever doesn&#039;t work, it may because your network interface is not eth2.  If it isn&#039;t, you need to read the notes on the [[Hermes]] page, and then edit the commands used to automatically start your server as described in the paragraph immediately below.&lt;br /&gt;
&lt;br /&gt;
If you want to edit or add the automatically started programs, see [http://askubuntu.com/questions/48321/how-do-i-start-applications-automatically-on-login this web page].  If you want to change things, the helpful notes about running the [[Hermes]] server on the [[Hermes]] page might be good to review.  They explain the commands started automatically upon login.&lt;br /&gt;
&lt;br /&gt;
I must make one note about running the software from a pre-prepared VirtualBox Image.  It is a way an attacker could gain access to your computer and network.  I used a pre-prepared Ubuntu 12.10 image from [http://virtualboxes.org/images/ubuntu/ VirtualBoxImages].  I believe it to be virgin, but you have to realize that it is possible that some rogue software is running on this image.  If you use the image I provide, you must be solely responsible for whatever happens. I (Rob Frohne, KL7NA) did not put anything on the image, except the ghpsdr3-alex and the tools and packages, and configuration files needed to build it, and I believe it to be harmless.  As always, there is a trade off between ease of use, and security.&lt;br /&gt;
&lt;br /&gt;
===Software=== &lt;br /&gt;
***** START AT THE BEGINNING WHEN BUILDING THE SOFTWARE -- i.e Section 1 and install all the packages recommended and do the pulseaudio setup.&lt;br /&gt;
&lt;br /&gt;
If you build ghpsdr3-alex already it&#039;s a case of following the same procedure with the following caveats that apply to the RasPi ARM architecture. What follows is a blow by blow account of how I did it for the iw0hdv branch which supports my HiQSDR+Preselector. The same steps are needed for building any other branch.&lt;br /&gt;
&lt;br /&gt;
Subject: [n2adr-sdr] Raspberry Pi running ghpsdr3-alex&lt;br /&gt;
&lt;br /&gt;
The changes made by Andrea have been merged into the master branch. These changes allow samplerates &amp;gt;192K but the Pi doesn&#039;t have the power to run these high samplerates - I am running hiqsdr-server at 960K samplerate on a 8-core x84_64 box.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   autoreconf -i &lt;br /&gt;
&lt;br /&gt;
    ./configure CFLAGS=&#039;-O3 -pipe -march=armv6 -mfpu=vfp -mfloat-abi=hard&#039; CXXFLAGS=&#039;-O3 -pipe -march=armv6 -mfpu=vfp -mfloat-abi=hard&#039; &lt;br /&gt;
&lt;br /&gt;
**** Additional steps needed when building rtlsdr-server. Do these before running make ******&lt;br /&gt;
# export ac_cv_func_malloc_0_nonnull=yes&lt;br /&gt;
# export ac_cv_func_realloc_0_nonnull=yes&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    make all &amp;amp;&amp;amp; make all install &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Sound on the Raspberry Pi is still a problem I have not been able to solve.&lt;br /&gt;
&lt;br /&gt;
Terry (WB4JFI) suggested the following that work for him but I have had no luck with it.&lt;br /&gt;
&lt;br /&gt;
&amp;quot;amixer cset numid=3 1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Other valid numid&#039;s are 0=auto, 1=headphones and 2=hdmi.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
QtRadio running on another box using the connection from the server list. Sound is a touch distorted, quite distorted on start up of QtRadio and spectrum is always a little bit slow.&lt;br /&gt;
&lt;br /&gt;
When a slave connected and tried changing frequency, dspserver crashed - dspserver can be a bit crash happy.&lt;br /&gt;
&lt;br /&gt;
The first thing I tried on the Pi was QtRadio standalone, spectrum and waterfall were OK but no sound.&lt;br /&gt;
&lt;br /&gt;
Just now a client using glSDR (5) is attempting to change frequency, sound went quite distorted then dspserver crashed.&lt;br /&gt;
&lt;br /&gt;
Restarted dspserver and QtRadio sound started very distorted before it settled down to reasonable.&lt;/div&gt;</summary>
		<author><name>Frohro</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=769</id>
		<title>QtRadio Installation</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=769"/>
		<updated>2013-08-27T13:43:54Z</updated>

		<summary type="html">&lt;p&gt;Frohro: /* Installation on Windows */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Installation on Linux ==&lt;br /&gt;
The instructions below are for Debian based distributions like Ubuntu but you should be able to compile on any Linux distribution with the correct libraries installed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Installation from Git ===&lt;br /&gt;
Installing from git involves building or compiling from source.  This is required if you want to use one of the various branches to work the &amp;quot;bleeding edge&amp;quot; branches like Alex&#039;s rxtx-event branch where the current (Nov 12 2011) TX work is being done.&lt;br /&gt;
The PPA install is never more than a few days behind master so there is not much to gain from building from git unless you want to work with the source code your self.&lt;br /&gt;
&lt;br /&gt;
==== Installing compiler and autotool ====&lt;br /&gt;
&lt;br /&gt;
First off, install the compiler; depending on which distribution are you using, some or all of this stuff could be already installed: &lt;br /&gt;
&lt;br /&gt;
===== Ubuntu/Debian =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install make gcc g++&lt;br /&gt;
sudo apt-get install autoconf automake autotools-dev libtool git subversion&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Fedora =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo yum install gcc gcc-c++ man-pages autoconf automake subversion libtool git&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Installing prerequisite packages ====&lt;br /&gt;
&lt;br /&gt;
===== Ubuntu 12.04 and newer =====&lt;br /&gt;
First of all, you have to check that the universe repository is enabled. Click on the gear shaped icon (bottom into left side bar): the System Settings menu will shown, click on Software Sources and finally check the Community-maintained Open Source Software (universe) tick. Next, submit the following commands into a terminal window:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install \&lt;br /&gt;
libqt4-opengl-dev \&lt;br /&gt;
qtmobility-dev \&lt;br /&gt;
libusb-0.1-4 \&lt;br /&gt;
libusb-dev \&lt;br /&gt;
libfftw3-dev \&lt;br /&gt;
portaudio19-dev \&lt;br /&gt;
libpulse-dev \&lt;br /&gt;
libsamplerate0-dev \&lt;br /&gt;
libusb-1.0-0-dev \&lt;br /&gt;
libconfig8-dev \&lt;br /&gt;
xdg-utils \&lt;br /&gt;
libortp-dev \&lt;br /&gt;
gcc-multilib \&lt;br /&gt;
libssl-dev \&lt;br /&gt;
libevent-dev \&lt;br /&gt;
libglu1-mesa-dev \&lt;br /&gt;
freeglut3-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You will need qt5 installed to complete the build.&lt;br /&gt;
&lt;br /&gt;
Visit: http://qt-project.org/downloads&lt;br /&gt;
&lt;br /&gt;
download the current package for your system.&lt;br /&gt;
&lt;br /&gt;
To build Qt5 on a RaspberryPi visit: http://qt-project.org/wiki/RaspberryPi&lt;br /&gt;
&lt;br /&gt;
After downloading it go to the download directory and do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ chmod +x the-name-of-the-downloaded-file&lt;br /&gt;
$ sudo ./the-name-of-the-downloaded-file&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Simply click on the installer and follow the prompts, take note of were qt5 is installed. Don&#039;t open the readme or start QtCreator when the installer asks.  It will make some files in your home directory owned by root, and that will give you trouble later.  After the install has completed, from a terminal:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ export PATH=/opt/Qt5.1.0/5.1.0/gcc_64/bin:/opt/Qt5.1.0/Tools/QtCreator/bin:$PATH&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
In the above make sure you put in the correct path for your version of Qt. This is due because the several packages from Qt sources and binary repositories web sites are not really installed in the system but simply copied on it. Therefore the autotools build system should search virtually over the whole filesystem.&lt;br /&gt;
In any case please remember that&lt;br /&gt;
the export above is effective only into the current terminal windows, if you open another window and/or reboot the system, you have to resubmit again the command&lt;br /&gt;
if you want to make permanent it, you have to add the export into the right configuration shell, suitable for the shell that you are currently using.&lt;br /&gt;
For the bash it is typically ~/.bashrc&lt;br /&gt;
In any case, after you issue the export, please test it.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
qmake -v&lt;br /&gt;
QMake version 2.01a&lt;br /&gt;
Using Qt version 4.8.0 in /home/andrew/QtSDK4.8x/Desktop/Qt/4.8.0/gcc/lib&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Ubuntu 11.04 and older ===== &lt;br /&gt;
First of all, you have to check that the &#039;&#039;universe repository&#039;&#039; is enabled.&lt;br /&gt;
Please see the procedure in the previous section [[#graphical installation]] .&lt;br /&gt;
&lt;br /&gt;
Next, you will need the following packages installed:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install \&lt;br /&gt;
libqt4-opengl-dev \&lt;br /&gt;
qtmobility-dev \&lt;br /&gt;
libusb-0.1-4 \&lt;br /&gt;
libusb-dev \&lt;br /&gt;
libfftw3-dev \&lt;br /&gt;
portaudio19-dev \&lt;br /&gt;
libpulse-dev \&lt;br /&gt;
libsamplerate0-dev \&lt;br /&gt;
libusb-1.0-0-dev \&lt;br /&gt;
libconfig8-dev \&lt;br /&gt;
libortp-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Ubuntu 11.10 ===== &lt;br /&gt;
First of all, you have to check that the &#039;&#039;universe repository&#039;&#039; is enabled.&lt;br /&gt;
Click on the gear shaped icon (bottom into left side bar): the &#039;&#039;System Settings&#039;&#039; menu will shown, click on &#039;&#039;Software Sources&#039;&#039; and finally check the &#039;&#039;Community-maintaned Open Source Software (universe)&#039;&#039; tick.&lt;br /&gt;
Next, submit the following commands into a terminal window:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install \&lt;br /&gt;
libqt4-opengl-dev \&lt;br /&gt;
qtmobility-dev \&lt;br /&gt;
libusb-0.1-4 \&lt;br /&gt;
libusb-dev \&lt;br /&gt;
libfftw3-dev \&lt;br /&gt;
portaudio19-dev \&lt;br /&gt;
libpulse-dev \&lt;br /&gt;
libsamplerate0-dev \&lt;br /&gt;
libusb-1.0-0-dev \&lt;br /&gt;
libconfig8-dev \&lt;br /&gt;
xdg-utils \&lt;br /&gt;
libortp-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Fedora 16 =====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo yum install fftw fftw-devel &lt;br /&gt;
sudo yum install libusb-devel libusb1-devel &lt;br /&gt;
sudo yum install portaudio-devel&lt;br /&gt;
sudo yum install libconfig-devel&lt;br /&gt;
sudo yum install libsamplerate-devel&lt;br /&gt;
sudo yum install pulseaudio-libs-devel&lt;br /&gt;
sudo yum install jack-audio-connection-kit  jack-audio-connection-kit-devel&lt;br /&gt;
sudo yum install qt4-devel&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Cloning the repository ====&lt;br /&gt;
&lt;br /&gt;
How to build the latest master branch on Ubuntu 11.04&lt;br /&gt;
&lt;br /&gt;
First a new libevent will need to be downloaded and installed, then the actual QtRadio source can be downloaded and built.&lt;br /&gt;
&lt;br /&gt;
==== Obtaining an up-level libevent library ====&lt;br /&gt;
&lt;br /&gt;
$ sudo apt-get install libevent-dev&lt;br /&gt;
&lt;br /&gt;
If the version is older than 2.0.5, go to synaptic and completely remove the stock libevent from Ubuntu. (Completely remove is an uninstall option in Synaptic. Additional dependent libraries may also be removed)&lt;br /&gt;
&lt;br /&gt;
Then download the new version from:&lt;br /&gt;
&lt;br /&gt;
http://libevent.org/&lt;br /&gt;
&lt;br /&gt;
libevent-2.0.16-stable.tar.gz&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
wget https://github.com/downloads/libevent/libevent/libevent-2.0.16-stable.tar.gz&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Move the tarball from the Downloads directory to a working directory. A suggestion is to create a src directory within your home directory and move it there. Uncompress and follow the instructions to build and install:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
tar -zxvf libevent-2.0.16-stable.tar.gz&lt;br /&gt;
cd libevent-2.0.16-stable&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On Fedora, in order to use the library above, export the LD_LIBRARY_PATH:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export LD_LIBRARY_PATH=/usr/local/lib&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Installing codec2 low bit rate audio encoding and decoding ====&lt;br /&gt;
&lt;br /&gt;
We are adding a low bit rate audio codec called codec 2 to QtRadio/dspserver.  You need&lt;br /&gt;
to download and build the codec2 library.  See:&lt;br /&gt;
&lt;br /&gt;
http://www.rowetel.com/blog/?page_id=452&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
Now go get codec2 using subversion&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
svn co https://freetel.svn.sourceforge.net/svnroot/freetel/codec2-dev codec2-dev&lt;br /&gt;
cd codec2-dev&lt;br /&gt;
autoreconf -i&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On Fedora, in order to use the library above, export the LD_LIBRARY_PATH:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export LD_LIBRARY_PATH=/usr/local/lib&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Building the master branch ====&lt;br /&gt;
&lt;br /&gt;
This branch is the latest code that contains both RX and TX capability. &lt;br /&gt;
&lt;br /&gt;
Create a new directory or cd to the ~/src directory created for libevent and cd into it.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://github.com/alexlee188/ghpsdr3-alex&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Depending on your Internet connection thorughput, it will take several minute to download.&lt;br /&gt;
cd into the new directory ghpsdr3-alex:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ghpsdr3-alex&lt;br /&gt;
git checkout master&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
You are now working with Alex&#039;s latest and greatest!&lt;br /&gt;
&lt;br /&gt;
First set the path to the version of qt you are using.  E.g. for qt5:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ export PATH=/opt/qt5/bin:$PATH&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
autoreconf -i&lt;br /&gt;
./configure&lt;br /&gt;
make -j4 all&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The default configure above builds with debug and default Qt4 version in your PC.  For optimized executable,&lt;br /&gt;
you need to specify options specific to your system.  See the sample shell scripts that replaces the above&lt;br /&gt;
./configure step:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./alex-avx-conf.sh		for building with i3,i5 and i7 cpu&#039;s supporting Advanced Vector Extensions (AVX)&lt;br /&gt;
./alex-openmp-conf.sh		for building with i3,i5 and i7 cpu&#039;s and OpenMP support&lt;br /&gt;
./alex-sse3-conf.sh		for building with SSE3 capable cpu&#039;s&lt;br /&gt;
./alex-openmp-sse3-conf.sh	for building with SSE3 cpaable cpu&#039;s and OpenMP support&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(If you do not want to actually install the executable binaries, skip the sudo make install and just cd into the following directories and run them from there)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Terminal 1&lt;br /&gt;
$ cd ghpsdr3-alex/trunk/src/softrock&lt;br /&gt;
$ ./softrock ...options ...&lt;br /&gt;
&lt;br /&gt;
Terminal 2&lt;br /&gt;
$ cd ghpsdr3-alex/trunk/src/dspserver&lt;br /&gt;
$ ./dspserver  ..options...&lt;br /&gt;
&lt;br /&gt;
Terminal 3&lt;br /&gt;
$ cd ghpsdr3-alex/trunk/src/QtRadio&lt;br /&gt;
$ ./QtRadio&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Building the Perseus extensions ====&lt;br /&gt;
&lt;br /&gt;
In order to build the Microtelecom Perseus server you need to switch to the master or iw0hdv branch. &lt;br /&gt;
&lt;br /&gt;
First off, install the prerequisite library and wget package:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install libboost-all-dev wget&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Next download, compile and install the library libperseus-sdr:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
wget http://libperseus-sdr.googlecode.com/files/libperseus_sdr-0.6.tar.gz&lt;br /&gt;
tar -zxvf libperseus_sdr-0.6.tar.gz&lt;br /&gt;
cd libperseus_sdr-0.6/&lt;br /&gt;
./configure &amp;amp;&amp;amp; make&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you already build in your sandbox some other branch, is strongly advisable, before you start the build, to do a full cleanup:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
make distcheck &amp;amp;&amp;amp; sh cleanup.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Otherwise, if you are starting from scratch, you have to clone the repository:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://github.com/alexlee188/ghpsdr3-alex&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, you can switch to the master branch and rebuild everything; you don&#039;t need anymore to explicitly enable the perseus server feature, the configure script automatically selects it when the libperseus_sdr is found.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
git checkout master&lt;br /&gt;
autoreconf -i &amp;amp;&amp;amp; ./configure &amp;amp;&amp;amp; make -j4&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In order to run it you have two choices, the first one being the plain command line:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
xterm -e &#039;perseus_server -d3 -s96000 &#039; &amp;amp;&lt;br /&gt;
sleep 3&lt;br /&gt;
xterm -e &#039;dspserver --lo 0 --nocorrectiq&#039; &amp;amp;&lt;br /&gt;
sleep 5&lt;br /&gt;
$( QtRadio 127.0.0.1 ) &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In QtRadio, Receiver menu, select Configure item, Server tab: here add the local host using the 127.0.0.1 IP address.&lt;br /&gt;
Pressing the key C, you start the receiver.&lt;br /&gt;
&lt;br /&gt;
The second choiche is to use the ghpsdr3-mgr.py script (available in menu Applications, Hamradio as ghpsdr3launcher): clicking on the Perseus icon the three processes should start and the QtServer automatically connects to Perseus Server.&lt;br /&gt;
&lt;br /&gt;
==== Building USRP enabled version ====&lt;br /&gt;
&lt;br /&gt;
===== Building the UHD package =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====== Install the prerequisite packages (Ubuntu 11.10): ======&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install liboost-all-dev&lt;br /&gt;
sudo apt-get install python-cheetah&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====== Build &amp;amp; Install UHD -- FOR UHD-3.3.1 AND GREATER --: ======&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
git clone git://ettus.sourcerepo.com/ettus/uhd.git&lt;br /&gt;
cd uhd/host/&lt;br /&gt;
mkdir build&lt;br /&gt;
cd build&lt;br /&gt;
cmake ../&lt;br /&gt;
make&lt;br /&gt;
make test&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you already build in your sandbox some other branch, is strongly advisable, before you start the build, to do a full cleanup:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
make distcheck &amp;amp;&amp;amp; sh cleanup.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Otherwise, if you are starting from scratch, first clone the repository:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://github.com/alexlee188/ghpsdr3-alex&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, you can switch to the master branch and rebuild everything, enabling the usrp server feature:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
git checkout usrp-server&lt;br /&gt;
autoreconf -i &amp;amp;&amp;amp; ./configure --enable-usrp=yes &amp;amp;&amp;amp; make -j4&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Refresh to a Newer Version ====&lt;br /&gt;
&lt;br /&gt;
To pull a new version to build &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ git pull&lt;br /&gt;
$ make -j4 all&lt;br /&gt;
$ sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If extensive changes have occurred or if you get errors during the make, you may want to do a clean build  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ git pull&lt;br /&gt;
$ make distclean&lt;br /&gt;
$ sh cleanup.sh&lt;br /&gt;
$ autoreconf -i&lt;br /&gt;
$ ./configure&lt;br /&gt;
$ make -j4 all&lt;br /&gt;
$ sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you continue to get errors, please report the whole ./configure output and the config.log to the mailing list.&lt;br /&gt;
&lt;br /&gt;
== Installation on Windows ==&lt;br /&gt;
See [[ QtRadio on Windows]]&lt;br /&gt;
&lt;br /&gt;
==VirtualBox (the easy way to get up and running)==&lt;br /&gt;
&lt;br /&gt;
It is possible to run the server software (and QtRadio) under VirtualBox.  It has been tested with HPSDR Hermes hardware. [http://people.wallawalla.edu/~Rob.Frohne/ghpsdr3-alex/Ubuntu%2012.10%20ghpsdr3-alex-hermes.zip A VirtualBox Ubuntu 12.10 image] is available that automatically starts the server software for those who are running Windows, or don&#039;t feel they have the hardware, expertise or time to setup a Linux machine to act as a server.  The username is: &amp;quot;ubuntu&amp;quot; and the password: &amp;quot;hamradio&amp;quot;, which is probably a good thing to change soon after installation.  Basically, all you need to do is follow the instructions below, plug your HPSDR Hermes or Apache Labs ANAN series transceivers into the network with the server, and you can be using ghpsdr3-alex on your own server.  Users of older HPSDR hardware may need to make slight variations such as configuring USB in VirtualBox, specifying different command line arguments to the automatically started server commands, etc, but you won&#039;t have to build the software, or install Linux, or get another computer just to run the ghpsdr3-alex server software.&lt;br /&gt;
&lt;br /&gt;
To get started, download the [http://people.wallawalla.edu/~Rob.Frohne/ghpsdr3-alex/Ubuntu%2012.10%20ghpsdr3-alex-hermes.zip VirtualBox image] (about 2.7 GB), unzip it, start [https://www.virtualbox.org/ VirtualBox], select the blue new button for the new machine, follow the wizard&#039;s instructions.  When it asks you about the hard drive, say use existing virtual hard drive file, and select the image you just unzipped using the folder icon with the green up-arrow as the hard drive, and hit the create button. Then use the green start arrow to start the Ubuntu 12.10 virtual machine. &lt;br /&gt;
&lt;br /&gt;
You should now be able to start QtRadio (the brown unity launcher item with CQ in it) and connect to your server.  If that works, you should be able to connect from any client with network access to your server including QtRadio outside your virtual machine, or from another computer on your LAN or glSDR on your phone using WIFI.  Be sure to set the server IP address in the client (QtRadio, or glSDR) to the IP address of the Ubuntu virtual machine.  You can get the IP address from the up/down arrow menu on the upper left of your virtual machine menu bar, under the selection &amp;quot;Connection Information.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
The [[Dspserver.conf]] file should be edited to personalize your server, and to allow transmit.   &lt;br /&gt;
&lt;br /&gt;
If your sever doesn&#039;t work, it may because your network interface is not eth2.  If it isn&#039;t, you need to read the notes on the [[Hermes]] page, and then edit the commands used to automatically start your server as described in the paragraph immediately below.&lt;br /&gt;
&lt;br /&gt;
If you want to edit or add the automatically started programs, see [http://askubuntu.com/questions/48321/how-do-i-start-applications-automatically-on-login this web page].  If you want to change things, the helpful notes about running the [[Hermes]] server on the [[Hermes]] page might be good to review.  They explain the commands started automatically upon login.&lt;br /&gt;
&lt;br /&gt;
I must make one note about running the software from a pre-prepared VirtualBox Image.  It is a way an attacker could gain access to your computer and network.  I used a pre-prepared Ubuntu 12.10 image from [http://virtualboxes.org/images/ubuntu/ VirtualBoxImages].  I believe it to be virgin, but you have to realize that it is possible that some rogue software is running on this image.  If you use the image I provide, you must be solely responsible for whatever happens. I (Rob Frohne, KL7NA) did not put anything on the image, except the ghpsdr3-alex and the tools and packages, and configuration files needed to build it, and I believe it to be harmless.  As always, there is a trade off between ease of use, and security.&lt;br /&gt;
&lt;br /&gt;
===Software=== &lt;br /&gt;
***** START AT THE BEGINNING WHEN BUILDING THE SOFTWARE -- i.e Section 1 and install all the packages recommended and do the pulseaudio setup.&lt;br /&gt;
&lt;br /&gt;
If you build ghpsdr3-alex already it&#039;s a case of following the same procedure with the following caveats that apply to the RasPi ARM architecture. What follows is a blow by blow account of how I did it for the iw0hdv branch which supports my HiQSDR+Preselector. The same steps are needed for building any other branch.&lt;br /&gt;
&lt;br /&gt;
Subject: [n2adr-sdr] Raspberry Pi running ghpsdr3-alex&lt;br /&gt;
&lt;br /&gt;
The changes made by Andrea have been merged into the master branch. These changes allow samplerates &amp;gt;192K but the Pi doesn&#039;t have the power to run these high samplerates - I am running hiqsdr-server at 960K samplerate on a 8-core x84_64 box.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   autoreconf -i &lt;br /&gt;
&lt;br /&gt;
    ./configure CFLAGS=&#039;-O3 -pipe -march=armv6 -mfpu=vfp -mfloat-abi=hard&#039; CXXFLAGS=&#039;-O3 -pipe -march=armv6 -mfpu=vfp -mfloat-abi=hard&#039; &lt;br /&gt;
&lt;br /&gt;
**** Additional steps needed when building rtlsdr-server. Do these before running make ******&lt;br /&gt;
# export ac_cv_func_malloc_0_nonnull=yes&lt;br /&gt;
# export ac_cv_func_realloc_0_nonnull=yes&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    make all &amp;amp;&amp;amp; make all install &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Sound on the Raspberry Pi is still a problem I have not been able to solve.&lt;br /&gt;
&lt;br /&gt;
Terry (WB4JFI) suggested the following that work for him but I have had no luck with it.&lt;br /&gt;
&lt;br /&gt;
&amp;quot;amixer cset numid=3 1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Other valid numid&#039;s are 0=auto, 1=headphones and 2=hdmi.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
QtRadio running on another box using the connection from the server list. Sound is a touch distorted, quite distorted on start up of QtRadio and spectrum is always a little bit slow.&lt;br /&gt;
&lt;br /&gt;
When a slave connected and tried changing frequency, dspserver crashed - dspserver can be a bit crash happy.&lt;br /&gt;
&lt;br /&gt;
The first thing I tried on the Pi was QtRadio standalone, spectrum and waterfall were OK but no sound.&lt;br /&gt;
&lt;br /&gt;
Just now a client using glSDR (5) is attempting to change frequency, sound went quite distorted then dspserver crashed.&lt;br /&gt;
&lt;br /&gt;
Restarted dspserver and QtRadio sound started very distorted before it settled down to reasonable.&lt;br /&gt;
&lt;br /&gt;
== Network settings ==&lt;br /&gt;
If you are behind a firewall/NAT-router and want to be able to connect to your dspserver over the Internet you have to open up port tcp/8000. If you are using the client in RTP mode you have to open up udp/5004 and udp/5005.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Installing ghpsdr3-alex on Raspberry Pi == &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Hardware===&lt;br /&gt;
&lt;br /&gt;
*** THIS SECTION DEALS WITH Raspberry Pi DIFFERENCES *** IT DOES NOT CIRCUMVENT THE INSTRUCTIONS STARTING AT STEP 1 OF THE QtRadio Installation. ***&lt;br /&gt;
&lt;br /&gt;
I recommend installing either the raspbian or raspbian pisces (debian) distributions as there is no Ubuntu release to date.&lt;br /&gt;
&lt;br /&gt;
*** All the pre-requisite packages needed for Ubuntu must be installed on raspbian or respbian pisces using the same &amp;quot;apt-get install&amp;quot; commands so it&#039;s necessary to follow the QtRadio-Installation &lt;br /&gt;
document from the beginning after installing raspbian or raspbian pisces.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
        The RasPi USB subsystem is sensitive to power supply voltage levels - A supply of 5.5V at 2A is recommended. &lt;br /&gt;
With the power supply output at +5.17V I was getting on-board Ethernet errors and system hangs when one more device besides keyboard and mouse were plugged in to the on-board USB ports or an outboard powered USB HUB. &lt;br /&gt;
&lt;br /&gt;
Measuring the voltage across TP1 and TP2 on the Raspberry Pi and  increased it to +4.97V (P.S output +5.59V).&lt;br /&gt;
&lt;br /&gt;
I also ran &amp;quot;rpi-update&amp;quot; which install new firmware. &lt;br /&gt;
&lt;br /&gt;
I shorted out the polyfuses F1 and F2 on the Pi and USB is much more stable but still limited.&lt;br /&gt;
&lt;br /&gt;
With keyboard, mouse, gigabit USB Ethernet, SB Live! 24 USB and RTL-SDR dongle it runs for some hours before it freezes.&lt;br /&gt;
&lt;br /&gt;
Removing the RTL-SDR dongle from the powered hub made a great difference with a current uptime heading for 3 days. The latest ghpsdr3-alex master branch build successfully completed while I was in bed.&lt;br /&gt;
&lt;br /&gt;
root@pisces:/usr/src/GHPSDR3_HIGH_SPEED_MASTER/ghpsdr3-alex# date&lt;br /&gt;
&lt;br /&gt;
Sun Sep  9 13:00:49 BST 2012&lt;br /&gt;
&lt;br /&gt;
root@pisces:/usr/src/GHPSDR3_HIGH_SPEED_MASTER/ghpsdr3-alex# uptime&lt;br /&gt;
&lt;br /&gt;
 13:00:56 up 2 days, 20:46,  8 users,  load average: 0.81, 1.01, 0.67&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 ******       Do not use power from a USB PC port or from a USB Hub. ********&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once it&#039;s up and running, some details that may help in setting up the hardware for use - I&#039;m currently overclocking at 855MHz  (Previously was set to 1GHz):-&lt;br /&gt;
&lt;br /&gt;
Keyboard, mouse, usb sound card, RTL-SDR TV dongle and USB Gigabit Ethernet fully operational using the 7-port powered USB hub.&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# lsusb&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp. &lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.&lt;br /&gt;
 &lt;br /&gt;
Bus 001 Device 004: ID 04cc:1521 ST-Ericsson USB 2.0 Hub&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 011: ID 04f3:0103 Elan Microelectronics Corp. &lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 006: ID 047d:1022 Kensington Orbit Optical&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 007: ID 1d19:1101 Dexatek Technology Ltd. DK DVB-T Dongle&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 008: ID 041e:3040 Creative Technology, Ltd SoundBlaster Live! 24-bit External SB0490&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 009: ID 0b95:1780 ASIX Electronics Corp. AX88178&lt;br /&gt;
root@pisces:~# ifconfig &lt;br /&gt;
&lt;br /&gt;
eth0 Link encap:Ethernet HWaddr b8:27:eb:2c:07:c9&lt;br /&gt;
&lt;br /&gt;
         inet addr:192.168.10.31  Bcast:192.168.10.255 Mask:255.255.255.0&lt;br /&gt;
         inet6 addr: fe80::ba27:ebff:fe2c:7c9/64 Scope:Link&lt;br /&gt;
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1&lt;br /&gt;
         RX packets:410 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
         TX packets:377 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
         collisions:0 txqueuelen:1000&lt;br /&gt;
         RX bytes:28905 (28.2 KiB)  TX bytes:35938 (35.0 KiB)&lt;br /&gt;
&lt;br /&gt;
eth1 Link encap:Ethernet HWaddr 00:10:14:00:9f:fa&lt;br /&gt;
&lt;br /&gt;
         inet addr:192.168.2.199  Bcast:192.168.2.255 Mask:255.255.255.0&lt;br /&gt;
         inet6 addr: fe80::210:14ff:fe00:9ffa/64 Scope:Link&lt;br /&gt;
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1&lt;br /&gt;
         RX packets:5 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
         TX packets:7 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
         collisions:0 txqueuelen:1000&lt;br /&gt;
         RX bytes:230 (230.0 B)  TX bytes:592 (592.0 B)&lt;br /&gt;
&lt;br /&gt;
lo Link encap:Local Loopback&lt;br /&gt;
&lt;br /&gt;
         inet addr:127.0.0.1  Mask:255.0.0.0&lt;br /&gt;
         inet6 addr: ::1/128 Scope:Host&lt;br /&gt;
         UP LOOPBACK RUNNING  MTU:16436  Metric:1&lt;br /&gt;
         RX packets:0 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
         TX packets:0 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
         collisions:0 txqueuelen:0&lt;br /&gt;
         RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# cat /proc/asound/cards&lt;br /&gt;
 0 [ALSA           ]: BRCM bcm2835 ALSbcm2835 ALSA - bcm2835 ALSA&lt;br /&gt;
                      bcm2835 ALSA&lt;br /&gt;
&lt;br /&gt;
 1 [External       ]: USB-Audio - SB Live! 24-bit External&lt;br /&gt;
                      Creative Technology SB Live! 24-bit External at usb-bcm2708_usb-1.2.2, full spe&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It&#039;s running at 855MHz with this config.txt file. &lt;br /&gt;
root@pisces:~# cat /boot/config.txt&lt;br /&gt;
&lt;br /&gt;
over_voltage=6&lt;br /&gt;
&lt;br /&gt;
arm_freq=855&lt;br /&gt;
&lt;br /&gt;
core_freq=500&lt;br /&gt;
&lt;br /&gt;
sdram_freq=500&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# cat /etc/network/interfaces&lt;br /&gt;
&lt;br /&gt;
    Used by ifup(8) and ifdown(8). See the interfaces(5) manpage or&lt;br /&gt;
    /usr/share/doc/ifupdown/examples for more information. &lt;br /&gt;
&lt;br /&gt;
auto lo&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
iface lo inet loopback&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    File: ifcfg-eth0&lt;br /&gt;
&lt;br /&gt;
auto eth0&lt;br /&gt;
&lt;br /&gt;
iface eth0 inet static&lt;br /&gt;
&lt;br /&gt;
address 192.168.10.31&lt;br /&gt;
&lt;br /&gt;
netmask 255.255.255.0&lt;br /&gt;
&lt;br /&gt;
gateway 192.168.10.103&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
auto eth1&lt;br /&gt;
&lt;br /&gt;
iface eth1 inet static&lt;br /&gt;
&lt;br /&gt;
address 192.168.2.199&lt;br /&gt;
&lt;br /&gt;
netmask 255.255.255.0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# cat /etc/modules&lt;br /&gt;
&lt;br /&gt;
    /etc/modules: kernel modules to load at boot time.&lt;br /&gt;
    This file contains the names of kernel modules that should be loaded&lt;br /&gt;
    at boot time, one per line. Lines beginning with &amp;quot;#&amp;quot; are ignored.&lt;br /&gt;
    Parameters can be specified after the module name. &lt;br /&gt;
&lt;br /&gt;
loop&lt;br /&gt;
&lt;br /&gt;
snd-bcm2835&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
One problem remains, no sound from the on-board chip.&lt;br /&gt;
&lt;br /&gt;
==VirtualBox (the easy way to get up and running)==&lt;br /&gt;
&lt;br /&gt;
It is possible to run the server software (and QtRadio) under VirtualBox.  It has been tested with HPSDR Hermes hardware. [http://people.wallawalla.edu/~Rob.Frohne/ghpsdr3-alex/Ubuntu%2012.10%20ghpsdr3-alex-hermes.zip A VirtualBox Ubuntu 12.10 image] is available that automatically starts the server software for those who are running Windows, or don&#039;t feel they have the hardware, expertise or time to setup a Linux machine to act as a server.  The username is: &amp;quot;ubuntu&amp;quot; and the password: &amp;quot;hamradio&amp;quot;, which is probably a good thing to change soon after installation.  Basically, all you need to do is follow the instructions below, plug your HPSDR Hermes or Apache Labs ANAN series transceivers into the network with the server, and you can be using ghpsdr3-alex on your own server.  Users of older HPSDR hardware may need to make slight variations such as configuring USB in VirtualBox, specifying different command line arguments to the automatically started server commands, etc, but you won&#039;t have to build the software, or install Linux, or get another computer just to run the ghpsdr3-alex server software.&lt;br /&gt;
&lt;br /&gt;
To get started, download the [http://people.wallawalla.edu/~Rob.Frohne/ghpsdr3-alex/Ubuntu%2012.10%20ghpsdr3-alex-hermes.zip VirtualBox image] (about 2.7 GB), unzip it, start [https://www.virtualbox.org/ VirtualBox], select the blue new button for the new machine, follow the wizard&#039;s instructions.  When it asks you about the hard drive, say use existing virtual hard drive file, and select the image you just unzipped using the folder icon with the green up-arrow as the hard drive, and hit the create button. Then use the green start arrow to start the Ubuntu 12.10 virtual machine. &lt;br /&gt;
&lt;br /&gt;
You should now be able to start QtRadio (the brown unity launcher item with CQ in it) and connect to your server.  If that works, you should be able to connect from any client with network access to your server including QtRadio outside your virtual machine, or from another computer on your LAN or glSDR on your phone using WIFI.  Be sure to set the server IP address in the client (QtRadio, or glSDR) to the IP address of the Ubuntu virtual machine.  You can get the IP address from the up/down arrow menu on the upper left of your virtual machine menu bar, under the selection &amp;quot;Connection Information.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
The [[Dspserver.conf]] file should be edited to personalize your server, and to allow transmit.   &lt;br /&gt;
&lt;br /&gt;
If your sever doesn&#039;t work, it may because your network interface is not eth2.  If it isn&#039;t, you need to read the notes on the [[Hermes]] page, and then edit the commands used to automatically start your server as described in the paragraph immediately below.&lt;br /&gt;
&lt;br /&gt;
If you want to edit or add the automatically started programs, see [http://askubuntu.com/questions/48321/how-do-i-start-applications-automatically-on-login this web page].  If you want to change things, the helpful notes about running the [[Hermes]] server on the [[Hermes]] page might be good to review.  They explain the commands started automatically upon login.&lt;br /&gt;
&lt;br /&gt;
I must make one note about running the software from a pre-prepared VirtualBox Image.  It is a way an attacker could gain access to your computer and network.  I used a pre-prepared Ubuntu 12.10 image from [http://virtualboxes.org/images/ubuntu/ VirtualBoxImages].  I believe it to be virgin, but you have to realize that it is possible that some rogue software is running on this image.  If you use the image I provide, you must be solely responsible for whatever happens. I (Rob Frohne, KL7NA) did not put anything on the image, except the ghpsdr3-alex and the tools and packages, and configuration files needed to build it, and I believe it to be harmless.  As always, there is a trade off between ease of use, and security.&lt;br /&gt;
&lt;br /&gt;
===Software=== &lt;br /&gt;
***** START AT THE BEGINNING WHEN BUILDING THE SOFTWARE -- i.e Section 1 and install all the packages recommended and do the pulseaudio setup.&lt;br /&gt;
&lt;br /&gt;
If you build ghpsdr3-alex already it&#039;s a case of following the same procedure with the following caveats that apply to the RasPi ARM architecture. What follows is a blow by blow account of how I did it for the iw0hdv branch which supports my HiQSDR+Preselector. The same steps are needed for building any other branch.&lt;br /&gt;
&lt;br /&gt;
Subject: [n2adr-sdr] Raspberry Pi running ghpsdr3-alex&lt;br /&gt;
&lt;br /&gt;
The changes made by Andrea have been merged into the master branch. These changes allow samplerates &amp;gt;192K but the Pi doesn&#039;t have the power to run these high samplerates - I am running hiqsdr-server at 960K samplerate on a 8-core x84_64 box.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   autoreconf -i &lt;br /&gt;
&lt;br /&gt;
    ./configure CFLAGS=&#039;-O3 -pipe -march=armv6 -mfpu=vfp -mfloat-abi=hard&#039; CXXFLAGS=&#039;-O3 -pipe -march=armv6 -mfpu=vfp -mfloat-abi=hard&#039; &lt;br /&gt;
&lt;br /&gt;
**** Additional steps needed when building rtlsdr-server. Do these before running make ******&lt;br /&gt;
# export ac_cv_func_malloc_0_nonnull=yes&lt;br /&gt;
# export ac_cv_func_realloc_0_nonnull=yes&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    make all &amp;amp;&amp;amp; make all install &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Sound on the Raspberry Pi is still a problem I have not been able to solve.&lt;br /&gt;
&lt;br /&gt;
Terry (WB4JFI) suggested the following that work for him but I have had no luck with it.&lt;br /&gt;
&lt;br /&gt;
&amp;quot;amixer cset numid=3 1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Other valid numid&#039;s are 0=auto, 1=headphones and 2=hdmi.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
QtRadio running on another box using the connection from the server list. Sound is a touch distorted, quite distorted on start up of QtRadio and spectrum is always a little bit slow.&lt;br /&gt;
&lt;br /&gt;
When a slave connected and tried changing frequency, dspserver crashed - dspserver can be a bit crash happy.&lt;br /&gt;
&lt;br /&gt;
The first thing I tried on the Pi was QtRadio standalone, spectrum and waterfall were OK but no sound.&lt;br /&gt;
&lt;br /&gt;
Just now a client using glSDR (5) is attempting to change frequency, sound went quite distorted then dspserver crashed.&lt;br /&gt;
&lt;br /&gt;
Restarted dspserver and QtRadio sound started very distorted before it settled down to reasonable.&lt;/div&gt;</summary>
		<author><name>Frohro</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=768</id>
		<title>QtRadio Installation</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=768"/>
		<updated>2013-08-27T13:42:10Z</updated>

		<summary type="html">&lt;p&gt;Frohro: /* Installing ghpsdr3-alex on Raspberry Pi */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Installation on Linux ==&lt;br /&gt;
The instructions below are for Debian based distributions like Ubuntu but you should be able to compile on any Linux distribution with the correct libraries installed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Installation from Git ===&lt;br /&gt;
Installing from git involves building or compiling from source.  This is required if you want to use one of the various branches to work the &amp;quot;bleeding edge&amp;quot; branches like Alex&#039;s rxtx-event branch where the current (Nov 12 2011) TX work is being done.&lt;br /&gt;
The PPA install is never more than a few days behind master so there is not much to gain from building from git unless you want to work with the source code your self.&lt;br /&gt;
&lt;br /&gt;
==== Installing compiler and autotool ====&lt;br /&gt;
&lt;br /&gt;
First off, install the compiler; depending on which distribution are you using, some or all of this stuff could be already installed: &lt;br /&gt;
&lt;br /&gt;
===== Ubuntu/Debian =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install make gcc g++&lt;br /&gt;
sudo apt-get install autoconf automake autotools-dev libtool git subversion&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Fedora =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo yum install gcc gcc-c++ man-pages autoconf automake subversion libtool git&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Installing prerequisite packages ====&lt;br /&gt;
&lt;br /&gt;
===== Ubuntu 12.04 and newer =====&lt;br /&gt;
First of all, you have to check that the universe repository is enabled. Click on the gear shaped icon (bottom into left side bar): the System Settings menu will shown, click on Software Sources and finally check the Community-maintained Open Source Software (universe) tick. Next, submit the following commands into a terminal window:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install \&lt;br /&gt;
libqt4-opengl-dev \&lt;br /&gt;
qtmobility-dev \&lt;br /&gt;
libusb-0.1-4 \&lt;br /&gt;
libusb-dev \&lt;br /&gt;
libfftw3-dev \&lt;br /&gt;
portaudio19-dev \&lt;br /&gt;
libpulse-dev \&lt;br /&gt;
libsamplerate0-dev \&lt;br /&gt;
libusb-1.0-0-dev \&lt;br /&gt;
libconfig8-dev \&lt;br /&gt;
xdg-utils \&lt;br /&gt;
libortp-dev \&lt;br /&gt;
gcc-multilib \&lt;br /&gt;
libssl-dev \&lt;br /&gt;
libevent-dev \&lt;br /&gt;
libglu1-mesa-dev \&lt;br /&gt;
freeglut3-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You will need qt5 installed to complete the build.&lt;br /&gt;
&lt;br /&gt;
Visit: http://qt-project.org/downloads&lt;br /&gt;
&lt;br /&gt;
download the current package for your system.&lt;br /&gt;
&lt;br /&gt;
To build Qt5 on a RaspberryPi visit: http://qt-project.org/wiki/RaspberryPi&lt;br /&gt;
&lt;br /&gt;
After downloading it go to the download directory and do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ chmod +x the-name-of-the-downloaded-file&lt;br /&gt;
$ sudo ./the-name-of-the-downloaded-file&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Simply click on the installer and follow the prompts, take note of were qt5 is installed. Don&#039;t open the readme or start QtCreator when the installer asks.  It will make some files in your home directory owned by root, and that will give you trouble later.  After the install has completed, from a terminal:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ export PATH=/opt/Qt5.1.0/5.1.0/gcc_64/bin:/opt/Qt5.1.0/Tools/QtCreator/bin:$PATH&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
In the above make sure you put in the correct path for your version of Qt. This is due because the several packages from Qt sources and binary repositories web sites are not really installed in the system but simply copied on it. Therefore the autotools build system should search virtually over the whole filesystem.&lt;br /&gt;
In any case please remember that&lt;br /&gt;
the export above is effective only into the current terminal windows, if you open another window and/or reboot the system, you have to resubmit again the command&lt;br /&gt;
if you want to make permanent it, you have to add the export into the right configuration shell, suitable for the shell that you are currently using.&lt;br /&gt;
For the bash it is typically ~/.bashrc&lt;br /&gt;
In any case, after you issue the export, please test it.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
qmake -v&lt;br /&gt;
QMake version 2.01a&lt;br /&gt;
Using Qt version 4.8.0 in /home/andrew/QtSDK4.8x/Desktop/Qt/4.8.0/gcc/lib&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Ubuntu 11.04 and older ===== &lt;br /&gt;
First of all, you have to check that the &#039;&#039;universe repository&#039;&#039; is enabled.&lt;br /&gt;
Please see the procedure in the previous section [[#graphical installation]] .&lt;br /&gt;
&lt;br /&gt;
Next, you will need the following packages installed:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install \&lt;br /&gt;
libqt4-opengl-dev \&lt;br /&gt;
qtmobility-dev \&lt;br /&gt;
libusb-0.1-4 \&lt;br /&gt;
libusb-dev \&lt;br /&gt;
libfftw3-dev \&lt;br /&gt;
portaudio19-dev \&lt;br /&gt;
libpulse-dev \&lt;br /&gt;
libsamplerate0-dev \&lt;br /&gt;
libusb-1.0-0-dev \&lt;br /&gt;
libconfig8-dev \&lt;br /&gt;
libortp-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Ubuntu 11.10 ===== &lt;br /&gt;
First of all, you have to check that the &#039;&#039;universe repository&#039;&#039; is enabled.&lt;br /&gt;
Click on the gear shaped icon (bottom into left side bar): the &#039;&#039;System Settings&#039;&#039; menu will shown, click on &#039;&#039;Software Sources&#039;&#039; and finally check the &#039;&#039;Community-maintaned Open Source Software (universe)&#039;&#039; tick.&lt;br /&gt;
Next, submit the following commands into a terminal window:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install \&lt;br /&gt;
libqt4-opengl-dev \&lt;br /&gt;
qtmobility-dev \&lt;br /&gt;
libusb-0.1-4 \&lt;br /&gt;
libusb-dev \&lt;br /&gt;
libfftw3-dev \&lt;br /&gt;
portaudio19-dev \&lt;br /&gt;
libpulse-dev \&lt;br /&gt;
libsamplerate0-dev \&lt;br /&gt;
libusb-1.0-0-dev \&lt;br /&gt;
libconfig8-dev \&lt;br /&gt;
xdg-utils \&lt;br /&gt;
libortp-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Fedora 16 =====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo yum install fftw fftw-devel &lt;br /&gt;
sudo yum install libusb-devel libusb1-devel &lt;br /&gt;
sudo yum install portaudio-devel&lt;br /&gt;
sudo yum install libconfig-devel&lt;br /&gt;
sudo yum install libsamplerate-devel&lt;br /&gt;
sudo yum install pulseaudio-libs-devel&lt;br /&gt;
sudo yum install jack-audio-connection-kit  jack-audio-connection-kit-devel&lt;br /&gt;
sudo yum install qt4-devel&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Cloning the repository ====&lt;br /&gt;
&lt;br /&gt;
How to build the latest master branch on Ubuntu 11.04&lt;br /&gt;
&lt;br /&gt;
First a new libevent will need to be downloaded and installed, then the actual QtRadio source can be downloaded and built.&lt;br /&gt;
&lt;br /&gt;
==== Obtaining an up-level libevent library ====&lt;br /&gt;
&lt;br /&gt;
$ sudo apt-get install libevent-dev&lt;br /&gt;
&lt;br /&gt;
If the version is older than 2.0.5, go to synaptic and completely remove the stock libevent from Ubuntu. (Completely remove is an uninstall option in Synaptic. Additional dependent libraries may also be removed)&lt;br /&gt;
&lt;br /&gt;
Then download the new version from:&lt;br /&gt;
&lt;br /&gt;
http://libevent.org/&lt;br /&gt;
&lt;br /&gt;
libevent-2.0.16-stable.tar.gz&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
wget https://github.com/downloads/libevent/libevent/libevent-2.0.16-stable.tar.gz&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Move the tarball from the Downloads directory to a working directory. A suggestion is to create a src directory within your home directory and move it there. Uncompress and follow the instructions to build and install:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
tar -zxvf libevent-2.0.16-stable.tar.gz&lt;br /&gt;
cd libevent-2.0.16-stable&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On Fedora, in order to use the library above, export the LD_LIBRARY_PATH:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export LD_LIBRARY_PATH=/usr/local/lib&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Installing codec2 low bit rate audio encoding and decoding ====&lt;br /&gt;
&lt;br /&gt;
We are adding a low bit rate audio codec called codec 2 to QtRadio/dspserver.  You need&lt;br /&gt;
to download and build the codec2 library.  See:&lt;br /&gt;
&lt;br /&gt;
http://www.rowetel.com/blog/?page_id=452&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
Now go get codec2 using subversion&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
svn co https://freetel.svn.sourceforge.net/svnroot/freetel/codec2-dev codec2-dev&lt;br /&gt;
cd codec2-dev&lt;br /&gt;
autoreconf -i&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On Fedora, in order to use the library above, export the LD_LIBRARY_PATH:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export LD_LIBRARY_PATH=/usr/local/lib&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Building the master branch ====&lt;br /&gt;
&lt;br /&gt;
This branch is the latest code that contains both RX and TX capability. &lt;br /&gt;
&lt;br /&gt;
Create a new directory or cd to the ~/src directory created for libevent and cd into it.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://github.com/alexlee188/ghpsdr3-alex&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Depending on your Internet connection thorughput, it will take several minute to download.&lt;br /&gt;
cd into the new directory ghpsdr3-alex:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ghpsdr3-alex&lt;br /&gt;
git checkout master&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
You are now working with Alex&#039;s latest and greatest!&lt;br /&gt;
&lt;br /&gt;
First set the path to the version of qt you are using.  E.g. for qt5:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ export PATH=/opt/qt5/bin:$PATH&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
autoreconf -i&lt;br /&gt;
./configure&lt;br /&gt;
make -j4 all&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The default configure above builds with debug and default Qt4 version in your PC.  For optimized executable,&lt;br /&gt;
you need to specify options specific to your system.  See the sample shell scripts that replaces the above&lt;br /&gt;
./configure step:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./alex-avx-conf.sh		for building with i3,i5 and i7 cpu&#039;s supporting Advanced Vector Extensions (AVX)&lt;br /&gt;
./alex-openmp-conf.sh		for building with i3,i5 and i7 cpu&#039;s and OpenMP support&lt;br /&gt;
./alex-sse3-conf.sh		for building with SSE3 capable cpu&#039;s&lt;br /&gt;
./alex-openmp-sse3-conf.sh	for building with SSE3 cpaable cpu&#039;s and OpenMP support&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(If you do not want to actually install the executable binaries, skip the sudo make install and just cd into the following directories and run them from there)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Terminal 1&lt;br /&gt;
$ cd ghpsdr3-alex/trunk/src/softrock&lt;br /&gt;
$ ./softrock ...options ...&lt;br /&gt;
&lt;br /&gt;
Terminal 2&lt;br /&gt;
$ cd ghpsdr3-alex/trunk/src/dspserver&lt;br /&gt;
$ ./dspserver  ..options...&lt;br /&gt;
&lt;br /&gt;
Terminal 3&lt;br /&gt;
$ cd ghpsdr3-alex/trunk/src/QtRadio&lt;br /&gt;
$ ./QtRadio&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Building the Perseus extensions ====&lt;br /&gt;
&lt;br /&gt;
In order to build the Microtelecom Perseus server you need to switch to the master or iw0hdv branch. &lt;br /&gt;
&lt;br /&gt;
First off, install the prerequisite library and wget package:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install libboost-all-dev wget&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Next download, compile and install the library libperseus-sdr:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
wget http://libperseus-sdr.googlecode.com/files/libperseus_sdr-0.6.tar.gz&lt;br /&gt;
tar -zxvf libperseus_sdr-0.6.tar.gz&lt;br /&gt;
cd libperseus_sdr-0.6/&lt;br /&gt;
./configure &amp;amp;&amp;amp; make&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you already build in your sandbox some other branch, is strongly advisable, before you start the build, to do a full cleanup:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
make distcheck &amp;amp;&amp;amp; sh cleanup.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Otherwise, if you are starting from scratch, you have to clone the repository:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://github.com/alexlee188/ghpsdr3-alex&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, you can switch to the master branch and rebuild everything; you don&#039;t need anymore to explicitly enable the perseus server feature, the configure script automatically selects it when the libperseus_sdr is found.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
git checkout master&lt;br /&gt;
autoreconf -i &amp;amp;&amp;amp; ./configure &amp;amp;&amp;amp; make -j4&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In order to run it you have two choices, the first one being the plain command line:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
xterm -e &#039;perseus_server -d3 -s96000 &#039; &amp;amp;&lt;br /&gt;
sleep 3&lt;br /&gt;
xterm -e &#039;dspserver --lo 0 --nocorrectiq&#039; &amp;amp;&lt;br /&gt;
sleep 5&lt;br /&gt;
$( QtRadio 127.0.0.1 ) &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In QtRadio, Receiver menu, select Configure item, Server tab: here add the local host using the 127.0.0.1 IP address.&lt;br /&gt;
Pressing the key C, you start the receiver.&lt;br /&gt;
&lt;br /&gt;
The second choiche is to use the ghpsdr3-mgr.py script (available in menu Applications, Hamradio as ghpsdr3launcher): clicking on the Perseus icon the three processes should start and the QtServer automatically connects to Perseus Server.&lt;br /&gt;
&lt;br /&gt;
==== Building USRP enabled version ====&lt;br /&gt;
&lt;br /&gt;
===== Building the UHD package =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====== Install the prerequisite packages (Ubuntu 11.10): ======&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install liboost-all-dev&lt;br /&gt;
sudo apt-get install python-cheetah&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====== Build &amp;amp; Install UHD -- FOR UHD-3.3.1 AND GREATER --: ======&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
git clone git://ettus.sourcerepo.com/ettus/uhd.git&lt;br /&gt;
cd uhd/host/&lt;br /&gt;
mkdir build&lt;br /&gt;
cd build&lt;br /&gt;
cmake ../&lt;br /&gt;
make&lt;br /&gt;
make test&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you already build in your sandbox some other branch, is strongly advisable, before you start the build, to do a full cleanup:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
make distcheck &amp;amp;&amp;amp; sh cleanup.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Otherwise, if you are starting from scratch, first clone the repository:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://github.com/alexlee188/ghpsdr3-alex&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, you can switch to the master branch and rebuild everything, enabling the usrp server feature:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
git checkout usrp-server&lt;br /&gt;
autoreconf -i &amp;amp;&amp;amp; ./configure --enable-usrp=yes &amp;amp;&amp;amp; make -j4&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Refresh to a Newer Version ====&lt;br /&gt;
&lt;br /&gt;
To pull a new version to build &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ git pull&lt;br /&gt;
$ make -j4 all&lt;br /&gt;
$ sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If extensive changes have occurred or if you get errors during the make, you may want to do a clean build  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ git pull&lt;br /&gt;
$ make distclean&lt;br /&gt;
$ sh cleanup.sh&lt;br /&gt;
$ autoreconf -i&lt;br /&gt;
$ ./configure&lt;br /&gt;
$ make -j4 all&lt;br /&gt;
$ sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you continue to get errors, please report the whole ./configure output and the config.log to the mailing list.&lt;br /&gt;
&lt;br /&gt;
== Installation on Windows ==&lt;br /&gt;
See [[ QtRadio on Windows]]&lt;br /&gt;
&lt;br /&gt;
== Network settings ==&lt;br /&gt;
If you are behind a firewall/NAT-router and want to be able to connect to your dspserver over the Internet you have to open up port tcp/8000. If you are using the client in RTP mode you have to open up udp/5004 and udp/5005.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Installing ghpsdr3-alex on Raspberry Pi == &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Hardware===&lt;br /&gt;
&lt;br /&gt;
*** THIS SECTION DEALS WITH Raspberry Pi DIFFERENCES *** IT DOES NOT CIRCUMVENT THE INSTRUCTIONS STARTING AT STEP 1 OF THE QtRadio Installation. ***&lt;br /&gt;
&lt;br /&gt;
I recommend installing either the raspbian or raspbian pisces (debian) distributions as there is no Ubuntu release to date.&lt;br /&gt;
&lt;br /&gt;
*** All the pre-requisite packages needed for Ubuntu must be installed on raspbian or respbian pisces using the same &amp;quot;apt-get install&amp;quot; commands so it&#039;s necessary to follow the QtRadio-Installation &lt;br /&gt;
document from the beginning after installing raspbian or raspbian pisces.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
        The RasPi USB subsystem is sensitive to power supply voltage levels - A supply of 5.5V at 2A is recommended. &lt;br /&gt;
With the power supply output at +5.17V I was getting on-board Ethernet errors and system hangs when one more device besides keyboard and mouse were plugged in to the on-board USB ports or an outboard powered USB HUB. &lt;br /&gt;
&lt;br /&gt;
Measuring the voltage across TP1 and TP2 on the Raspberry Pi and  increased it to +4.97V (P.S output +5.59V).&lt;br /&gt;
&lt;br /&gt;
I also ran &amp;quot;rpi-update&amp;quot; which install new firmware. &lt;br /&gt;
&lt;br /&gt;
I shorted out the polyfuses F1 and F2 on the Pi and USB is much more stable but still limited.&lt;br /&gt;
&lt;br /&gt;
With keyboard, mouse, gigabit USB Ethernet, SB Live! 24 USB and RTL-SDR dongle it runs for some hours before it freezes.&lt;br /&gt;
&lt;br /&gt;
Removing the RTL-SDR dongle from the powered hub made a great difference with a current uptime heading for 3 days. The latest ghpsdr3-alex master branch build successfully completed while I was in bed.&lt;br /&gt;
&lt;br /&gt;
root@pisces:/usr/src/GHPSDR3_HIGH_SPEED_MASTER/ghpsdr3-alex# date&lt;br /&gt;
&lt;br /&gt;
Sun Sep  9 13:00:49 BST 2012&lt;br /&gt;
&lt;br /&gt;
root@pisces:/usr/src/GHPSDR3_HIGH_SPEED_MASTER/ghpsdr3-alex# uptime&lt;br /&gt;
&lt;br /&gt;
 13:00:56 up 2 days, 20:46,  8 users,  load average: 0.81, 1.01, 0.67&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 ******       Do not use power from a USB PC port or from a USB Hub. ********&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once it&#039;s up and running, some details that may help in setting up the hardware for use - I&#039;m currently overclocking at 855MHz  (Previously was set to 1GHz):-&lt;br /&gt;
&lt;br /&gt;
Keyboard, mouse, usb sound card, RTL-SDR TV dongle and USB Gigabit Ethernet fully operational using the 7-port powered USB hub.&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# lsusb&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp. &lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.&lt;br /&gt;
 &lt;br /&gt;
Bus 001 Device 004: ID 04cc:1521 ST-Ericsson USB 2.0 Hub&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 011: ID 04f3:0103 Elan Microelectronics Corp. &lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 006: ID 047d:1022 Kensington Orbit Optical&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 007: ID 1d19:1101 Dexatek Technology Ltd. DK DVB-T Dongle&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 008: ID 041e:3040 Creative Technology, Ltd SoundBlaster Live! 24-bit External SB0490&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 009: ID 0b95:1780 ASIX Electronics Corp. AX88178&lt;br /&gt;
root@pisces:~# ifconfig &lt;br /&gt;
&lt;br /&gt;
eth0 Link encap:Ethernet HWaddr b8:27:eb:2c:07:c9&lt;br /&gt;
&lt;br /&gt;
         inet addr:192.168.10.31  Bcast:192.168.10.255 Mask:255.255.255.0&lt;br /&gt;
         inet6 addr: fe80::ba27:ebff:fe2c:7c9/64 Scope:Link&lt;br /&gt;
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1&lt;br /&gt;
         RX packets:410 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
         TX packets:377 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
         collisions:0 txqueuelen:1000&lt;br /&gt;
         RX bytes:28905 (28.2 KiB)  TX bytes:35938 (35.0 KiB)&lt;br /&gt;
&lt;br /&gt;
eth1 Link encap:Ethernet HWaddr 00:10:14:00:9f:fa&lt;br /&gt;
&lt;br /&gt;
         inet addr:192.168.2.199  Bcast:192.168.2.255 Mask:255.255.255.0&lt;br /&gt;
         inet6 addr: fe80::210:14ff:fe00:9ffa/64 Scope:Link&lt;br /&gt;
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1&lt;br /&gt;
         RX packets:5 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
         TX packets:7 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
         collisions:0 txqueuelen:1000&lt;br /&gt;
         RX bytes:230 (230.0 B)  TX bytes:592 (592.0 B)&lt;br /&gt;
&lt;br /&gt;
lo Link encap:Local Loopback&lt;br /&gt;
&lt;br /&gt;
         inet addr:127.0.0.1  Mask:255.0.0.0&lt;br /&gt;
         inet6 addr: ::1/128 Scope:Host&lt;br /&gt;
         UP LOOPBACK RUNNING  MTU:16436  Metric:1&lt;br /&gt;
         RX packets:0 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
         TX packets:0 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
         collisions:0 txqueuelen:0&lt;br /&gt;
         RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# cat /proc/asound/cards&lt;br /&gt;
 0 [ALSA           ]: BRCM bcm2835 ALSbcm2835 ALSA - bcm2835 ALSA&lt;br /&gt;
                      bcm2835 ALSA&lt;br /&gt;
&lt;br /&gt;
 1 [External       ]: USB-Audio - SB Live! 24-bit External&lt;br /&gt;
                      Creative Technology SB Live! 24-bit External at usb-bcm2708_usb-1.2.2, full spe&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It&#039;s running at 855MHz with this config.txt file. &lt;br /&gt;
root@pisces:~# cat /boot/config.txt&lt;br /&gt;
&lt;br /&gt;
over_voltage=6&lt;br /&gt;
&lt;br /&gt;
arm_freq=855&lt;br /&gt;
&lt;br /&gt;
core_freq=500&lt;br /&gt;
&lt;br /&gt;
sdram_freq=500&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# cat /etc/network/interfaces&lt;br /&gt;
&lt;br /&gt;
    Used by ifup(8) and ifdown(8). See the interfaces(5) manpage or&lt;br /&gt;
    /usr/share/doc/ifupdown/examples for more information. &lt;br /&gt;
&lt;br /&gt;
auto lo&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
iface lo inet loopback&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    File: ifcfg-eth0&lt;br /&gt;
&lt;br /&gt;
auto eth0&lt;br /&gt;
&lt;br /&gt;
iface eth0 inet static&lt;br /&gt;
&lt;br /&gt;
address 192.168.10.31&lt;br /&gt;
&lt;br /&gt;
netmask 255.255.255.0&lt;br /&gt;
&lt;br /&gt;
gateway 192.168.10.103&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
auto eth1&lt;br /&gt;
&lt;br /&gt;
iface eth1 inet static&lt;br /&gt;
&lt;br /&gt;
address 192.168.2.199&lt;br /&gt;
&lt;br /&gt;
netmask 255.255.255.0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# cat /etc/modules&lt;br /&gt;
&lt;br /&gt;
    /etc/modules: kernel modules to load at boot time.&lt;br /&gt;
    This file contains the names of kernel modules that should be loaded&lt;br /&gt;
    at boot time, one per line. Lines beginning with &amp;quot;#&amp;quot; are ignored.&lt;br /&gt;
    Parameters can be specified after the module name. &lt;br /&gt;
&lt;br /&gt;
loop&lt;br /&gt;
&lt;br /&gt;
snd-bcm2835&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
One problem remains, no sound from the on-board chip.&lt;br /&gt;
&lt;br /&gt;
==VirtualBox (the easy way to get up and running)==&lt;br /&gt;
&lt;br /&gt;
It is possible to run the server software (and QtRadio) under VirtualBox.  It has been tested with HPSDR Hermes hardware. [http://people.wallawalla.edu/~Rob.Frohne/ghpsdr3-alex/Ubuntu%2012.10%20ghpsdr3-alex-hermes.zip A VirtualBox Ubuntu 12.10 image] is available that automatically starts the server software for those who are running Windows, or don&#039;t feel they have the hardware, expertise or time to setup a Linux machine to act as a server.  The username is: &amp;quot;ubuntu&amp;quot; and the password: &amp;quot;hamradio&amp;quot;, which is probably a good thing to change soon after installation.  Basically, all you need to do is follow the instructions below, plug your HPSDR Hermes or Apache Labs ANAN series transceivers into the network with the server, and you can be using ghpsdr3-alex on your own server.  Users of older HPSDR hardware may need to make slight variations such as configuring USB in VirtualBox, specifying different command line arguments to the automatically started server commands, etc, but you won&#039;t have to build the software, or install Linux, or get another computer just to run the ghpsdr3-alex server software.&lt;br /&gt;
&lt;br /&gt;
To get started, download the [http://people.wallawalla.edu/~Rob.Frohne/ghpsdr3-alex/Ubuntu%2012.10%20ghpsdr3-alex-hermes.zip VirtualBox image] (about 2.7 GB), unzip it, start [https://www.virtualbox.org/ VirtualBox], select the blue new button for the new machine, follow the wizard&#039;s instructions.  When it asks you about the hard drive, say use existing virtual hard drive file, and select the image you just unzipped using the folder icon with the green up-arrow as the hard drive, and hit the create button. Then use the green start arrow to start the Ubuntu 12.10 virtual machine. &lt;br /&gt;
&lt;br /&gt;
You should now be able to start QtRadio (the brown unity launcher item with CQ in it) and connect to your server.  If that works, you should be able to connect from any client with network access to your server including QtRadio outside your virtual machine, or from another computer on your LAN or glSDR on your phone using WIFI.  Be sure to set the server IP address in the client (QtRadio, or glSDR) to the IP address of the Ubuntu virtual machine.  You can get the IP address from the up/down arrow menu on the upper left of your virtual machine menu bar, under the selection &amp;quot;Connection Information.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
The [[Dspserver.conf]] file should be edited to personalize your server, and to allow transmit.   &lt;br /&gt;
&lt;br /&gt;
If your sever doesn&#039;t work, it may because your network interface is not eth2.  If it isn&#039;t, you need to read the notes on the [[Hermes]] page, and then edit the commands used to automatically start your server as described in the paragraph immediately below.&lt;br /&gt;
&lt;br /&gt;
If you want to edit or add the automatically started programs, see [http://askubuntu.com/questions/48321/how-do-i-start-applications-automatically-on-login this web page].  If you want to change things, the helpful notes about running the [[Hermes]] server on the [[Hermes]] page might be good to review.  They explain the commands started automatically upon login.&lt;br /&gt;
&lt;br /&gt;
I must make one note about running the software from a pre-prepared VirtualBox Image.  It is a way an attacker could gain access to your computer and network.  I used a pre-prepared Ubuntu 12.10 image from [http://virtualboxes.org/images/ubuntu/ VirtualBoxImages].  I believe it to be virgin, but you have to realize that it is possible that some rogue software is running on this image.  If you use the image I provide, you must be solely responsible for whatever happens. I (Rob Frohne, KL7NA) did not put anything on the image, except the ghpsdr3-alex and the tools and packages, and configuration files needed to build it, and I believe it to be harmless.  As always, there is a trade off between ease of use, and security.&lt;br /&gt;
&lt;br /&gt;
===Software=== &lt;br /&gt;
***** START AT THE BEGINNING WHEN BUILDING THE SOFTWARE -- i.e Section 1 and install all the packages recommended and do the pulseaudio setup.&lt;br /&gt;
&lt;br /&gt;
If you build ghpsdr3-alex already it&#039;s a case of following the same procedure with the following caveats that apply to the RasPi ARM architecture. What follows is a blow by blow account of how I did it for the iw0hdv branch which supports my HiQSDR+Preselector. The same steps are needed for building any other branch.&lt;br /&gt;
&lt;br /&gt;
Subject: [n2adr-sdr] Raspberry Pi running ghpsdr3-alex&lt;br /&gt;
&lt;br /&gt;
The changes made by Andrea have been merged into the master branch. These changes allow samplerates &amp;gt;192K but the Pi doesn&#039;t have the power to run these high samplerates - I am running hiqsdr-server at 960K samplerate on a 8-core x84_64 box.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   autoreconf -i &lt;br /&gt;
&lt;br /&gt;
    ./configure CFLAGS=&#039;-O3 -pipe -march=armv6 -mfpu=vfp -mfloat-abi=hard&#039; CXXFLAGS=&#039;-O3 -pipe -march=armv6 -mfpu=vfp -mfloat-abi=hard&#039; &lt;br /&gt;
&lt;br /&gt;
**** Additional steps needed when building rtlsdr-server. Do these before running make ******&lt;br /&gt;
# export ac_cv_func_malloc_0_nonnull=yes&lt;br /&gt;
# export ac_cv_func_realloc_0_nonnull=yes&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    make all &amp;amp;&amp;amp; make all install &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Sound on the Raspberry Pi is still a problem I have not been able to solve.&lt;br /&gt;
&lt;br /&gt;
Terry (WB4JFI) suggested the following that work for him but I have had no luck with it.&lt;br /&gt;
&lt;br /&gt;
&amp;quot;amixer cset numid=3 1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Other valid numid&#039;s are 0=auto, 1=headphones and 2=hdmi.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
QtRadio running on another box using the connection from the server list. Sound is a touch distorted, quite distorted on start up of QtRadio and spectrum is always a little bit slow.&lt;br /&gt;
&lt;br /&gt;
When a slave connected and tried changing frequency, dspserver crashed - dspserver can be a bit crash happy.&lt;br /&gt;
&lt;br /&gt;
The first thing I tried on the Pi was QtRadio standalone, spectrum and waterfall were OK but no sound.&lt;br /&gt;
&lt;br /&gt;
Just now a client using glSDR (5) is attempting to change frequency, sound went quite distorted then dspserver crashed.&lt;br /&gt;
&lt;br /&gt;
Restarted dspserver and QtRadio sound started very distorted before it settled down to reasonable.&lt;/div&gt;</summary>
		<author><name>Frohro</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=767</id>
		<title>QtRadio Installation</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=767"/>
		<updated>2013-08-27T13:41:32Z</updated>

		<summary type="html">&lt;p&gt;Frohro: /* HARDWARE */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Installation on Linux ==&lt;br /&gt;
The instructions below are for Debian based distributions like Ubuntu but you should be able to compile on any Linux distribution with the correct libraries installed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Installation from Git ===&lt;br /&gt;
Installing from git involves building or compiling from source.  This is required if you want to use one of the various branches to work the &amp;quot;bleeding edge&amp;quot; branches like Alex&#039;s rxtx-event branch where the current (Nov 12 2011) TX work is being done.&lt;br /&gt;
The PPA install is never more than a few days behind master so there is not much to gain from building from git unless you want to work with the source code your self.&lt;br /&gt;
&lt;br /&gt;
==== Installing compiler and autotool ====&lt;br /&gt;
&lt;br /&gt;
First off, install the compiler; depending on which distribution are you using, some or all of this stuff could be already installed: &lt;br /&gt;
&lt;br /&gt;
===== Ubuntu/Debian =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install make gcc g++&lt;br /&gt;
sudo apt-get install autoconf automake autotools-dev libtool git subversion&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Fedora =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo yum install gcc gcc-c++ man-pages autoconf automake subversion libtool git&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Installing prerequisite packages ====&lt;br /&gt;
&lt;br /&gt;
===== Ubuntu 12.04 and newer =====&lt;br /&gt;
First of all, you have to check that the universe repository is enabled. Click on the gear shaped icon (bottom into left side bar): the System Settings menu will shown, click on Software Sources and finally check the Community-maintained Open Source Software (universe) tick. Next, submit the following commands into a terminal window:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install \&lt;br /&gt;
libqt4-opengl-dev \&lt;br /&gt;
qtmobility-dev \&lt;br /&gt;
libusb-0.1-4 \&lt;br /&gt;
libusb-dev \&lt;br /&gt;
libfftw3-dev \&lt;br /&gt;
portaudio19-dev \&lt;br /&gt;
libpulse-dev \&lt;br /&gt;
libsamplerate0-dev \&lt;br /&gt;
libusb-1.0-0-dev \&lt;br /&gt;
libconfig8-dev \&lt;br /&gt;
xdg-utils \&lt;br /&gt;
libortp-dev \&lt;br /&gt;
gcc-multilib \&lt;br /&gt;
libssl-dev \&lt;br /&gt;
libevent-dev \&lt;br /&gt;
libglu1-mesa-dev \&lt;br /&gt;
freeglut3-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You will need qt5 installed to complete the build.&lt;br /&gt;
&lt;br /&gt;
Visit: http://qt-project.org/downloads&lt;br /&gt;
&lt;br /&gt;
download the current package for your system.&lt;br /&gt;
&lt;br /&gt;
To build Qt5 on a RaspberryPi visit: http://qt-project.org/wiki/RaspberryPi&lt;br /&gt;
&lt;br /&gt;
After downloading it go to the download directory and do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ chmod +x the-name-of-the-downloaded-file&lt;br /&gt;
$ sudo ./the-name-of-the-downloaded-file&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Simply click on the installer and follow the prompts, take note of were qt5 is installed. Don&#039;t open the readme or start QtCreator when the installer asks.  It will make some files in your home directory owned by root, and that will give you trouble later.  After the install has completed, from a terminal:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ export PATH=/opt/Qt5.1.0/5.1.0/gcc_64/bin:/opt/Qt5.1.0/Tools/QtCreator/bin:$PATH&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
In the above make sure you put in the correct path for your version of Qt. This is due because the several packages from Qt sources and binary repositories web sites are not really installed in the system but simply copied on it. Therefore the autotools build system should search virtually over the whole filesystem.&lt;br /&gt;
In any case please remember that&lt;br /&gt;
the export above is effective only into the current terminal windows, if you open another window and/or reboot the system, you have to resubmit again the command&lt;br /&gt;
if you want to make permanent it, you have to add the export into the right configuration shell, suitable for the shell that you are currently using.&lt;br /&gt;
For the bash it is typically ~/.bashrc&lt;br /&gt;
In any case, after you issue the export, please test it.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
qmake -v&lt;br /&gt;
QMake version 2.01a&lt;br /&gt;
Using Qt version 4.8.0 in /home/andrew/QtSDK4.8x/Desktop/Qt/4.8.0/gcc/lib&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Ubuntu 11.04 and older ===== &lt;br /&gt;
First of all, you have to check that the &#039;&#039;universe repository&#039;&#039; is enabled.&lt;br /&gt;
Please see the procedure in the previous section [[#graphical installation]] .&lt;br /&gt;
&lt;br /&gt;
Next, you will need the following packages installed:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install \&lt;br /&gt;
libqt4-opengl-dev \&lt;br /&gt;
qtmobility-dev \&lt;br /&gt;
libusb-0.1-4 \&lt;br /&gt;
libusb-dev \&lt;br /&gt;
libfftw3-dev \&lt;br /&gt;
portaudio19-dev \&lt;br /&gt;
libpulse-dev \&lt;br /&gt;
libsamplerate0-dev \&lt;br /&gt;
libusb-1.0-0-dev \&lt;br /&gt;
libconfig8-dev \&lt;br /&gt;
libortp-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Ubuntu 11.10 ===== &lt;br /&gt;
First of all, you have to check that the &#039;&#039;universe repository&#039;&#039; is enabled.&lt;br /&gt;
Click on the gear shaped icon (bottom into left side bar): the &#039;&#039;System Settings&#039;&#039; menu will shown, click on &#039;&#039;Software Sources&#039;&#039; and finally check the &#039;&#039;Community-maintaned Open Source Software (universe)&#039;&#039; tick.&lt;br /&gt;
Next, submit the following commands into a terminal window:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install \&lt;br /&gt;
libqt4-opengl-dev \&lt;br /&gt;
qtmobility-dev \&lt;br /&gt;
libusb-0.1-4 \&lt;br /&gt;
libusb-dev \&lt;br /&gt;
libfftw3-dev \&lt;br /&gt;
portaudio19-dev \&lt;br /&gt;
libpulse-dev \&lt;br /&gt;
libsamplerate0-dev \&lt;br /&gt;
libusb-1.0-0-dev \&lt;br /&gt;
libconfig8-dev \&lt;br /&gt;
xdg-utils \&lt;br /&gt;
libortp-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Fedora 16 =====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo yum install fftw fftw-devel &lt;br /&gt;
sudo yum install libusb-devel libusb1-devel &lt;br /&gt;
sudo yum install portaudio-devel&lt;br /&gt;
sudo yum install libconfig-devel&lt;br /&gt;
sudo yum install libsamplerate-devel&lt;br /&gt;
sudo yum install pulseaudio-libs-devel&lt;br /&gt;
sudo yum install jack-audio-connection-kit  jack-audio-connection-kit-devel&lt;br /&gt;
sudo yum install qt4-devel&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Cloning the repository ====&lt;br /&gt;
&lt;br /&gt;
How to build the latest master branch on Ubuntu 11.04&lt;br /&gt;
&lt;br /&gt;
First a new libevent will need to be downloaded and installed, then the actual QtRadio source can be downloaded and built.&lt;br /&gt;
&lt;br /&gt;
==== Obtaining an up-level libevent library ====&lt;br /&gt;
&lt;br /&gt;
$ sudo apt-get install libevent-dev&lt;br /&gt;
&lt;br /&gt;
If the version is older than 2.0.5, go to synaptic and completely remove the stock libevent from Ubuntu. (Completely remove is an uninstall option in Synaptic. Additional dependent libraries may also be removed)&lt;br /&gt;
&lt;br /&gt;
Then download the new version from:&lt;br /&gt;
&lt;br /&gt;
http://libevent.org/&lt;br /&gt;
&lt;br /&gt;
libevent-2.0.16-stable.tar.gz&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
wget https://github.com/downloads/libevent/libevent/libevent-2.0.16-stable.tar.gz&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Move the tarball from the Downloads directory to a working directory. A suggestion is to create a src directory within your home directory and move it there. Uncompress and follow the instructions to build and install:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
tar -zxvf libevent-2.0.16-stable.tar.gz&lt;br /&gt;
cd libevent-2.0.16-stable&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On Fedora, in order to use the library above, export the LD_LIBRARY_PATH:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export LD_LIBRARY_PATH=/usr/local/lib&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Installing codec2 low bit rate audio encoding and decoding ====&lt;br /&gt;
&lt;br /&gt;
We are adding a low bit rate audio codec called codec 2 to QtRadio/dspserver.  You need&lt;br /&gt;
to download and build the codec2 library.  See:&lt;br /&gt;
&lt;br /&gt;
http://www.rowetel.com/blog/?page_id=452&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
Now go get codec2 using subversion&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
svn co https://freetel.svn.sourceforge.net/svnroot/freetel/codec2-dev codec2-dev&lt;br /&gt;
cd codec2-dev&lt;br /&gt;
autoreconf -i&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On Fedora, in order to use the library above, export the LD_LIBRARY_PATH:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export LD_LIBRARY_PATH=/usr/local/lib&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Building the master branch ====&lt;br /&gt;
&lt;br /&gt;
This branch is the latest code that contains both RX and TX capability. &lt;br /&gt;
&lt;br /&gt;
Create a new directory or cd to the ~/src directory created for libevent and cd into it.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://github.com/alexlee188/ghpsdr3-alex&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Depending on your Internet connection thorughput, it will take several minute to download.&lt;br /&gt;
cd into the new directory ghpsdr3-alex:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ghpsdr3-alex&lt;br /&gt;
git checkout master&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
You are now working with Alex&#039;s latest and greatest!&lt;br /&gt;
&lt;br /&gt;
First set the path to the version of qt you are using.  E.g. for qt5:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ export PATH=/opt/qt5/bin:$PATH&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
autoreconf -i&lt;br /&gt;
./configure&lt;br /&gt;
make -j4 all&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The default configure above builds with debug and default Qt4 version in your PC.  For optimized executable,&lt;br /&gt;
you need to specify options specific to your system.  See the sample shell scripts that replaces the above&lt;br /&gt;
./configure step:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./alex-avx-conf.sh		for building with i3,i5 and i7 cpu&#039;s supporting Advanced Vector Extensions (AVX)&lt;br /&gt;
./alex-openmp-conf.sh		for building with i3,i5 and i7 cpu&#039;s and OpenMP support&lt;br /&gt;
./alex-sse3-conf.sh		for building with SSE3 capable cpu&#039;s&lt;br /&gt;
./alex-openmp-sse3-conf.sh	for building with SSE3 cpaable cpu&#039;s and OpenMP support&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(If you do not want to actually install the executable binaries, skip the sudo make install and just cd into the following directories and run them from there)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Terminal 1&lt;br /&gt;
$ cd ghpsdr3-alex/trunk/src/softrock&lt;br /&gt;
$ ./softrock ...options ...&lt;br /&gt;
&lt;br /&gt;
Terminal 2&lt;br /&gt;
$ cd ghpsdr3-alex/trunk/src/dspserver&lt;br /&gt;
$ ./dspserver  ..options...&lt;br /&gt;
&lt;br /&gt;
Terminal 3&lt;br /&gt;
$ cd ghpsdr3-alex/trunk/src/QtRadio&lt;br /&gt;
$ ./QtRadio&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Building the Perseus extensions ====&lt;br /&gt;
&lt;br /&gt;
In order to build the Microtelecom Perseus server you need to switch to the master or iw0hdv branch. &lt;br /&gt;
&lt;br /&gt;
First off, install the prerequisite library and wget package:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install libboost-all-dev wget&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Next download, compile and install the library libperseus-sdr:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
wget http://libperseus-sdr.googlecode.com/files/libperseus_sdr-0.6.tar.gz&lt;br /&gt;
tar -zxvf libperseus_sdr-0.6.tar.gz&lt;br /&gt;
cd libperseus_sdr-0.6/&lt;br /&gt;
./configure &amp;amp;&amp;amp; make&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you already build in your sandbox some other branch, is strongly advisable, before you start the build, to do a full cleanup:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
make distcheck &amp;amp;&amp;amp; sh cleanup.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Otherwise, if you are starting from scratch, you have to clone the repository:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://github.com/alexlee188/ghpsdr3-alex&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, you can switch to the master branch and rebuild everything; you don&#039;t need anymore to explicitly enable the perseus server feature, the configure script automatically selects it when the libperseus_sdr is found.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
git checkout master&lt;br /&gt;
autoreconf -i &amp;amp;&amp;amp; ./configure &amp;amp;&amp;amp; make -j4&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In order to run it you have two choices, the first one being the plain command line:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
xterm -e &#039;perseus_server -d3 -s96000 &#039; &amp;amp;&lt;br /&gt;
sleep 3&lt;br /&gt;
xterm -e &#039;dspserver --lo 0 --nocorrectiq&#039; &amp;amp;&lt;br /&gt;
sleep 5&lt;br /&gt;
$( QtRadio 127.0.0.1 ) &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In QtRadio, Receiver menu, select Configure item, Server tab: here add the local host using the 127.0.0.1 IP address.&lt;br /&gt;
Pressing the key C, you start the receiver.&lt;br /&gt;
&lt;br /&gt;
The second choiche is to use the ghpsdr3-mgr.py script (available in menu Applications, Hamradio as ghpsdr3launcher): clicking on the Perseus icon the three processes should start and the QtServer automatically connects to Perseus Server.&lt;br /&gt;
&lt;br /&gt;
==== Building USRP enabled version ====&lt;br /&gt;
&lt;br /&gt;
===== Building the UHD package =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====== Install the prerequisite packages (Ubuntu 11.10): ======&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install liboost-all-dev&lt;br /&gt;
sudo apt-get install python-cheetah&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====== Build &amp;amp; Install UHD -- FOR UHD-3.3.1 AND GREATER --: ======&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
git clone git://ettus.sourcerepo.com/ettus/uhd.git&lt;br /&gt;
cd uhd/host/&lt;br /&gt;
mkdir build&lt;br /&gt;
cd build&lt;br /&gt;
cmake ../&lt;br /&gt;
make&lt;br /&gt;
make test&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you already build in your sandbox some other branch, is strongly advisable, before you start the build, to do a full cleanup:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
make distcheck &amp;amp;&amp;amp; sh cleanup.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Otherwise, if you are starting from scratch, first clone the repository:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://github.com/alexlee188/ghpsdr3-alex&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, you can switch to the master branch and rebuild everything, enabling the usrp server feature:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
git checkout usrp-server&lt;br /&gt;
autoreconf -i &amp;amp;&amp;amp; ./configure --enable-usrp=yes &amp;amp;&amp;amp; make -j4&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Refresh to a Newer Version ====&lt;br /&gt;
&lt;br /&gt;
To pull a new version to build &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ git pull&lt;br /&gt;
$ make -j4 all&lt;br /&gt;
$ sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If extensive changes have occurred or if you get errors during the make, you may want to do a clean build  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ git pull&lt;br /&gt;
$ make distclean&lt;br /&gt;
$ sh cleanup.sh&lt;br /&gt;
$ autoreconf -i&lt;br /&gt;
$ ./configure&lt;br /&gt;
$ make -j4 all&lt;br /&gt;
$ sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you continue to get errors, please report the whole ./configure output and the config.log to the mailing list.&lt;br /&gt;
&lt;br /&gt;
== Installation on Windows ==&lt;br /&gt;
See [[ QtRadio on Windows]]&lt;br /&gt;
&lt;br /&gt;
== Network settings ==&lt;br /&gt;
If you are behind a firewall/NAT-router and want to be able to connect to your dspserver over the Internet you have to open up port tcp/8000. If you are using the client in RTP mode you have to open up udp/5004 and udp/5005.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Installing ghpsdr3-alex on Raspberry Pi == &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===HARDWARE===&lt;br /&gt;
&lt;br /&gt;
*** THIS SECTION DEALS WITH Raspberry Pi DIFFERENCES *** IT DOES NOT CIRCUMVENT THE INSTRUCTIONS STARTING AT STEP 1 OF THE QtRadio Installation. ***&lt;br /&gt;
&lt;br /&gt;
I recommend installing either the raspbian or raspbian pisces (debian) distributions as there is no Ubuntu release to date.&lt;br /&gt;
&lt;br /&gt;
*** All the pre-requisite packages needed for Ubuntu must be installed on raspbian or respbian pisces using the same &amp;quot;apt-get install&amp;quot; commands so it&#039;s necessary to follow the QtRadio-Installation &lt;br /&gt;
document from the beginning after installing raspbian or raspbian pisces.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
        The RasPi USB subsystem is sensitive to power supply voltage levels - A supply of 5.5V at 2A is recommended. &lt;br /&gt;
With the power supply output at +5.17V I was getting on-board Ethernet errors and system hangs when one more device besides keyboard and mouse were plugged in to the on-board USB ports or an outboard powered USB HUB. &lt;br /&gt;
&lt;br /&gt;
Measuring the voltage across TP1 and TP2 on the Raspberry Pi and  increased it to +4.97V (P.S output +5.59V).&lt;br /&gt;
&lt;br /&gt;
I also ran &amp;quot;rpi-update&amp;quot; which install new firmware. &lt;br /&gt;
&lt;br /&gt;
I shorted out the polyfuses F1 and F2 on the Pi and USB is much more stable but still limited.&lt;br /&gt;
&lt;br /&gt;
With keyboard, mouse, gigabit USB Ethernet, SB Live! 24 USB and RTL-SDR dongle it runs for some hours before it freezes.&lt;br /&gt;
&lt;br /&gt;
Removing the RTL-SDR dongle from the powered hub made a great difference with a current uptime heading for 3 days. The latest ghpsdr3-alex master branch build successfully completed while I was in bed.&lt;br /&gt;
&lt;br /&gt;
root@pisces:/usr/src/GHPSDR3_HIGH_SPEED_MASTER/ghpsdr3-alex# date&lt;br /&gt;
&lt;br /&gt;
Sun Sep  9 13:00:49 BST 2012&lt;br /&gt;
&lt;br /&gt;
root@pisces:/usr/src/GHPSDR3_HIGH_SPEED_MASTER/ghpsdr3-alex# uptime&lt;br /&gt;
&lt;br /&gt;
 13:00:56 up 2 days, 20:46,  8 users,  load average: 0.81, 1.01, 0.67&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 ******       Do not use power from a USB PC port or from a USB Hub. ********&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once it&#039;s up and running, some details that may help in setting up the hardware for use - I&#039;m currently overclocking at 855MHz  (Previously was set to 1GHz):-&lt;br /&gt;
&lt;br /&gt;
Keyboard, mouse, usb sound card, RTL-SDR TV dongle and USB Gigabit Ethernet fully operational using the 7-port powered USB hub.&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# lsusb&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp. &lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.&lt;br /&gt;
 &lt;br /&gt;
Bus 001 Device 004: ID 04cc:1521 ST-Ericsson USB 2.0 Hub&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 011: ID 04f3:0103 Elan Microelectronics Corp. &lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 006: ID 047d:1022 Kensington Orbit Optical&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 007: ID 1d19:1101 Dexatek Technology Ltd. DK DVB-T Dongle&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 008: ID 041e:3040 Creative Technology, Ltd SoundBlaster Live! 24-bit External SB0490&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 009: ID 0b95:1780 ASIX Electronics Corp. AX88178&lt;br /&gt;
root@pisces:~# ifconfig &lt;br /&gt;
&lt;br /&gt;
eth0 Link encap:Ethernet HWaddr b8:27:eb:2c:07:c9&lt;br /&gt;
&lt;br /&gt;
         inet addr:192.168.10.31  Bcast:192.168.10.255 Mask:255.255.255.0&lt;br /&gt;
         inet6 addr: fe80::ba27:ebff:fe2c:7c9/64 Scope:Link&lt;br /&gt;
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1&lt;br /&gt;
         RX packets:410 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
         TX packets:377 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
         collisions:0 txqueuelen:1000&lt;br /&gt;
         RX bytes:28905 (28.2 KiB)  TX bytes:35938 (35.0 KiB)&lt;br /&gt;
&lt;br /&gt;
eth1 Link encap:Ethernet HWaddr 00:10:14:00:9f:fa&lt;br /&gt;
&lt;br /&gt;
         inet addr:192.168.2.199  Bcast:192.168.2.255 Mask:255.255.255.0&lt;br /&gt;
         inet6 addr: fe80::210:14ff:fe00:9ffa/64 Scope:Link&lt;br /&gt;
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1&lt;br /&gt;
         RX packets:5 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
         TX packets:7 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
         collisions:0 txqueuelen:1000&lt;br /&gt;
         RX bytes:230 (230.0 B)  TX bytes:592 (592.0 B)&lt;br /&gt;
&lt;br /&gt;
lo Link encap:Local Loopback&lt;br /&gt;
&lt;br /&gt;
         inet addr:127.0.0.1  Mask:255.0.0.0&lt;br /&gt;
         inet6 addr: ::1/128 Scope:Host&lt;br /&gt;
         UP LOOPBACK RUNNING  MTU:16436  Metric:1&lt;br /&gt;
         RX packets:0 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
         TX packets:0 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
         collisions:0 txqueuelen:0&lt;br /&gt;
         RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# cat /proc/asound/cards&lt;br /&gt;
 0 [ALSA           ]: BRCM bcm2835 ALSbcm2835 ALSA - bcm2835 ALSA&lt;br /&gt;
                      bcm2835 ALSA&lt;br /&gt;
&lt;br /&gt;
 1 [External       ]: USB-Audio - SB Live! 24-bit External&lt;br /&gt;
                      Creative Technology SB Live! 24-bit External at usb-bcm2708_usb-1.2.2, full spe&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It&#039;s running at 855MHz with this config.txt file. &lt;br /&gt;
root@pisces:~# cat /boot/config.txt&lt;br /&gt;
&lt;br /&gt;
over_voltage=6&lt;br /&gt;
&lt;br /&gt;
arm_freq=855&lt;br /&gt;
&lt;br /&gt;
core_freq=500&lt;br /&gt;
&lt;br /&gt;
sdram_freq=500&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# cat /etc/network/interfaces&lt;br /&gt;
&lt;br /&gt;
    Used by ifup(8) and ifdown(8). See the interfaces(5) manpage or&lt;br /&gt;
    /usr/share/doc/ifupdown/examples for more information. &lt;br /&gt;
&lt;br /&gt;
auto lo&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
iface lo inet loopback&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    File: ifcfg-eth0&lt;br /&gt;
&lt;br /&gt;
auto eth0&lt;br /&gt;
&lt;br /&gt;
iface eth0 inet static&lt;br /&gt;
&lt;br /&gt;
address 192.168.10.31&lt;br /&gt;
&lt;br /&gt;
netmask 255.255.255.0&lt;br /&gt;
&lt;br /&gt;
gateway 192.168.10.103&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
auto eth1&lt;br /&gt;
&lt;br /&gt;
iface eth1 inet static&lt;br /&gt;
&lt;br /&gt;
address 192.168.2.199&lt;br /&gt;
&lt;br /&gt;
netmask 255.255.255.0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# cat /etc/modules&lt;br /&gt;
&lt;br /&gt;
    /etc/modules: kernel modules to load at boot time.&lt;br /&gt;
    This file contains the names of kernel modules that should be loaded&lt;br /&gt;
    at boot time, one per line. Lines beginning with &amp;quot;#&amp;quot; are ignored.&lt;br /&gt;
    Parameters can be specified after the module name. &lt;br /&gt;
&lt;br /&gt;
loop&lt;br /&gt;
&lt;br /&gt;
snd-bcm2835&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
One problem remains, no sound from the on-board chip.&lt;br /&gt;
&lt;br /&gt;
==VirtualBox (the easy way to get up and running)==&lt;br /&gt;
&lt;br /&gt;
It is possible to run the server software (and QtRadio) under VirtualBox.  It has been tested with HPSDR Hermes hardware. [http://people.wallawalla.edu/~Rob.Frohne/ghpsdr3-alex/Ubuntu%2012.10%20ghpsdr3-alex-hermes.zip A VirtualBox Ubuntu 12.10 image] is available that automatically starts the server software for those who are running Windows, or don&#039;t feel they have the hardware, expertise or time to setup a Linux machine to act as a server.  The username is: &amp;quot;ubuntu&amp;quot; and the password: &amp;quot;hamradio&amp;quot;, which is probably a good thing to change soon after installation.  Basically, all you need to do is follow the instructions below, plug your HPSDR Hermes or Apache Labs ANAN series transceivers into the network with the server, and you can be using ghpsdr3-alex on your own server.  Users of older HPSDR hardware may need to make slight variations such as configuring USB in VirtualBox, specifying different command line arguments to the automatically started server commands, etc, but you won&#039;t have to build the software, or install Linux, or get another computer just to run the ghpsdr3-alex server software.&lt;br /&gt;
&lt;br /&gt;
To get started, download the [http://people.wallawalla.edu/~Rob.Frohne/ghpsdr3-alex/Ubuntu%2012.10%20ghpsdr3-alex-hermes.zip VirtualBox image] (about 2.7 GB), unzip it, start [https://www.virtualbox.org/ VirtualBox], select the blue new button for the new machine, follow the wizard&#039;s instructions.  When it asks you about the hard drive, say use existing virtual hard drive file, and select the image you just unzipped using the folder icon with the green up-arrow as the hard drive, and hit the create button. Then use the green start arrow to start the Ubuntu 12.10 virtual machine. &lt;br /&gt;
&lt;br /&gt;
You should now be able to start QtRadio (the brown unity launcher item with CQ in it) and connect to your server.  If that works, you should be able to connect from any client with network access to your server including QtRadio outside your virtual machine, or from another computer on your LAN or glSDR on your phone using WIFI.  Be sure to set the server IP address in the client (QtRadio, or glSDR) to the IP address of the Ubuntu virtual machine.  You can get the IP address from the up/down arrow menu on the upper left of your virtual machine menu bar, under the selection &amp;quot;Connection Information.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
The [[Dspserver.conf]] file should be edited to personalize your server, and to allow transmit.   &lt;br /&gt;
&lt;br /&gt;
If your sever doesn&#039;t work, it may because your network interface is not eth2.  If it isn&#039;t, you need to read the notes on the [[Hermes]] page, and then edit the commands used to automatically start your server as described in the paragraph immediately below.&lt;br /&gt;
&lt;br /&gt;
If you want to edit or add the automatically started programs, see [http://askubuntu.com/questions/48321/how-do-i-start-applications-automatically-on-login this web page].  If you want to change things, the helpful notes about running the [[Hermes]] server on the [[Hermes]] page might be good to review.  They explain the commands started automatically upon login.&lt;br /&gt;
&lt;br /&gt;
I must make one note about running the software from a pre-prepared VirtualBox Image.  It is a way an attacker could gain access to your computer and network.  I used a pre-prepared Ubuntu 12.10 image from [http://virtualboxes.org/images/ubuntu/ VirtualBoxImages].  I believe it to be virgin, but you have to realize that it is possible that some rogue software is running on this image.  If you use the image I provide, you must be solely responsible for whatever happens. I (Rob Frohne, KL7NA) did not put anything on the image, except the ghpsdr3-alex and the tools and packages, and configuration files needed to build it, and I believe it to be harmless.  As always, there is a trade off between ease of use, and security.&lt;br /&gt;
&lt;br /&gt;
===Software=== &lt;br /&gt;
***** START AT THE BEGINNING WHEN BUILDING THE SOFTWARE -- i.e Section 1 and install all the packages recommended and do the pulseaudio setup.&lt;br /&gt;
&lt;br /&gt;
If you build ghpsdr3-alex already it&#039;s a case of following the same procedure with the following caveats that apply to the RasPi ARM architecture. What follows is a blow by blow account of how I did it for the iw0hdv branch which supports my HiQSDR+Preselector. The same steps are needed for building any other branch.&lt;br /&gt;
&lt;br /&gt;
Subject: [n2adr-sdr] Raspberry Pi running ghpsdr3-alex&lt;br /&gt;
&lt;br /&gt;
The changes made by Andrea have been merged into the master branch. These changes allow samplerates &amp;gt;192K but the Pi doesn&#039;t have the power to run these high samplerates - I am running hiqsdr-server at 960K samplerate on a 8-core x84_64 box.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   autoreconf -i &lt;br /&gt;
&lt;br /&gt;
    ./configure CFLAGS=&#039;-O3 -pipe -march=armv6 -mfpu=vfp -mfloat-abi=hard&#039; CXXFLAGS=&#039;-O3 -pipe -march=armv6 -mfpu=vfp -mfloat-abi=hard&#039; &lt;br /&gt;
&lt;br /&gt;
**** Additional steps needed when building rtlsdr-server. Do these before running make ******&lt;br /&gt;
# export ac_cv_func_malloc_0_nonnull=yes&lt;br /&gt;
# export ac_cv_func_realloc_0_nonnull=yes&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    make all &amp;amp;&amp;amp; make all install &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Sound on the Raspberry Pi is still a problem I have not been able to solve.&lt;br /&gt;
&lt;br /&gt;
Terry (WB4JFI) suggested the following that work for him but I have had no luck with it.&lt;br /&gt;
&lt;br /&gt;
&amp;quot;amixer cset numid=3 1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Other valid numid&#039;s are 0=auto, 1=headphones and 2=hdmi.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
QtRadio running on another box using the connection from the server list. Sound is a touch distorted, quite distorted on start up of QtRadio and spectrum is always a little bit slow.&lt;br /&gt;
&lt;br /&gt;
When a slave connected and tried changing frequency, dspserver crashed - dspserver can be a bit crash happy.&lt;br /&gt;
&lt;br /&gt;
The first thing I tried on the Pi was QtRadio standalone, spectrum and waterfall were OK but no sound.&lt;br /&gt;
&lt;br /&gt;
Just now a client using glSDR (5) is attempting to change frequency, sound went quite distorted then dspserver crashed.&lt;br /&gt;
&lt;br /&gt;
Restarted dspserver and QtRadio sound started very distorted before it settled down to reasonable.&lt;/div&gt;</summary>
		<author><name>Frohro</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=766</id>
		<title>QtRadio Installation</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=766"/>
		<updated>2013-08-27T13:40:53Z</updated>

		<summary type="html">&lt;p&gt;Frohro: /* = Software= */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Installation on Linux ==&lt;br /&gt;
The instructions below are for Debian based distributions like Ubuntu but you should be able to compile on any Linux distribution with the correct libraries installed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Installation from Git ===&lt;br /&gt;
Installing from git involves building or compiling from source.  This is required if you want to use one of the various branches to work the &amp;quot;bleeding edge&amp;quot; branches like Alex&#039;s rxtx-event branch where the current (Nov 12 2011) TX work is being done.&lt;br /&gt;
The PPA install is never more than a few days behind master so there is not much to gain from building from git unless you want to work with the source code your self.&lt;br /&gt;
&lt;br /&gt;
==== Installing compiler and autotool ====&lt;br /&gt;
&lt;br /&gt;
First off, install the compiler; depending on which distribution are you using, some or all of this stuff could be already installed: &lt;br /&gt;
&lt;br /&gt;
===== Ubuntu/Debian =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install make gcc g++&lt;br /&gt;
sudo apt-get install autoconf automake autotools-dev libtool git subversion&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Fedora =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo yum install gcc gcc-c++ man-pages autoconf automake subversion libtool git&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Installing prerequisite packages ====&lt;br /&gt;
&lt;br /&gt;
===== Ubuntu 12.04 and newer =====&lt;br /&gt;
First of all, you have to check that the universe repository is enabled. Click on the gear shaped icon (bottom into left side bar): the System Settings menu will shown, click on Software Sources and finally check the Community-maintained Open Source Software (universe) tick. Next, submit the following commands into a terminal window:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install \&lt;br /&gt;
libqt4-opengl-dev \&lt;br /&gt;
qtmobility-dev \&lt;br /&gt;
libusb-0.1-4 \&lt;br /&gt;
libusb-dev \&lt;br /&gt;
libfftw3-dev \&lt;br /&gt;
portaudio19-dev \&lt;br /&gt;
libpulse-dev \&lt;br /&gt;
libsamplerate0-dev \&lt;br /&gt;
libusb-1.0-0-dev \&lt;br /&gt;
libconfig8-dev \&lt;br /&gt;
xdg-utils \&lt;br /&gt;
libortp-dev \&lt;br /&gt;
gcc-multilib \&lt;br /&gt;
libssl-dev \&lt;br /&gt;
libevent-dev \&lt;br /&gt;
libglu1-mesa-dev \&lt;br /&gt;
freeglut3-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You will need qt5 installed to complete the build.&lt;br /&gt;
&lt;br /&gt;
Visit: http://qt-project.org/downloads&lt;br /&gt;
&lt;br /&gt;
download the current package for your system.&lt;br /&gt;
&lt;br /&gt;
To build Qt5 on a RaspberryPi visit: http://qt-project.org/wiki/RaspberryPi&lt;br /&gt;
&lt;br /&gt;
After downloading it go to the download directory and do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ chmod +x the-name-of-the-downloaded-file&lt;br /&gt;
$ sudo ./the-name-of-the-downloaded-file&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Simply click on the installer and follow the prompts, take note of were qt5 is installed. Don&#039;t open the readme or start QtCreator when the installer asks.  It will make some files in your home directory owned by root, and that will give you trouble later.  After the install has completed, from a terminal:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ export PATH=/opt/Qt5.1.0/5.1.0/gcc_64/bin:/opt/Qt5.1.0/Tools/QtCreator/bin:$PATH&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
In the above make sure you put in the correct path for your version of Qt. This is due because the several packages from Qt sources and binary repositories web sites are not really installed in the system but simply copied on it. Therefore the autotools build system should search virtually over the whole filesystem.&lt;br /&gt;
In any case please remember that&lt;br /&gt;
the export above is effective only into the current terminal windows, if you open another window and/or reboot the system, you have to resubmit again the command&lt;br /&gt;
if you want to make permanent it, you have to add the export into the right configuration shell, suitable for the shell that you are currently using.&lt;br /&gt;
For the bash it is typically ~/.bashrc&lt;br /&gt;
In any case, after you issue the export, please test it.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
qmake -v&lt;br /&gt;
QMake version 2.01a&lt;br /&gt;
Using Qt version 4.8.0 in /home/andrew/QtSDK4.8x/Desktop/Qt/4.8.0/gcc/lib&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Ubuntu 11.04 and older ===== &lt;br /&gt;
First of all, you have to check that the &#039;&#039;universe repository&#039;&#039; is enabled.&lt;br /&gt;
Please see the procedure in the previous section [[#graphical installation]] .&lt;br /&gt;
&lt;br /&gt;
Next, you will need the following packages installed:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install \&lt;br /&gt;
libqt4-opengl-dev \&lt;br /&gt;
qtmobility-dev \&lt;br /&gt;
libusb-0.1-4 \&lt;br /&gt;
libusb-dev \&lt;br /&gt;
libfftw3-dev \&lt;br /&gt;
portaudio19-dev \&lt;br /&gt;
libpulse-dev \&lt;br /&gt;
libsamplerate0-dev \&lt;br /&gt;
libusb-1.0-0-dev \&lt;br /&gt;
libconfig8-dev \&lt;br /&gt;
libortp-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Ubuntu 11.10 ===== &lt;br /&gt;
First of all, you have to check that the &#039;&#039;universe repository&#039;&#039; is enabled.&lt;br /&gt;
Click on the gear shaped icon (bottom into left side bar): the &#039;&#039;System Settings&#039;&#039; menu will shown, click on &#039;&#039;Software Sources&#039;&#039; and finally check the &#039;&#039;Community-maintaned Open Source Software (universe)&#039;&#039; tick.&lt;br /&gt;
Next, submit the following commands into a terminal window:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install \&lt;br /&gt;
libqt4-opengl-dev \&lt;br /&gt;
qtmobility-dev \&lt;br /&gt;
libusb-0.1-4 \&lt;br /&gt;
libusb-dev \&lt;br /&gt;
libfftw3-dev \&lt;br /&gt;
portaudio19-dev \&lt;br /&gt;
libpulse-dev \&lt;br /&gt;
libsamplerate0-dev \&lt;br /&gt;
libusb-1.0-0-dev \&lt;br /&gt;
libconfig8-dev \&lt;br /&gt;
xdg-utils \&lt;br /&gt;
libortp-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Fedora 16 =====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo yum install fftw fftw-devel &lt;br /&gt;
sudo yum install libusb-devel libusb1-devel &lt;br /&gt;
sudo yum install portaudio-devel&lt;br /&gt;
sudo yum install libconfig-devel&lt;br /&gt;
sudo yum install libsamplerate-devel&lt;br /&gt;
sudo yum install pulseaudio-libs-devel&lt;br /&gt;
sudo yum install jack-audio-connection-kit  jack-audio-connection-kit-devel&lt;br /&gt;
sudo yum install qt4-devel&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Cloning the repository ====&lt;br /&gt;
&lt;br /&gt;
How to build the latest master branch on Ubuntu 11.04&lt;br /&gt;
&lt;br /&gt;
First a new libevent will need to be downloaded and installed, then the actual QtRadio source can be downloaded and built.&lt;br /&gt;
&lt;br /&gt;
==== Obtaining an up-level libevent library ====&lt;br /&gt;
&lt;br /&gt;
$ sudo apt-get install libevent-dev&lt;br /&gt;
&lt;br /&gt;
If the version is older than 2.0.5, go to synaptic and completely remove the stock libevent from Ubuntu. (Completely remove is an uninstall option in Synaptic. Additional dependent libraries may also be removed)&lt;br /&gt;
&lt;br /&gt;
Then download the new version from:&lt;br /&gt;
&lt;br /&gt;
http://libevent.org/&lt;br /&gt;
&lt;br /&gt;
libevent-2.0.16-stable.tar.gz&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
wget https://github.com/downloads/libevent/libevent/libevent-2.0.16-stable.tar.gz&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Move the tarball from the Downloads directory to a working directory. A suggestion is to create a src directory within your home directory and move it there. Uncompress and follow the instructions to build and install:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
tar -zxvf libevent-2.0.16-stable.tar.gz&lt;br /&gt;
cd libevent-2.0.16-stable&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On Fedora, in order to use the library above, export the LD_LIBRARY_PATH:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export LD_LIBRARY_PATH=/usr/local/lib&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Installing codec2 low bit rate audio encoding and decoding ====&lt;br /&gt;
&lt;br /&gt;
We are adding a low bit rate audio codec called codec 2 to QtRadio/dspserver.  You need&lt;br /&gt;
to download and build the codec2 library.  See:&lt;br /&gt;
&lt;br /&gt;
http://www.rowetel.com/blog/?page_id=452&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
Now go get codec2 using subversion&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
svn co https://freetel.svn.sourceforge.net/svnroot/freetel/codec2-dev codec2-dev&lt;br /&gt;
cd codec2-dev&lt;br /&gt;
autoreconf -i&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On Fedora, in order to use the library above, export the LD_LIBRARY_PATH:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export LD_LIBRARY_PATH=/usr/local/lib&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Building the master branch ====&lt;br /&gt;
&lt;br /&gt;
This branch is the latest code that contains both RX and TX capability. &lt;br /&gt;
&lt;br /&gt;
Create a new directory or cd to the ~/src directory created for libevent and cd into it.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://github.com/alexlee188/ghpsdr3-alex&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Depending on your Internet connection thorughput, it will take several minute to download.&lt;br /&gt;
cd into the new directory ghpsdr3-alex:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ghpsdr3-alex&lt;br /&gt;
git checkout master&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
You are now working with Alex&#039;s latest and greatest!&lt;br /&gt;
&lt;br /&gt;
First set the path to the version of qt you are using.  E.g. for qt5:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ export PATH=/opt/qt5/bin:$PATH&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
autoreconf -i&lt;br /&gt;
./configure&lt;br /&gt;
make -j4 all&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The default configure above builds with debug and default Qt4 version in your PC.  For optimized executable,&lt;br /&gt;
you need to specify options specific to your system.  See the sample shell scripts that replaces the above&lt;br /&gt;
./configure step:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./alex-avx-conf.sh		for building with i3,i5 and i7 cpu&#039;s supporting Advanced Vector Extensions (AVX)&lt;br /&gt;
./alex-openmp-conf.sh		for building with i3,i5 and i7 cpu&#039;s and OpenMP support&lt;br /&gt;
./alex-sse3-conf.sh		for building with SSE3 capable cpu&#039;s&lt;br /&gt;
./alex-openmp-sse3-conf.sh	for building with SSE3 cpaable cpu&#039;s and OpenMP support&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(If you do not want to actually install the executable binaries, skip the sudo make install and just cd into the following directories and run them from there)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Terminal 1&lt;br /&gt;
$ cd ghpsdr3-alex/trunk/src/softrock&lt;br /&gt;
$ ./softrock ...options ...&lt;br /&gt;
&lt;br /&gt;
Terminal 2&lt;br /&gt;
$ cd ghpsdr3-alex/trunk/src/dspserver&lt;br /&gt;
$ ./dspserver  ..options...&lt;br /&gt;
&lt;br /&gt;
Terminal 3&lt;br /&gt;
$ cd ghpsdr3-alex/trunk/src/QtRadio&lt;br /&gt;
$ ./QtRadio&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Building the Perseus extensions ====&lt;br /&gt;
&lt;br /&gt;
In order to build the Microtelecom Perseus server you need to switch to the master or iw0hdv branch. &lt;br /&gt;
&lt;br /&gt;
First off, install the prerequisite library and wget package:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install libboost-all-dev wget&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Next download, compile and install the library libperseus-sdr:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
wget http://libperseus-sdr.googlecode.com/files/libperseus_sdr-0.6.tar.gz&lt;br /&gt;
tar -zxvf libperseus_sdr-0.6.tar.gz&lt;br /&gt;
cd libperseus_sdr-0.6/&lt;br /&gt;
./configure &amp;amp;&amp;amp; make&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you already build in your sandbox some other branch, is strongly advisable, before you start the build, to do a full cleanup:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
make distcheck &amp;amp;&amp;amp; sh cleanup.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Otherwise, if you are starting from scratch, you have to clone the repository:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://github.com/alexlee188/ghpsdr3-alex&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, you can switch to the master branch and rebuild everything; you don&#039;t need anymore to explicitly enable the perseus server feature, the configure script automatically selects it when the libperseus_sdr is found.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
git checkout master&lt;br /&gt;
autoreconf -i &amp;amp;&amp;amp; ./configure &amp;amp;&amp;amp; make -j4&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In order to run it you have two choices, the first one being the plain command line:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
xterm -e &#039;perseus_server -d3 -s96000 &#039; &amp;amp;&lt;br /&gt;
sleep 3&lt;br /&gt;
xterm -e &#039;dspserver --lo 0 --nocorrectiq&#039; &amp;amp;&lt;br /&gt;
sleep 5&lt;br /&gt;
$( QtRadio 127.0.0.1 ) &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In QtRadio, Receiver menu, select Configure item, Server tab: here add the local host using the 127.0.0.1 IP address.&lt;br /&gt;
Pressing the key C, you start the receiver.&lt;br /&gt;
&lt;br /&gt;
The second choiche is to use the ghpsdr3-mgr.py script (available in menu Applications, Hamradio as ghpsdr3launcher): clicking on the Perseus icon the three processes should start and the QtServer automatically connects to Perseus Server.&lt;br /&gt;
&lt;br /&gt;
==== Building USRP enabled version ====&lt;br /&gt;
&lt;br /&gt;
===== Building the UHD package =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====== Install the prerequisite packages (Ubuntu 11.10): ======&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install liboost-all-dev&lt;br /&gt;
sudo apt-get install python-cheetah&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====== Build &amp;amp; Install UHD -- FOR UHD-3.3.1 AND GREATER --: ======&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
git clone git://ettus.sourcerepo.com/ettus/uhd.git&lt;br /&gt;
cd uhd/host/&lt;br /&gt;
mkdir build&lt;br /&gt;
cd build&lt;br /&gt;
cmake ../&lt;br /&gt;
make&lt;br /&gt;
make test&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you already build in your sandbox some other branch, is strongly advisable, before you start the build, to do a full cleanup:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
make distcheck &amp;amp;&amp;amp; sh cleanup.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Otherwise, if you are starting from scratch, first clone the repository:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://github.com/alexlee188/ghpsdr3-alex&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, you can switch to the master branch and rebuild everything, enabling the usrp server feature:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
git checkout usrp-server&lt;br /&gt;
autoreconf -i &amp;amp;&amp;amp; ./configure --enable-usrp=yes &amp;amp;&amp;amp; make -j4&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Refresh to a Newer Version ====&lt;br /&gt;
&lt;br /&gt;
To pull a new version to build &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ git pull&lt;br /&gt;
$ make -j4 all&lt;br /&gt;
$ sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If extensive changes have occurred or if you get errors during the make, you may want to do a clean build  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ git pull&lt;br /&gt;
$ make distclean&lt;br /&gt;
$ sh cleanup.sh&lt;br /&gt;
$ autoreconf -i&lt;br /&gt;
$ ./configure&lt;br /&gt;
$ make -j4 all&lt;br /&gt;
$ sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you continue to get errors, please report the whole ./configure output and the config.log to the mailing list.&lt;br /&gt;
&lt;br /&gt;
== Installation on Windows ==&lt;br /&gt;
See [[ QtRadio on Windows]]&lt;br /&gt;
&lt;br /&gt;
== Network settings ==&lt;br /&gt;
If you are behind a firewall/NAT-router and want to be able to connect to your dspserver over the Internet you have to open up port tcp/8000. If you are using the client in RTP mode you have to open up udp/5004 and udp/5005.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Installing ghpsdr3-alex on Raspberry Pi == &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
========== HARDWARE ==========&lt;br /&gt;
&lt;br /&gt;
*** THIS SECTION DEALS WITH Raspberry Pi DIFFERENCES *** IT DOES NOT CIRCUMVENT THE INSTRUCTIONS STARTING AT STEP 1 OF THE QtRadio Installation. ***&lt;br /&gt;
&lt;br /&gt;
I recommend installing either the raspbian or raspbian pisces (debian) distributions as there is no Ubuntu release to date.&lt;br /&gt;
&lt;br /&gt;
*** All the pre-requisite packages needed for Ubuntu must be installed on raspbian or respbian pisces using the same &amp;quot;apt-get install&amp;quot; commands so it&#039;s necessary to follow the QtRadio-Installation &lt;br /&gt;
document from the beginning after installing raspbian or raspbian pisces.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
        The RasPi USB subsystem is sensitive to power supply voltage levels - A supply of 5.5V at 2A is recommended. &lt;br /&gt;
With the power supply output at +5.17V I was getting on-board Ethernet errors and system hangs when one more device besides keyboard and mouse were plugged in to the on-board USB ports or an outboard powered USB HUB. &lt;br /&gt;
&lt;br /&gt;
Measuring the voltage across TP1 and TP2 on the Raspberry Pi and  increased it to +4.97V (P.S output +5.59V).&lt;br /&gt;
&lt;br /&gt;
I also ran &amp;quot;rpi-update&amp;quot; which install new firmware. &lt;br /&gt;
&lt;br /&gt;
I shorted out the polyfuses F1 and F2 on the Pi and USB is much more stable but still limited.&lt;br /&gt;
&lt;br /&gt;
With keyboard, mouse, gigabit USB Ethernet, SB Live! 24 USB and RTL-SDR dongle it runs for some hours before it freezes.&lt;br /&gt;
&lt;br /&gt;
Removing the RTL-SDR dongle from the powered hub made a great difference with a current uptime heading for 3 days. The latest ghpsdr3-alex master branch build successfully completed while I was in bed.&lt;br /&gt;
&lt;br /&gt;
root@pisces:/usr/src/GHPSDR3_HIGH_SPEED_MASTER/ghpsdr3-alex# date&lt;br /&gt;
&lt;br /&gt;
Sun Sep  9 13:00:49 BST 2012&lt;br /&gt;
&lt;br /&gt;
root@pisces:/usr/src/GHPSDR3_HIGH_SPEED_MASTER/ghpsdr3-alex# uptime&lt;br /&gt;
&lt;br /&gt;
 13:00:56 up 2 days, 20:46,  8 users,  load average: 0.81, 1.01, 0.67&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 ******       Do not use power from a USB PC port or from a USB Hub. ********&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once it&#039;s up and running, some details that may help in setting up the hardware for use - I&#039;m currently overclocking at 855MHz  (Previously was set to 1GHz):-&lt;br /&gt;
&lt;br /&gt;
Keyboard, mouse, usb sound card, RTL-SDR TV dongle and USB Gigabit Ethernet fully operational using the 7-port powered USB hub.&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# lsusb&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp. &lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.&lt;br /&gt;
 &lt;br /&gt;
Bus 001 Device 004: ID 04cc:1521 ST-Ericsson USB 2.0 Hub&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 011: ID 04f3:0103 Elan Microelectronics Corp. &lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 006: ID 047d:1022 Kensington Orbit Optical&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 007: ID 1d19:1101 Dexatek Technology Ltd. DK DVB-T Dongle&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 008: ID 041e:3040 Creative Technology, Ltd SoundBlaster Live! 24-bit External SB0490&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 009: ID 0b95:1780 ASIX Electronics Corp. AX88178&lt;br /&gt;
root@pisces:~# ifconfig &lt;br /&gt;
&lt;br /&gt;
eth0 Link encap:Ethernet HWaddr b8:27:eb:2c:07:c9&lt;br /&gt;
&lt;br /&gt;
         inet addr:192.168.10.31  Bcast:192.168.10.255 Mask:255.255.255.0&lt;br /&gt;
         inet6 addr: fe80::ba27:ebff:fe2c:7c9/64 Scope:Link&lt;br /&gt;
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1&lt;br /&gt;
         RX packets:410 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
         TX packets:377 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
         collisions:0 txqueuelen:1000&lt;br /&gt;
         RX bytes:28905 (28.2 KiB)  TX bytes:35938 (35.0 KiB)&lt;br /&gt;
&lt;br /&gt;
eth1 Link encap:Ethernet HWaddr 00:10:14:00:9f:fa&lt;br /&gt;
&lt;br /&gt;
         inet addr:192.168.2.199  Bcast:192.168.2.255 Mask:255.255.255.0&lt;br /&gt;
         inet6 addr: fe80::210:14ff:fe00:9ffa/64 Scope:Link&lt;br /&gt;
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1&lt;br /&gt;
         RX packets:5 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
         TX packets:7 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
         collisions:0 txqueuelen:1000&lt;br /&gt;
         RX bytes:230 (230.0 B)  TX bytes:592 (592.0 B)&lt;br /&gt;
&lt;br /&gt;
lo Link encap:Local Loopback&lt;br /&gt;
&lt;br /&gt;
         inet addr:127.0.0.1  Mask:255.0.0.0&lt;br /&gt;
         inet6 addr: ::1/128 Scope:Host&lt;br /&gt;
         UP LOOPBACK RUNNING  MTU:16436  Metric:1&lt;br /&gt;
         RX packets:0 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
         TX packets:0 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
         collisions:0 txqueuelen:0&lt;br /&gt;
         RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# cat /proc/asound/cards&lt;br /&gt;
 0 [ALSA           ]: BRCM bcm2835 ALSbcm2835 ALSA - bcm2835 ALSA&lt;br /&gt;
                      bcm2835 ALSA&lt;br /&gt;
&lt;br /&gt;
 1 [External       ]: USB-Audio - SB Live! 24-bit External&lt;br /&gt;
                      Creative Technology SB Live! 24-bit External at usb-bcm2708_usb-1.2.2, full spe&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It&#039;s running at 855MHz with this config.txt file. &lt;br /&gt;
root@pisces:~# cat /boot/config.txt&lt;br /&gt;
&lt;br /&gt;
over_voltage=6&lt;br /&gt;
&lt;br /&gt;
arm_freq=855&lt;br /&gt;
&lt;br /&gt;
core_freq=500&lt;br /&gt;
&lt;br /&gt;
sdram_freq=500&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# cat /etc/network/interfaces&lt;br /&gt;
&lt;br /&gt;
    Used by ifup(8) and ifdown(8). See the interfaces(5) manpage or&lt;br /&gt;
    /usr/share/doc/ifupdown/examples for more information. &lt;br /&gt;
&lt;br /&gt;
auto lo&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
iface lo inet loopback&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    File: ifcfg-eth0&lt;br /&gt;
&lt;br /&gt;
auto eth0&lt;br /&gt;
&lt;br /&gt;
iface eth0 inet static&lt;br /&gt;
&lt;br /&gt;
address 192.168.10.31&lt;br /&gt;
&lt;br /&gt;
netmask 255.255.255.0&lt;br /&gt;
&lt;br /&gt;
gateway 192.168.10.103&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
auto eth1&lt;br /&gt;
&lt;br /&gt;
iface eth1 inet static&lt;br /&gt;
&lt;br /&gt;
address 192.168.2.199&lt;br /&gt;
&lt;br /&gt;
netmask 255.255.255.0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# cat /etc/modules&lt;br /&gt;
&lt;br /&gt;
    /etc/modules: kernel modules to load at boot time.&lt;br /&gt;
    This file contains the names of kernel modules that should be loaded&lt;br /&gt;
    at boot time, one per line. Lines beginning with &amp;quot;#&amp;quot; are ignored.&lt;br /&gt;
    Parameters can be specified after the module name. &lt;br /&gt;
&lt;br /&gt;
loop&lt;br /&gt;
&lt;br /&gt;
snd-bcm2835&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
One problem remains, no sound from the on-board chip.&lt;br /&gt;
&lt;br /&gt;
==VirtualBox (the easy way to get up and running)==&lt;br /&gt;
&lt;br /&gt;
It is possible to run the server software (and QtRadio) under VirtualBox.  It has been tested with HPSDR Hermes hardware. [http://people.wallawalla.edu/~Rob.Frohne/ghpsdr3-alex/Ubuntu%2012.10%20ghpsdr3-alex-hermes.zip A VirtualBox Ubuntu 12.10 image] is available that automatically starts the server software for those who are running Windows, or don&#039;t feel they have the hardware, expertise or time to setup a Linux machine to act as a server.  The username is: &amp;quot;ubuntu&amp;quot; and the password: &amp;quot;hamradio&amp;quot;, which is probably a good thing to change soon after installation.  Basically, all you need to do is follow the instructions below, plug your HPSDR Hermes or Apache Labs ANAN series transceivers into the network with the server, and you can be using ghpsdr3-alex on your own server.  Users of older HPSDR hardware may need to make slight variations such as configuring USB in VirtualBox, specifying different command line arguments to the automatically started server commands, etc, but you won&#039;t have to build the software, or install Linux, or get another computer just to run the ghpsdr3-alex server software.&lt;br /&gt;
&lt;br /&gt;
To get started, download the [http://people.wallawalla.edu/~Rob.Frohne/ghpsdr3-alex/Ubuntu%2012.10%20ghpsdr3-alex-hermes.zip VirtualBox image] (about 2.7 GB), unzip it, start [https://www.virtualbox.org/ VirtualBox], select the blue new button for the new machine, follow the wizard&#039;s instructions.  When it asks you about the hard drive, say use existing virtual hard drive file, and select the image you just unzipped using the folder icon with the green up-arrow as the hard drive, and hit the create button. Then use the green start arrow to start the Ubuntu 12.10 virtual machine. &lt;br /&gt;
&lt;br /&gt;
You should now be able to start QtRadio (the brown unity launcher item with CQ in it) and connect to your server.  If that works, you should be able to connect from any client with network access to your server including QtRadio outside your virtual machine, or from another computer on your LAN or glSDR on your phone using WIFI.  Be sure to set the server IP address in the client (QtRadio, or glSDR) to the IP address of the Ubuntu virtual machine.  You can get the IP address from the up/down arrow menu on the upper left of your virtual machine menu bar, under the selection &amp;quot;Connection Information.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
The [[Dspserver.conf]] file should be edited to personalize your server, and to allow transmit.   &lt;br /&gt;
&lt;br /&gt;
If your sever doesn&#039;t work, it may because your network interface is not eth2.  If it isn&#039;t, you need to read the notes on the [[Hermes]] page, and then edit the commands used to automatically start your server as described in the paragraph immediately below.&lt;br /&gt;
&lt;br /&gt;
If you want to edit or add the automatically started programs, see [http://askubuntu.com/questions/48321/how-do-i-start-applications-automatically-on-login this web page].  If you want to change things, the helpful notes about running the [[Hermes]] server on the [[Hermes]] page might be good to review.  They explain the commands started automatically upon login.&lt;br /&gt;
&lt;br /&gt;
I must make one note about running the software from a pre-prepared VirtualBox Image.  It is a way an attacker could gain access to your computer and network.  I used a pre-prepared Ubuntu 12.10 image from [http://virtualboxes.org/images/ubuntu/ VirtualBoxImages].  I believe it to be virgin, but you have to realize that it is possible that some rogue software is running on this image.  If you use the image I provide, you must be solely responsible for whatever happens. I (Rob Frohne, KL7NA) did not put anything on the image, except the ghpsdr3-alex and the tools and packages, and configuration files needed to build it, and I believe it to be harmless.  As always, there is a trade off between ease of use, and security.&lt;br /&gt;
&lt;br /&gt;
===Software=== &lt;br /&gt;
***** START AT THE BEGINNING WHEN BUILDING THE SOFTWARE -- i.e Section 1 and install all the packages recommended and do the pulseaudio setup.&lt;br /&gt;
&lt;br /&gt;
If you build ghpsdr3-alex already it&#039;s a case of following the same procedure with the following caveats that apply to the RasPi ARM architecture. What follows is a blow by blow account of how I did it for the iw0hdv branch which supports my HiQSDR+Preselector. The same steps are needed for building any other branch.&lt;br /&gt;
&lt;br /&gt;
Subject: [n2adr-sdr] Raspberry Pi running ghpsdr3-alex&lt;br /&gt;
&lt;br /&gt;
The changes made by Andrea have been merged into the master branch. These changes allow samplerates &amp;gt;192K but the Pi doesn&#039;t have the power to run these high samplerates - I am running hiqsdr-server at 960K samplerate on a 8-core x84_64 box.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   autoreconf -i &lt;br /&gt;
&lt;br /&gt;
    ./configure CFLAGS=&#039;-O3 -pipe -march=armv6 -mfpu=vfp -mfloat-abi=hard&#039; CXXFLAGS=&#039;-O3 -pipe -march=armv6 -mfpu=vfp -mfloat-abi=hard&#039; &lt;br /&gt;
&lt;br /&gt;
**** Additional steps needed when building rtlsdr-server. Do these before running make ******&lt;br /&gt;
# export ac_cv_func_malloc_0_nonnull=yes&lt;br /&gt;
# export ac_cv_func_realloc_0_nonnull=yes&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    make all &amp;amp;&amp;amp; make all install &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Sound on the Raspberry Pi is still a problem I have not been able to solve.&lt;br /&gt;
&lt;br /&gt;
Terry (WB4JFI) suggested the following that work for him but I have had no luck with it.&lt;br /&gt;
&lt;br /&gt;
&amp;quot;amixer cset numid=3 1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Other valid numid&#039;s are 0=auto, 1=headphones and 2=hdmi.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
QtRadio running on another box using the connection from the server list. Sound is a touch distorted, quite distorted on start up of QtRadio and spectrum is always a little bit slow.&lt;br /&gt;
&lt;br /&gt;
When a slave connected and tried changing frequency, dspserver crashed - dspserver can be a bit crash happy.&lt;br /&gt;
&lt;br /&gt;
The first thing I tried on the Pi was QtRadio standalone, spectrum and waterfall were OK but no sound.&lt;br /&gt;
&lt;br /&gt;
Just now a client using glSDR (5) is attempting to change frequency, sound went quite distorted then dspserver crashed.&lt;br /&gt;
&lt;br /&gt;
Restarted dspserver and QtRadio sound started very distorted before it settled down to reasonable.&lt;/div&gt;</summary>
		<author><name>Frohro</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=765</id>
		<title>QtRadio Installation</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=765"/>
		<updated>2013-08-27T13:40:26Z</updated>

		<summary type="html">&lt;p&gt;Frohro: /* SOFTWARE */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Installation on Linux ==&lt;br /&gt;
The instructions below are for Debian based distributions like Ubuntu but you should be able to compile on any Linux distribution with the correct libraries installed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Installation from Git ===&lt;br /&gt;
Installing from git involves building or compiling from source.  This is required if you want to use one of the various branches to work the &amp;quot;bleeding edge&amp;quot; branches like Alex&#039;s rxtx-event branch where the current (Nov 12 2011) TX work is being done.&lt;br /&gt;
The PPA install is never more than a few days behind master so there is not much to gain from building from git unless you want to work with the source code your self.&lt;br /&gt;
&lt;br /&gt;
==== Installing compiler and autotool ====&lt;br /&gt;
&lt;br /&gt;
First off, install the compiler; depending on which distribution are you using, some or all of this stuff could be already installed: &lt;br /&gt;
&lt;br /&gt;
===== Ubuntu/Debian =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install make gcc g++&lt;br /&gt;
sudo apt-get install autoconf automake autotools-dev libtool git subversion&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Fedora =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo yum install gcc gcc-c++ man-pages autoconf automake subversion libtool git&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Installing prerequisite packages ====&lt;br /&gt;
&lt;br /&gt;
===== Ubuntu 12.04 and newer =====&lt;br /&gt;
First of all, you have to check that the universe repository is enabled. Click on the gear shaped icon (bottom into left side bar): the System Settings menu will shown, click on Software Sources and finally check the Community-maintained Open Source Software (universe) tick. Next, submit the following commands into a terminal window:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install \&lt;br /&gt;
libqt4-opengl-dev \&lt;br /&gt;
qtmobility-dev \&lt;br /&gt;
libusb-0.1-4 \&lt;br /&gt;
libusb-dev \&lt;br /&gt;
libfftw3-dev \&lt;br /&gt;
portaudio19-dev \&lt;br /&gt;
libpulse-dev \&lt;br /&gt;
libsamplerate0-dev \&lt;br /&gt;
libusb-1.0-0-dev \&lt;br /&gt;
libconfig8-dev \&lt;br /&gt;
xdg-utils \&lt;br /&gt;
libortp-dev \&lt;br /&gt;
gcc-multilib \&lt;br /&gt;
libssl-dev \&lt;br /&gt;
libevent-dev \&lt;br /&gt;
libglu1-mesa-dev \&lt;br /&gt;
freeglut3-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You will need qt5 installed to complete the build.&lt;br /&gt;
&lt;br /&gt;
Visit: http://qt-project.org/downloads&lt;br /&gt;
&lt;br /&gt;
download the current package for your system.&lt;br /&gt;
&lt;br /&gt;
To build Qt5 on a RaspberryPi visit: http://qt-project.org/wiki/RaspberryPi&lt;br /&gt;
&lt;br /&gt;
After downloading it go to the download directory and do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ chmod +x the-name-of-the-downloaded-file&lt;br /&gt;
$ sudo ./the-name-of-the-downloaded-file&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Simply click on the installer and follow the prompts, take note of were qt5 is installed. Don&#039;t open the readme or start QtCreator when the installer asks.  It will make some files in your home directory owned by root, and that will give you trouble later.  After the install has completed, from a terminal:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ export PATH=/opt/Qt5.1.0/5.1.0/gcc_64/bin:/opt/Qt5.1.0/Tools/QtCreator/bin:$PATH&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
In the above make sure you put in the correct path for your version of Qt. This is due because the several packages from Qt sources and binary repositories web sites are not really installed in the system but simply copied on it. Therefore the autotools build system should search virtually over the whole filesystem.&lt;br /&gt;
In any case please remember that&lt;br /&gt;
the export above is effective only into the current terminal windows, if you open another window and/or reboot the system, you have to resubmit again the command&lt;br /&gt;
if you want to make permanent it, you have to add the export into the right configuration shell, suitable for the shell that you are currently using.&lt;br /&gt;
For the bash it is typically ~/.bashrc&lt;br /&gt;
In any case, after you issue the export, please test it.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
qmake -v&lt;br /&gt;
QMake version 2.01a&lt;br /&gt;
Using Qt version 4.8.0 in /home/andrew/QtSDK4.8x/Desktop/Qt/4.8.0/gcc/lib&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Ubuntu 11.04 and older ===== &lt;br /&gt;
First of all, you have to check that the &#039;&#039;universe repository&#039;&#039; is enabled.&lt;br /&gt;
Please see the procedure in the previous section [[#graphical installation]] .&lt;br /&gt;
&lt;br /&gt;
Next, you will need the following packages installed:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install \&lt;br /&gt;
libqt4-opengl-dev \&lt;br /&gt;
qtmobility-dev \&lt;br /&gt;
libusb-0.1-4 \&lt;br /&gt;
libusb-dev \&lt;br /&gt;
libfftw3-dev \&lt;br /&gt;
portaudio19-dev \&lt;br /&gt;
libpulse-dev \&lt;br /&gt;
libsamplerate0-dev \&lt;br /&gt;
libusb-1.0-0-dev \&lt;br /&gt;
libconfig8-dev \&lt;br /&gt;
libortp-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Ubuntu 11.10 ===== &lt;br /&gt;
First of all, you have to check that the &#039;&#039;universe repository&#039;&#039; is enabled.&lt;br /&gt;
Click on the gear shaped icon (bottom into left side bar): the &#039;&#039;System Settings&#039;&#039; menu will shown, click on &#039;&#039;Software Sources&#039;&#039; and finally check the &#039;&#039;Community-maintaned Open Source Software (universe)&#039;&#039; tick.&lt;br /&gt;
Next, submit the following commands into a terminal window:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install \&lt;br /&gt;
libqt4-opengl-dev \&lt;br /&gt;
qtmobility-dev \&lt;br /&gt;
libusb-0.1-4 \&lt;br /&gt;
libusb-dev \&lt;br /&gt;
libfftw3-dev \&lt;br /&gt;
portaudio19-dev \&lt;br /&gt;
libpulse-dev \&lt;br /&gt;
libsamplerate0-dev \&lt;br /&gt;
libusb-1.0-0-dev \&lt;br /&gt;
libconfig8-dev \&lt;br /&gt;
xdg-utils \&lt;br /&gt;
libortp-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Fedora 16 =====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo yum install fftw fftw-devel &lt;br /&gt;
sudo yum install libusb-devel libusb1-devel &lt;br /&gt;
sudo yum install portaudio-devel&lt;br /&gt;
sudo yum install libconfig-devel&lt;br /&gt;
sudo yum install libsamplerate-devel&lt;br /&gt;
sudo yum install pulseaudio-libs-devel&lt;br /&gt;
sudo yum install jack-audio-connection-kit  jack-audio-connection-kit-devel&lt;br /&gt;
sudo yum install qt4-devel&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Cloning the repository ====&lt;br /&gt;
&lt;br /&gt;
How to build the latest master branch on Ubuntu 11.04&lt;br /&gt;
&lt;br /&gt;
First a new libevent will need to be downloaded and installed, then the actual QtRadio source can be downloaded and built.&lt;br /&gt;
&lt;br /&gt;
==== Obtaining an up-level libevent library ====&lt;br /&gt;
&lt;br /&gt;
$ sudo apt-get install libevent-dev&lt;br /&gt;
&lt;br /&gt;
If the version is older than 2.0.5, go to synaptic and completely remove the stock libevent from Ubuntu. (Completely remove is an uninstall option in Synaptic. Additional dependent libraries may also be removed)&lt;br /&gt;
&lt;br /&gt;
Then download the new version from:&lt;br /&gt;
&lt;br /&gt;
http://libevent.org/&lt;br /&gt;
&lt;br /&gt;
libevent-2.0.16-stable.tar.gz&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
wget https://github.com/downloads/libevent/libevent/libevent-2.0.16-stable.tar.gz&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Move the tarball from the Downloads directory to a working directory. A suggestion is to create a src directory within your home directory and move it there. Uncompress and follow the instructions to build and install:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
tar -zxvf libevent-2.0.16-stable.tar.gz&lt;br /&gt;
cd libevent-2.0.16-stable&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On Fedora, in order to use the library above, export the LD_LIBRARY_PATH:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export LD_LIBRARY_PATH=/usr/local/lib&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Installing codec2 low bit rate audio encoding and decoding ====&lt;br /&gt;
&lt;br /&gt;
We are adding a low bit rate audio codec called codec 2 to QtRadio/dspserver.  You need&lt;br /&gt;
to download and build the codec2 library.  See:&lt;br /&gt;
&lt;br /&gt;
http://www.rowetel.com/blog/?page_id=452&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
Now go get codec2 using subversion&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
svn co https://freetel.svn.sourceforge.net/svnroot/freetel/codec2-dev codec2-dev&lt;br /&gt;
cd codec2-dev&lt;br /&gt;
autoreconf -i&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On Fedora, in order to use the library above, export the LD_LIBRARY_PATH:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export LD_LIBRARY_PATH=/usr/local/lib&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Building the master branch ====&lt;br /&gt;
&lt;br /&gt;
This branch is the latest code that contains both RX and TX capability. &lt;br /&gt;
&lt;br /&gt;
Create a new directory or cd to the ~/src directory created for libevent and cd into it.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://github.com/alexlee188/ghpsdr3-alex&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Depending on your Internet connection thorughput, it will take several minute to download.&lt;br /&gt;
cd into the new directory ghpsdr3-alex:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ghpsdr3-alex&lt;br /&gt;
git checkout master&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
You are now working with Alex&#039;s latest and greatest!&lt;br /&gt;
&lt;br /&gt;
First set the path to the version of qt you are using.  E.g. for qt5:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ export PATH=/opt/qt5/bin:$PATH&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
autoreconf -i&lt;br /&gt;
./configure&lt;br /&gt;
make -j4 all&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The default configure above builds with debug and default Qt4 version in your PC.  For optimized executable,&lt;br /&gt;
you need to specify options specific to your system.  See the sample shell scripts that replaces the above&lt;br /&gt;
./configure step:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./alex-avx-conf.sh		for building with i3,i5 and i7 cpu&#039;s supporting Advanced Vector Extensions (AVX)&lt;br /&gt;
./alex-openmp-conf.sh		for building with i3,i5 and i7 cpu&#039;s and OpenMP support&lt;br /&gt;
./alex-sse3-conf.sh		for building with SSE3 capable cpu&#039;s&lt;br /&gt;
./alex-openmp-sse3-conf.sh	for building with SSE3 cpaable cpu&#039;s and OpenMP support&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(If you do not want to actually install the executable binaries, skip the sudo make install and just cd into the following directories and run them from there)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Terminal 1&lt;br /&gt;
$ cd ghpsdr3-alex/trunk/src/softrock&lt;br /&gt;
$ ./softrock ...options ...&lt;br /&gt;
&lt;br /&gt;
Terminal 2&lt;br /&gt;
$ cd ghpsdr3-alex/trunk/src/dspserver&lt;br /&gt;
$ ./dspserver  ..options...&lt;br /&gt;
&lt;br /&gt;
Terminal 3&lt;br /&gt;
$ cd ghpsdr3-alex/trunk/src/QtRadio&lt;br /&gt;
$ ./QtRadio&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Building the Perseus extensions ====&lt;br /&gt;
&lt;br /&gt;
In order to build the Microtelecom Perseus server you need to switch to the master or iw0hdv branch. &lt;br /&gt;
&lt;br /&gt;
First off, install the prerequisite library and wget package:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install libboost-all-dev wget&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Next download, compile and install the library libperseus-sdr:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
wget http://libperseus-sdr.googlecode.com/files/libperseus_sdr-0.6.tar.gz&lt;br /&gt;
tar -zxvf libperseus_sdr-0.6.tar.gz&lt;br /&gt;
cd libperseus_sdr-0.6/&lt;br /&gt;
./configure &amp;amp;&amp;amp; make&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you already build in your sandbox some other branch, is strongly advisable, before you start the build, to do a full cleanup:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
make distcheck &amp;amp;&amp;amp; sh cleanup.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Otherwise, if you are starting from scratch, you have to clone the repository:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://github.com/alexlee188/ghpsdr3-alex&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, you can switch to the master branch and rebuild everything; you don&#039;t need anymore to explicitly enable the perseus server feature, the configure script automatically selects it when the libperseus_sdr is found.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
git checkout master&lt;br /&gt;
autoreconf -i &amp;amp;&amp;amp; ./configure &amp;amp;&amp;amp; make -j4&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In order to run it you have two choices, the first one being the plain command line:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
xterm -e &#039;perseus_server -d3 -s96000 &#039; &amp;amp;&lt;br /&gt;
sleep 3&lt;br /&gt;
xterm -e &#039;dspserver --lo 0 --nocorrectiq&#039; &amp;amp;&lt;br /&gt;
sleep 5&lt;br /&gt;
$( QtRadio 127.0.0.1 ) &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In QtRadio, Receiver menu, select Configure item, Server tab: here add the local host using the 127.0.0.1 IP address.&lt;br /&gt;
Pressing the key C, you start the receiver.&lt;br /&gt;
&lt;br /&gt;
The second choiche is to use the ghpsdr3-mgr.py script (available in menu Applications, Hamradio as ghpsdr3launcher): clicking on the Perseus icon the three processes should start and the QtServer automatically connects to Perseus Server.&lt;br /&gt;
&lt;br /&gt;
==== Building USRP enabled version ====&lt;br /&gt;
&lt;br /&gt;
===== Building the UHD package =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====== Install the prerequisite packages (Ubuntu 11.10): ======&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install liboost-all-dev&lt;br /&gt;
sudo apt-get install python-cheetah&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====== Build &amp;amp; Install UHD -- FOR UHD-3.3.1 AND GREATER --: ======&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
git clone git://ettus.sourcerepo.com/ettus/uhd.git&lt;br /&gt;
cd uhd/host/&lt;br /&gt;
mkdir build&lt;br /&gt;
cd build&lt;br /&gt;
cmake ../&lt;br /&gt;
make&lt;br /&gt;
make test&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you already build in your sandbox some other branch, is strongly advisable, before you start the build, to do a full cleanup:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
make distcheck &amp;amp;&amp;amp; sh cleanup.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Otherwise, if you are starting from scratch, first clone the repository:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://github.com/alexlee188/ghpsdr3-alex&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, you can switch to the master branch and rebuild everything, enabling the usrp server feature:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
git checkout usrp-server&lt;br /&gt;
autoreconf -i &amp;amp;&amp;amp; ./configure --enable-usrp=yes &amp;amp;&amp;amp; make -j4&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Refresh to a Newer Version ====&lt;br /&gt;
&lt;br /&gt;
To pull a new version to build &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ git pull&lt;br /&gt;
$ make -j4 all&lt;br /&gt;
$ sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If extensive changes have occurred or if you get errors during the make, you may want to do a clean build  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ git pull&lt;br /&gt;
$ make distclean&lt;br /&gt;
$ sh cleanup.sh&lt;br /&gt;
$ autoreconf -i&lt;br /&gt;
$ ./configure&lt;br /&gt;
$ make -j4 all&lt;br /&gt;
$ sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you continue to get errors, please report the whole ./configure output and the config.log to the mailing list.&lt;br /&gt;
&lt;br /&gt;
== Installation on Windows ==&lt;br /&gt;
See [[ QtRadio on Windows]]&lt;br /&gt;
&lt;br /&gt;
== Network settings ==&lt;br /&gt;
If you are behind a firewall/NAT-router and want to be able to connect to your dspserver over the Internet you have to open up port tcp/8000. If you are using the client in RTP mode you have to open up udp/5004 and udp/5005.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Installing ghpsdr3-alex on Raspberry Pi == &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
========== HARDWARE ==========&lt;br /&gt;
&lt;br /&gt;
*** THIS SECTION DEALS WITH Raspberry Pi DIFFERENCES *** IT DOES NOT CIRCUMVENT THE INSTRUCTIONS STARTING AT STEP 1 OF THE QtRadio Installation. ***&lt;br /&gt;
&lt;br /&gt;
I recommend installing either the raspbian or raspbian pisces (debian) distributions as there is no Ubuntu release to date.&lt;br /&gt;
&lt;br /&gt;
*** All the pre-requisite packages needed for Ubuntu must be installed on raspbian or respbian pisces using the same &amp;quot;apt-get install&amp;quot; commands so it&#039;s necessary to follow the QtRadio-Installation &lt;br /&gt;
document from the beginning after installing raspbian or raspbian pisces.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
        The RasPi USB subsystem is sensitive to power supply voltage levels - A supply of 5.5V at 2A is recommended. &lt;br /&gt;
With the power supply output at +5.17V I was getting on-board Ethernet errors and system hangs when one more device besides keyboard and mouse were plugged in to the on-board USB ports or an outboard powered USB HUB. &lt;br /&gt;
&lt;br /&gt;
Measuring the voltage across TP1 and TP2 on the Raspberry Pi and  increased it to +4.97V (P.S output +5.59V).&lt;br /&gt;
&lt;br /&gt;
I also ran &amp;quot;rpi-update&amp;quot; which install new firmware. &lt;br /&gt;
&lt;br /&gt;
I shorted out the polyfuses F1 and F2 on the Pi and USB is much more stable but still limited.&lt;br /&gt;
&lt;br /&gt;
With keyboard, mouse, gigabit USB Ethernet, SB Live! 24 USB and RTL-SDR dongle it runs for some hours before it freezes.&lt;br /&gt;
&lt;br /&gt;
Removing the RTL-SDR dongle from the powered hub made a great difference with a current uptime heading for 3 days. The latest ghpsdr3-alex master branch build successfully completed while I was in bed.&lt;br /&gt;
&lt;br /&gt;
root@pisces:/usr/src/GHPSDR3_HIGH_SPEED_MASTER/ghpsdr3-alex# date&lt;br /&gt;
&lt;br /&gt;
Sun Sep  9 13:00:49 BST 2012&lt;br /&gt;
&lt;br /&gt;
root@pisces:/usr/src/GHPSDR3_HIGH_SPEED_MASTER/ghpsdr3-alex# uptime&lt;br /&gt;
&lt;br /&gt;
 13:00:56 up 2 days, 20:46,  8 users,  load average: 0.81, 1.01, 0.67&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 ******       Do not use power from a USB PC port or from a USB Hub. ********&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once it&#039;s up and running, some details that may help in setting up the hardware for use - I&#039;m currently overclocking at 855MHz  (Previously was set to 1GHz):-&lt;br /&gt;
&lt;br /&gt;
Keyboard, mouse, usb sound card, RTL-SDR TV dongle and USB Gigabit Ethernet fully operational using the 7-port powered USB hub.&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# lsusb&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp. &lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.&lt;br /&gt;
 &lt;br /&gt;
Bus 001 Device 004: ID 04cc:1521 ST-Ericsson USB 2.0 Hub&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 011: ID 04f3:0103 Elan Microelectronics Corp. &lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 006: ID 047d:1022 Kensington Orbit Optical&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 007: ID 1d19:1101 Dexatek Technology Ltd. DK DVB-T Dongle&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 008: ID 041e:3040 Creative Technology, Ltd SoundBlaster Live! 24-bit External SB0490&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 009: ID 0b95:1780 ASIX Electronics Corp. AX88178&lt;br /&gt;
root@pisces:~# ifconfig &lt;br /&gt;
&lt;br /&gt;
eth0 Link encap:Ethernet HWaddr b8:27:eb:2c:07:c9&lt;br /&gt;
&lt;br /&gt;
         inet addr:192.168.10.31  Bcast:192.168.10.255 Mask:255.255.255.0&lt;br /&gt;
         inet6 addr: fe80::ba27:ebff:fe2c:7c9/64 Scope:Link&lt;br /&gt;
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1&lt;br /&gt;
         RX packets:410 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
         TX packets:377 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
         collisions:0 txqueuelen:1000&lt;br /&gt;
         RX bytes:28905 (28.2 KiB)  TX bytes:35938 (35.0 KiB)&lt;br /&gt;
&lt;br /&gt;
eth1 Link encap:Ethernet HWaddr 00:10:14:00:9f:fa&lt;br /&gt;
&lt;br /&gt;
         inet addr:192.168.2.199  Bcast:192.168.2.255 Mask:255.255.255.0&lt;br /&gt;
         inet6 addr: fe80::210:14ff:fe00:9ffa/64 Scope:Link&lt;br /&gt;
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1&lt;br /&gt;
         RX packets:5 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
         TX packets:7 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
         collisions:0 txqueuelen:1000&lt;br /&gt;
         RX bytes:230 (230.0 B)  TX bytes:592 (592.0 B)&lt;br /&gt;
&lt;br /&gt;
lo Link encap:Local Loopback&lt;br /&gt;
&lt;br /&gt;
         inet addr:127.0.0.1  Mask:255.0.0.0&lt;br /&gt;
         inet6 addr: ::1/128 Scope:Host&lt;br /&gt;
         UP LOOPBACK RUNNING  MTU:16436  Metric:1&lt;br /&gt;
         RX packets:0 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
         TX packets:0 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
         collisions:0 txqueuelen:0&lt;br /&gt;
         RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# cat /proc/asound/cards&lt;br /&gt;
 0 [ALSA           ]: BRCM bcm2835 ALSbcm2835 ALSA - bcm2835 ALSA&lt;br /&gt;
                      bcm2835 ALSA&lt;br /&gt;
&lt;br /&gt;
 1 [External       ]: USB-Audio - SB Live! 24-bit External&lt;br /&gt;
                      Creative Technology SB Live! 24-bit External at usb-bcm2708_usb-1.2.2, full spe&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It&#039;s running at 855MHz with this config.txt file. &lt;br /&gt;
root@pisces:~# cat /boot/config.txt&lt;br /&gt;
&lt;br /&gt;
over_voltage=6&lt;br /&gt;
&lt;br /&gt;
arm_freq=855&lt;br /&gt;
&lt;br /&gt;
core_freq=500&lt;br /&gt;
&lt;br /&gt;
sdram_freq=500&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# cat /etc/network/interfaces&lt;br /&gt;
&lt;br /&gt;
    Used by ifup(8) and ifdown(8). See the interfaces(5) manpage or&lt;br /&gt;
    /usr/share/doc/ifupdown/examples for more information. &lt;br /&gt;
&lt;br /&gt;
auto lo&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
iface lo inet loopback&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    File: ifcfg-eth0&lt;br /&gt;
&lt;br /&gt;
auto eth0&lt;br /&gt;
&lt;br /&gt;
iface eth0 inet static&lt;br /&gt;
&lt;br /&gt;
address 192.168.10.31&lt;br /&gt;
&lt;br /&gt;
netmask 255.255.255.0&lt;br /&gt;
&lt;br /&gt;
gateway 192.168.10.103&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
auto eth1&lt;br /&gt;
&lt;br /&gt;
iface eth1 inet static&lt;br /&gt;
&lt;br /&gt;
address 192.168.2.199&lt;br /&gt;
&lt;br /&gt;
netmask 255.255.255.0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# cat /etc/modules&lt;br /&gt;
&lt;br /&gt;
    /etc/modules: kernel modules to load at boot time.&lt;br /&gt;
    This file contains the names of kernel modules that should be loaded&lt;br /&gt;
    at boot time, one per line. Lines beginning with &amp;quot;#&amp;quot; are ignored.&lt;br /&gt;
    Parameters can be specified after the module name. &lt;br /&gt;
&lt;br /&gt;
loop&lt;br /&gt;
&lt;br /&gt;
snd-bcm2835&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
One problem remains, no sound from the on-board chip.&lt;br /&gt;
&lt;br /&gt;
==VirtualBox (the easy way to get up and running)==&lt;br /&gt;
&lt;br /&gt;
It is possible to run the server software (and QtRadio) under VirtualBox.  It has been tested with HPSDR Hermes hardware. [http://people.wallawalla.edu/~Rob.Frohne/ghpsdr3-alex/Ubuntu%2012.10%20ghpsdr3-alex-hermes.zip A VirtualBox Ubuntu 12.10 image] is available that automatically starts the server software for those who are running Windows, or don&#039;t feel they have the hardware, expertise or time to setup a Linux machine to act as a server.  The username is: &amp;quot;ubuntu&amp;quot; and the password: &amp;quot;hamradio&amp;quot;, which is probably a good thing to change soon after installation.  Basically, all you need to do is follow the instructions below, plug your HPSDR Hermes or Apache Labs ANAN series transceivers into the network with the server, and you can be using ghpsdr3-alex on your own server.  Users of older HPSDR hardware may need to make slight variations such as configuring USB in VirtualBox, specifying different command line arguments to the automatically started server commands, etc, but you won&#039;t have to build the software, or install Linux, or get another computer just to run the ghpsdr3-alex server software.&lt;br /&gt;
&lt;br /&gt;
To get started, download the [http://people.wallawalla.edu/~Rob.Frohne/ghpsdr3-alex/Ubuntu%2012.10%20ghpsdr3-alex-hermes.zip VirtualBox image] (about 2.7 GB), unzip it, start [https://www.virtualbox.org/ VirtualBox], select the blue new button for the new machine, follow the wizard&#039;s instructions.  When it asks you about the hard drive, say use existing virtual hard drive file, and select the image you just unzipped using the folder icon with the green up-arrow as the hard drive, and hit the create button. Then use the green start arrow to start the Ubuntu 12.10 virtual machine. &lt;br /&gt;
&lt;br /&gt;
You should now be able to start QtRadio (the brown unity launcher item with CQ in it) and connect to your server.  If that works, you should be able to connect from any client with network access to your server including QtRadio outside your virtual machine, or from another computer on your LAN or glSDR on your phone using WIFI.  Be sure to set the server IP address in the client (QtRadio, or glSDR) to the IP address of the Ubuntu virtual machine.  You can get the IP address from the up/down arrow menu on the upper left of your virtual machine menu bar, under the selection &amp;quot;Connection Information.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
The [[Dspserver.conf]] file should be edited to personalize your server, and to allow transmit.   &lt;br /&gt;
&lt;br /&gt;
If your sever doesn&#039;t work, it may because your network interface is not eth2.  If it isn&#039;t, you need to read the notes on the [[Hermes]] page, and then edit the commands used to automatically start your server as described in the paragraph immediately below.&lt;br /&gt;
&lt;br /&gt;
If you want to edit or add the automatically started programs, see [http://askubuntu.com/questions/48321/how-do-i-start-applications-automatically-on-login this web page].  If you want to change things, the helpful notes about running the [[Hermes]] server on the [[Hermes]] page might be good to review.  They explain the commands started automatically upon login.&lt;br /&gt;
&lt;br /&gt;
I must make one note about running the software from a pre-prepared VirtualBox Image.  It is a way an attacker could gain access to your computer and network.  I used a pre-prepared Ubuntu 12.10 image from [http://virtualboxes.org/images/ubuntu/ VirtualBoxImages].  I believe it to be virgin, but you have to realize that it is possible that some rogue software is running on this image.  If you use the image I provide, you must be solely responsible for whatever happens. I (Rob Frohne, KL7NA) did not put anything on the image, except the ghpsdr3-alex and the tools and packages, and configuration files needed to build it, and I believe it to be harmless.  As always, there is a trade off between ease of use, and security.&lt;br /&gt;
&lt;br /&gt;
=== Software= == &lt;br /&gt;
***** START AT THE BEGINNING WHEN BUILDING THE SOFTWARE -- i.e Section 1 and install all the packages recommended and do the pulseaudio setup.&lt;br /&gt;
&lt;br /&gt;
If you build ghpsdr3-alex already it&#039;s a case of following the same procedure with the following caveats that apply to the RasPi ARM architecture. What follows is a blow by blow account of how I did it for the iw0hdv branch which supports my HiQSDR+Preselector. The same steps are needed for building any other branch.&lt;br /&gt;
&lt;br /&gt;
Subject: [n2adr-sdr] Raspberry Pi running ghpsdr3-alex&lt;br /&gt;
&lt;br /&gt;
The changes made by Andrea have been merged into the master branch. These changes allow samplerates &amp;gt;192K but the Pi doesn&#039;t have the power to run these high samplerates - I am running hiqsdr-server at 960K samplerate on a 8-core x84_64 box.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   autoreconf -i &lt;br /&gt;
&lt;br /&gt;
    ./configure CFLAGS=&#039;-O3 -pipe -march=armv6 -mfpu=vfp -mfloat-abi=hard&#039; CXXFLAGS=&#039;-O3 -pipe -march=armv6 -mfpu=vfp -mfloat-abi=hard&#039; &lt;br /&gt;
&lt;br /&gt;
**** Additional steps needed when building rtlsdr-server. Do these before running make ******&lt;br /&gt;
# export ac_cv_func_malloc_0_nonnull=yes&lt;br /&gt;
# export ac_cv_func_realloc_0_nonnull=yes&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    make all &amp;amp;&amp;amp; make all install &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Sound on the Raspberry Pi is still a problem I have not been able to solve.&lt;br /&gt;
&lt;br /&gt;
Terry (WB4JFI) suggested the following that work for him but I have had no luck with it.&lt;br /&gt;
&lt;br /&gt;
&amp;quot;amixer cset numid=3 1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Other valid numid&#039;s are 0=auto, 1=headphones and 2=hdmi.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
QtRadio running on another box using the connection from the server list. Sound is a touch distorted, quite distorted on start up of QtRadio and spectrum is always a little bit slow.&lt;br /&gt;
&lt;br /&gt;
When a slave connected and tried changing frequency, dspserver crashed - dspserver can be a bit crash happy.&lt;br /&gt;
&lt;br /&gt;
The first thing I tried on the Pi was QtRadio standalone, spectrum and waterfall were OK but no sound.&lt;br /&gt;
&lt;br /&gt;
Just now a client using glSDR (5) is attempting to change frequency, sound went quite distorted then dspserver crashed.&lt;br /&gt;
&lt;br /&gt;
Restarted dspserver and QtRadio sound started very distorted before it settled down to reasonable.&lt;/div&gt;</summary>
		<author><name>Frohro</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=764</id>
		<title>QtRadio Installation</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=764"/>
		<updated>2013-08-27T13:38:47Z</updated>

		<summary type="html">&lt;p&gt;Frohro: /* VirtualBox (the easy way to get up and running) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Installation on Linux ==&lt;br /&gt;
The instructions below are for Debian based distributions like Ubuntu but you should be able to compile on any Linux distribution with the correct libraries installed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Installation from Git ===&lt;br /&gt;
Installing from git involves building or compiling from source.  This is required if you want to use one of the various branches to work the &amp;quot;bleeding edge&amp;quot; branches like Alex&#039;s rxtx-event branch where the current (Nov 12 2011) TX work is being done.&lt;br /&gt;
The PPA install is never more than a few days behind master so there is not much to gain from building from git unless you want to work with the source code your self.&lt;br /&gt;
&lt;br /&gt;
==== Installing compiler and autotool ====&lt;br /&gt;
&lt;br /&gt;
First off, install the compiler; depending on which distribution are you using, some or all of this stuff could be already installed: &lt;br /&gt;
&lt;br /&gt;
===== Ubuntu/Debian =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install make gcc g++&lt;br /&gt;
sudo apt-get install autoconf automake autotools-dev libtool git subversion&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Fedora =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo yum install gcc gcc-c++ man-pages autoconf automake subversion libtool git&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Installing prerequisite packages ====&lt;br /&gt;
&lt;br /&gt;
===== Ubuntu 12.04 and newer =====&lt;br /&gt;
First of all, you have to check that the universe repository is enabled. Click on the gear shaped icon (bottom into left side bar): the System Settings menu will shown, click on Software Sources and finally check the Community-maintained Open Source Software (universe) tick. Next, submit the following commands into a terminal window:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install \&lt;br /&gt;
libqt4-opengl-dev \&lt;br /&gt;
qtmobility-dev \&lt;br /&gt;
libusb-0.1-4 \&lt;br /&gt;
libusb-dev \&lt;br /&gt;
libfftw3-dev \&lt;br /&gt;
portaudio19-dev \&lt;br /&gt;
libpulse-dev \&lt;br /&gt;
libsamplerate0-dev \&lt;br /&gt;
libusb-1.0-0-dev \&lt;br /&gt;
libconfig8-dev \&lt;br /&gt;
xdg-utils \&lt;br /&gt;
libortp-dev \&lt;br /&gt;
gcc-multilib \&lt;br /&gt;
libssl-dev \&lt;br /&gt;
libevent-dev \&lt;br /&gt;
libglu1-mesa-dev \&lt;br /&gt;
freeglut3-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You will need qt5 installed to complete the build.&lt;br /&gt;
&lt;br /&gt;
Visit: http://qt-project.org/downloads&lt;br /&gt;
&lt;br /&gt;
download the current package for your system.&lt;br /&gt;
&lt;br /&gt;
To build Qt5 on a RaspberryPi visit: http://qt-project.org/wiki/RaspberryPi&lt;br /&gt;
&lt;br /&gt;
After downloading it go to the download directory and do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ chmod +x the-name-of-the-downloaded-file&lt;br /&gt;
$ sudo ./the-name-of-the-downloaded-file&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Simply click on the installer and follow the prompts, take note of were qt5 is installed. Don&#039;t open the readme or start QtCreator when the installer asks.  It will make some files in your home directory owned by root, and that will give you trouble later.  After the install has completed, from a terminal:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ export PATH=/opt/Qt5.1.0/5.1.0/gcc_64/bin:/opt/Qt5.1.0/Tools/QtCreator/bin:$PATH&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
In the above make sure you put in the correct path for your version of Qt. This is due because the several packages from Qt sources and binary repositories web sites are not really installed in the system but simply copied on it. Therefore the autotools build system should search virtually over the whole filesystem.&lt;br /&gt;
In any case please remember that&lt;br /&gt;
the export above is effective only into the current terminal windows, if you open another window and/or reboot the system, you have to resubmit again the command&lt;br /&gt;
if you want to make permanent it, you have to add the export into the right configuration shell, suitable for the shell that you are currently using.&lt;br /&gt;
For the bash it is typically ~/.bashrc&lt;br /&gt;
In any case, after you issue the export, please test it.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
qmake -v&lt;br /&gt;
QMake version 2.01a&lt;br /&gt;
Using Qt version 4.8.0 in /home/andrew/QtSDK4.8x/Desktop/Qt/4.8.0/gcc/lib&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Ubuntu 11.04 and older ===== &lt;br /&gt;
First of all, you have to check that the &#039;&#039;universe repository&#039;&#039; is enabled.&lt;br /&gt;
Please see the procedure in the previous section [[#graphical installation]] .&lt;br /&gt;
&lt;br /&gt;
Next, you will need the following packages installed:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install \&lt;br /&gt;
libqt4-opengl-dev \&lt;br /&gt;
qtmobility-dev \&lt;br /&gt;
libusb-0.1-4 \&lt;br /&gt;
libusb-dev \&lt;br /&gt;
libfftw3-dev \&lt;br /&gt;
portaudio19-dev \&lt;br /&gt;
libpulse-dev \&lt;br /&gt;
libsamplerate0-dev \&lt;br /&gt;
libusb-1.0-0-dev \&lt;br /&gt;
libconfig8-dev \&lt;br /&gt;
libortp-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Ubuntu 11.10 ===== &lt;br /&gt;
First of all, you have to check that the &#039;&#039;universe repository&#039;&#039; is enabled.&lt;br /&gt;
Click on the gear shaped icon (bottom into left side bar): the &#039;&#039;System Settings&#039;&#039; menu will shown, click on &#039;&#039;Software Sources&#039;&#039; and finally check the &#039;&#039;Community-maintaned Open Source Software (universe)&#039;&#039; tick.&lt;br /&gt;
Next, submit the following commands into a terminal window:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install \&lt;br /&gt;
libqt4-opengl-dev \&lt;br /&gt;
qtmobility-dev \&lt;br /&gt;
libusb-0.1-4 \&lt;br /&gt;
libusb-dev \&lt;br /&gt;
libfftw3-dev \&lt;br /&gt;
portaudio19-dev \&lt;br /&gt;
libpulse-dev \&lt;br /&gt;
libsamplerate0-dev \&lt;br /&gt;
libusb-1.0-0-dev \&lt;br /&gt;
libconfig8-dev \&lt;br /&gt;
xdg-utils \&lt;br /&gt;
libortp-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Fedora 16 =====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo yum install fftw fftw-devel &lt;br /&gt;
sudo yum install libusb-devel libusb1-devel &lt;br /&gt;
sudo yum install portaudio-devel&lt;br /&gt;
sudo yum install libconfig-devel&lt;br /&gt;
sudo yum install libsamplerate-devel&lt;br /&gt;
sudo yum install pulseaudio-libs-devel&lt;br /&gt;
sudo yum install jack-audio-connection-kit  jack-audio-connection-kit-devel&lt;br /&gt;
sudo yum install qt4-devel&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Cloning the repository ====&lt;br /&gt;
&lt;br /&gt;
How to build the latest master branch on Ubuntu 11.04&lt;br /&gt;
&lt;br /&gt;
First a new libevent will need to be downloaded and installed, then the actual QtRadio source can be downloaded and built.&lt;br /&gt;
&lt;br /&gt;
==== Obtaining an up-level libevent library ====&lt;br /&gt;
&lt;br /&gt;
$ sudo apt-get install libevent-dev&lt;br /&gt;
&lt;br /&gt;
If the version is older than 2.0.5, go to synaptic and completely remove the stock libevent from Ubuntu. (Completely remove is an uninstall option in Synaptic. Additional dependent libraries may also be removed)&lt;br /&gt;
&lt;br /&gt;
Then download the new version from:&lt;br /&gt;
&lt;br /&gt;
http://libevent.org/&lt;br /&gt;
&lt;br /&gt;
libevent-2.0.16-stable.tar.gz&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
wget https://github.com/downloads/libevent/libevent/libevent-2.0.16-stable.tar.gz&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Move the tarball from the Downloads directory to a working directory. A suggestion is to create a src directory within your home directory and move it there. Uncompress and follow the instructions to build and install:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
tar -zxvf libevent-2.0.16-stable.tar.gz&lt;br /&gt;
cd libevent-2.0.16-stable&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On Fedora, in order to use the library above, export the LD_LIBRARY_PATH:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export LD_LIBRARY_PATH=/usr/local/lib&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Installing codec2 low bit rate audio encoding and decoding ====&lt;br /&gt;
&lt;br /&gt;
We are adding a low bit rate audio codec called codec 2 to QtRadio/dspserver.  You need&lt;br /&gt;
to download and build the codec2 library.  See:&lt;br /&gt;
&lt;br /&gt;
http://www.rowetel.com/blog/?page_id=452&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
Now go get codec2 using subversion&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
svn co https://freetel.svn.sourceforge.net/svnroot/freetel/codec2-dev codec2-dev&lt;br /&gt;
cd codec2-dev&lt;br /&gt;
autoreconf -i&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On Fedora, in order to use the library above, export the LD_LIBRARY_PATH:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export LD_LIBRARY_PATH=/usr/local/lib&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Building the master branch ====&lt;br /&gt;
&lt;br /&gt;
This branch is the latest code that contains both RX and TX capability. &lt;br /&gt;
&lt;br /&gt;
Create a new directory or cd to the ~/src directory created for libevent and cd into it.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://github.com/alexlee188/ghpsdr3-alex&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Depending on your Internet connection thorughput, it will take several minute to download.&lt;br /&gt;
cd into the new directory ghpsdr3-alex:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ghpsdr3-alex&lt;br /&gt;
git checkout master&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
You are now working with Alex&#039;s latest and greatest!&lt;br /&gt;
&lt;br /&gt;
First set the path to the version of qt you are using.  E.g. for qt5:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ export PATH=/opt/qt5/bin:$PATH&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
autoreconf -i&lt;br /&gt;
./configure&lt;br /&gt;
make -j4 all&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The default configure above builds with debug and default Qt4 version in your PC.  For optimized executable,&lt;br /&gt;
you need to specify options specific to your system.  See the sample shell scripts that replaces the above&lt;br /&gt;
./configure step:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./alex-avx-conf.sh		for building with i3,i5 and i7 cpu&#039;s supporting Advanced Vector Extensions (AVX)&lt;br /&gt;
./alex-openmp-conf.sh		for building with i3,i5 and i7 cpu&#039;s and OpenMP support&lt;br /&gt;
./alex-sse3-conf.sh		for building with SSE3 capable cpu&#039;s&lt;br /&gt;
./alex-openmp-sse3-conf.sh	for building with SSE3 cpaable cpu&#039;s and OpenMP support&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(If you do not want to actually install the executable binaries, skip the sudo make install and just cd into the following directories and run them from there)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Terminal 1&lt;br /&gt;
$ cd ghpsdr3-alex/trunk/src/softrock&lt;br /&gt;
$ ./softrock ...options ...&lt;br /&gt;
&lt;br /&gt;
Terminal 2&lt;br /&gt;
$ cd ghpsdr3-alex/trunk/src/dspserver&lt;br /&gt;
$ ./dspserver  ..options...&lt;br /&gt;
&lt;br /&gt;
Terminal 3&lt;br /&gt;
$ cd ghpsdr3-alex/trunk/src/QtRadio&lt;br /&gt;
$ ./QtRadio&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Building the Perseus extensions ====&lt;br /&gt;
&lt;br /&gt;
In order to build the Microtelecom Perseus server you need to switch to the master or iw0hdv branch. &lt;br /&gt;
&lt;br /&gt;
First off, install the prerequisite library and wget package:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install libboost-all-dev wget&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Next download, compile and install the library libperseus-sdr:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
wget http://libperseus-sdr.googlecode.com/files/libperseus_sdr-0.6.tar.gz&lt;br /&gt;
tar -zxvf libperseus_sdr-0.6.tar.gz&lt;br /&gt;
cd libperseus_sdr-0.6/&lt;br /&gt;
./configure &amp;amp;&amp;amp; make&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you already build in your sandbox some other branch, is strongly advisable, before you start the build, to do a full cleanup:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
make distcheck &amp;amp;&amp;amp; sh cleanup.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Otherwise, if you are starting from scratch, you have to clone the repository:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://github.com/alexlee188/ghpsdr3-alex&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, you can switch to the master branch and rebuild everything; you don&#039;t need anymore to explicitly enable the perseus server feature, the configure script automatically selects it when the libperseus_sdr is found.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
git checkout master&lt;br /&gt;
autoreconf -i &amp;amp;&amp;amp; ./configure &amp;amp;&amp;amp; make -j4&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In order to run it you have two choices, the first one being the plain command line:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
xterm -e &#039;perseus_server -d3 -s96000 &#039; &amp;amp;&lt;br /&gt;
sleep 3&lt;br /&gt;
xterm -e &#039;dspserver --lo 0 --nocorrectiq&#039; &amp;amp;&lt;br /&gt;
sleep 5&lt;br /&gt;
$( QtRadio 127.0.0.1 ) &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In QtRadio, Receiver menu, select Configure item, Server tab: here add the local host using the 127.0.0.1 IP address.&lt;br /&gt;
Pressing the key C, you start the receiver.&lt;br /&gt;
&lt;br /&gt;
The second choiche is to use the ghpsdr3-mgr.py script (available in menu Applications, Hamradio as ghpsdr3launcher): clicking on the Perseus icon the three processes should start and the QtServer automatically connects to Perseus Server.&lt;br /&gt;
&lt;br /&gt;
==== Building USRP enabled version ====&lt;br /&gt;
&lt;br /&gt;
===== Building the UHD package =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====== Install the prerequisite packages (Ubuntu 11.10): ======&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install liboost-all-dev&lt;br /&gt;
sudo apt-get install python-cheetah&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====== Build &amp;amp; Install UHD -- FOR UHD-3.3.1 AND GREATER --: ======&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
git clone git://ettus.sourcerepo.com/ettus/uhd.git&lt;br /&gt;
cd uhd/host/&lt;br /&gt;
mkdir build&lt;br /&gt;
cd build&lt;br /&gt;
cmake ../&lt;br /&gt;
make&lt;br /&gt;
make test&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you already build in your sandbox some other branch, is strongly advisable, before you start the build, to do a full cleanup:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
make distcheck &amp;amp;&amp;amp; sh cleanup.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Otherwise, if you are starting from scratch, first clone the repository:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://github.com/alexlee188/ghpsdr3-alex&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, you can switch to the master branch and rebuild everything, enabling the usrp server feature:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
git checkout usrp-server&lt;br /&gt;
autoreconf -i &amp;amp;&amp;amp; ./configure --enable-usrp=yes &amp;amp;&amp;amp; make -j4&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Refresh to a Newer Version ====&lt;br /&gt;
&lt;br /&gt;
To pull a new version to build &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ git pull&lt;br /&gt;
$ make -j4 all&lt;br /&gt;
$ sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If extensive changes have occurred or if you get errors during the make, you may want to do a clean build  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ git pull&lt;br /&gt;
$ make distclean&lt;br /&gt;
$ sh cleanup.sh&lt;br /&gt;
$ autoreconf -i&lt;br /&gt;
$ ./configure&lt;br /&gt;
$ make -j4 all&lt;br /&gt;
$ sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you continue to get errors, please report the whole ./configure output and the config.log to the mailing list.&lt;br /&gt;
&lt;br /&gt;
== Installation on Windows ==&lt;br /&gt;
See [[ QtRadio on Windows]]&lt;br /&gt;
&lt;br /&gt;
== Network settings ==&lt;br /&gt;
If you are behind a firewall/NAT-router and want to be able to connect to your dspserver over the Internet you have to open up port tcp/8000. If you are using the client in RTP mode you have to open up udp/5004 and udp/5005.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Installing ghpsdr3-alex on Raspberry Pi == &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
========== HARDWARE ==========&lt;br /&gt;
&lt;br /&gt;
*** THIS SECTION DEALS WITH Raspberry Pi DIFFERENCES *** IT DOES NOT CIRCUMVENT THE INSTRUCTIONS STARTING AT STEP 1 OF THE QtRadio Installation. ***&lt;br /&gt;
&lt;br /&gt;
I recommend installing either the raspbian or raspbian pisces (debian) distributions as there is no Ubuntu release to date.&lt;br /&gt;
&lt;br /&gt;
*** All the pre-requisite packages needed for Ubuntu must be installed on raspbian or respbian pisces using the same &amp;quot;apt-get install&amp;quot; commands so it&#039;s necessary to follow the QtRadio-Installation &lt;br /&gt;
document from the beginning after installing raspbian or raspbian pisces.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
        The RasPi USB subsystem is sensitive to power supply voltage levels - A supply of 5.5V at 2A is recommended. &lt;br /&gt;
With the power supply output at +5.17V I was getting on-board Ethernet errors and system hangs when one more device besides keyboard and mouse were plugged in to the on-board USB ports or an outboard powered USB HUB. &lt;br /&gt;
&lt;br /&gt;
Measuring the voltage across TP1 and TP2 on the Raspberry Pi and  increased it to +4.97V (P.S output +5.59V).&lt;br /&gt;
&lt;br /&gt;
I also ran &amp;quot;rpi-update&amp;quot; which install new firmware. &lt;br /&gt;
&lt;br /&gt;
I shorted out the polyfuses F1 and F2 on the Pi and USB is much more stable but still limited.&lt;br /&gt;
&lt;br /&gt;
With keyboard, mouse, gigabit USB Ethernet, SB Live! 24 USB and RTL-SDR dongle it runs for some hours before it freezes.&lt;br /&gt;
&lt;br /&gt;
Removing the RTL-SDR dongle from the powered hub made a great difference with a current uptime heading for 3 days. The latest ghpsdr3-alex master branch build successfully completed while I was in bed.&lt;br /&gt;
&lt;br /&gt;
root@pisces:/usr/src/GHPSDR3_HIGH_SPEED_MASTER/ghpsdr3-alex# date&lt;br /&gt;
&lt;br /&gt;
Sun Sep  9 13:00:49 BST 2012&lt;br /&gt;
&lt;br /&gt;
root@pisces:/usr/src/GHPSDR3_HIGH_SPEED_MASTER/ghpsdr3-alex# uptime&lt;br /&gt;
&lt;br /&gt;
 13:00:56 up 2 days, 20:46,  8 users,  load average: 0.81, 1.01, 0.67&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 ******       Do not use power from a USB PC port or from a USB Hub. ********&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once it&#039;s up and running, some details that may help in setting up the hardware for use - I&#039;m currently overclocking at 855MHz  (Previously was set to 1GHz):-&lt;br /&gt;
&lt;br /&gt;
Keyboard, mouse, usb sound card, RTL-SDR TV dongle and USB Gigabit Ethernet fully operational using the 7-port powered USB hub.&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# lsusb&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp. &lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.&lt;br /&gt;
 &lt;br /&gt;
Bus 001 Device 004: ID 04cc:1521 ST-Ericsson USB 2.0 Hub&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 011: ID 04f3:0103 Elan Microelectronics Corp. &lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 006: ID 047d:1022 Kensington Orbit Optical&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 007: ID 1d19:1101 Dexatek Technology Ltd. DK DVB-T Dongle&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 008: ID 041e:3040 Creative Technology, Ltd SoundBlaster Live! 24-bit External SB0490&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 009: ID 0b95:1780 ASIX Electronics Corp. AX88178&lt;br /&gt;
root@pisces:~# ifconfig &lt;br /&gt;
&lt;br /&gt;
eth0 Link encap:Ethernet HWaddr b8:27:eb:2c:07:c9&lt;br /&gt;
&lt;br /&gt;
         inet addr:192.168.10.31  Bcast:192.168.10.255 Mask:255.255.255.0&lt;br /&gt;
         inet6 addr: fe80::ba27:ebff:fe2c:7c9/64 Scope:Link&lt;br /&gt;
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1&lt;br /&gt;
         RX packets:410 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
         TX packets:377 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
         collisions:0 txqueuelen:1000&lt;br /&gt;
         RX bytes:28905 (28.2 KiB)  TX bytes:35938 (35.0 KiB)&lt;br /&gt;
&lt;br /&gt;
eth1 Link encap:Ethernet HWaddr 00:10:14:00:9f:fa&lt;br /&gt;
&lt;br /&gt;
         inet addr:192.168.2.199  Bcast:192.168.2.255 Mask:255.255.255.0&lt;br /&gt;
         inet6 addr: fe80::210:14ff:fe00:9ffa/64 Scope:Link&lt;br /&gt;
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1&lt;br /&gt;
         RX packets:5 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
         TX packets:7 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
         collisions:0 txqueuelen:1000&lt;br /&gt;
         RX bytes:230 (230.0 B)  TX bytes:592 (592.0 B)&lt;br /&gt;
&lt;br /&gt;
lo Link encap:Local Loopback&lt;br /&gt;
&lt;br /&gt;
         inet addr:127.0.0.1  Mask:255.0.0.0&lt;br /&gt;
         inet6 addr: ::1/128 Scope:Host&lt;br /&gt;
         UP LOOPBACK RUNNING  MTU:16436  Metric:1&lt;br /&gt;
         RX packets:0 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
         TX packets:0 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
         collisions:0 txqueuelen:0&lt;br /&gt;
         RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# cat /proc/asound/cards&lt;br /&gt;
 0 [ALSA           ]: BRCM bcm2835 ALSbcm2835 ALSA - bcm2835 ALSA&lt;br /&gt;
                      bcm2835 ALSA&lt;br /&gt;
&lt;br /&gt;
 1 [External       ]: USB-Audio - SB Live! 24-bit External&lt;br /&gt;
                      Creative Technology SB Live! 24-bit External at usb-bcm2708_usb-1.2.2, full spe&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It&#039;s running at 855MHz with this config.txt file. &lt;br /&gt;
root@pisces:~# cat /boot/config.txt&lt;br /&gt;
&lt;br /&gt;
over_voltage=6&lt;br /&gt;
&lt;br /&gt;
arm_freq=855&lt;br /&gt;
&lt;br /&gt;
core_freq=500&lt;br /&gt;
&lt;br /&gt;
sdram_freq=500&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# cat /etc/network/interfaces&lt;br /&gt;
&lt;br /&gt;
    Used by ifup(8) and ifdown(8). See the interfaces(5) manpage or&lt;br /&gt;
    /usr/share/doc/ifupdown/examples for more information. &lt;br /&gt;
&lt;br /&gt;
auto lo&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
iface lo inet loopback&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    File: ifcfg-eth0&lt;br /&gt;
&lt;br /&gt;
auto eth0&lt;br /&gt;
&lt;br /&gt;
iface eth0 inet static&lt;br /&gt;
&lt;br /&gt;
address 192.168.10.31&lt;br /&gt;
&lt;br /&gt;
netmask 255.255.255.0&lt;br /&gt;
&lt;br /&gt;
gateway 192.168.10.103&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
auto eth1&lt;br /&gt;
&lt;br /&gt;
iface eth1 inet static&lt;br /&gt;
&lt;br /&gt;
address 192.168.2.199&lt;br /&gt;
&lt;br /&gt;
netmask 255.255.255.0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# cat /etc/modules&lt;br /&gt;
&lt;br /&gt;
    /etc/modules: kernel modules to load at boot time.&lt;br /&gt;
    This file contains the names of kernel modules that should be loaded&lt;br /&gt;
    at boot time, one per line. Lines beginning with &amp;quot;#&amp;quot; are ignored.&lt;br /&gt;
    Parameters can be specified after the module name. &lt;br /&gt;
&lt;br /&gt;
loop&lt;br /&gt;
&lt;br /&gt;
snd-bcm2835&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
One problem remains, no sound from the on-board chip.&lt;br /&gt;
&lt;br /&gt;
==VirtualBox (the easy way to get up and running)==&lt;br /&gt;
&lt;br /&gt;
It is possible to run the server software (and QtRadio) under VirtualBox.  It has been tested with HPSDR Hermes hardware. [http://people.wallawalla.edu/~Rob.Frohne/ghpsdr3-alex/Ubuntu%2012.10%20ghpsdr3-alex-hermes.zip A VirtualBox Ubuntu 12.10 image] is available that automatically starts the server software for those who are running Windows, or don&#039;t feel they have the hardware, expertise or time to setup a Linux machine to act as a server.  The username is: &amp;quot;ubuntu&amp;quot; and the password: &amp;quot;hamradio&amp;quot;, which is probably a good thing to change soon after installation.  Basically, all you need to do is follow the instructions below, plug your HPSDR Hermes or Apache Labs ANAN series transceivers into the network with the server, and you can be using ghpsdr3-alex on your own server.  Users of older HPSDR hardware may need to make slight variations such as configuring USB in VirtualBox, specifying different command line arguments to the automatically started server commands, etc, but you won&#039;t have to build the software, or install Linux, or get another computer just to run the ghpsdr3-alex server software.&lt;br /&gt;
&lt;br /&gt;
To get started, download the [http://people.wallawalla.edu/~Rob.Frohne/ghpsdr3-alex/Ubuntu%2012.10%20ghpsdr3-alex-hermes.zip VirtualBox image] (about 2.7 GB), unzip it, start [https://www.virtualbox.org/ VirtualBox], select the blue new button for the new machine, follow the wizard&#039;s instructions.  When it asks you about the hard drive, say use existing virtual hard drive file, and select the image you just unzipped using the folder icon with the green up-arrow as the hard drive, and hit the create button. Then use the green start arrow to start the Ubuntu 12.10 virtual machine. &lt;br /&gt;
&lt;br /&gt;
You should now be able to start QtRadio (the brown unity launcher item with CQ in it) and connect to your server.  If that works, you should be able to connect from any client with network access to your server including QtRadio outside your virtual machine, or from another computer on your LAN or glSDR on your phone using WIFI.  Be sure to set the server IP address in the client (QtRadio, or glSDR) to the IP address of the Ubuntu virtual machine.  You can get the IP address from the up/down arrow menu on the upper left of your virtual machine menu bar, under the selection &amp;quot;Connection Information.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
The [[Dspserver.conf]] file should be edited to personalize your server, and to allow transmit.   &lt;br /&gt;
&lt;br /&gt;
If your sever doesn&#039;t work, it may because your network interface is not eth2.  If it isn&#039;t, you need to read the notes on the [[Hermes]] page, and then edit the commands used to automatically start your server as described in the paragraph immediately below.&lt;br /&gt;
&lt;br /&gt;
If you want to edit or add the automatically started programs, see [http://askubuntu.com/questions/48321/how-do-i-start-applications-automatically-on-login this web page].  If you want to change things, the helpful notes about running the [[Hermes]] server on the [[Hermes]] page might be good to review.  They explain the commands started automatically upon login.&lt;br /&gt;
&lt;br /&gt;
I must make one note about running the software from a pre-prepared VirtualBox Image.  It is a way an attacker could gain access to your computer and network.  I used a pre-prepared Ubuntu 12.10 image from [http://virtualboxes.org/images/ubuntu/ VirtualBoxImages].  I believe it to be virgin, but you have to realize that it is possible that some rogue software is running on this image.  If you use the image I provide, you must be solely responsible for whatever happens. I (Rob Frohne, KL7NA) did not put anything on the image, except the ghpsdr3-alex and the tools and packages, and configuration files needed to build it, and I believe it to be harmless.  As always, there is a trade off between ease of use, and security.&lt;br /&gt;
&lt;br /&gt;
== SOFTWARE == &lt;br /&gt;
***** START AT THE BEGINNING WHEN BUILDING THE SOFTWARE -- i.e Section 1 and install all the packages recommended and do the pulseaudio setup.&lt;br /&gt;
&lt;br /&gt;
If you build ghpsdr3-alex already it&#039;s a case of following the same procedure with the following caveats that apply to the RasPi ARM architecture. What follows is a blow by blow account of how I did it for the iw0hdv branch which supports my HiQSDR+Preselector. The same steps are needed for building any other branch.&lt;br /&gt;
&lt;br /&gt;
Subject: [n2adr-sdr] Raspberry Pi running ghpsdr3-alex&lt;br /&gt;
&lt;br /&gt;
The changes made by Andrea have been merged into the master branch. These changes allow samplerates &amp;gt;192K but the Pi doesn&#039;t have the power to run these high samplerates - I am running hiqsdr-server at 960K samplerate on a 8-core x84_64 box.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   autoreconf -i &lt;br /&gt;
&lt;br /&gt;
    ./configure CFLAGS=&#039;-O3 -pipe -march=armv6 -mfpu=vfp -mfloat-abi=hard&#039; CXXFLAGS=&#039;-O3 -pipe -march=armv6 -mfpu=vfp -mfloat-abi=hard&#039; &lt;br /&gt;
&lt;br /&gt;
**** Additional steps needed when building rtlsdr-server. Do these before running make ******&lt;br /&gt;
# export ac_cv_func_malloc_0_nonnull=yes&lt;br /&gt;
# export ac_cv_func_realloc_0_nonnull=yes&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    make all &amp;amp;&amp;amp; make all install &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Sound on the Raspberry Pi is still a problem I have not been able to solve.&lt;br /&gt;
&lt;br /&gt;
Terry (WB4JFI) suggested the following that work for him but I have had no luck with it.&lt;br /&gt;
&lt;br /&gt;
&amp;quot;amixer cset numid=3 1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Other valid numid&#039;s are 0=auto, 1=headphones and 2=hdmi.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
QtRadio running on another box using the connection from the server list. Sound is a touch distorted, quite distorted on start up of QtRadio and spectrum is always a little bit slow.&lt;br /&gt;
&lt;br /&gt;
When a slave connected and tried changing frequency, dspserver crashed - dspserver can be a bit crash happy.&lt;br /&gt;
&lt;br /&gt;
The first thing I tried on the Pi was QtRadio standalone, spectrum and waterfall were OK but no sound.&lt;br /&gt;
&lt;br /&gt;
Just now a client using glSDR (5) is attempting to change frequency, sound went quite distorted then dspserver crashed.&lt;br /&gt;
&lt;br /&gt;
Restarted dspserver and QtRadio sound started very distorted before it settled down to reasonable.&lt;/div&gt;</summary>
		<author><name>Frohro</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=763</id>
		<title>QtRadio Installation</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=763"/>
		<updated>2013-08-27T13:34:02Z</updated>

		<summary type="html">&lt;p&gt;Frohro: /* VIRTUALBOX */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Installation on Linux ==&lt;br /&gt;
The instructions below are for Debian based distributions like Ubuntu but you should be able to compile on any Linux distribution with the correct libraries installed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Installation from Git ===&lt;br /&gt;
Installing from git involves building or compiling from source.  This is required if you want to use one of the various branches to work the &amp;quot;bleeding edge&amp;quot; branches like Alex&#039;s rxtx-event branch where the current (Nov 12 2011) TX work is being done.&lt;br /&gt;
The PPA install is never more than a few days behind master so there is not much to gain from building from git unless you want to work with the source code your self.&lt;br /&gt;
&lt;br /&gt;
==== Installing compiler and autotool ====&lt;br /&gt;
&lt;br /&gt;
First off, install the compiler; depending on which distribution are you using, some or all of this stuff could be already installed: &lt;br /&gt;
&lt;br /&gt;
===== Ubuntu/Debian =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install make gcc g++&lt;br /&gt;
sudo apt-get install autoconf automake autotools-dev libtool git subversion&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Fedora =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo yum install gcc gcc-c++ man-pages autoconf automake subversion libtool git&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Installing prerequisite packages ====&lt;br /&gt;
&lt;br /&gt;
===== Ubuntu 12.04 and newer =====&lt;br /&gt;
First of all, you have to check that the universe repository is enabled. Click on the gear shaped icon (bottom into left side bar): the System Settings menu will shown, click on Software Sources and finally check the Community-maintained Open Source Software (universe) tick. Next, submit the following commands into a terminal window:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install \&lt;br /&gt;
libqt4-opengl-dev \&lt;br /&gt;
qtmobility-dev \&lt;br /&gt;
libusb-0.1-4 \&lt;br /&gt;
libusb-dev \&lt;br /&gt;
libfftw3-dev \&lt;br /&gt;
portaudio19-dev \&lt;br /&gt;
libpulse-dev \&lt;br /&gt;
libsamplerate0-dev \&lt;br /&gt;
libusb-1.0-0-dev \&lt;br /&gt;
libconfig8-dev \&lt;br /&gt;
xdg-utils \&lt;br /&gt;
libortp-dev \&lt;br /&gt;
gcc-multilib \&lt;br /&gt;
libssl-dev \&lt;br /&gt;
libevent-dev \&lt;br /&gt;
libglu1-mesa-dev \&lt;br /&gt;
freeglut3-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You will need qt5 installed to complete the build.&lt;br /&gt;
&lt;br /&gt;
Visit: http://qt-project.org/downloads&lt;br /&gt;
&lt;br /&gt;
download the current package for your system.&lt;br /&gt;
&lt;br /&gt;
To build Qt5 on a RaspberryPi visit: http://qt-project.org/wiki/RaspberryPi&lt;br /&gt;
&lt;br /&gt;
After downloading it go to the download directory and do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ chmod +x the-name-of-the-downloaded-file&lt;br /&gt;
$ sudo ./the-name-of-the-downloaded-file&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Simply click on the installer and follow the prompts, take note of were qt5 is installed. Don&#039;t open the readme or start QtCreator when the installer asks.  It will make some files in your home directory owned by root, and that will give you trouble later.  After the install has completed, from a terminal:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ export PATH=/opt/Qt5.1.0/5.1.0/gcc_64/bin:/opt/Qt5.1.0/Tools/QtCreator/bin:$PATH&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
In the above make sure you put in the correct path for your version of Qt. This is due because the several packages from Qt sources and binary repositories web sites are not really installed in the system but simply copied on it. Therefore the autotools build system should search virtually over the whole filesystem.&lt;br /&gt;
In any case please remember that&lt;br /&gt;
the export above is effective only into the current terminal windows, if you open another window and/or reboot the system, you have to resubmit again the command&lt;br /&gt;
if you want to make permanent it, you have to add the export into the right configuration shell, suitable for the shell that you are currently using.&lt;br /&gt;
For the bash it is typically ~/.bashrc&lt;br /&gt;
In any case, after you issue the export, please test it.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
qmake -v&lt;br /&gt;
QMake version 2.01a&lt;br /&gt;
Using Qt version 4.8.0 in /home/andrew/QtSDK4.8x/Desktop/Qt/4.8.0/gcc/lib&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Ubuntu 11.04 and older ===== &lt;br /&gt;
First of all, you have to check that the &#039;&#039;universe repository&#039;&#039; is enabled.&lt;br /&gt;
Please see the procedure in the previous section [[#graphical installation]] .&lt;br /&gt;
&lt;br /&gt;
Next, you will need the following packages installed:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install \&lt;br /&gt;
libqt4-opengl-dev \&lt;br /&gt;
qtmobility-dev \&lt;br /&gt;
libusb-0.1-4 \&lt;br /&gt;
libusb-dev \&lt;br /&gt;
libfftw3-dev \&lt;br /&gt;
portaudio19-dev \&lt;br /&gt;
libpulse-dev \&lt;br /&gt;
libsamplerate0-dev \&lt;br /&gt;
libusb-1.0-0-dev \&lt;br /&gt;
libconfig8-dev \&lt;br /&gt;
libortp-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Ubuntu 11.10 ===== &lt;br /&gt;
First of all, you have to check that the &#039;&#039;universe repository&#039;&#039; is enabled.&lt;br /&gt;
Click on the gear shaped icon (bottom into left side bar): the &#039;&#039;System Settings&#039;&#039; menu will shown, click on &#039;&#039;Software Sources&#039;&#039; and finally check the &#039;&#039;Community-maintaned Open Source Software (universe)&#039;&#039; tick.&lt;br /&gt;
Next, submit the following commands into a terminal window:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install \&lt;br /&gt;
libqt4-opengl-dev \&lt;br /&gt;
qtmobility-dev \&lt;br /&gt;
libusb-0.1-4 \&lt;br /&gt;
libusb-dev \&lt;br /&gt;
libfftw3-dev \&lt;br /&gt;
portaudio19-dev \&lt;br /&gt;
libpulse-dev \&lt;br /&gt;
libsamplerate0-dev \&lt;br /&gt;
libusb-1.0-0-dev \&lt;br /&gt;
libconfig8-dev \&lt;br /&gt;
xdg-utils \&lt;br /&gt;
libortp-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Fedora 16 =====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo yum install fftw fftw-devel &lt;br /&gt;
sudo yum install libusb-devel libusb1-devel &lt;br /&gt;
sudo yum install portaudio-devel&lt;br /&gt;
sudo yum install libconfig-devel&lt;br /&gt;
sudo yum install libsamplerate-devel&lt;br /&gt;
sudo yum install pulseaudio-libs-devel&lt;br /&gt;
sudo yum install jack-audio-connection-kit  jack-audio-connection-kit-devel&lt;br /&gt;
sudo yum install qt4-devel&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Cloning the repository ====&lt;br /&gt;
&lt;br /&gt;
How to build the latest master branch on Ubuntu 11.04&lt;br /&gt;
&lt;br /&gt;
First a new libevent will need to be downloaded and installed, then the actual QtRadio source can be downloaded and built.&lt;br /&gt;
&lt;br /&gt;
==== Obtaining an up-level libevent library ====&lt;br /&gt;
&lt;br /&gt;
$ sudo apt-get install libevent-dev&lt;br /&gt;
&lt;br /&gt;
If the version is older than 2.0.5, go to synaptic and completely remove the stock libevent from Ubuntu. (Completely remove is an uninstall option in Synaptic. Additional dependent libraries may also be removed)&lt;br /&gt;
&lt;br /&gt;
Then download the new version from:&lt;br /&gt;
&lt;br /&gt;
http://libevent.org/&lt;br /&gt;
&lt;br /&gt;
libevent-2.0.16-stable.tar.gz&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
wget https://github.com/downloads/libevent/libevent/libevent-2.0.16-stable.tar.gz&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Move the tarball from the Downloads directory to a working directory. A suggestion is to create a src directory within your home directory and move it there. Uncompress and follow the instructions to build and install:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
tar -zxvf libevent-2.0.16-stable.tar.gz&lt;br /&gt;
cd libevent-2.0.16-stable&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On Fedora, in order to use the library above, export the LD_LIBRARY_PATH:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export LD_LIBRARY_PATH=/usr/local/lib&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Installing codec2 low bit rate audio encoding and decoding ====&lt;br /&gt;
&lt;br /&gt;
We are adding a low bit rate audio codec called codec 2 to QtRadio/dspserver.  You need&lt;br /&gt;
to download and build the codec2 library.  See:&lt;br /&gt;
&lt;br /&gt;
http://www.rowetel.com/blog/?page_id=452&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
Now go get codec2 using subversion&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
svn co https://freetel.svn.sourceforge.net/svnroot/freetel/codec2-dev codec2-dev&lt;br /&gt;
cd codec2-dev&lt;br /&gt;
autoreconf -i&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On Fedora, in order to use the library above, export the LD_LIBRARY_PATH:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export LD_LIBRARY_PATH=/usr/local/lib&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Building the master branch ====&lt;br /&gt;
&lt;br /&gt;
This branch is the latest code that contains both RX and TX capability. &lt;br /&gt;
&lt;br /&gt;
Create a new directory or cd to the ~/src directory created for libevent and cd into it.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://github.com/alexlee188/ghpsdr3-alex&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Depending on your Internet connection thorughput, it will take several minute to download.&lt;br /&gt;
cd into the new directory ghpsdr3-alex:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ghpsdr3-alex&lt;br /&gt;
git checkout master&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
You are now working with Alex&#039;s latest and greatest!&lt;br /&gt;
&lt;br /&gt;
First set the path to the version of qt you are using.  E.g. for qt5:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ export PATH=/opt/qt5/bin:$PATH&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
autoreconf -i&lt;br /&gt;
./configure&lt;br /&gt;
make -j4 all&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The default configure above builds with debug and default Qt4 version in your PC.  For optimized executable,&lt;br /&gt;
you need to specify options specific to your system.  See the sample shell scripts that replaces the above&lt;br /&gt;
./configure step:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./alex-avx-conf.sh		for building with i3,i5 and i7 cpu&#039;s supporting Advanced Vector Extensions (AVX)&lt;br /&gt;
./alex-openmp-conf.sh		for building with i3,i5 and i7 cpu&#039;s and OpenMP support&lt;br /&gt;
./alex-sse3-conf.sh		for building with SSE3 capable cpu&#039;s&lt;br /&gt;
./alex-openmp-sse3-conf.sh	for building with SSE3 cpaable cpu&#039;s and OpenMP support&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(If you do not want to actually install the executable binaries, skip the sudo make install and just cd into the following directories and run them from there)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Terminal 1&lt;br /&gt;
$ cd ghpsdr3-alex/trunk/src/softrock&lt;br /&gt;
$ ./softrock ...options ...&lt;br /&gt;
&lt;br /&gt;
Terminal 2&lt;br /&gt;
$ cd ghpsdr3-alex/trunk/src/dspserver&lt;br /&gt;
$ ./dspserver  ..options...&lt;br /&gt;
&lt;br /&gt;
Terminal 3&lt;br /&gt;
$ cd ghpsdr3-alex/trunk/src/QtRadio&lt;br /&gt;
$ ./QtRadio&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Building the Perseus extensions ====&lt;br /&gt;
&lt;br /&gt;
In order to build the Microtelecom Perseus server you need to switch to the master or iw0hdv branch. &lt;br /&gt;
&lt;br /&gt;
First off, install the prerequisite library and wget package:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install libboost-all-dev wget&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Next download, compile and install the library libperseus-sdr:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
wget http://libperseus-sdr.googlecode.com/files/libperseus_sdr-0.6.tar.gz&lt;br /&gt;
tar -zxvf libperseus_sdr-0.6.tar.gz&lt;br /&gt;
cd libperseus_sdr-0.6/&lt;br /&gt;
./configure &amp;amp;&amp;amp; make&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you already build in your sandbox some other branch, is strongly advisable, before you start the build, to do a full cleanup:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
make distcheck &amp;amp;&amp;amp; sh cleanup.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Otherwise, if you are starting from scratch, you have to clone the repository:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://github.com/alexlee188/ghpsdr3-alex&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, you can switch to the master branch and rebuild everything; you don&#039;t need anymore to explicitly enable the perseus server feature, the configure script automatically selects it when the libperseus_sdr is found.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
git checkout master&lt;br /&gt;
autoreconf -i &amp;amp;&amp;amp; ./configure &amp;amp;&amp;amp; make -j4&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In order to run it you have two choices, the first one being the plain command line:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
xterm -e &#039;perseus_server -d3 -s96000 &#039; &amp;amp;&lt;br /&gt;
sleep 3&lt;br /&gt;
xterm -e &#039;dspserver --lo 0 --nocorrectiq&#039; &amp;amp;&lt;br /&gt;
sleep 5&lt;br /&gt;
$( QtRadio 127.0.0.1 ) &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In QtRadio, Receiver menu, select Configure item, Server tab: here add the local host using the 127.0.0.1 IP address.&lt;br /&gt;
Pressing the key C, you start the receiver.&lt;br /&gt;
&lt;br /&gt;
The second choiche is to use the ghpsdr3-mgr.py script (available in menu Applications, Hamradio as ghpsdr3launcher): clicking on the Perseus icon the three processes should start and the QtServer automatically connects to Perseus Server.&lt;br /&gt;
&lt;br /&gt;
==== Building USRP enabled version ====&lt;br /&gt;
&lt;br /&gt;
===== Building the UHD package =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====== Install the prerequisite packages (Ubuntu 11.10): ======&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install liboost-all-dev&lt;br /&gt;
sudo apt-get install python-cheetah&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====== Build &amp;amp; Install UHD -- FOR UHD-3.3.1 AND GREATER --: ======&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
git clone git://ettus.sourcerepo.com/ettus/uhd.git&lt;br /&gt;
cd uhd/host/&lt;br /&gt;
mkdir build&lt;br /&gt;
cd build&lt;br /&gt;
cmake ../&lt;br /&gt;
make&lt;br /&gt;
make test&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you already build in your sandbox some other branch, is strongly advisable, before you start the build, to do a full cleanup:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
make distcheck &amp;amp;&amp;amp; sh cleanup.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Otherwise, if you are starting from scratch, first clone the repository:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://github.com/alexlee188/ghpsdr3-alex&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, you can switch to the master branch and rebuild everything, enabling the usrp server feature:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
git checkout usrp-server&lt;br /&gt;
autoreconf -i &amp;amp;&amp;amp; ./configure --enable-usrp=yes &amp;amp;&amp;amp; make -j4&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Refresh to a Newer Version ====&lt;br /&gt;
&lt;br /&gt;
To pull a new version to build &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ git pull&lt;br /&gt;
$ make -j4 all&lt;br /&gt;
$ sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If extensive changes have occurred or if you get errors during the make, you may want to do a clean build  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ git pull&lt;br /&gt;
$ make distclean&lt;br /&gt;
$ sh cleanup.sh&lt;br /&gt;
$ autoreconf -i&lt;br /&gt;
$ ./configure&lt;br /&gt;
$ make -j4 all&lt;br /&gt;
$ sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you continue to get errors, please report the whole ./configure output and the config.log to the mailing list.&lt;br /&gt;
&lt;br /&gt;
== Installation on Windows ==&lt;br /&gt;
See [[ QtRadio on Windows]]&lt;br /&gt;
&lt;br /&gt;
== Network settings ==&lt;br /&gt;
If you are behind a firewall/NAT-router and want to be able to connect to your dspserver over the Internet you have to open up port tcp/8000. If you are using the client in RTP mode you have to open up udp/5004 and udp/5005.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Installing ghpsdr3-alex on Raspberry Pi == &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
========== HARDWARE ==========&lt;br /&gt;
&lt;br /&gt;
*** THIS SECTION DEALS WITH Raspberry Pi DIFFERENCES *** IT DOES NOT CIRCUMVENT THE INSTRUCTIONS STARTING AT STEP 1 OF THE QtRadio Installation. ***&lt;br /&gt;
&lt;br /&gt;
I recommend installing either the raspbian or raspbian pisces (debian) distributions as there is no Ubuntu release to date.&lt;br /&gt;
&lt;br /&gt;
*** All the pre-requisite packages needed for Ubuntu must be installed on raspbian or respbian pisces using the same &amp;quot;apt-get install&amp;quot; commands so it&#039;s necessary to follow the QtRadio-Installation &lt;br /&gt;
document from the beginning after installing raspbian or raspbian pisces.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
        The RasPi USB subsystem is sensitive to power supply voltage levels - A supply of 5.5V at 2A is recommended. &lt;br /&gt;
With the power supply output at +5.17V I was getting on-board Ethernet errors and system hangs when one more device besides keyboard and mouse were plugged in to the on-board USB ports or an outboard powered USB HUB. &lt;br /&gt;
&lt;br /&gt;
Measuring the voltage across TP1 and TP2 on the Raspberry Pi and  increased it to +4.97V (P.S output +5.59V).&lt;br /&gt;
&lt;br /&gt;
I also ran &amp;quot;rpi-update&amp;quot; which install new firmware. &lt;br /&gt;
&lt;br /&gt;
I shorted out the polyfuses F1 and F2 on the Pi and USB is much more stable but still limited.&lt;br /&gt;
&lt;br /&gt;
With keyboard, mouse, gigabit USB Ethernet, SB Live! 24 USB and RTL-SDR dongle it runs for some hours before it freezes.&lt;br /&gt;
&lt;br /&gt;
Removing the RTL-SDR dongle from the powered hub made a great difference with a current uptime heading for 3 days. The latest ghpsdr3-alex master branch build successfully completed while I was in bed.&lt;br /&gt;
&lt;br /&gt;
root@pisces:/usr/src/GHPSDR3_HIGH_SPEED_MASTER/ghpsdr3-alex# date&lt;br /&gt;
&lt;br /&gt;
Sun Sep  9 13:00:49 BST 2012&lt;br /&gt;
&lt;br /&gt;
root@pisces:/usr/src/GHPSDR3_HIGH_SPEED_MASTER/ghpsdr3-alex# uptime&lt;br /&gt;
&lt;br /&gt;
 13:00:56 up 2 days, 20:46,  8 users,  load average: 0.81, 1.01, 0.67&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 ******       Do not use power from a USB PC port or from a USB Hub. ********&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once it&#039;s up and running, some details that may help in setting up the hardware for use - I&#039;m currently overclocking at 855MHz  (Previously was set to 1GHz):-&lt;br /&gt;
&lt;br /&gt;
Keyboard, mouse, usb sound card, RTL-SDR TV dongle and USB Gigabit Ethernet fully operational using the 7-port powered USB hub.&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# lsusb&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp. &lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.&lt;br /&gt;
 &lt;br /&gt;
Bus 001 Device 004: ID 04cc:1521 ST-Ericsson USB 2.0 Hub&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 011: ID 04f3:0103 Elan Microelectronics Corp. &lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 006: ID 047d:1022 Kensington Orbit Optical&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 007: ID 1d19:1101 Dexatek Technology Ltd. DK DVB-T Dongle&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 008: ID 041e:3040 Creative Technology, Ltd SoundBlaster Live! 24-bit External SB0490&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 009: ID 0b95:1780 ASIX Electronics Corp. AX88178&lt;br /&gt;
root@pisces:~# ifconfig &lt;br /&gt;
&lt;br /&gt;
eth0 Link encap:Ethernet HWaddr b8:27:eb:2c:07:c9&lt;br /&gt;
&lt;br /&gt;
         inet addr:192.168.10.31  Bcast:192.168.10.255 Mask:255.255.255.0&lt;br /&gt;
         inet6 addr: fe80::ba27:ebff:fe2c:7c9/64 Scope:Link&lt;br /&gt;
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1&lt;br /&gt;
         RX packets:410 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
         TX packets:377 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
         collisions:0 txqueuelen:1000&lt;br /&gt;
         RX bytes:28905 (28.2 KiB)  TX bytes:35938 (35.0 KiB)&lt;br /&gt;
&lt;br /&gt;
eth1 Link encap:Ethernet HWaddr 00:10:14:00:9f:fa&lt;br /&gt;
&lt;br /&gt;
         inet addr:192.168.2.199  Bcast:192.168.2.255 Mask:255.255.255.0&lt;br /&gt;
         inet6 addr: fe80::210:14ff:fe00:9ffa/64 Scope:Link&lt;br /&gt;
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1&lt;br /&gt;
         RX packets:5 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
         TX packets:7 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
         collisions:0 txqueuelen:1000&lt;br /&gt;
         RX bytes:230 (230.0 B)  TX bytes:592 (592.0 B)&lt;br /&gt;
&lt;br /&gt;
lo Link encap:Local Loopback&lt;br /&gt;
&lt;br /&gt;
         inet addr:127.0.0.1  Mask:255.0.0.0&lt;br /&gt;
         inet6 addr: ::1/128 Scope:Host&lt;br /&gt;
         UP LOOPBACK RUNNING  MTU:16436  Metric:1&lt;br /&gt;
         RX packets:0 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
         TX packets:0 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
         collisions:0 txqueuelen:0&lt;br /&gt;
         RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# cat /proc/asound/cards&lt;br /&gt;
 0 [ALSA           ]: BRCM bcm2835 ALSbcm2835 ALSA - bcm2835 ALSA&lt;br /&gt;
                      bcm2835 ALSA&lt;br /&gt;
&lt;br /&gt;
 1 [External       ]: USB-Audio - SB Live! 24-bit External&lt;br /&gt;
                      Creative Technology SB Live! 24-bit External at usb-bcm2708_usb-1.2.2, full spe&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It&#039;s running at 855MHz with this config.txt file. &lt;br /&gt;
root@pisces:~# cat /boot/config.txt&lt;br /&gt;
&lt;br /&gt;
over_voltage=6&lt;br /&gt;
&lt;br /&gt;
arm_freq=855&lt;br /&gt;
&lt;br /&gt;
core_freq=500&lt;br /&gt;
&lt;br /&gt;
sdram_freq=500&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# cat /etc/network/interfaces&lt;br /&gt;
&lt;br /&gt;
    Used by ifup(8) and ifdown(8). See the interfaces(5) manpage or&lt;br /&gt;
    /usr/share/doc/ifupdown/examples for more information. &lt;br /&gt;
&lt;br /&gt;
auto lo&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
iface lo inet loopback&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    File: ifcfg-eth0&lt;br /&gt;
&lt;br /&gt;
auto eth0&lt;br /&gt;
&lt;br /&gt;
iface eth0 inet static&lt;br /&gt;
&lt;br /&gt;
address 192.168.10.31&lt;br /&gt;
&lt;br /&gt;
netmask 255.255.255.0&lt;br /&gt;
&lt;br /&gt;
gateway 192.168.10.103&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
auto eth1&lt;br /&gt;
&lt;br /&gt;
iface eth1 inet static&lt;br /&gt;
&lt;br /&gt;
address 192.168.2.199&lt;br /&gt;
&lt;br /&gt;
netmask 255.255.255.0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# cat /etc/modules&lt;br /&gt;
&lt;br /&gt;
    /etc/modules: kernel modules to load at boot time.&lt;br /&gt;
    This file contains the names of kernel modules that should be loaded&lt;br /&gt;
    at boot time, one per line. Lines beginning with &amp;quot;#&amp;quot; are ignored.&lt;br /&gt;
    Parameters can be specified after the module name. &lt;br /&gt;
&lt;br /&gt;
loop&lt;br /&gt;
&lt;br /&gt;
snd-bcm2835&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
One problem remains, no sound from the on-board chip.&lt;br /&gt;
&lt;br /&gt;
==VIRTUALBOX==&lt;br /&gt;
&lt;br /&gt;
It is possible to run the server software (and QtRadio) under VirtualBox.  It has been tested with HPSDR Hermes hardware. [http://people.wallawalla.edu/~Rob.Frohne/ghpsdr3-alex/Ubuntu%2012.10%20ghpsdr3-alex-hermes.zip A VirtualBox Ubuntu 12.10 image] is available that automatically starts the server software for those who are running Windows, or don&#039;t feel they have the hardware, expertise or time to setup a Linux machine to act as a server.  The username is: &amp;quot;ubuntu&amp;quot; and the password: &amp;quot;hamradio&amp;quot;, which is probably a good thing to change soon after installation.  Basically, all you need to do is follow the instructions below, plug your HPSDR Hermes or Apache Labs ANAN series transceivers into the network with the server, and you can be using ghpsdr3-alex on your own server.  Users of older HPSDR hardware may need to make slight variations such as configuring USB in VirtualBox, specifying different command line arguments to the automatically started server commands, etc, but you won&#039;t have to build the software, or install Linux, or get another computer just to run the ghpsdr3-alex server software.&lt;br /&gt;
&lt;br /&gt;
To get started, download the [http://people.wallawalla.edu/~Rob.Frohne/ghpsdr3-alex/Ubuntu%2012.10%20ghpsdr3-alex-hermes.zip VirtualBox image] (about 2.7 GB), unzip it, start [https://www.virtualbox.org/ VirtualBox], select the blue new button for the new machine, follow the wizard&#039;s instructions.  When it asks you about the hard drive, say use existing virtual hard drive file, and select the image you just unzipped using the folder icon with the green up-arrow as the hard drive, and hit the create button. Then use the green start arrow to start the Ubuntu 12.10 virtual machine. &lt;br /&gt;
&lt;br /&gt;
You should now be able to start QtRadio (the brown unity launcher item with CQ in it) and connect to your server.  If that works, you should be able to connect from any client with network access to your server including QtRadio outside your virtual machine, or from another computer on your LAN or glSDR on your phone using WIFI.  Be sure to set the server IP address in the client (QtRadio, or glSDR) to the IP address of the Ubuntu virtual machine.  You can get the IP address from the up/down arrow menu on the upper left of your virtual machine menu bar, under the selection &amp;quot;Connection Information.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
The [[Dspserver.conf]] file should be edited to personalize your server, and to allow transmit.   &lt;br /&gt;
&lt;br /&gt;
If your sever doesn&#039;t work, it may because your network interface is not eth2.  If it isn&#039;t, you need to read the notes on the [[Hermes]] page, and then edit the commands used to automatically start your server as described in the paragraph immediately below.&lt;br /&gt;
&lt;br /&gt;
If you want to edit or add the automatically started programs, see [http://askubuntu.com/questions/48321/how-do-i-start-applications-automatically-on-login this web page].  If you want to change things, the helpful notes about running the [[Hermes]] server on the [[Hermes]] page might be good to review.  They explain the commands started automatically upon login.&lt;br /&gt;
&lt;br /&gt;
I must make one note about running the software from a pre-prepared VirtualBox Image.  It is a way an attacker could gain access to your computer and network.  I used a pre-prepared Ubuntu 12.10 image from [http://virtualboxes.org/images/ubuntu/ VirtualBoxImages].  I believe it to be virgin, but you have to realize that it is possible that some rogue software is running on this image.  If you use the image I provide, you must be solely responsible for whatever happens. I (Rob Frohne, KL7NA) did not put anything on the image, except the ghpsdr3-alex and the tools and packages, and configuration files needed to build it, and I believe it to be harmless.  As always, there is a trade off between ease of use, and security.&lt;br /&gt;
&lt;br /&gt;
== SOFTWARE == &lt;br /&gt;
***** START AT THE BEGINNING WHEN BUILDING THE SOFTWARE -- i.e Section 1 and install all the packages recommended and do the pulseaudio setup.&lt;br /&gt;
&lt;br /&gt;
If you build ghpsdr3-alex already it&#039;s a case of following the same procedure with the following caveats that apply to the RasPi ARM architecture. What follows is a blow by blow account of how I did it for the iw0hdv branch which supports my HiQSDR+Preselector. The same steps are needed for building any other branch.&lt;br /&gt;
&lt;br /&gt;
Subject: [n2adr-sdr] Raspberry Pi running ghpsdr3-alex&lt;br /&gt;
&lt;br /&gt;
The changes made by Andrea have been merged into the master branch. These changes allow samplerates &amp;gt;192K but the Pi doesn&#039;t have the power to run these high samplerates - I am running hiqsdr-server at 960K samplerate on a 8-core x84_64 box.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   autoreconf -i &lt;br /&gt;
&lt;br /&gt;
    ./configure CFLAGS=&#039;-O3 -pipe -march=armv6 -mfpu=vfp -mfloat-abi=hard&#039; CXXFLAGS=&#039;-O3 -pipe -march=armv6 -mfpu=vfp -mfloat-abi=hard&#039; &lt;br /&gt;
&lt;br /&gt;
**** Additional steps needed when building rtlsdr-server. Do these before running make ******&lt;br /&gt;
# export ac_cv_func_malloc_0_nonnull=yes&lt;br /&gt;
# export ac_cv_func_realloc_0_nonnull=yes&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    make all &amp;amp;&amp;amp; make all install &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Sound on the Raspberry Pi is still a problem I have not been able to solve.&lt;br /&gt;
&lt;br /&gt;
Terry (WB4JFI) suggested the following that work for him but I have had no luck with it.&lt;br /&gt;
&lt;br /&gt;
&amp;quot;amixer cset numid=3 1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Other valid numid&#039;s are 0=auto, 1=headphones and 2=hdmi.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
QtRadio running on another box using the connection from the server list. Sound is a touch distorted, quite distorted on start up of QtRadio and spectrum is always a little bit slow.&lt;br /&gt;
&lt;br /&gt;
When a slave connected and tried changing frequency, dspserver crashed - dspserver can be a bit crash happy.&lt;br /&gt;
&lt;br /&gt;
The first thing I tried on the Pi was QtRadio standalone, spectrum and waterfall were OK but no sound.&lt;br /&gt;
&lt;br /&gt;
Just now a client using glSDR (5) is attempting to change frequency, sound went quite distorted then dspserver crashed.&lt;br /&gt;
&lt;br /&gt;
Restarted dspserver and QtRadio sound started very distorted before it settled down to reasonable.&lt;/div&gt;</summary>
		<author><name>Frohro</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=762</id>
		<title>QtRadio Installation</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=762"/>
		<updated>2013-08-27T13:26:48Z</updated>

		<summary type="html">&lt;p&gt;Frohro: /* VIRTUALBOX */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Installation on Linux ==&lt;br /&gt;
The instructions below are for Debian based distributions like Ubuntu but you should be able to compile on any Linux distribution with the correct libraries installed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Installation from Git ===&lt;br /&gt;
Installing from git involves building or compiling from source.  This is required if you want to use one of the various branches to work the &amp;quot;bleeding edge&amp;quot; branches like Alex&#039;s rxtx-event branch where the current (Nov 12 2011) TX work is being done.&lt;br /&gt;
The PPA install is never more than a few days behind master so there is not much to gain from building from git unless you want to work with the source code your self.&lt;br /&gt;
&lt;br /&gt;
==== Installing compiler and autotool ====&lt;br /&gt;
&lt;br /&gt;
First off, install the compiler; depending on which distribution are you using, some or all of this stuff could be already installed: &lt;br /&gt;
&lt;br /&gt;
===== Ubuntu/Debian =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install make gcc g++&lt;br /&gt;
sudo apt-get install autoconf automake autotools-dev libtool git subversion&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Fedora =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo yum install gcc gcc-c++ man-pages autoconf automake subversion libtool git&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Installing prerequisite packages ====&lt;br /&gt;
&lt;br /&gt;
===== Ubuntu 12.04 and newer =====&lt;br /&gt;
First of all, you have to check that the universe repository is enabled. Click on the gear shaped icon (bottom into left side bar): the System Settings menu will shown, click on Software Sources and finally check the Community-maintained Open Source Software (universe) tick. Next, submit the following commands into a terminal window:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install \&lt;br /&gt;
libqt4-opengl-dev \&lt;br /&gt;
qtmobility-dev \&lt;br /&gt;
libusb-0.1-4 \&lt;br /&gt;
libusb-dev \&lt;br /&gt;
libfftw3-dev \&lt;br /&gt;
portaudio19-dev \&lt;br /&gt;
libpulse-dev \&lt;br /&gt;
libsamplerate0-dev \&lt;br /&gt;
libusb-1.0-0-dev \&lt;br /&gt;
libconfig8-dev \&lt;br /&gt;
xdg-utils \&lt;br /&gt;
libortp-dev \&lt;br /&gt;
gcc-multilib \&lt;br /&gt;
libssl-dev \&lt;br /&gt;
libevent-dev \&lt;br /&gt;
libglu1-mesa-dev \&lt;br /&gt;
freeglut3-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You will need qt5 installed to complete the build.&lt;br /&gt;
&lt;br /&gt;
Visit: http://qt-project.org/downloads&lt;br /&gt;
&lt;br /&gt;
download the current package for your system.&lt;br /&gt;
&lt;br /&gt;
To build Qt5 on a RaspberryPi visit: http://qt-project.org/wiki/RaspberryPi&lt;br /&gt;
&lt;br /&gt;
After downloading it go to the download directory and do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ chmod +x the-name-of-the-downloaded-file&lt;br /&gt;
$ sudo ./the-name-of-the-downloaded-file&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Simply click on the installer and follow the prompts, take note of were qt5 is installed. Don&#039;t open the readme or start QtCreator when the installer asks.  It will make some files in your home directory owned by root, and that will give you trouble later.  After the install has completed, from a terminal:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ export PATH=/opt/Qt5.1.0/5.1.0/gcc_64/bin:/opt/Qt5.1.0/Tools/QtCreator/bin:$PATH&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
In the above make sure you put in the correct path for your version of Qt. This is due because the several packages from Qt sources and binary repositories web sites are not really installed in the system but simply copied on it. Therefore the autotools build system should search virtually over the whole filesystem.&lt;br /&gt;
In any case please remember that&lt;br /&gt;
the export above is effective only into the current terminal windows, if you open another window and/or reboot the system, you have to resubmit again the command&lt;br /&gt;
if you want to make permanent it, you have to add the export into the right configuration shell, suitable for the shell that you are currently using.&lt;br /&gt;
For the bash it is typically ~/.bashrc&lt;br /&gt;
In any case, after you issue the export, please test it.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
qmake -v&lt;br /&gt;
QMake version 2.01a&lt;br /&gt;
Using Qt version 4.8.0 in /home/andrew/QtSDK4.8x/Desktop/Qt/4.8.0/gcc/lib&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Ubuntu 11.04 and older ===== &lt;br /&gt;
First of all, you have to check that the &#039;&#039;universe repository&#039;&#039; is enabled.&lt;br /&gt;
Please see the procedure in the previous section [[#graphical installation]] .&lt;br /&gt;
&lt;br /&gt;
Next, you will need the following packages installed:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install \&lt;br /&gt;
libqt4-opengl-dev \&lt;br /&gt;
qtmobility-dev \&lt;br /&gt;
libusb-0.1-4 \&lt;br /&gt;
libusb-dev \&lt;br /&gt;
libfftw3-dev \&lt;br /&gt;
portaudio19-dev \&lt;br /&gt;
libpulse-dev \&lt;br /&gt;
libsamplerate0-dev \&lt;br /&gt;
libusb-1.0-0-dev \&lt;br /&gt;
libconfig8-dev \&lt;br /&gt;
libortp-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Ubuntu 11.10 ===== &lt;br /&gt;
First of all, you have to check that the &#039;&#039;universe repository&#039;&#039; is enabled.&lt;br /&gt;
Click on the gear shaped icon (bottom into left side bar): the &#039;&#039;System Settings&#039;&#039; menu will shown, click on &#039;&#039;Software Sources&#039;&#039; and finally check the &#039;&#039;Community-maintaned Open Source Software (universe)&#039;&#039; tick.&lt;br /&gt;
Next, submit the following commands into a terminal window:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install \&lt;br /&gt;
libqt4-opengl-dev \&lt;br /&gt;
qtmobility-dev \&lt;br /&gt;
libusb-0.1-4 \&lt;br /&gt;
libusb-dev \&lt;br /&gt;
libfftw3-dev \&lt;br /&gt;
portaudio19-dev \&lt;br /&gt;
libpulse-dev \&lt;br /&gt;
libsamplerate0-dev \&lt;br /&gt;
libusb-1.0-0-dev \&lt;br /&gt;
libconfig8-dev \&lt;br /&gt;
xdg-utils \&lt;br /&gt;
libortp-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Fedora 16 =====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo yum install fftw fftw-devel &lt;br /&gt;
sudo yum install libusb-devel libusb1-devel &lt;br /&gt;
sudo yum install portaudio-devel&lt;br /&gt;
sudo yum install libconfig-devel&lt;br /&gt;
sudo yum install libsamplerate-devel&lt;br /&gt;
sudo yum install pulseaudio-libs-devel&lt;br /&gt;
sudo yum install jack-audio-connection-kit  jack-audio-connection-kit-devel&lt;br /&gt;
sudo yum install qt4-devel&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Cloning the repository ====&lt;br /&gt;
&lt;br /&gt;
How to build the latest master branch on Ubuntu 11.04&lt;br /&gt;
&lt;br /&gt;
First a new libevent will need to be downloaded and installed, then the actual QtRadio source can be downloaded and built.&lt;br /&gt;
&lt;br /&gt;
==== Obtaining an up-level libevent library ====&lt;br /&gt;
&lt;br /&gt;
$ sudo apt-get install libevent-dev&lt;br /&gt;
&lt;br /&gt;
If the version is older than 2.0.5, go to synaptic and completely remove the stock libevent from Ubuntu. (Completely remove is an uninstall option in Synaptic. Additional dependent libraries may also be removed)&lt;br /&gt;
&lt;br /&gt;
Then download the new version from:&lt;br /&gt;
&lt;br /&gt;
http://libevent.org/&lt;br /&gt;
&lt;br /&gt;
libevent-2.0.16-stable.tar.gz&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
wget https://github.com/downloads/libevent/libevent/libevent-2.0.16-stable.tar.gz&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Move the tarball from the Downloads directory to a working directory. A suggestion is to create a src directory within your home directory and move it there. Uncompress and follow the instructions to build and install:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
tar -zxvf libevent-2.0.16-stable.tar.gz&lt;br /&gt;
cd libevent-2.0.16-stable&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On Fedora, in order to use the library above, export the LD_LIBRARY_PATH:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export LD_LIBRARY_PATH=/usr/local/lib&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Installing codec2 low bit rate audio encoding and decoding ====&lt;br /&gt;
&lt;br /&gt;
We are adding a low bit rate audio codec called codec 2 to QtRadio/dspserver.  You need&lt;br /&gt;
to download and build the codec2 library.  See:&lt;br /&gt;
&lt;br /&gt;
http://www.rowetel.com/blog/?page_id=452&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
Now go get codec2 using subversion&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
svn co https://freetel.svn.sourceforge.net/svnroot/freetel/codec2-dev codec2-dev&lt;br /&gt;
cd codec2-dev&lt;br /&gt;
autoreconf -i&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On Fedora, in order to use the library above, export the LD_LIBRARY_PATH:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export LD_LIBRARY_PATH=/usr/local/lib&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Building the master branch ====&lt;br /&gt;
&lt;br /&gt;
This branch is the latest code that contains both RX and TX capability. &lt;br /&gt;
&lt;br /&gt;
Create a new directory or cd to the ~/src directory created for libevent and cd into it.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://github.com/alexlee188/ghpsdr3-alex&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Depending on your Internet connection thorughput, it will take several minute to download.&lt;br /&gt;
cd into the new directory ghpsdr3-alex:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ghpsdr3-alex&lt;br /&gt;
git checkout master&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
You are now working with Alex&#039;s latest and greatest!&lt;br /&gt;
&lt;br /&gt;
First set the path to the version of qt you are using.  E.g. for qt5:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ export PATH=/opt/qt5/bin:$PATH&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
autoreconf -i&lt;br /&gt;
./configure&lt;br /&gt;
make -j4 all&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The default configure above builds with debug and default Qt4 version in your PC.  For optimized executable,&lt;br /&gt;
you need to specify options specific to your system.  See the sample shell scripts that replaces the above&lt;br /&gt;
./configure step:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./alex-avx-conf.sh		for building with i3,i5 and i7 cpu&#039;s supporting Advanced Vector Extensions (AVX)&lt;br /&gt;
./alex-openmp-conf.sh		for building with i3,i5 and i7 cpu&#039;s and OpenMP support&lt;br /&gt;
./alex-sse3-conf.sh		for building with SSE3 capable cpu&#039;s&lt;br /&gt;
./alex-openmp-sse3-conf.sh	for building with SSE3 cpaable cpu&#039;s and OpenMP support&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(If you do not want to actually install the executable binaries, skip the sudo make install and just cd into the following directories and run them from there)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Terminal 1&lt;br /&gt;
$ cd ghpsdr3-alex/trunk/src/softrock&lt;br /&gt;
$ ./softrock ...options ...&lt;br /&gt;
&lt;br /&gt;
Terminal 2&lt;br /&gt;
$ cd ghpsdr3-alex/trunk/src/dspserver&lt;br /&gt;
$ ./dspserver  ..options...&lt;br /&gt;
&lt;br /&gt;
Terminal 3&lt;br /&gt;
$ cd ghpsdr3-alex/trunk/src/QtRadio&lt;br /&gt;
$ ./QtRadio&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Building the Perseus extensions ====&lt;br /&gt;
&lt;br /&gt;
In order to build the Microtelecom Perseus server you need to switch to the master or iw0hdv branch. &lt;br /&gt;
&lt;br /&gt;
First off, install the prerequisite library and wget package:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install libboost-all-dev wget&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Next download, compile and install the library libperseus-sdr:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
wget http://libperseus-sdr.googlecode.com/files/libperseus_sdr-0.6.tar.gz&lt;br /&gt;
tar -zxvf libperseus_sdr-0.6.tar.gz&lt;br /&gt;
cd libperseus_sdr-0.6/&lt;br /&gt;
./configure &amp;amp;&amp;amp; make&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you already build in your sandbox some other branch, is strongly advisable, before you start the build, to do a full cleanup:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
make distcheck &amp;amp;&amp;amp; sh cleanup.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Otherwise, if you are starting from scratch, you have to clone the repository:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://github.com/alexlee188/ghpsdr3-alex&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, you can switch to the master branch and rebuild everything; you don&#039;t need anymore to explicitly enable the perseus server feature, the configure script automatically selects it when the libperseus_sdr is found.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
git checkout master&lt;br /&gt;
autoreconf -i &amp;amp;&amp;amp; ./configure &amp;amp;&amp;amp; make -j4&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In order to run it you have two choices, the first one being the plain command line:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
xterm -e &#039;perseus_server -d3 -s96000 &#039; &amp;amp;&lt;br /&gt;
sleep 3&lt;br /&gt;
xterm -e &#039;dspserver --lo 0 --nocorrectiq&#039; &amp;amp;&lt;br /&gt;
sleep 5&lt;br /&gt;
$( QtRadio 127.0.0.1 ) &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In QtRadio, Receiver menu, select Configure item, Server tab: here add the local host using the 127.0.0.1 IP address.&lt;br /&gt;
Pressing the key C, you start the receiver.&lt;br /&gt;
&lt;br /&gt;
The second choiche is to use the ghpsdr3-mgr.py script (available in menu Applications, Hamradio as ghpsdr3launcher): clicking on the Perseus icon the three processes should start and the QtServer automatically connects to Perseus Server.&lt;br /&gt;
&lt;br /&gt;
==== Building USRP enabled version ====&lt;br /&gt;
&lt;br /&gt;
===== Building the UHD package =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====== Install the prerequisite packages (Ubuntu 11.10): ======&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install liboost-all-dev&lt;br /&gt;
sudo apt-get install python-cheetah&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====== Build &amp;amp; Install UHD -- FOR UHD-3.3.1 AND GREATER --: ======&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
git clone git://ettus.sourcerepo.com/ettus/uhd.git&lt;br /&gt;
cd uhd/host/&lt;br /&gt;
mkdir build&lt;br /&gt;
cd build&lt;br /&gt;
cmake ../&lt;br /&gt;
make&lt;br /&gt;
make test&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you already build in your sandbox some other branch, is strongly advisable, before you start the build, to do a full cleanup:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
make distcheck &amp;amp;&amp;amp; sh cleanup.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Otherwise, if you are starting from scratch, first clone the repository:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://github.com/alexlee188/ghpsdr3-alex&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, you can switch to the master branch and rebuild everything, enabling the usrp server feature:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
git checkout usrp-server&lt;br /&gt;
autoreconf -i &amp;amp;&amp;amp; ./configure --enable-usrp=yes &amp;amp;&amp;amp; make -j4&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Refresh to a Newer Version ====&lt;br /&gt;
&lt;br /&gt;
To pull a new version to build &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ git pull&lt;br /&gt;
$ make -j4 all&lt;br /&gt;
$ sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If extensive changes have occurred or if you get errors during the make, you may want to do a clean build  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ git pull&lt;br /&gt;
$ make distclean&lt;br /&gt;
$ sh cleanup.sh&lt;br /&gt;
$ autoreconf -i&lt;br /&gt;
$ ./configure&lt;br /&gt;
$ make -j4 all&lt;br /&gt;
$ sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you continue to get errors, please report the whole ./configure output and the config.log to the mailing list.&lt;br /&gt;
&lt;br /&gt;
== Installation on Windows ==&lt;br /&gt;
See [[ QtRadio on Windows]]&lt;br /&gt;
&lt;br /&gt;
== Network settings ==&lt;br /&gt;
If you are behind a firewall/NAT-router and want to be able to connect to your dspserver over the Internet you have to open up port tcp/8000. If you are using the client in RTP mode you have to open up udp/5004 and udp/5005.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Installing ghpsdr3-alex on Raspberry Pi == &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
========== HARDWARE ==========&lt;br /&gt;
&lt;br /&gt;
*** THIS SECTION DEALS WITH Raspberry Pi DIFFERENCES *** IT DOES NOT CIRCUMVENT THE INSTRUCTIONS STARTING AT STEP 1 OF THE QtRadio Installation. ***&lt;br /&gt;
&lt;br /&gt;
I recommend installing either the raspbian or raspbian pisces (debian) distributions as there is no Ubuntu release to date.&lt;br /&gt;
&lt;br /&gt;
*** All the pre-requisite packages needed for Ubuntu must be installed on raspbian or respbian pisces using the same &amp;quot;apt-get install&amp;quot; commands so it&#039;s necessary to follow the QtRadio-Installation &lt;br /&gt;
document from the beginning after installing raspbian or raspbian pisces.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
        The RasPi USB subsystem is sensitive to power supply voltage levels - A supply of 5.5V at 2A is recommended. &lt;br /&gt;
With the power supply output at +5.17V I was getting on-board Ethernet errors and system hangs when one more device besides keyboard and mouse were plugged in to the on-board USB ports or an outboard powered USB HUB. &lt;br /&gt;
&lt;br /&gt;
Measuring the voltage across TP1 and TP2 on the Raspberry Pi and  increased it to +4.97V (P.S output +5.59V).&lt;br /&gt;
&lt;br /&gt;
I also ran &amp;quot;rpi-update&amp;quot; which install new firmware. &lt;br /&gt;
&lt;br /&gt;
I shorted out the polyfuses F1 and F2 on the Pi and USB is much more stable but still limited.&lt;br /&gt;
&lt;br /&gt;
With keyboard, mouse, gigabit USB Ethernet, SB Live! 24 USB and RTL-SDR dongle it runs for some hours before it freezes.&lt;br /&gt;
&lt;br /&gt;
Removing the RTL-SDR dongle from the powered hub made a great difference with a current uptime heading for 3 days. The latest ghpsdr3-alex master branch build successfully completed while I was in bed.&lt;br /&gt;
&lt;br /&gt;
root@pisces:/usr/src/GHPSDR3_HIGH_SPEED_MASTER/ghpsdr3-alex# date&lt;br /&gt;
&lt;br /&gt;
Sun Sep  9 13:00:49 BST 2012&lt;br /&gt;
&lt;br /&gt;
root@pisces:/usr/src/GHPSDR3_HIGH_SPEED_MASTER/ghpsdr3-alex# uptime&lt;br /&gt;
&lt;br /&gt;
 13:00:56 up 2 days, 20:46,  8 users,  load average: 0.81, 1.01, 0.67&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 ******       Do not use power from a USB PC port or from a USB Hub. ********&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once it&#039;s up and running, some details that may help in setting up the hardware for use - I&#039;m currently overclocking at 855MHz  (Previously was set to 1GHz):-&lt;br /&gt;
&lt;br /&gt;
Keyboard, mouse, usb sound card, RTL-SDR TV dongle and USB Gigabit Ethernet fully operational using the 7-port powered USB hub.&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# lsusb&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp. &lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.&lt;br /&gt;
 &lt;br /&gt;
Bus 001 Device 004: ID 04cc:1521 ST-Ericsson USB 2.0 Hub&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 011: ID 04f3:0103 Elan Microelectronics Corp. &lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 006: ID 047d:1022 Kensington Orbit Optical&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 007: ID 1d19:1101 Dexatek Technology Ltd. DK DVB-T Dongle&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 008: ID 041e:3040 Creative Technology, Ltd SoundBlaster Live! 24-bit External SB0490&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 009: ID 0b95:1780 ASIX Electronics Corp. AX88178&lt;br /&gt;
root@pisces:~# ifconfig &lt;br /&gt;
&lt;br /&gt;
eth0 Link encap:Ethernet HWaddr b8:27:eb:2c:07:c9&lt;br /&gt;
&lt;br /&gt;
         inet addr:192.168.10.31  Bcast:192.168.10.255 Mask:255.255.255.0&lt;br /&gt;
         inet6 addr: fe80::ba27:ebff:fe2c:7c9/64 Scope:Link&lt;br /&gt;
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1&lt;br /&gt;
         RX packets:410 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
         TX packets:377 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
         collisions:0 txqueuelen:1000&lt;br /&gt;
         RX bytes:28905 (28.2 KiB)  TX bytes:35938 (35.0 KiB)&lt;br /&gt;
&lt;br /&gt;
eth1 Link encap:Ethernet HWaddr 00:10:14:00:9f:fa&lt;br /&gt;
&lt;br /&gt;
         inet addr:192.168.2.199  Bcast:192.168.2.255 Mask:255.255.255.0&lt;br /&gt;
         inet6 addr: fe80::210:14ff:fe00:9ffa/64 Scope:Link&lt;br /&gt;
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1&lt;br /&gt;
         RX packets:5 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
         TX packets:7 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
         collisions:0 txqueuelen:1000&lt;br /&gt;
         RX bytes:230 (230.0 B)  TX bytes:592 (592.0 B)&lt;br /&gt;
&lt;br /&gt;
lo Link encap:Local Loopback&lt;br /&gt;
&lt;br /&gt;
         inet addr:127.0.0.1  Mask:255.0.0.0&lt;br /&gt;
         inet6 addr: ::1/128 Scope:Host&lt;br /&gt;
         UP LOOPBACK RUNNING  MTU:16436  Metric:1&lt;br /&gt;
         RX packets:0 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
         TX packets:0 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
         collisions:0 txqueuelen:0&lt;br /&gt;
         RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# cat /proc/asound/cards&lt;br /&gt;
 0 [ALSA           ]: BRCM bcm2835 ALSbcm2835 ALSA - bcm2835 ALSA&lt;br /&gt;
                      bcm2835 ALSA&lt;br /&gt;
&lt;br /&gt;
 1 [External       ]: USB-Audio - SB Live! 24-bit External&lt;br /&gt;
                      Creative Technology SB Live! 24-bit External at usb-bcm2708_usb-1.2.2, full spe&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It&#039;s running at 855MHz with this config.txt file. &lt;br /&gt;
root@pisces:~# cat /boot/config.txt&lt;br /&gt;
&lt;br /&gt;
over_voltage=6&lt;br /&gt;
&lt;br /&gt;
arm_freq=855&lt;br /&gt;
&lt;br /&gt;
core_freq=500&lt;br /&gt;
&lt;br /&gt;
sdram_freq=500&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# cat /etc/network/interfaces&lt;br /&gt;
&lt;br /&gt;
    Used by ifup(8) and ifdown(8). See the interfaces(5) manpage or&lt;br /&gt;
    /usr/share/doc/ifupdown/examples for more information. &lt;br /&gt;
&lt;br /&gt;
auto lo&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
iface lo inet loopback&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    File: ifcfg-eth0&lt;br /&gt;
&lt;br /&gt;
auto eth0&lt;br /&gt;
&lt;br /&gt;
iface eth0 inet static&lt;br /&gt;
&lt;br /&gt;
address 192.168.10.31&lt;br /&gt;
&lt;br /&gt;
netmask 255.255.255.0&lt;br /&gt;
&lt;br /&gt;
gateway 192.168.10.103&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
auto eth1&lt;br /&gt;
&lt;br /&gt;
iface eth1 inet static&lt;br /&gt;
&lt;br /&gt;
address 192.168.2.199&lt;br /&gt;
&lt;br /&gt;
netmask 255.255.255.0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# cat /etc/modules&lt;br /&gt;
&lt;br /&gt;
    /etc/modules: kernel modules to load at boot time.&lt;br /&gt;
    This file contains the names of kernel modules that should be loaded&lt;br /&gt;
    at boot time, one per line. Lines beginning with &amp;quot;#&amp;quot; are ignored.&lt;br /&gt;
    Parameters can be specified after the module name. &lt;br /&gt;
&lt;br /&gt;
loop&lt;br /&gt;
&lt;br /&gt;
snd-bcm2835&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
One problem remains, no sound from the on-board chip.&lt;br /&gt;
&lt;br /&gt;
==VIRTUALBOX==&lt;br /&gt;
&lt;br /&gt;
It is possible to run the server software (and QtRadio) under VirtualBox.  It has been tested with HPSDR Hermes hardware. [http://people.wallawalla.edu/~Rob.Frohne/ghpsdr3-alex/Ubuntu%2012.10%20ghpsdr3-alex-hermes.zip A VirtualBox Ubuntu 12.10 image] is available that automatically starts the server software for those who are running Windows, or don&#039;t feel they have the hardware, expertise or time to setup a Linux machine to act as a server.  The username is: &amp;quot;ubuntu&amp;quot; and the password: &amp;quot;hamradio&amp;quot;.  Basically, all you need to do is follow the instructions below, plug your Hermes or Apache Labs ANAN series transceivers into the network with the server, and you can be using ghpsdr3-alex on your own server.  Users of older HPSDR hardware may need to make slight variations such as configuring USB in VirtualBox, specifying different command line arguments, etc, but you won&#039;t have to build the software, or install Linux, or get another computer just to run the ghpsdr3-alex server software.&lt;br /&gt;
&lt;br /&gt;
The [[Dspserver.conf]] file needs to be edited, and you may need to adjust the commands that start the server   To get started, download the [http://people.wallawalla.edu/~Rob.Frohne/ghpsdr3-alex/Ubuntu%2012.10%20ghpsdr3-alex-hermes.zip VirtualBox image] (about 2.7 GB), unzip it, start [https://www.virtualbox.org/ VirtualBox], select the blue new button for the new machine, follow the wizard&#039;s instructions.  When it asks you about the hard drive, say use existing virtual hard drive file, and select the image you just unzipped using the folder icon with the green up-arrow as the hard drive, and hit the create button. Then use the green start arrow to start the Ubuntu 12.10 virtual machine. &lt;br /&gt;
&lt;br /&gt;
You should now be able to start QtRadio (the brown unity launcher item with CQ in it) and connect to your server.  If that works, you should be able to connect from any client with network access to your server including QtRadio outside your virtual machine, or from another computer on your LAN or glSDR on your phone using WIFI.  Be sure to set the server IP address in the client (QtRadio, or glSDR) to the IP address of the Ubuntu virtual machine.  You can get the IP address from the up/down arrow menu on the upper left of your virtual machine menu bar, under the selection &amp;quot;Connection Information.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
If your sever doesn&#039;t work, it may because your network interface is not eth2.  If it isn&#039;t, you need to read the notes on the [[Hermes]] page, and then edit the commands used to automatically start your server as described below.&lt;br /&gt;
&lt;br /&gt;
If you want to edit or add the automatically started programs, see [http://askubuntu.com/questions/48321/how-do-i-start-applications-automatically-on-login this web page].  If you want to change things, the helpful notes about running the [[Hermes]] server on the [[Hermes]] page might be good to review.  They explain the commands started automatically upon login.&lt;br /&gt;
&lt;br /&gt;
I must make one note about running the software from a pre-prepared VirtualBox Image.  It is a way an attacker could gain access to your computer and network.  I used a pre-prepared Ubuntu 12.10 image from [http://virtualboxes.org/images/ubuntu/ VirtualBoxImages].  I believe it to be virgin, but you have to realize that it is possible that some rogue software is running on this image.  If you use the image I provide, you must be solely responsible for whatever happens. I (Rob Frohne, KL7NA) did not put anything on the image, except the ghpsdr3-alex and the tools and packages, and configuration files needed to build it, and I believe it to be harmless.  As always, there is a trade off between ease of use, and security.&lt;br /&gt;
&lt;br /&gt;
== SOFTWARE == &lt;br /&gt;
***** START AT THE BEGINNING WHEN BUILDING THE SOFTWARE -- i.e Section 1 and install all the packages recommended and do the pulseaudio setup.&lt;br /&gt;
&lt;br /&gt;
If you build ghpsdr3-alex already it&#039;s a case of following the same procedure with the following caveats that apply to the RasPi ARM architecture. What follows is a blow by blow account of how I did it for the iw0hdv branch which supports my HiQSDR+Preselector. The same steps are needed for building any other branch.&lt;br /&gt;
&lt;br /&gt;
Subject: [n2adr-sdr] Raspberry Pi running ghpsdr3-alex&lt;br /&gt;
&lt;br /&gt;
The changes made by Andrea have been merged into the master branch. These changes allow samplerates &amp;gt;192K but the Pi doesn&#039;t have the power to run these high samplerates - I am running hiqsdr-server at 960K samplerate on a 8-core x84_64 box.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   autoreconf -i &lt;br /&gt;
&lt;br /&gt;
    ./configure CFLAGS=&#039;-O3 -pipe -march=armv6 -mfpu=vfp -mfloat-abi=hard&#039; CXXFLAGS=&#039;-O3 -pipe -march=armv6 -mfpu=vfp -mfloat-abi=hard&#039; &lt;br /&gt;
&lt;br /&gt;
**** Additional steps needed when building rtlsdr-server. Do these before running make ******&lt;br /&gt;
# export ac_cv_func_malloc_0_nonnull=yes&lt;br /&gt;
# export ac_cv_func_realloc_0_nonnull=yes&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    make all &amp;amp;&amp;amp; make all install &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Sound on the Raspberry Pi is still a problem I have not been able to solve.&lt;br /&gt;
&lt;br /&gt;
Terry (WB4JFI) suggested the following that work for him but I have had no luck with it.&lt;br /&gt;
&lt;br /&gt;
&amp;quot;amixer cset numid=3 1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Other valid numid&#039;s are 0=auto, 1=headphones and 2=hdmi.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
QtRadio running on another box using the connection from the server list. Sound is a touch distorted, quite distorted on start up of QtRadio and spectrum is always a little bit slow.&lt;br /&gt;
&lt;br /&gt;
When a slave connected and tried changing frequency, dspserver crashed - dspserver can be a bit crash happy.&lt;br /&gt;
&lt;br /&gt;
The first thing I tried on the Pi was QtRadio standalone, spectrum and waterfall were OK but no sound.&lt;br /&gt;
&lt;br /&gt;
Just now a client using glSDR (5) is attempting to change frequency, sound went quite distorted then dspserver crashed.&lt;br /&gt;
&lt;br /&gt;
Restarted dspserver and QtRadio sound started very distorted before it settled down to reasonable.&lt;/div&gt;</summary>
		<author><name>Frohro</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=Main_Page&amp;diff=761</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=Main_Page&amp;diff=761"/>
		<updated>2013-08-27T12:52:57Z</updated>

		<summary type="html">&lt;p&gt;Frohro: /* What is the actual ghpsdr3-alex Project software? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===[[What&#039;s New| What&#039;s New and latest news]]===&lt;br /&gt;
=== &#039;&#039;&#039;The ghpsdr3-alex Project&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
This is a modification of the excellent Software Defined Radio (SDR) software by John Melton [G0ORX/N6LYT][http://g0orx.blogspot.com]&lt;br /&gt;
&lt;br /&gt;
The original software by John is called ghpsdr3.  We are working towards merging the two projects (ghpsdr3 and ghpsdr3-alex) source trees to a single source.  However BEFORE that happens, you CANNOT mix and match programs from the two projects.  See note for HPSDR hardware users below.&lt;br /&gt;
  &lt;br /&gt;
Project README https://github.com/alexlee188/ghpsdr3-alex/blob/master/README [https://github.com/alexlee188/ghpsdr3-alex/blob/master/README]&lt;br /&gt;
&lt;br /&gt;
Source Code is via git at https://github.com/alexlee188/ghpsdr3-alex [https://github.com/alexlee188/ghpsdr3-alex]&lt;br /&gt;
&lt;br /&gt;
Discussions take place in the sdr-widget group http://groups.google.com/group/sdr-widget [http://groups.google.com/group/sdr-widget]&lt;br /&gt;
&lt;br /&gt;
You can browse the list of online dspservers at http://qtradio.napan.ca/qtradio/qtradio.pl[http://qtradio.napan.ca/qtradio/qtradio.pl]&lt;br /&gt;
&lt;br /&gt;
You can view the map of online dspservers worldwide at http://www.montefusco.com/ghpsdr3[http://www.montefusco.com/ghpsdr3]&lt;br /&gt;
&lt;br /&gt;
Currently it supports HPSDR, Softrock, UHFSDR, Microtelecom Perseus, SDR-iq, HiQSDR, Ettus Research USRP and [[RTL-SDR|rtl-sdr]] DVB-T dongles.&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;What is the actual ghpsdr3-alex Project software?&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
The software comprises 3 different components:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;A)&#039;&#039;&#039;  server - there is a CLI based server for each type of hardware.  For example, there are hpsdr-server, usrp-server, softrock (server), sdriq-server, HiQSDR etc.  Some servers are based on soundcard/USB connections to the hardware.  Some are connected via ethernet (eg HPSDR Metis).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;B)&#039;&#039;&#039;  dspserver - this is the software in the middle that processes the IQ data from the server (connected over LAN via UDP) using DttSP.  The same dspserver can connect to any of the servers in A.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;C)&#039;&#039;&#039;  clients - this is the GUI user interface.  There are clients built with Qt and runs on Windows, Linux, and Mac OSX.  There is a working Android client that works on Android phones and Android tablets.  The clients connect to dspserver via LAN or remotely via Internet.  In future we will have java based web clients as well (either specifically written clients, or running Qt inside a web browser)  Also, multiple clients can concurrently access the same dspserver.  There is also RxTx capability (currently for voice modes).  the QtRadio client has a Hamlib interface and can connect to gPredict, xLog, and fldigi (for digital mode)&lt;br /&gt;
&lt;br /&gt;
[[File:463px-Ghpsdr3.png]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Project Goals&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
1.  Open source (GPL) SDR software&lt;br /&gt;
&lt;br /&gt;
2.  Client-server network-enabled by design from the ground up&lt;br /&gt;
&lt;br /&gt;
3.  Customized server for each SDR hardware type.  Currently supporting HPSDR, Softrock, UHFSDR, Microtelecom Perseus, RFSPACE SDR-IQ, HiQSDR, Ettus Research USRP, and the rtl-sdr DVB-T dongle.&lt;br /&gt;
&lt;br /&gt;
4.  Single dspserver that connects to single server.  However, each server can have multiple Rx and Tx channels.&lt;br /&gt;
&lt;br /&gt;
5.  Multiple clients, such as QtRadio, that can concurrently connect to a single dspserver.&lt;br /&gt;
&lt;br /&gt;
6.  Full Rx and Tx capability for hardware capable of Tx&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*[[Screenshots and Recordings]] &lt;br /&gt;
*[[QtRadio on Windows]]&lt;br /&gt;
*[[QtRadio - Operation]]&lt;br /&gt;
*[[QtRadio Installation]]&lt;br /&gt;
*[[aHPSDR]] Android Client&lt;br /&gt;
*[[Pulseaudio Setup]]&lt;br /&gt;
*[[Developers Documentation]]&lt;br /&gt;
*[[Server Operation]]&lt;br /&gt;
**[[dspserver.conf]]&lt;br /&gt;
**[[SSL Key Generation]]&lt;br /&gt;
**[[Hermes]]&lt;br /&gt;
*[[ToDo/- Wishlist]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note for HPSDR and ghpsdr3 (original) users:&#039;&#039;&#039;&lt;br /&gt;
In general, you cannot mix and match software from the two projects, ghpsdr3 and ghpsdr3-alex.  However, John has updated the programs in the ghpsdr3-alex repository, and the hpsdr-server program in gphsdr3-alex works for HPSDR hardware.  The following newbie guide is written by Erich Heinzle (vk5hse at yahoo.com):&lt;br /&gt;
&lt;br /&gt;
http://openhpsdr.org/wiki/images/6/63/NewbieGuide.pdf&lt;/div&gt;</summary>
		<author><name>Frohro</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=760</id>
		<title>QtRadio Installation</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=760"/>
		<updated>2013-08-26T19:47:11Z</updated>

		<summary type="html">&lt;p&gt;Frohro: /* VIRTUALBOX */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Installation on Linux ==&lt;br /&gt;
The instructions below are for Debian based distributions like Ubuntu but you should be able to compile on any Linux distribution with the correct libraries installed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Installation from Git ===&lt;br /&gt;
Installing from git involves building or compiling from source.  This is required if you want to use one of the various branches to work the &amp;quot;bleeding edge&amp;quot; branches like Alex&#039;s rxtx-event branch where the current (Nov 12 2011) TX work is being done.&lt;br /&gt;
The PPA install is never more than a few days behind master so there is not much to gain from building from git unless you want to work with the source code your self.&lt;br /&gt;
&lt;br /&gt;
==== Installing compiler and autotool ====&lt;br /&gt;
&lt;br /&gt;
First off, install the compiler; depending on which distribution are you using, some or all of this stuff could be already installed: &lt;br /&gt;
&lt;br /&gt;
===== Ubuntu/Debian =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install make gcc g++&lt;br /&gt;
sudo apt-get install autoconf automake autotools-dev libtool git subversion&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Fedora =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo yum install gcc gcc-c++ man-pages autoconf automake subversion libtool git&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Installing prerequisite packages ====&lt;br /&gt;
&lt;br /&gt;
===== Ubuntu 12.04 and newer =====&lt;br /&gt;
First of all, you have to check that the universe repository is enabled. Click on the gear shaped icon (bottom into left side bar): the System Settings menu will shown, click on Software Sources and finally check the Community-maintained Open Source Software (universe) tick. Next, submit the following commands into a terminal window:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install \&lt;br /&gt;
libqt4-opengl-dev \&lt;br /&gt;
qtmobility-dev \&lt;br /&gt;
libusb-0.1-4 \&lt;br /&gt;
libusb-dev \&lt;br /&gt;
libfftw3-dev \&lt;br /&gt;
portaudio19-dev \&lt;br /&gt;
libpulse-dev \&lt;br /&gt;
libsamplerate0-dev \&lt;br /&gt;
libusb-1.0-0-dev \&lt;br /&gt;
libconfig8-dev \&lt;br /&gt;
xdg-utils \&lt;br /&gt;
libortp-dev \&lt;br /&gt;
gcc-multilib \&lt;br /&gt;
libssl-dev \&lt;br /&gt;
libevent-dev \&lt;br /&gt;
libglu1-mesa-dev \&lt;br /&gt;
freeglut3-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You will need qt5 installed to complete the build.&lt;br /&gt;
&lt;br /&gt;
Visit: http://qt-project.org/downloads&lt;br /&gt;
&lt;br /&gt;
download the current package for your system.&lt;br /&gt;
&lt;br /&gt;
To build Qt5 on a RaspberryPi visit: http://qt-project.org/wiki/RaspberryPi&lt;br /&gt;
&lt;br /&gt;
After downloading it go to the download directory and do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ chmod +x the-name-of-the-downloaded-file&lt;br /&gt;
$ sudo ./the-name-of-the-downloaded-file&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Simply click on the installer and follow the prompts, take note of were qt5 is installed. Don&#039;t open the readme or start QtCreator when the installer asks.  It will make some files in your home directory owned by root, and that will give you trouble later.  After the install has completed, from a terminal:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ export PATH=/opt/Qt5.1.0/5.1.0/gcc_64/bin:/opt/Qt5.1.0/Tools/QtCreator/bin:$PATH&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
In the above make sure you put in the correct path for your version of Qt. This is due because the several packages from Qt sources and binary repositories web sites are not really installed in the system but simply copied on it. Therefore the autotools build system should search virtually over the whole filesystem.&lt;br /&gt;
In any case please remember that&lt;br /&gt;
the export above is effective only into the current terminal windows, if you open another window and/or reboot the system, you have to resubmit again the command&lt;br /&gt;
if you want to make permanent it, you have to add the export into the right configuration shell, suitable for the shell that you are currently using.&lt;br /&gt;
For the bash it is typically ~/.bashrc&lt;br /&gt;
In any case, after you issue the export, please test it.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
qmake -v&lt;br /&gt;
QMake version 2.01a&lt;br /&gt;
Using Qt version 4.8.0 in /home/andrew/QtSDK4.8x/Desktop/Qt/4.8.0/gcc/lib&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Ubuntu 11.04 and older ===== &lt;br /&gt;
First of all, you have to check that the &#039;&#039;universe repository&#039;&#039; is enabled.&lt;br /&gt;
Please see the procedure in the previous section [[#graphical installation]] .&lt;br /&gt;
&lt;br /&gt;
Next, you will need the following packages installed:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install \&lt;br /&gt;
libqt4-opengl-dev \&lt;br /&gt;
qtmobility-dev \&lt;br /&gt;
libusb-0.1-4 \&lt;br /&gt;
libusb-dev \&lt;br /&gt;
libfftw3-dev \&lt;br /&gt;
portaudio19-dev \&lt;br /&gt;
libpulse-dev \&lt;br /&gt;
libsamplerate0-dev \&lt;br /&gt;
libusb-1.0-0-dev \&lt;br /&gt;
libconfig8-dev \&lt;br /&gt;
libortp-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Ubuntu 11.10 ===== &lt;br /&gt;
First of all, you have to check that the &#039;&#039;universe repository&#039;&#039; is enabled.&lt;br /&gt;
Click on the gear shaped icon (bottom into left side bar): the &#039;&#039;System Settings&#039;&#039; menu will shown, click on &#039;&#039;Software Sources&#039;&#039; and finally check the &#039;&#039;Community-maintaned Open Source Software (universe)&#039;&#039; tick.&lt;br /&gt;
Next, submit the following commands into a terminal window:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install \&lt;br /&gt;
libqt4-opengl-dev \&lt;br /&gt;
qtmobility-dev \&lt;br /&gt;
libusb-0.1-4 \&lt;br /&gt;
libusb-dev \&lt;br /&gt;
libfftw3-dev \&lt;br /&gt;
portaudio19-dev \&lt;br /&gt;
libpulse-dev \&lt;br /&gt;
libsamplerate0-dev \&lt;br /&gt;
libusb-1.0-0-dev \&lt;br /&gt;
libconfig8-dev \&lt;br /&gt;
xdg-utils \&lt;br /&gt;
libortp-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Fedora 16 =====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo yum install fftw fftw-devel &lt;br /&gt;
sudo yum install libusb-devel libusb1-devel &lt;br /&gt;
sudo yum install portaudio-devel&lt;br /&gt;
sudo yum install libconfig-devel&lt;br /&gt;
sudo yum install libsamplerate-devel&lt;br /&gt;
sudo yum install pulseaudio-libs-devel&lt;br /&gt;
sudo yum install jack-audio-connection-kit  jack-audio-connection-kit-devel&lt;br /&gt;
sudo yum install qt4-devel&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Cloning the repository ====&lt;br /&gt;
&lt;br /&gt;
How to build the latest master branch on Ubuntu 11.04&lt;br /&gt;
&lt;br /&gt;
First a new libevent will need to be downloaded and installed, then the actual QtRadio source can be downloaded and built.&lt;br /&gt;
&lt;br /&gt;
==== Obtaining an up-level libevent library ====&lt;br /&gt;
&lt;br /&gt;
$ sudo apt-get install libevent-dev&lt;br /&gt;
&lt;br /&gt;
If the version is older than 2.0.5, go to synaptic and completely remove the stock libevent from Ubuntu. (Completely remove is an uninstall option in Synaptic. Additional dependent libraries may also be removed)&lt;br /&gt;
&lt;br /&gt;
Then download the new version from:&lt;br /&gt;
&lt;br /&gt;
http://libevent.org/&lt;br /&gt;
&lt;br /&gt;
libevent-2.0.16-stable.tar.gz&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
wget https://github.com/downloads/libevent/libevent/libevent-2.0.16-stable.tar.gz&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Move the tarball from the Downloads directory to a working directory. A suggestion is to create a src directory within your home directory and move it there. Uncompress and follow the instructions to build and install:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
tar -zxvf libevent-2.0.16-stable.tar.gz&lt;br /&gt;
cd libevent-2.0.16-stable&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On Fedora, in order to use the library above, export the LD_LIBRARY_PATH:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export LD_LIBRARY_PATH=/usr/local/lib&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Installing codec2 low bit rate audio encoding and decoding ====&lt;br /&gt;
&lt;br /&gt;
We are adding a low bit rate audio codec called codec 2 to QtRadio/dspserver.  You need&lt;br /&gt;
to download and build the codec2 library.  See:&lt;br /&gt;
&lt;br /&gt;
http://www.rowetel.com/blog/?page_id=452&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
Now go get codec2 using subversion&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
svn co https://freetel.svn.sourceforge.net/svnroot/freetel/codec2-dev codec2-dev&lt;br /&gt;
cd codec2-dev&lt;br /&gt;
autoreconf -i&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On Fedora, in order to use the library above, export the LD_LIBRARY_PATH:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export LD_LIBRARY_PATH=/usr/local/lib&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Building the master branch ====&lt;br /&gt;
&lt;br /&gt;
This branch is the latest code that contains both RX and TX capability. &lt;br /&gt;
&lt;br /&gt;
Create a new directory or cd to the ~/src directory created for libevent and cd into it.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://github.com/alexlee188/ghpsdr3-alex&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Depending on your Internet connection thorughput, it will take several minute to download.&lt;br /&gt;
cd into the new directory ghpsdr3-alex:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ghpsdr3-alex&lt;br /&gt;
git checkout master&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
You are now working with Alex&#039;s latest and greatest!&lt;br /&gt;
&lt;br /&gt;
First set the path to the version of qt you are using.  E.g. for qt5:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ export PATH=/opt/qt5/bin:$PATH&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
autoreconf -i&lt;br /&gt;
./configure&lt;br /&gt;
make -j4 all&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The default configure above builds with debug and default Qt4 version in your PC.  For optimized executable,&lt;br /&gt;
you need to specify options specific to your system.  See the sample shell scripts that replaces the above&lt;br /&gt;
./configure step:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./alex-avx-conf.sh		for building with i3,i5 and i7 cpu&#039;s supporting Advanced Vector Extensions (AVX)&lt;br /&gt;
./alex-openmp-conf.sh		for building with i3,i5 and i7 cpu&#039;s and OpenMP support&lt;br /&gt;
./alex-sse3-conf.sh		for building with SSE3 capable cpu&#039;s&lt;br /&gt;
./alex-openmp-sse3-conf.sh	for building with SSE3 cpaable cpu&#039;s and OpenMP support&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(If you do not want to actually install the executable binaries, skip the sudo make install and just cd into the following directories and run them from there)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Terminal 1&lt;br /&gt;
$ cd ghpsdr3-alex/trunk/src/softrock&lt;br /&gt;
$ ./softrock ...options ...&lt;br /&gt;
&lt;br /&gt;
Terminal 2&lt;br /&gt;
$ cd ghpsdr3-alex/trunk/src/dspserver&lt;br /&gt;
$ ./dspserver  ..options...&lt;br /&gt;
&lt;br /&gt;
Terminal 3&lt;br /&gt;
$ cd ghpsdr3-alex/trunk/src/QtRadio&lt;br /&gt;
$ ./QtRadio&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Building the Perseus extensions ====&lt;br /&gt;
&lt;br /&gt;
In order to build the Microtelecom Perseus server you need to switch to the master or iw0hdv branch. &lt;br /&gt;
&lt;br /&gt;
First off, install the prerequisite library and wget package:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install libboost-all-dev wget&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Next download, compile and install the library libperseus-sdr:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
wget http://libperseus-sdr.googlecode.com/files/libperseus_sdr-0.6.tar.gz&lt;br /&gt;
tar -zxvf libperseus_sdr-0.6.tar.gz&lt;br /&gt;
cd libperseus_sdr-0.6/&lt;br /&gt;
./configure &amp;amp;&amp;amp; make&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you already build in your sandbox some other branch, is strongly advisable, before you start the build, to do a full cleanup:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
make distcheck &amp;amp;&amp;amp; sh cleanup.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Otherwise, if you are starting from scratch, you have to clone the repository:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://github.com/alexlee188/ghpsdr3-alex&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, you can switch to the master branch and rebuild everything; you don&#039;t need anymore to explicitly enable the perseus server feature, the configure script automatically selects it when the libperseus_sdr is found.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
git checkout master&lt;br /&gt;
autoreconf -i &amp;amp;&amp;amp; ./configure &amp;amp;&amp;amp; make -j4&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In order to run it you have two choices, the first one being the plain command line:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
xterm -e &#039;perseus_server -d3 -s96000 &#039; &amp;amp;&lt;br /&gt;
sleep 3&lt;br /&gt;
xterm -e &#039;dspserver --lo 0 --nocorrectiq&#039; &amp;amp;&lt;br /&gt;
sleep 5&lt;br /&gt;
$( QtRadio 127.0.0.1 ) &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In QtRadio, Receiver menu, select Configure item, Server tab: here add the local host using the 127.0.0.1 IP address.&lt;br /&gt;
Pressing the key C, you start the receiver.&lt;br /&gt;
&lt;br /&gt;
The second choiche is to use the ghpsdr3-mgr.py script (available in menu Applications, Hamradio as ghpsdr3launcher): clicking on the Perseus icon the three processes should start and the QtServer automatically connects to Perseus Server.&lt;br /&gt;
&lt;br /&gt;
==== Building USRP enabled version ====&lt;br /&gt;
&lt;br /&gt;
===== Building the UHD package =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====== Install the prerequisite packages (Ubuntu 11.10): ======&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install liboost-all-dev&lt;br /&gt;
sudo apt-get install python-cheetah&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====== Build &amp;amp; Install UHD -- FOR UHD-3.3.1 AND GREATER --: ======&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
git clone git://ettus.sourcerepo.com/ettus/uhd.git&lt;br /&gt;
cd uhd/host/&lt;br /&gt;
mkdir build&lt;br /&gt;
cd build&lt;br /&gt;
cmake ../&lt;br /&gt;
make&lt;br /&gt;
make test&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you already build in your sandbox some other branch, is strongly advisable, before you start the build, to do a full cleanup:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
make distcheck &amp;amp;&amp;amp; sh cleanup.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Otherwise, if you are starting from scratch, first clone the repository:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://github.com/alexlee188/ghpsdr3-alex&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, you can switch to the master branch and rebuild everything, enabling the usrp server feature:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
git checkout usrp-server&lt;br /&gt;
autoreconf -i &amp;amp;&amp;amp; ./configure --enable-usrp=yes &amp;amp;&amp;amp; make -j4&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Refresh to a Newer Version ====&lt;br /&gt;
&lt;br /&gt;
To pull a new version to build &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ git pull&lt;br /&gt;
$ make -j4 all&lt;br /&gt;
$ sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If extensive changes have occurred or if you get errors during the make, you may want to do a clean build  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ git pull&lt;br /&gt;
$ make distclean&lt;br /&gt;
$ sh cleanup.sh&lt;br /&gt;
$ autoreconf -i&lt;br /&gt;
$ ./configure&lt;br /&gt;
$ make -j4 all&lt;br /&gt;
$ sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you continue to get errors, please report the whole ./configure output and the config.log to the mailing list.&lt;br /&gt;
&lt;br /&gt;
== Installation on Windows ==&lt;br /&gt;
See [[ QtRadio on Windows]]&lt;br /&gt;
&lt;br /&gt;
== Network settings ==&lt;br /&gt;
If you are behind a firewall/NAT-router and want to be able to connect to your dspserver over the Internet you have to open up port tcp/8000. If you are using the client in RTP mode you have to open up udp/5004 and udp/5005.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Installing ghpsdr3-alex on Raspberry Pi == &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
========== HARDWARE ==========&lt;br /&gt;
&lt;br /&gt;
*** THIS SECTION DEALS WITH Raspberry Pi DIFFERENCES *** IT DOES NOT CIRCUMVENT THE INSTRUCTIONS STARTING AT STEP 1 OF THE QtRadio Installation. ***&lt;br /&gt;
&lt;br /&gt;
I recommend installing either the raspbian or raspbian pisces (debian) distributions as there is no Ubuntu release to date.&lt;br /&gt;
&lt;br /&gt;
*** All the pre-requisite packages needed for Ubuntu must be installed on raspbian or respbian pisces using the same &amp;quot;apt-get install&amp;quot; commands so it&#039;s necessary to follow the QtRadio-Installation &lt;br /&gt;
document from the beginning after installing raspbian or raspbian pisces.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
        The RasPi USB subsystem is sensitive to power supply voltage levels - A supply of 5.5V at 2A is recommended. &lt;br /&gt;
With the power supply output at +5.17V I was getting on-board Ethernet errors and system hangs when one more device besides keyboard and mouse were plugged in to the on-board USB ports or an outboard powered USB HUB. &lt;br /&gt;
&lt;br /&gt;
Measuring the voltage across TP1 and TP2 on the Raspberry Pi and  increased it to +4.97V (P.S output +5.59V).&lt;br /&gt;
&lt;br /&gt;
I also ran &amp;quot;rpi-update&amp;quot; which install new firmware. &lt;br /&gt;
&lt;br /&gt;
I shorted out the polyfuses F1 and F2 on the Pi and USB is much more stable but still limited.&lt;br /&gt;
&lt;br /&gt;
With keyboard, mouse, gigabit USB Ethernet, SB Live! 24 USB and RTL-SDR dongle it runs for some hours before it freezes.&lt;br /&gt;
&lt;br /&gt;
Removing the RTL-SDR dongle from the powered hub made a great difference with a current uptime heading for 3 days. The latest ghpsdr3-alex master branch build successfully completed while I was in bed.&lt;br /&gt;
&lt;br /&gt;
root@pisces:/usr/src/GHPSDR3_HIGH_SPEED_MASTER/ghpsdr3-alex# date&lt;br /&gt;
&lt;br /&gt;
Sun Sep  9 13:00:49 BST 2012&lt;br /&gt;
&lt;br /&gt;
root@pisces:/usr/src/GHPSDR3_HIGH_SPEED_MASTER/ghpsdr3-alex# uptime&lt;br /&gt;
&lt;br /&gt;
 13:00:56 up 2 days, 20:46,  8 users,  load average: 0.81, 1.01, 0.67&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 ******       Do not use power from a USB PC port or from a USB Hub. ********&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once it&#039;s up and running, some details that may help in setting up the hardware for use - I&#039;m currently overclocking at 855MHz  (Previously was set to 1GHz):-&lt;br /&gt;
&lt;br /&gt;
Keyboard, mouse, usb sound card, RTL-SDR TV dongle and USB Gigabit Ethernet fully operational using the 7-port powered USB hub.&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# lsusb&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp. &lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.&lt;br /&gt;
 &lt;br /&gt;
Bus 001 Device 004: ID 04cc:1521 ST-Ericsson USB 2.0 Hub&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 011: ID 04f3:0103 Elan Microelectronics Corp. &lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 006: ID 047d:1022 Kensington Orbit Optical&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 007: ID 1d19:1101 Dexatek Technology Ltd. DK DVB-T Dongle&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 008: ID 041e:3040 Creative Technology, Ltd SoundBlaster Live! 24-bit External SB0490&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 009: ID 0b95:1780 ASIX Electronics Corp. AX88178&lt;br /&gt;
root@pisces:~# ifconfig &lt;br /&gt;
&lt;br /&gt;
eth0 Link encap:Ethernet HWaddr b8:27:eb:2c:07:c9&lt;br /&gt;
&lt;br /&gt;
         inet addr:192.168.10.31  Bcast:192.168.10.255 Mask:255.255.255.0&lt;br /&gt;
         inet6 addr: fe80::ba27:ebff:fe2c:7c9/64 Scope:Link&lt;br /&gt;
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1&lt;br /&gt;
         RX packets:410 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
         TX packets:377 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
         collisions:0 txqueuelen:1000&lt;br /&gt;
         RX bytes:28905 (28.2 KiB)  TX bytes:35938 (35.0 KiB)&lt;br /&gt;
&lt;br /&gt;
eth1 Link encap:Ethernet HWaddr 00:10:14:00:9f:fa&lt;br /&gt;
&lt;br /&gt;
         inet addr:192.168.2.199  Bcast:192.168.2.255 Mask:255.255.255.0&lt;br /&gt;
         inet6 addr: fe80::210:14ff:fe00:9ffa/64 Scope:Link&lt;br /&gt;
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1&lt;br /&gt;
         RX packets:5 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
         TX packets:7 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
         collisions:0 txqueuelen:1000&lt;br /&gt;
         RX bytes:230 (230.0 B)  TX bytes:592 (592.0 B)&lt;br /&gt;
&lt;br /&gt;
lo Link encap:Local Loopback&lt;br /&gt;
&lt;br /&gt;
         inet addr:127.0.0.1  Mask:255.0.0.0&lt;br /&gt;
         inet6 addr: ::1/128 Scope:Host&lt;br /&gt;
         UP LOOPBACK RUNNING  MTU:16436  Metric:1&lt;br /&gt;
         RX packets:0 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
         TX packets:0 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
         collisions:0 txqueuelen:0&lt;br /&gt;
         RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# cat /proc/asound/cards&lt;br /&gt;
 0 [ALSA           ]: BRCM bcm2835 ALSbcm2835 ALSA - bcm2835 ALSA&lt;br /&gt;
                      bcm2835 ALSA&lt;br /&gt;
&lt;br /&gt;
 1 [External       ]: USB-Audio - SB Live! 24-bit External&lt;br /&gt;
                      Creative Technology SB Live! 24-bit External at usb-bcm2708_usb-1.2.2, full spe&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It&#039;s running at 855MHz with this config.txt file. &lt;br /&gt;
root@pisces:~# cat /boot/config.txt&lt;br /&gt;
&lt;br /&gt;
over_voltage=6&lt;br /&gt;
&lt;br /&gt;
arm_freq=855&lt;br /&gt;
&lt;br /&gt;
core_freq=500&lt;br /&gt;
&lt;br /&gt;
sdram_freq=500&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# cat /etc/network/interfaces&lt;br /&gt;
&lt;br /&gt;
    Used by ifup(8) and ifdown(8). See the interfaces(5) manpage or&lt;br /&gt;
    /usr/share/doc/ifupdown/examples for more information. &lt;br /&gt;
&lt;br /&gt;
auto lo&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
iface lo inet loopback&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    File: ifcfg-eth0&lt;br /&gt;
&lt;br /&gt;
auto eth0&lt;br /&gt;
&lt;br /&gt;
iface eth0 inet static&lt;br /&gt;
&lt;br /&gt;
address 192.168.10.31&lt;br /&gt;
&lt;br /&gt;
netmask 255.255.255.0&lt;br /&gt;
&lt;br /&gt;
gateway 192.168.10.103&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
auto eth1&lt;br /&gt;
&lt;br /&gt;
iface eth1 inet static&lt;br /&gt;
&lt;br /&gt;
address 192.168.2.199&lt;br /&gt;
&lt;br /&gt;
netmask 255.255.255.0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# cat /etc/modules&lt;br /&gt;
&lt;br /&gt;
    /etc/modules: kernel modules to load at boot time.&lt;br /&gt;
    This file contains the names of kernel modules that should be loaded&lt;br /&gt;
    at boot time, one per line. Lines beginning with &amp;quot;#&amp;quot; are ignored.&lt;br /&gt;
    Parameters can be specified after the module name. &lt;br /&gt;
&lt;br /&gt;
loop&lt;br /&gt;
&lt;br /&gt;
snd-bcm2835&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
One problem remains, no sound from the on-board chip.&lt;br /&gt;
&lt;br /&gt;
==VIRTUALBOX==&lt;br /&gt;
&lt;br /&gt;
It is possible to run the server software (and QtRadio) under VirtualBox.  It has been tested with HPSDR Hermes hardware. [http://people.wallawalla.edu/~Rob.Frohne/ghpsdr3-alex/Ubuntu%2012.10%20ghpsdr3-alex-hermes.zip A VirtualBox Ubuntu 12.10 image] is available that automatically starts the server software for those who are running Windows, or don&#039;t feel they have the hardware, expertise or time to setup a Linux machine to act as a server.  The username is: &amp;quot;ubuntu&amp;quot; and the password: &amp;quot;hamradio&amp;quot;.  Basically, all you need to do is follow the instructions below, plug your Hermes or Apache Labs ANAN series transceivers into the network with the server, and you can be using ghpsdr3-alex on your own server.  Users of older HPSDR hardware may need to make slight variations such as configuring USB in VirtualBox, specifying different command line arguments, etc, but you won&#039;t have to build the software, or install Linux, or get another computer just to run the ghpsdr3-alex server software.&lt;br /&gt;
&lt;br /&gt;
The [[Dspserver.conf]] file needs to be edited, and you will need to run the dspserver once within a terminal to get the instructions on setting up an SSL key pair.  To do that, download the [http://people.wallawalla.edu/~Rob.Frohne/ghpsdr3-alex/Ubuntu%2012.10%20ghpsdr3-alex-hermes.zip VirtualBox image], start [https://www.virtualbox.org/ VirtualBox], select new for the new machine, and when it asks you about the hard drive, say use existing hard drive, and select the image you just downloaded as the hard drive. After it boots up, you need to start a terminal (see the launcher bar on the left) and using it, start dspserver.&lt;br /&gt;
 $ dspserver&lt;br /&gt;
 Reading conf file /home/frohro/dspserver.conf&lt;br /&gt;
 Country Lookup is On&lt;br /&gt;
 gHPSDR rx 0 (Version 0.7)&lt;br /&gt;
 dspserver string: 20130609;-master&lt;br /&gt;
 getSoundcardId: HPSDR id=8&lt;br /&gt;
 setSoundcard: 8&lt;br /&gt;
 setSoundcard -41.000000 -48.000000&lt;br /&gt;
 etup sdr thread 0: done&lt;br /&gt;
 setup sdr thread 1: done&lt;br /&gt;
 setup sdr thread 2: done&lt;br /&gt;
 client_thread&lt;br /&gt;
 [2013-08-26 10:15:12] client_thread: listening on port 8000&lt;br /&gt;
 Couldn&#039;t read &#039;pkey&#039; or &#039;cert&#039; file.  To generate a key&lt;br /&gt;
 and self-signed certificate, run:&lt;br /&gt;
  openssl genrsa -out pkey 2048&lt;br /&gt;
  openssl req -new -key pkey -out cert.req&lt;br /&gt;
  openssl x509 -req -days 365 -in cert.req -signkey pkey -out cert&lt;br /&gt;
 client ctx init failed: No such file or directory&lt;br /&gt;
  &lt;br /&gt;
&lt;br /&gt;
Note the message about the SSL keys (&amp;quot;Couldn&#039;t read &#039;pkey&#039; or &#039;cert&#039; file.&amp;quot;) not being set up.  This is a process you do once.  The three commands to set up the SSL keys are just what the dspserver response above told you to do.  &lt;br /&gt;
  openssl genrsa -out pkey 2048&lt;br /&gt;
&lt;br /&gt;
  openssl req -new -key pkey -out cert.req&lt;br /&gt;
&lt;br /&gt;
  openssl x509 -req -days 365 -in cert.req -signkey pkey -out cert&lt;br /&gt;
After generating the keys, you should be able to log out and log back in and your server should be running, if all is well.  You should then be able to connect with QtRadio or glSDR.  Be sure to set the server IP address in the client (QtRadio, or glSDR).  &lt;br /&gt;
&lt;br /&gt;
If you want to change or add the automatically started programs, see [http://askubuntu.com/questions/48321/how-do-i-start-applications-automatically-on-login this web page].  If you want to change things, the helpful notes about running the [[Hermes]] server on the [[Hermes]] page might be good to review.  They explain the commands started automatically upon login.&lt;br /&gt;
&lt;br /&gt;
I must make one note about running the software from a pre-prepared VirtualBox Image.  It is a way an attacker could gain access to your computer and network.  I used a pre-prepared Ubuntu 12.10 image from [http://virtualboxes.org/images/ubuntu/ VirtualBoxImages].  I believe it to be virgin, but you have to realize that it is possible that some rogue software is running on this image.  If you use the image I provide, you must be solely responsible for whatever happens. I (Rob Frohne, KL7NA) did not put anything on the image, except the ghpsdr3-alex and the tools and packages, and configuration files needed to build it.  As always, there is a trade off between ease of use, and security.&lt;br /&gt;
&lt;br /&gt;
== SOFTWARE == &lt;br /&gt;
***** START AT THE BEGINNING WHEN BUILDING THE SOFTWARE -- i.e Section 1 and install all the packages recommended and do the pulseaudio setup.&lt;br /&gt;
&lt;br /&gt;
If you build ghpsdr3-alex already it&#039;s a case of following the same procedure with the following caveats that apply to the RasPi ARM architecture. What follows is a blow by blow account of how I did it for the iw0hdv branch which supports my HiQSDR+Preselector. The same steps are needed for building any other branch.&lt;br /&gt;
&lt;br /&gt;
Subject: [n2adr-sdr] Raspberry Pi running ghpsdr3-alex&lt;br /&gt;
&lt;br /&gt;
The changes made by Andrea have been merged into the master branch. These changes allow samplerates &amp;gt;192K but the Pi doesn&#039;t have the power to run these high samplerates - I am running hiqsdr-server at 960K samplerate on a 8-core x84_64 box.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   autoreconf -i &lt;br /&gt;
&lt;br /&gt;
    ./configure CFLAGS=&#039;-O3 -pipe -march=armv6 -mfpu=vfp -mfloat-abi=hard&#039; CXXFLAGS=&#039;-O3 -pipe -march=armv6 -mfpu=vfp -mfloat-abi=hard&#039; &lt;br /&gt;
&lt;br /&gt;
**** Additional steps needed when building rtlsdr-server. Do these before running make ******&lt;br /&gt;
# export ac_cv_func_malloc_0_nonnull=yes&lt;br /&gt;
# export ac_cv_func_realloc_0_nonnull=yes&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    make all &amp;amp;&amp;amp; make all install &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Sound on the Raspberry Pi is still a problem I have not been able to solve.&lt;br /&gt;
&lt;br /&gt;
Terry (WB4JFI) suggested the following that work for him but I have had no luck with it.&lt;br /&gt;
&lt;br /&gt;
&amp;quot;amixer cset numid=3 1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Other valid numid&#039;s are 0=auto, 1=headphones and 2=hdmi.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
QtRadio running on another box using the connection from the server list. Sound is a touch distorted, quite distorted on start up of QtRadio and spectrum is always a little bit slow.&lt;br /&gt;
&lt;br /&gt;
When a slave connected and tried changing frequency, dspserver crashed - dspserver can be a bit crash happy.&lt;br /&gt;
&lt;br /&gt;
The first thing I tried on the Pi was QtRadio standalone, spectrum and waterfall were OK but no sound.&lt;br /&gt;
&lt;br /&gt;
Just now a client using glSDR (5) is attempting to change frequency, sound went quite distorted then dspserver crashed.&lt;br /&gt;
&lt;br /&gt;
Restarted dspserver and QtRadio sound started very distorted before it settled down to reasonable.&lt;/div&gt;</summary>
		<author><name>Frohro</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=759</id>
		<title>QtRadio Installation</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=759"/>
		<updated>2013-08-26T19:31:01Z</updated>

		<summary type="html">&lt;p&gt;Frohro: /* VIRTUALBOX */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Installation on Linux ==&lt;br /&gt;
The instructions below are for Debian based distributions like Ubuntu but you should be able to compile on any Linux distribution with the correct libraries installed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Installation from Git ===&lt;br /&gt;
Installing from git involves building or compiling from source.  This is required if you want to use one of the various branches to work the &amp;quot;bleeding edge&amp;quot; branches like Alex&#039;s rxtx-event branch where the current (Nov 12 2011) TX work is being done.&lt;br /&gt;
The PPA install is never more than a few days behind master so there is not much to gain from building from git unless you want to work with the source code your self.&lt;br /&gt;
&lt;br /&gt;
==== Installing compiler and autotool ====&lt;br /&gt;
&lt;br /&gt;
First off, install the compiler; depending on which distribution are you using, some or all of this stuff could be already installed: &lt;br /&gt;
&lt;br /&gt;
===== Ubuntu/Debian =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install make gcc g++&lt;br /&gt;
sudo apt-get install autoconf automake autotools-dev libtool git subversion&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Fedora =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo yum install gcc gcc-c++ man-pages autoconf automake subversion libtool git&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Installing prerequisite packages ====&lt;br /&gt;
&lt;br /&gt;
===== Ubuntu 12.04 and newer =====&lt;br /&gt;
First of all, you have to check that the universe repository is enabled. Click on the gear shaped icon (bottom into left side bar): the System Settings menu will shown, click on Software Sources and finally check the Community-maintained Open Source Software (universe) tick. Next, submit the following commands into a terminal window:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install \&lt;br /&gt;
libqt4-opengl-dev \&lt;br /&gt;
qtmobility-dev \&lt;br /&gt;
libusb-0.1-4 \&lt;br /&gt;
libusb-dev \&lt;br /&gt;
libfftw3-dev \&lt;br /&gt;
portaudio19-dev \&lt;br /&gt;
libpulse-dev \&lt;br /&gt;
libsamplerate0-dev \&lt;br /&gt;
libusb-1.0-0-dev \&lt;br /&gt;
libconfig8-dev \&lt;br /&gt;
xdg-utils \&lt;br /&gt;
libortp-dev \&lt;br /&gt;
gcc-multilib \&lt;br /&gt;
libssl-dev \&lt;br /&gt;
libevent-dev \&lt;br /&gt;
libglu1-mesa-dev \&lt;br /&gt;
freeglut3-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You will need qt5 installed to complete the build.&lt;br /&gt;
&lt;br /&gt;
Visit: http://qt-project.org/downloads&lt;br /&gt;
&lt;br /&gt;
download the current package for your system.&lt;br /&gt;
&lt;br /&gt;
To build Qt5 on a RaspberryPi visit: http://qt-project.org/wiki/RaspberryPi&lt;br /&gt;
&lt;br /&gt;
After downloading it go to the download directory and do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ chmod +x the-name-of-the-downloaded-file&lt;br /&gt;
$ sudo ./the-name-of-the-downloaded-file&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Simply click on the installer and follow the prompts, take note of were qt5 is installed. Don&#039;t open the readme or start QtCreator when the installer asks.  It will make some files in your home directory owned by root, and that will give you trouble later.  After the install has completed, from a terminal:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ export PATH=/opt/Qt5.1.0/5.1.0/gcc_64/bin:/opt/Qt5.1.0/Tools/QtCreator/bin:$PATH&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
In the above make sure you put in the correct path for your version of Qt. This is due because the several packages from Qt sources and binary repositories web sites are not really installed in the system but simply copied on it. Therefore the autotools build system should search virtually over the whole filesystem.&lt;br /&gt;
In any case please remember that&lt;br /&gt;
the export above is effective only into the current terminal windows, if you open another window and/or reboot the system, you have to resubmit again the command&lt;br /&gt;
if you want to make permanent it, you have to add the export into the right configuration shell, suitable for the shell that you are currently using.&lt;br /&gt;
For the bash it is typically ~/.bashrc&lt;br /&gt;
In any case, after you issue the export, please test it.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
qmake -v&lt;br /&gt;
QMake version 2.01a&lt;br /&gt;
Using Qt version 4.8.0 in /home/andrew/QtSDK4.8x/Desktop/Qt/4.8.0/gcc/lib&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Ubuntu 11.04 and older ===== &lt;br /&gt;
First of all, you have to check that the &#039;&#039;universe repository&#039;&#039; is enabled.&lt;br /&gt;
Please see the procedure in the previous section [[#graphical installation]] .&lt;br /&gt;
&lt;br /&gt;
Next, you will need the following packages installed:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install \&lt;br /&gt;
libqt4-opengl-dev \&lt;br /&gt;
qtmobility-dev \&lt;br /&gt;
libusb-0.1-4 \&lt;br /&gt;
libusb-dev \&lt;br /&gt;
libfftw3-dev \&lt;br /&gt;
portaudio19-dev \&lt;br /&gt;
libpulse-dev \&lt;br /&gt;
libsamplerate0-dev \&lt;br /&gt;
libusb-1.0-0-dev \&lt;br /&gt;
libconfig8-dev \&lt;br /&gt;
libortp-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Ubuntu 11.10 ===== &lt;br /&gt;
First of all, you have to check that the &#039;&#039;universe repository&#039;&#039; is enabled.&lt;br /&gt;
Click on the gear shaped icon (bottom into left side bar): the &#039;&#039;System Settings&#039;&#039; menu will shown, click on &#039;&#039;Software Sources&#039;&#039; and finally check the &#039;&#039;Community-maintaned Open Source Software (universe)&#039;&#039; tick.&lt;br /&gt;
Next, submit the following commands into a terminal window:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install \&lt;br /&gt;
libqt4-opengl-dev \&lt;br /&gt;
qtmobility-dev \&lt;br /&gt;
libusb-0.1-4 \&lt;br /&gt;
libusb-dev \&lt;br /&gt;
libfftw3-dev \&lt;br /&gt;
portaudio19-dev \&lt;br /&gt;
libpulse-dev \&lt;br /&gt;
libsamplerate0-dev \&lt;br /&gt;
libusb-1.0-0-dev \&lt;br /&gt;
libconfig8-dev \&lt;br /&gt;
xdg-utils \&lt;br /&gt;
libortp-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Fedora 16 =====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo yum install fftw fftw-devel &lt;br /&gt;
sudo yum install libusb-devel libusb1-devel &lt;br /&gt;
sudo yum install portaudio-devel&lt;br /&gt;
sudo yum install libconfig-devel&lt;br /&gt;
sudo yum install libsamplerate-devel&lt;br /&gt;
sudo yum install pulseaudio-libs-devel&lt;br /&gt;
sudo yum install jack-audio-connection-kit  jack-audio-connection-kit-devel&lt;br /&gt;
sudo yum install qt4-devel&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Cloning the repository ====&lt;br /&gt;
&lt;br /&gt;
How to build the latest master branch on Ubuntu 11.04&lt;br /&gt;
&lt;br /&gt;
First a new libevent will need to be downloaded and installed, then the actual QtRadio source can be downloaded and built.&lt;br /&gt;
&lt;br /&gt;
==== Obtaining an up-level libevent library ====&lt;br /&gt;
&lt;br /&gt;
$ sudo apt-get install libevent-dev&lt;br /&gt;
&lt;br /&gt;
If the version is older than 2.0.5, go to synaptic and completely remove the stock libevent from Ubuntu. (Completely remove is an uninstall option in Synaptic. Additional dependent libraries may also be removed)&lt;br /&gt;
&lt;br /&gt;
Then download the new version from:&lt;br /&gt;
&lt;br /&gt;
http://libevent.org/&lt;br /&gt;
&lt;br /&gt;
libevent-2.0.16-stable.tar.gz&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
wget https://github.com/downloads/libevent/libevent/libevent-2.0.16-stable.tar.gz&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Move the tarball from the Downloads directory to a working directory. A suggestion is to create a src directory within your home directory and move it there. Uncompress and follow the instructions to build and install:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
tar -zxvf libevent-2.0.16-stable.tar.gz&lt;br /&gt;
cd libevent-2.0.16-stable&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On Fedora, in order to use the library above, export the LD_LIBRARY_PATH:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export LD_LIBRARY_PATH=/usr/local/lib&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Installing codec2 low bit rate audio encoding and decoding ====&lt;br /&gt;
&lt;br /&gt;
We are adding a low bit rate audio codec called codec 2 to QtRadio/dspserver.  You need&lt;br /&gt;
to download and build the codec2 library.  See:&lt;br /&gt;
&lt;br /&gt;
http://www.rowetel.com/blog/?page_id=452&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
Now go get codec2 using subversion&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
svn co https://freetel.svn.sourceforge.net/svnroot/freetel/codec2-dev codec2-dev&lt;br /&gt;
cd codec2-dev&lt;br /&gt;
autoreconf -i&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On Fedora, in order to use the library above, export the LD_LIBRARY_PATH:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export LD_LIBRARY_PATH=/usr/local/lib&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Building the master branch ====&lt;br /&gt;
&lt;br /&gt;
This branch is the latest code that contains both RX and TX capability. &lt;br /&gt;
&lt;br /&gt;
Create a new directory or cd to the ~/src directory created for libevent and cd into it.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://github.com/alexlee188/ghpsdr3-alex&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Depending on your Internet connection thorughput, it will take several minute to download.&lt;br /&gt;
cd into the new directory ghpsdr3-alex:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ghpsdr3-alex&lt;br /&gt;
git checkout master&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
You are now working with Alex&#039;s latest and greatest!&lt;br /&gt;
&lt;br /&gt;
First set the path to the version of qt you are using.  E.g. for qt5:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ export PATH=/opt/qt5/bin:$PATH&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
autoreconf -i&lt;br /&gt;
./configure&lt;br /&gt;
make -j4 all&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The default configure above builds with debug and default Qt4 version in your PC.  For optimized executable,&lt;br /&gt;
you need to specify options specific to your system.  See the sample shell scripts that replaces the above&lt;br /&gt;
./configure step:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./alex-avx-conf.sh		for building with i3,i5 and i7 cpu&#039;s supporting Advanced Vector Extensions (AVX)&lt;br /&gt;
./alex-openmp-conf.sh		for building with i3,i5 and i7 cpu&#039;s and OpenMP support&lt;br /&gt;
./alex-sse3-conf.sh		for building with SSE3 capable cpu&#039;s&lt;br /&gt;
./alex-openmp-sse3-conf.sh	for building with SSE3 cpaable cpu&#039;s and OpenMP support&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(If you do not want to actually install the executable binaries, skip the sudo make install and just cd into the following directories and run them from there)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Terminal 1&lt;br /&gt;
$ cd ghpsdr3-alex/trunk/src/softrock&lt;br /&gt;
$ ./softrock ...options ...&lt;br /&gt;
&lt;br /&gt;
Terminal 2&lt;br /&gt;
$ cd ghpsdr3-alex/trunk/src/dspserver&lt;br /&gt;
$ ./dspserver  ..options...&lt;br /&gt;
&lt;br /&gt;
Terminal 3&lt;br /&gt;
$ cd ghpsdr3-alex/trunk/src/QtRadio&lt;br /&gt;
$ ./QtRadio&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Building the Perseus extensions ====&lt;br /&gt;
&lt;br /&gt;
In order to build the Microtelecom Perseus server you need to switch to the master or iw0hdv branch. &lt;br /&gt;
&lt;br /&gt;
First off, install the prerequisite library and wget package:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install libboost-all-dev wget&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Next download, compile and install the library libperseus-sdr:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
wget http://libperseus-sdr.googlecode.com/files/libperseus_sdr-0.6.tar.gz&lt;br /&gt;
tar -zxvf libperseus_sdr-0.6.tar.gz&lt;br /&gt;
cd libperseus_sdr-0.6/&lt;br /&gt;
./configure &amp;amp;&amp;amp; make&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you already build in your sandbox some other branch, is strongly advisable, before you start the build, to do a full cleanup:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
make distcheck &amp;amp;&amp;amp; sh cleanup.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Otherwise, if you are starting from scratch, you have to clone the repository:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://github.com/alexlee188/ghpsdr3-alex&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, you can switch to the master branch and rebuild everything; you don&#039;t need anymore to explicitly enable the perseus server feature, the configure script automatically selects it when the libperseus_sdr is found.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
git checkout master&lt;br /&gt;
autoreconf -i &amp;amp;&amp;amp; ./configure &amp;amp;&amp;amp; make -j4&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In order to run it you have two choices, the first one being the plain command line:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
xterm -e &#039;perseus_server -d3 -s96000 &#039; &amp;amp;&lt;br /&gt;
sleep 3&lt;br /&gt;
xterm -e &#039;dspserver --lo 0 --nocorrectiq&#039; &amp;amp;&lt;br /&gt;
sleep 5&lt;br /&gt;
$( QtRadio 127.0.0.1 ) &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In QtRadio, Receiver menu, select Configure item, Server tab: here add the local host using the 127.0.0.1 IP address.&lt;br /&gt;
Pressing the key C, you start the receiver.&lt;br /&gt;
&lt;br /&gt;
The second choiche is to use the ghpsdr3-mgr.py script (available in menu Applications, Hamradio as ghpsdr3launcher): clicking on the Perseus icon the three processes should start and the QtServer automatically connects to Perseus Server.&lt;br /&gt;
&lt;br /&gt;
==== Building USRP enabled version ====&lt;br /&gt;
&lt;br /&gt;
===== Building the UHD package =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====== Install the prerequisite packages (Ubuntu 11.10): ======&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install liboost-all-dev&lt;br /&gt;
sudo apt-get install python-cheetah&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====== Build &amp;amp; Install UHD -- FOR UHD-3.3.1 AND GREATER --: ======&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
git clone git://ettus.sourcerepo.com/ettus/uhd.git&lt;br /&gt;
cd uhd/host/&lt;br /&gt;
mkdir build&lt;br /&gt;
cd build&lt;br /&gt;
cmake ../&lt;br /&gt;
make&lt;br /&gt;
make test&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you already build in your sandbox some other branch, is strongly advisable, before you start the build, to do a full cleanup:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
make distcheck &amp;amp;&amp;amp; sh cleanup.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Otherwise, if you are starting from scratch, first clone the repository:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://github.com/alexlee188/ghpsdr3-alex&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, you can switch to the master branch and rebuild everything, enabling the usrp server feature:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
git checkout usrp-server&lt;br /&gt;
autoreconf -i &amp;amp;&amp;amp; ./configure --enable-usrp=yes &amp;amp;&amp;amp; make -j4&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Refresh to a Newer Version ====&lt;br /&gt;
&lt;br /&gt;
To pull a new version to build &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ git pull&lt;br /&gt;
$ make -j4 all&lt;br /&gt;
$ sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If extensive changes have occurred or if you get errors during the make, you may want to do a clean build  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ git pull&lt;br /&gt;
$ make distclean&lt;br /&gt;
$ sh cleanup.sh&lt;br /&gt;
$ autoreconf -i&lt;br /&gt;
$ ./configure&lt;br /&gt;
$ make -j4 all&lt;br /&gt;
$ sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you continue to get errors, please report the whole ./configure output and the config.log to the mailing list.&lt;br /&gt;
&lt;br /&gt;
== Installation on Windows ==&lt;br /&gt;
See [[ QtRadio on Windows]]&lt;br /&gt;
&lt;br /&gt;
== Network settings ==&lt;br /&gt;
If you are behind a firewall/NAT-router and want to be able to connect to your dspserver over the Internet you have to open up port tcp/8000. If you are using the client in RTP mode you have to open up udp/5004 and udp/5005.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Installing ghpsdr3-alex on Raspberry Pi == &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
========== HARDWARE ==========&lt;br /&gt;
&lt;br /&gt;
*** THIS SECTION DEALS WITH Raspberry Pi DIFFERENCES *** IT DOES NOT CIRCUMVENT THE INSTRUCTIONS STARTING AT STEP 1 OF THE QtRadio Installation. ***&lt;br /&gt;
&lt;br /&gt;
I recommend installing either the raspbian or raspbian pisces (debian) distributions as there is no Ubuntu release to date.&lt;br /&gt;
&lt;br /&gt;
*** All the pre-requisite packages needed for Ubuntu must be installed on raspbian or respbian pisces using the same &amp;quot;apt-get install&amp;quot; commands so it&#039;s necessary to follow the QtRadio-Installation &lt;br /&gt;
document from the beginning after installing raspbian or raspbian pisces.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
        The RasPi USB subsystem is sensitive to power supply voltage levels - A supply of 5.5V at 2A is recommended. &lt;br /&gt;
With the power supply output at +5.17V I was getting on-board Ethernet errors and system hangs when one more device besides keyboard and mouse were plugged in to the on-board USB ports or an outboard powered USB HUB. &lt;br /&gt;
&lt;br /&gt;
Measuring the voltage across TP1 and TP2 on the Raspberry Pi and  increased it to +4.97V (P.S output +5.59V).&lt;br /&gt;
&lt;br /&gt;
I also ran &amp;quot;rpi-update&amp;quot; which install new firmware. &lt;br /&gt;
&lt;br /&gt;
I shorted out the polyfuses F1 and F2 on the Pi and USB is much more stable but still limited.&lt;br /&gt;
&lt;br /&gt;
With keyboard, mouse, gigabit USB Ethernet, SB Live! 24 USB and RTL-SDR dongle it runs for some hours before it freezes.&lt;br /&gt;
&lt;br /&gt;
Removing the RTL-SDR dongle from the powered hub made a great difference with a current uptime heading for 3 days. The latest ghpsdr3-alex master branch build successfully completed while I was in bed.&lt;br /&gt;
&lt;br /&gt;
root@pisces:/usr/src/GHPSDR3_HIGH_SPEED_MASTER/ghpsdr3-alex# date&lt;br /&gt;
&lt;br /&gt;
Sun Sep  9 13:00:49 BST 2012&lt;br /&gt;
&lt;br /&gt;
root@pisces:/usr/src/GHPSDR3_HIGH_SPEED_MASTER/ghpsdr3-alex# uptime&lt;br /&gt;
&lt;br /&gt;
 13:00:56 up 2 days, 20:46,  8 users,  load average: 0.81, 1.01, 0.67&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 ******       Do not use power from a USB PC port or from a USB Hub. ********&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once it&#039;s up and running, some details that may help in setting up the hardware for use - I&#039;m currently overclocking at 855MHz  (Previously was set to 1GHz):-&lt;br /&gt;
&lt;br /&gt;
Keyboard, mouse, usb sound card, RTL-SDR TV dongle and USB Gigabit Ethernet fully operational using the 7-port powered USB hub.&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# lsusb&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp. &lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.&lt;br /&gt;
 &lt;br /&gt;
Bus 001 Device 004: ID 04cc:1521 ST-Ericsson USB 2.0 Hub&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 011: ID 04f3:0103 Elan Microelectronics Corp. &lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 006: ID 047d:1022 Kensington Orbit Optical&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 007: ID 1d19:1101 Dexatek Technology Ltd. DK DVB-T Dongle&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 008: ID 041e:3040 Creative Technology, Ltd SoundBlaster Live! 24-bit External SB0490&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 009: ID 0b95:1780 ASIX Electronics Corp. AX88178&lt;br /&gt;
root@pisces:~# ifconfig &lt;br /&gt;
&lt;br /&gt;
eth0 Link encap:Ethernet HWaddr b8:27:eb:2c:07:c9&lt;br /&gt;
&lt;br /&gt;
         inet addr:192.168.10.31  Bcast:192.168.10.255 Mask:255.255.255.0&lt;br /&gt;
         inet6 addr: fe80::ba27:ebff:fe2c:7c9/64 Scope:Link&lt;br /&gt;
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1&lt;br /&gt;
         RX packets:410 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
         TX packets:377 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
         collisions:0 txqueuelen:1000&lt;br /&gt;
         RX bytes:28905 (28.2 KiB)  TX bytes:35938 (35.0 KiB)&lt;br /&gt;
&lt;br /&gt;
eth1 Link encap:Ethernet HWaddr 00:10:14:00:9f:fa&lt;br /&gt;
&lt;br /&gt;
         inet addr:192.168.2.199  Bcast:192.168.2.255 Mask:255.255.255.0&lt;br /&gt;
         inet6 addr: fe80::210:14ff:fe00:9ffa/64 Scope:Link&lt;br /&gt;
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1&lt;br /&gt;
         RX packets:5 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
         TX packets:7 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
         collisions:0 txqueuelen:1000&lt;br /&gt;
         RX bytes:230 (230.0 B)  TX bytes:592 (592.0 B)&lt;br /&gt;
&lt;br /&gt;
lo Link encap:Local Loopback&lt;br /&gt;
&lt;br /&gt;
         inet addr:127.0.0.1  Mask:255.0.0.0&lt;br /&gt;
         inet6 addr: ::1/128 Scope:Host&lt;br /&gt;
         UP LOOPBACK RUNNING  MTU:16436  Metric:1&lt;br /&gt;
         RX packets:0 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
         TX packets:0 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
         collisions:0 txqueuelen:0&lt;br /&gt;
         RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# cat /proc/asound/cards&lt;br /&gt;
 0 [ALSA           ]: BRCM bcm2835 ALSbcm2835 ALSA - bcm2835 ALSA&lt;br /&gt;
                      bcm2835 ALSA&lt;br /&gt;
&lt;br /&gt;
 1 [External       ]: USB-Audio - SB Live! 24-bit External&lt;br /&gt;
                      Creative Technology SB Live! 24-bit External at usb-bcm2708_usb-1.2.2, full spe&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It&#039;s running at 855MHz with this config.txt file. &lt;br /&gt;
root@pisces:~# cat /boot/config.txt&lt;br /&gt;
&lt;br /&gt;
over_voltage=6&lt;br /&gt;
&lt;br /&gt;
arm_freq=855&lt;br /&gt;
&lt;br /&gt;
core_freq=500&lt;br /&gt;
&lt;br /&gt;
sdram_freq=500&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# cat /etc/network/interfaces&lt;br /&gt;
&lt;br /&gt;
    Used by ifup(8) and ifdown(8). See the interfaces(5) manpage or&lt;br /&gt;
    /usr/share/doc/ifupdown/examples for more information. &lt;br /&gt;
&lt;br /&gt;
auto lo&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
iface lo inet loopback&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    File: ifcfg-eth0&lt;br /&gt;
&lt;br /&gt;
auto eth0&lt;br /&gt;
&lt;br /&gt;
iface eth0 inet static&lt;br /&gt;
&lt;br /&gt;
address 192.168.10.31&lt;br /&gt;
&lt;br /&gt;
netmask 255.255.255.0&lt;br /&gt;
&lt;br /&gt;
gateway 192.168.10.103&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
auto eth1&lt;br /&gt;
&lt;br /&gt;
iface eth1 inet static&lt;br /&gt;
&lt;br /&gt;
address 192.168.2.199&lt;br /&gt;
&lt;br /&gt;
netmask 255.255.255.0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# cat /etc/modules&lt;br /&gt;
&lt;br /&gt;
    /etc/modules: kernel modules to load at boot time.&lt;br /&gt;
    This file contains the names of kernel modules that should be loaded&lt;br /&gt;
    at boot time, one per line. Lines beginning with &amp;quot;#&amp;quot; are ignored.&lt;br /&gt;
    Parameters can be specified after the module name. &lt;br /&gt;
&lt;br /&gt;
loop&lt;br /&gt;
&lt;br /&gt;
snd-bcm2835&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
One problem remains, no sound from the on-board chip.&lt;br /&gt;
&lt;br /&gt;
==VIRTUALBOX==&lt;br /&gt;
&lt;br /&gt;
It is possible to run the server software (and QtRadio) under VirtualBox.  It has been tested with HPSDR Hermes hardware. [http://people.wallawalla.edu/~Rob.Frohne/ghpsdr3-alex/Ubuntu%2012.10%20ghpsdr3-alex-hermes.zip A VirtualBox Ubuntu 12.10 image] is available that automatically starts the server software for those who are running Windows, or don&#039;t feel they have the hardware, expertise or time to setup a Linux machine to act as a server.  The username is: &amp;quot;ubuntu&amp;quot; and the password: &amp;quot;hamradio&amp;quot;.  Basically, all you need to do is follow the instructions below, plug your Hermes, ANAN-10D or ANAN-100D into the network with the server, and you can be using ghpsdr3-alex on your own server.  Users of older HPSDR hardware may need to make slight variations such as configuring USB in VirtualBox, specifying different command line arguments, etc, but you won&#039;t have to build the software, or install Linux, or get another computer just to run the ghpsdr3-alex server software.&lt;br /&gt;
&lt;br /&gt;
The [[Dspserver.conf]] file needs to be edited, and you will need to run the dspserver once within a terminal to get the instructions on setting up an SSL key pair.  To do that, download the [http://people.wallawalla.edu/~Rob.Frohne/ghpsdr3-alex/Ubuntu%2012.10%20ghpsdr3-alex-hermes.zip VirtualBox image], start [https://www.virtualbox.org/ VirtualBox], select new for the new machine, and when it asks you about the hard drive, say use existing hard drive, and select the image you just downloaded as the hard drive. After it boots up, you need to start a terminal (see the launcher bar on the left) and using it, start dspserver.&lt;br /&gt;
 $ dspserver&lt;br /&gt;
 Reading conf file /home/frohro/dspserver.conf&lt;br /&gt;
 Country Lookup is On&lt;br /&gt;
 gHPSDR rx 0 (Version 0.7)&lt;br /&gt;
 dspserver string: 20130609;-master&lt;br /&gt;
 getSoundcardId: HPSDR id=8&lt;br /&gt;
 setSoundcard: 8&lt;br /&gt;
 setSoundcard -41.000000 -48.000000&lt;br /&gt;
 etup sdr thread 0: done&lt;br /&gt;
 setup sdr thread 1: done&lt;br /&gt;
 setup sdr thread 2: done&lt;br /&gt;
 client_thread&lt;br /&gt;
 [2013-08-26 10:15:12] client_thread: listening on port 8000&lt;br /&gt;
 Couldn&#039;t read &#039;pkey&#039; or &#039;cert&#039; file.  To generate a key&lt;br /&gt;
 and self-signed certificate, run:&lt;br /&gt;
  openssl genrsa -out pkey 2048&lt;br /&gt;
  openssl req -new -key pkey -out cert.req&lt;br /&gt;
  openssl x509 -req -days 365 -in cert.req -signkey pkey -out cert&lt;br /&gt;
 client ctx init failed: No such file or directory&lt;br /&gt;
  &lt;br /&gt;
&lt;br /&gt;
Note the message about the SSL keys (&amp;quot;Couldn&#039;t read &#039;pkey&#039; or &#039;cert&#039; file.&amp;quot;) not being set up.  This is a process you do once.  The three commands to set up the SSL keys are just what the dspserver response above told you to do.  &lt;br /&gt;
  openssl genrsa -out pkey 2048&lt;br /&gt;
&lt;br /&gt;
  openssl req -new -key pkey -out cert.req&lt;br /&gt;
&lt;br /&gt;
  openssl x509 -req -days 365 -in cert.req -signkey pkey -out cert&lt;br /&gt;
After generating the keys, you should be able to log out and log back in and your server should be running, if all is well.  You should then be able to connect with QtRadio or glSDR.  Be sure to set the server IP address in the client (QtRadio, or glSDR).  &lt;br /&gt;
&lt;br /&gt;
If you want to change or add the automatically started programs, see [http://askubuntu.com/questions/48321/how-do-i-start-applications-automatically-on-login this web page].  If you want to change things, the helpful notes about running the [[Hermes]] server on the [[Hermes]] page might be good to review.  They explain the commands started automatically upon login.&lt;br /&gt;
&lt;br /&gt;
I must make one note about running the software from a pre-prepared VirtualBox Image.  It is a way an attacker could gain access to your computer and network.  I used a pre-prepared Ubuntu 12.10 image from [http://virtualboxes.org/images/ubuntu/ VirtualBoxImages].  I believe it to be virgin, but you have to realize that it is possible that some rogue software is running on this image.  If you use the image I provide, you must be solely responsible for whatever happens. I (Rob Frohne, KL7NA) did not put anything on the image, except the ghpsdr3-alex and the tools and packages, and configuration files needed to build it.  As always, there is a trade off between ease of use, and security.&lt;br /&gt;
&lt;br /&gt;
== SOFTWARE == &lt;br /&gt;
***** START AT THE BEGINNING WHEN BUILDING THE SOFTWARE -- i.e Section 1 and install all the packages recommended and do the pulseaudio setup.&lt;br /&gt;
&lt;br /&gt;
If you build ghpsdr3-alex already it&#039;s a case of following the same procedure with the following caveats that apply to the RasPi ARM architecture. What follows is a blow by blow account of how I did it for the iw0hdv branch which supports my HiQSDR+Preselector. The same steps are needed for building any other branch.&lt;br /&gt;
&lt;br /&gt;
Subject: [n2adr-sdr] Raspberry Pi running ghpsdr3-alex&lt;br /&gt;
&lt;br /&gt;
The changes made by Andrea have been merged into the master branch. These changes allow samplerates &amp;gt;192K but the Pi doesn&#039;t have the power to run these high samplerates - I am running hiqsdr-server at 960K samplerate on a 8-core x84_64 box.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   autoreconf -i &lt;br /&gt;
&lt;br /&gt;
    ./configure CFLAGS=&#039;-O3 -pipe -march=armv6 -mfpu=vfp -mfloat-abi=hard&#039; CXXFLAGS=&#039;-O3 -pipe -march=armv6 -mfpu=vfp -mfloat-abi=hard&#039; &lt;br /&gt;
&lt;br /&gt;
**** Additional steps needed when building rtlsdr-server. Do these before running make ******&lt;br /&gt;
# export ac_cv_func_malloc_0_nonnull=yes&lt;br /&gt;
# export ac_cv_func_realloc_0_nonnull=yes&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    make all &amp;amp;&amp;amp; make all install &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Sound on the Raspberry Pi is still a problem I have not been able to solve.&lt;br /&gt;
&lt;br /&gt;
Terry (WB4JFI) suggested the following that work for him but I have had no luck with it.&lt;br /&gt;
&lt;br /&gt;
&amp;quot;amixer cset numid=3 1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Other valid numid&#039;s are 0=auto, 1=headphones and 2=hdmi.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
QtRadio running on another box using the connection from the server list. Sound is a touch distorted, quite distorted on start up of QtRadio and spectrum is always a little bit slow.&lt;br /&gt;
&lt;br /&gt;
When a slave connected and tried changing frequency, dspserver crashed - dspserver can be a bit crash happy.&lt;br /&gt;
&lt;br /&gt;
The first thing I tried on the Pi was QtRadio standalone, spectrum and waterfall were OK but no sound.&lt;br /&gt;
&lt;br /&gt;
Just now a client using glSDR (5) is attempting to change frequency, sound went quite distorted then dspserver crashed.&lt;br /&gt;
&lt;br /&gt;
Restarted dspserver and QtRadio sound started very distorted before it settled down to reasonable.&lt;/div&gt;</summary>
		<author><name>Frohro</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=758</id>
		<title>QtRadio Installation</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=758"/>
		<updated>2013-08-26T17:45:43Z</updated>

		<summary type="html">&lt;p&gt;Frohro: /* VIRTUALBOX */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Installation on Linux ==&lt;br /&gt;
The instructions below are for Debian based distributions like Ubuntu but you should be able to compile on any Linux distribution with the correct libraries installed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Installation from Git ===&lt;br /&gt;
Installing from git involves building or compiling from source.  This is required if you want to use one of the various branches to work the &amp;quot;bleeding edge&amp;quot; branches like Alex&#039;s rxtx-event branch where the current (Nov 12 2011) TX work is being done.&lt;br /&gt;
The PPA install is never more than a few days behind master so there is not much to gain from building from git unless you want to work with the source code your self.&lt;br /&gt;
&lt;br /&gt;
==== Installing compiler and autotool ====&lt;br /&gt;
&lt;br /&gt;
First off, install the compiler; depending on which distribution are you using, some or all of this stuff could be already installed: &lt;br /&gt;
&lt;br /&gt;
===== Ubuntu/Debian =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install make gcc g++&lt;br /&gt;
sudo apt-get install autoconf automake autotools-dev libtool git subversion&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Fedora =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo yum install gcc gcc-c++ man-pages autoconf automake subversion libtool git&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Installing prerequisite packages ====&lt;br /&gt;
&lt;br /&gt;
===== Ubuntu 12.04 and newer =====&lt;br /&gt;
First of all, you have to check that the universe repository is enabled. Click on the gear shaped icon (bottom into left side bar): the System Settings menu will shown, click on Software Sources and finally check the Community-maintained Open Source Software (universe) tick. Next, submit the following commands into a terminal window:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install \&lt;br /&gt;
libqt4-opengl-dev \&lt;br /&gt;
qtmobility-dev \&lt;br /&gt;
libusb-0.1-4 \&lt;br /&gt;
libusb-dev \&lt;br /&gt;
libfftw3-dev \&lt;br /&gt;
portaudio19-dev \&lt;br /&gt;
libpulse-dev \&lt;br /&gt;
libsamplerate0-dev \&lt;br /&gt;
libusb-1.0-0-dev \&lt;br /&gt;
libconfig8-dev \&lt;br /&gt;
xdg-utils \&lt;br /&gt;
libortp-dev \&lt;br /&gt;
gcc-multilib \&lt;br /&gt;
libssl-dev \&lt;br /&gt;
libevent-dev \&lt;br /&gt;
libglu1-mesa-dev \&lt;br /&gt;
freeglut3-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You will need qt5 installed to complete the build.&lt;br /&gt;
&lt;br /&gt;
Visit: http://qt-project.org/downloads&lt;br /&gt;
&lt;br /&gt;
download the current package for your system.&lt;br /&gt;
&lt;br /&gt;
To build Qt5 on a RaspberryPi visit: http://qt-project.org/wiki/RaspberryPi&lt;br /&gt;
&lt;br /&gt;
After downloading it go to the download directory and do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ chmod +x the-name-of-the-downloaded-file&lt;br /&gt;
$ sudo ./the-name-of-the-downloaded-file&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Simply click on the installer and follow the prompts, take note of were qt5 is installed. Don&#039;t open the readme or start QtCreator when the installer asks.  It will make some files in your home directory owned by root, and that will give you trouble later.  After the install has completed, from a terminal:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ export PATH=/opt/Qt5.1.0/5.1.0/gcc_64/bin:/opt/Qt5.1.0/Tools/QtCreator/bin:$PATH&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
In the above make sure you put in the correct path for your version of Qt. This is due because the several packages from Qt sources and binary repositories web sites are not really installed in the system but simply copied on it. Therefore the autotools build system should search virtually over the whole filesystem.&lt;br /&gt;
In any case please remember that&lt;br /&gt;
the export above is effective only into the current terminal windows, if you open another window and/or reboot the system, you have to resubmit again the command&lt;br /&gt;
if you want to make permanent it, you have to add the export into the right configuration shell, suitable for the shell that you are currently using.&lt;br /&gt;
For the bash it is typically ~/.bashrc&lt;br /&gt;
In any case, after you issue the export, please test it.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
qmake -v&lt;br /&gt;
QMake version 2.01a&lt;br /&gt;
Using Qt version 4.8.0 in /home/andrew/QtSDK4.8x/Desktop/Qt/4.8.0/gcc/lib&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Ubuntu 11.04 and older ===== &lt;br /&gt;
First of all, you have to check that the &#039;&#039;universe repository&#039;&#039; is enabled.&lt;br /&gt;
Please see the procedure in the previous section [[#graphical installation]] .&lt;br /&gt;
&lt;br /&gt;
Next, you will need the following packages installed:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install \&lt;br /&gt;
libqt4-opengl-dev \&lt;br /&gt;
qtmobility-dev \&lt;br /&gt;
libusb-0.1-4 \&lt;br /&gt;
libusb-dev \&lt;br /&gt;
libfftw3-dev \&lt;br /&gt;
portaudio19-dev \&lt;br /&gt;
libpulse-dev \&lt;br /&gt;
libsamplerate0-dev \&lt;br /&gt;
libusb-1.0-0-dev \&lt;br /&gt;
libconfig8-dev \&lt;br /&gt;
libortp-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Ubuntu 11.10 ===== &lt;br /&gt;
First of all, you have to check that the &#039;&#039;universe repository&#039;&#039; is enabled.&lt;br /&gt;
Click on the gear shaped icon (bottom into left side bar): the &#039;&#039;System Settings&#039;&#039; menu will shown, click on &#039;&#039;Software Sources&#039;&#039; and finally check the &#039;&#039;Community-maintaned Open Source Software (universe)&#039;&#039; tick.&lt;br /&gt;
Next, submit the following commands into a terminal window:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install \&lt;br /&gt;
libqt4-opengl-dev \&lt;br /&gt;
qtmobility-dev \&lt;br /&gt;
libusb-0.1-4 \&lt;br /&gt;
libusb-dev \&lt;br /&gt;
libfftw3-dev \&lt;br /&gt;
portaudio19-dev \&lt;br /&gt;
libpulse-dev \&lt;br /&gt;
libsamplerate0-dev \&lt;br /&gt;
libusb-1.0-0-dev \&lt;br /&gt;
libconfig8-dev \&lt;br /&gt;
xdg-utils \&lt;br /&gt;
libortp-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Fedora 16 =====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo yum install fftw fftw-devel &lt;br /&gt;
sudo yum install libusb-devel libusb1-devel &lt;br /&gt;
sudo yum install portaudio-devel&lt;br /&gt;
sudo yum install libconfig-devel&lt;br /&gt;
sudo yum install libsamplerate-devel&lt;br /&gt;
sudo yum install pulseaudio-libs-devel&lt;br /&gt;
sudo yum install jack-audio-connection-kit  jack-audio-connection-kit-devel&lt;br /&gt;
sudo yum install qt4-devel&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Cloning the repository ====&lt;br /&gt;
&lt;br /&gt;
How to build the latest master branch on Ubuntu 11.04&lt;br /&gt;
&lt;br /&gt;
First a new libevent will need to be downloaded and installed, then the actual QtRadio source can be downloaded and built.&lt;br /&gt;
&lt;br /&gt;
==== Obtaining an up-level libevent library ====&lt;br /&gt;
&lt;br /&gt;
$ sudo apt-get install libevent-dev&lt;br /&gt;
&lt;br /&gt;
If the version is older than 2.0.5, go to synaptic and completely remove the stock libevent from Ubuntu. (Completely remove is an uninstall option in Synaptic. Additional dependent libraries may also be removed)&lt;br /&gt;
&lt;br /&gt;
Then download the new version from:&lt;br /&gt;
&lt;br /&gt;
http://libevent.org/&lt;br /&gt;
&lt;br /&gt;
libevent-2.0.16-stable.tar.gz&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
wget https://github.com/downloads/libevent/libevent/libevent-2.0.16-stable.tar.gz&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Move the tarball from the Downloads directory to a working directory. A suggestion is to create a src directory within your home directory and move it there. Uncompress and follow the instructions to build and install:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
tar -zxvf libevent-2.0.16-stable.tar.gz&lt;br /&gt;
cd libevent-2.0.16-stable&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On Fedora, in order to use the library above, export the LD_LIBRARY_PATH:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export LD_LIBRARY_PATH=/usr/local/lib&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Installing codec2 low bit rate audio encoding and decoding ====&lt;br /&gt;
&lt;br /&gt;
We are adding a low bit rate audio codec called codec 2 to QtRadio/dspserver.  You need&lt;br /&gt;
to download and build the codec2 library.  See:&lt;br /&gt;
&lt;br /&gt;
http://www.rowetel.com/blog/?page_id=452&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
Now go get codec2 using subversion&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
svn co https://freetel.svn.sourceforge.net/svnroot/freetel/codec2-dev codec2-dev&lt;br /&gt;
cd codec2-dev&lt;br /&gt;
autoreconf -i&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On Fedora, in order to use the library above, export the LD_LIBRARY_PATH:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export LD_LIBRARY_PATH=/usr/local/lib&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Building the master branch ====&lt;br /&gt;
&lt;br /&gt;
This branch is the latest code that contains both RX and TX capability. &lt;br /&gt;
&lt;br /&gt;
Create a new directory or cd to the ~/src directory created for libevent and cd into it.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://github.com/alexlee188/ghpsdr3-alex&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Depending on your Internet connection thorughput, it will take several minute to download.&lt;br /&gt;
cd into the new directory ghpsdr3-alex:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ghpsdr3-alex&lt;br /&gt;
git checkout master&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
You are now working with Alex&#039;s latest and greatest!&lt;br /&gt;
&lt;br /&gt;
First set the path to the version of qt you are using.  E.g. for qt5:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ export PATH=/opt/qt5/bin:$PATH&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
autoreconf -i&lt;br /&gt;
./configure&lt;br /&gt;
make -j4 all&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The default configure above builds with debug and default Qt4 version in your PC.  For optimized executable,&lt;br /&gt;
you need to specify options specific to your system.  See the sample shell scripts that replaces the above&lt;br /&gt;
./configure step:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./alex-avx-conf.sh		for building with i3,i5 and i7 cpu&#039;s supporting Advanced Vector Extensions (AVX)&lt;br /&gt;
./alex-openmp-conf.sh		for building with i3,i5 and i7 cpu&#039;s and OpenMP support&lt;br /&gt;
./alex-sse3-conf.sh		for building with SSE3 capable cpu&#039;s&lt;br /&gt;
./alex-openmp-sse3-conf.sh	for building with SSE3 cpaable cpu&#039;s and OpenMP support&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(If you do not want to actually install the executable binaries, skip the sudo make install and just cd into the following directories and run them from there)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Terminal 1&lt;br /&gt;
$ cd ghpsdr3-alex/trunk/src/softrock&lt;br /&gt;
$ ./softrock ...options ...&lt;br /&gt;
&lt;br /&gt;
Terminal 2&lt;br /&gt;
$ cd ghpsdr3-alex/trunk/src/dspserver&lt;br /&gt;
$ ./dspserver  ..options...&lt;br /&gt;
&lt;br /&gt;
Terminal 3&lt;br /&gt;
$ cd ghpsdr3-alex/trunk/src/QtRadio&lt;br /&gt;
$ ./QtRadio&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Building the Perseus extensions ====&lt;br /&gt;
&lt;br /&gt;
In order to build the Microtelecom Perseus server you need to switch to the master or iw0hdv branch. &lt;br /&gt;
&lt;br /&gt;
First off, install the prerequisite library and wget package:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install libboost-all-dev wget&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Next download, compile and install the library libperseus-sdr:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
wget http://libperseus-sdr.googlecode.com/files/libperseus_sdr-0.6.tar.gz&lt;br /&gt;
tar -zxvf libperseus_sdr-0.6.tar.gz&lt;br /&gt;
cd libperseus_sdr-0.6/&lt;br /&gt;
./configure &amp;amp;&amp;amp; make&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you already build in your sandbox some other branch, is strongly advisable, before you start the build, to do a full cleanup:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
make distcheck &amp;amp;&amp;amp; sh cleanup.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Otherwise, if you are starting from scratch, you have to clone the repository:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://github.com/alexlee188/ghpsdr3-alex&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, you can switch to the master branch and rebuild everything; you don&#039;t need anymore to explicitly enable the perseus server feature, the configure script automatically selects it when the libperseus_sdr is found.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
git checkout master&lt;br /&gt;
autoreconf -i &amp;amp;&amp;amp; ./configure &amp;amp;&amp;amp; make -j4&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In order to run it you have two choices, the first one being the plain command line:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
xterm -e &#039;perseus_server -d3 -s96000 &#039; &amp;amp;&lt;br /&gt;
sleep 3&lt;br /&gt;
xterm -e &#039;dspserver --lo 0 --nocorrectiq&#039; &amp;amp;&lt;br /&gt;
sleep 5&lt;br /&gt;
$( QtRadio 127.0.0.1 ) &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In QtRadio, Receiver menu, select Configure item, Server tab: here add the local host using the 127.0.0.1 IP address.&lt;br /&gt;
Pressing the key C, you start the receiver.&lt;br /&gt;
&lt;br /&gt;
The second choiche is to use the ghpsdr3-mgr.py script (available in menu Applications, Hamradio as ghpsdr3launcher): clicking on the Perseus icon the three processes should start and the QtServer automatically connects to Perseus Server.&lt;br /&gt;
&lt;br /&gt;
==== Building USRP enabled version ====&lt;br /&gt;
&lt;br /&gt;
===== Building the UHD package =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====== Install the prerequisite packages (Ubuntu 11.10): ======&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install liboost-all-dev&lt;br /&gt;
sudo apt-get install python-cheetah&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====== Build &amp;amp; Install UHD -- FOR UHD-3.3.1 AND GREATER --: ======&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
git clone git://ettus.sourcerepo.com/ettus/uhd.git&lt;br /&gt;
cd uhd/host/&lt;br /&gt;
mkdir build&lt;br /&gt;
cd build&lt;br /&gt;
cmake ../&lt;br /&gt;
make&lt;br /&gt;
make test&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you already build in your sandbox some other branch, is strongly advisable, before you start the build, to do a full cleanup:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
make distcheck &amp;amp;&amp;amp; sh cleanup.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Otherwise, if you are starting from scratch, first clone the repository:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://github.com/alexlee188/ghpsdr3-alex&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, you can switch to the master branch and rebuild everything, enabling the usrp server feature:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
git checkout usrp-server&lt;br /&gt;
autoreconf -i &amp;amp;&amp;amp; ./configure --enable-usrp=yes &amp;amp;&amp;amp; make -j4&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Refresh to a Newer Version ====&lt;br /&gt;
&lt;br /&gt;
To pull a new version to build &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ git pull&lt;br /&gt;
$ make -j4 all&lt;br /&gt;
$ sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If extensive changes have occurred or if you get errors during the make, you may want to do a clean build  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ git pull&lt;br /&gt;
$ make distclean&lt;br /&gt;
$ sh cleanup.sh&lt;br /&gt;
$ autoreconf -i&lt;br /&gt;
$ ./configure&lt;br /&gt;
$ make -j4 all&lt;br /&gt;
$ sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you continue to get errors, please report the whole ./configure output and the config.log to the mailing list.&lt;br /&gt;
&lt;br /&gt;
== Installation on Windows ==&lt;br /&gt;
See [[ QtRadio on Windows]]&lt;br /&gt;
&lt;br /&gt;
== Network settings ==&lt;br /&gt;
If you are behind a firewall/NAT-router and want to be able to connect to your dspserver over the Internet you have to open up port tcp/8000. If you are using the client in RTP mode you have to open up udp/5004 and udp/5005.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Installing ghpsdr3-alex on Raspberry Pi == &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
========== HARDWARE ==========&lt;br /&gt;
&lt;br /&gt;
*** THIS SECTION DEALS WITH Raspberry Pi DIFFERENCES *** IT DOES NOT CIRCUMVENT THE INSTRUCTIONS STARTING AT STEP 1 OF THE QtRadio Installation. ***&lt;br /&gt;
&lt;br /&gt;
I recommend installing either the raspbian or raspbian pisces (debian) distributions as there is no Ubuntu release to date.&lt;br /&gt;
&lt;br /&gt;
*** All the pre-requisite packages needed for Ubuntu must be installed on raspbian or respbian pisces using the same &amp;quot;apt-get install&amp;quot; commands so it&#039;s necessary to follow the QtRadio-Installation &lt;br /&gt;
document from the beginning after installing raspbian or raspbian pisces.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
        The RasPi USB subsystem is sensitive to power supply voltage levels - A supply of 5.5V at 2A is recommended. &lt;br /&gt;
With the power supply output at +5.17V I was getting on-board Ethernet errors and system hangs when one more device besides keyboard and mouse were plugged in to the on-board USB ports or an outboard powered USB HUB. &lt;br /&gt;
&lt;br /&gt;
Measuring the voltage across TP1 and TP2 on the Raspberry Pi and  increased it to +4.97V (P.S output +5.59V).&lt;br /&gt;
&lt;br /&gt;
I also ran &amp;quot;rpi-update&amp;quot; which install new firmware. &lt;br /&gt;
&lt;br /&gt;
I shorted out the polyfuses F1 and F2 on the Pi and USB is much more stable but still limited.&lt;br /&gt;
&lt;br /&gt;
With keyboard, mouse, gigabit USB Ethernet, SB Live! 24 USB and RTL-SDR dongle it runs for some hours before it freezes.&lt;br /&gt;
&lt;br /&gt;
Removing the RTL-SDR dongle from the powered hub made a great difference with a current uptime heading for 3 days. The latest ghpsdr3-alex master branch build successfully completed while I was in bed.&lt;br /&gt;
&lt;br /&gt;
root@pisces:/usr/src/GHPSDR3_HIGH_SPEED_MASTER/ghpsdr3-alex# date&lt;br /&gt;
&lt;br /&gt;
Sun Sep  9 13:00:49 BST 2012&lt;br /&gt;
&lt;br /&gt;
root@pisces:/usr/src/GHPSDR3_HIGH_SPEED_MASTER/ghpsdr3-alex# uptime&lt;br /&gt;
&lt;br /&gt;
 13:00:56 up 2 days, 20:46,  8 users,  load average: 0.81, 1.01, 0.67&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 ******       Do not use power from a USB PC port or from a USB Hub. ********&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once it&#039;s up and running, some details that may help in setting up the hardware for use - I&#039;m currently overclocking at 855MHz  (Previously was set to 1GHz):-&lt;br /&gt;
&lt;br /&gt;
Keyboard, mouse, usb sound card, RTL-SDR TV dongle and USB Gigabit Ethernet fully operational using the 7-port powered USB hub.&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# lsusb&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp. &lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.&lt;br /&gt;
 &lt;br /&gt;
Bus 001 Device 004: ID 04cc:1521 ST-Ericsson USB 2.0 Hub&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 011: ID 04f3:0103 Elan Microelectronics Corp. &lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 006: ID 047d:1022 Kensington Orbit Optical&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 007: ID 1d19:1101 Dexatek Technology Ltd. DK DVB-T Dongle&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 008: ID 041e:3040 Creative Technology, Ltd SoundBlaster Live! 24-bit External SB0490&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 009: ID 0b95:1780 ASIX Electronics Corp. AX88178&lt;br /&gt;
root@pisces:~# ifconfig &lt;br /&gt;
&lt;br /&gt;
eth0 Link encap:Ethernet HWaddr b8:27:eb:2c:07:c9&lt;br /&gt;
&lt;br /&gt;
         inet addr:192.168.10.31  Bcast:192.168.10.255 Mask:255.255.255.0&lt;br /&gt;
         inet6 addr: fe80::ba27:ebff:fe2c:7c9/64 Scope:Link&lt;br /&gt;
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1&lt;br /&gt;
         RX packets:410 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
         TX packets:377 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
         collisions:0 txqueuelen:1000&lt;br /&gt;
         RX bytes:28905 (28.2 KiB)  TX bytes:35938 (35.0 KiB)&lt;br /&gt;
&lt;br /&gt;
eth1 Link encap:Ethernet HWaddr 00:10:14:00:9f:fa&lt;br /&gt;
&lt;br /&gt;
         inet addr:192.168.2.199  Bcast:192.168.2.255 Mask:255.255.255.0&lt;br /&gt;
         inet6 addr: fe80::210:14ff:fe00:9ffa/64 Scope:Link&lt;br /&gt;
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1&lt;br /&gt;
         RX packets:5 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
         TX packets:7 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
         collisions:0 txqueuelen:1000&lt;br /&gt;
         RX bytes:230 (230.0 B)  TX bytes:592 (592.0 B)&lt;br /&gt;
&lt;br /&gt;
lo Link encap:Local Loopback&lt;br /&gt;
&lt;br /&gt;
         inet addr:127.0.0.1  Mask:255.0.0.0&lt;br /&gt;
         inet6 addr: ::1/128 Scope:Host&lt;br /&gt;
         UP LOOPBACK RUNNING  MTU:16436  Metric:1&lt;br /&gt;
         RX packets:0 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
         TX packets:0 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
         collisions:0 txqueuelen:0&lt;br /&gt;
         RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# cat /proc/asound/cards&lt;br /&gt;
 0 [ALSA           ]: BRCM bcm2835 ALSbcm2835 ALSA - bcm2835 ALSA&lt;br /&gt;
                      bcm2835 ALSA&lt;br /&gt;
&lt;br /&gt;
 1 [External       ]: USB-Audio - SB Live! 24-bit External&lt;br /&gt;
                      Creative Technology SB Live! 24-bit External at usb-bcm2708_usb-1.2.2, full spe&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It&#039;s running at 855MHz with this config.txt file. &lt;br /&gt;
root@pisces:~# cat /boot/config.txt&lt;br /&gt;
&lt;br /&gt;
over_voltage=6&lt;br /&gt;
&lt;br /&gt;
arm_freq=855&lt;br /&gt;
&lt;br /&gt;
core_freq=500&lt;br /&gt;
&lt;br /&gt;
sdram_freq=500&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# cat /etc/network/interfaces&lt;br /&gt;
&lt;br /&gt;
    Used by ifup(8) and ifdown(8). See the interfaces(5) manpage or&lt;br /&gt;
    /usr/share/doc/ifupdown/examples for more information. &lt;br /&gt;
&lt;br /&gt;
auto lo&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
iface lo inet loopback&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    File: ifcfg-eth0&lt;br /&gt;
&lt;br /&gt;
auto eth0&lt;br /&gt;
&lt;br /&gt;
iface eth0 inet static&lt;br /&gt;
&lt;br /&gt;
address 192.168.10.31&lt;br /&gt;
&lt;br /&gt;
netmask 255.255.255.0&lt;br /&gt;
&lt;br /&gt;
gateway 192.168.10.103&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
auto eth1&lt;br /&gt;
&lt;br /&gt;
iface eth1 inet static&lt;br /&gt;
&lt;br /&gt;
address 192.168.2.199&lt;br /&gt;
&lt;br /&gt;
netmask 255.255.255.0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# cat /etc/modules&lt;br /&gt;
&lt;br /&gt;
    /etc/modules: kernel modules to load at boot time.&lt;br /&gt;
    This file contains the names of kernel modules that should be loaded&lt;br /&gt;
    at boot time, one per line. Lines beginning with &amp;quot;#&amp;quot; are ignored.&lt;br /&gt;
    Parameters can be specified after the module name. &lt;br /&gt;
&lt;br /&gt;
loop&lt;br /&gt;
&lt;br /&gt;
snd-bcm2835&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
One problem remains, no sound from the on-board chip.&lt;br /&gt;
&lt;br /&gt;
==VIRTUALBOX==&lt;br /&gt;
&lt;br /&gt;
It is possible to run the server software (and QtRadio) under VirtualBox.  It has been tested with HPSDR Hermes hardware. [http://people.wallawalla.edu/~Rob.Frohne/ghpsdr3-alex/Ubuntu%2012.10%20ghpsdr3-alex-hermes.zip A VirtualBox Ubuntu 12.10 image] is available that automatically starts the server software for those who are running Windows, or don&#039;t feel they have the hardware, expertise or time to setup a Linux machine to act as a server.  Basically, all you need to do is follow the instructions below, plug your Hermes, ANAN-10D or ANAN-100D into the network with the server, and you can be using ghpsdr3-alex on your own server.  Users of older HPSDR hardware may need to make slight variations such as configuring USB in VirtualBox, specifying different command line arguments, etc, but you won&#039;t have to build the software, or install Linux, or get another computer just to run the ghpsdr3-alex server software.&lt;br /&gt;
&lt;br /&gt;
The [[Dspserver.conf]] file needs to be edited, and you will need to run the dspserver once within a terminal to get the instructions on setting up an SSL key pair.  To do that, download the [http://people.wallawalla.edu/~Rob.Frohne/ghpsdr3-alex/Ubuntu%2012.10%20ghpsdr3-alex-hermes.zip VirtualBox image], start [https://www.virtualbox.org/ VirtualBox], select new for the new machine, and when it asks you about the hard drive, say use existing hard drive, and select the image you just downloaded as the hard drive. After it boots up, you need to start a terminal (see the launcher bar on the left) and using it, start dspserver.&lt;br /&gt;
 $ dspserver&lt;br /&gt;
 Reading conf file /home/frohro/dspserver.conf&lt;br /&gt;
 Country Lookup is On&lt;br /&gt;
 gHPSDR rx 0 (Version 0.7)&lt;br /&gt;
 dspserver string: 20130609;-master&lt;br /&gt;
 getSoundcardId: HPSDR id=8&lt;br /&gt;
 setSoundcard: 8&lt;br /&gt;
 setSoundcard -41.000000 -48.000000&lt;br /&gt;
 etup sdr thread 0: done&lt;br /&gt;
 setup sdr thread 1: done&lt;br /&gt;
 setup sdr thread 2: done&lt;br /&gt;
 client_thread&lt;br /&gt;
 [2013-08-26 10:15:12] client_thread: listening on port 8000&lt;br /&gt;
 Couldn&#039;t read &#039;pkey&#039; or &#039;cert&#039; file.  To generate a key&lt;br /&gt;
 and self-signed certificate, run:&lt;br /&gt;
  openssl genrsa -out pkey 2048&lt;br /&gt;
  openssl req -new -key pkey -out cert.req&lt;br /&gt;
  openssl x509 -req -days 365 -in cert.req -signkey pkey -out cert&lt;br /&gt;
 client ctx init failed: No such file or directory&lt;br /&gt;
  &lt;br /&gt;
&lt;br /&gt;
Note the message about the SSL keys (&amp;quot;Couldn&#039;t read &#039;pkey&#039; or &#039;cert&#039; file.&amp;quot;) not being set up.  This is a process you do once.  The three commands to set up the SSL keys are just what the dspserver response above told you to do.  &lt;br /&gt;
  openssl genrsa -out pkey 2048&lt;br /&gt;
&lt;br /&gt;
  openssl req -new -key pkey -out cert.req&lt;br /&gt;
&lt;br /&gt;
  openssl x509 -req -days 365 -in cert.req -signkey pkey -out cert&lt;br /&gt;
After generating the keys, you should be able to log out and log back in and your server should be running, if all is well.  You should then be able to connect with QtRadio or glSDR.  Be sure to set the server IP address in the client (QtRadio, or glSDR).  &lt;br /&gt;
&lt;br /&gt;
If you want to change or add the automatically started programs, see [http://askubuntu.com/questions/48321/how-do-i-start-applications-automatically-on-login this web page].  If you want to change things, the helpful notes about running the [[Hermes]] server on the [[Hermes]] page might be good to review.  They explain the commands started automatically upon login.&lt;br /&gt;
&lt;br /&gt;
I must make one note about running the software from a pre-prepared VirtualBox Image.  It is a way an attacker could gain access to your computer and network.  I used a pre-prepared Ubuntu 12.10 image from [http://virtualboxes.org/images/ubuntu/ VirtualBoxImages].  I believe it to be virgin, but you have to realize that it is possible that some rogue software is running on this image.  If you use the image I provide, you must be solely responsible for whatever happens. I (Rob Frohne, KL7NA) did not put anything on the image, except the ghpsdr3-alex and the tools and packages, and configuration files needed to build it.  As always, there is a trade off between ease of use, and security.&lt;br /&gt;
&lt;br /&gt;
== SOFTWARE == &lt;br /&gt;
***** START AT THE BEGINNING WHEN BUILDING THE SOFTWARE -- i.e Section 1 and install all the packages recommended and do the pulseaudio setup.&lt;br /&gt;
&lt;br /&gt;
If you build ghpsdr3-alex already it&#039;s a case of following the same procedure with the following caveats that apply to the RasPi ARM architecture. What follows is a blow by blow account of how I did it for the iw0hdv branch which supports my HiQSDR+Preselector. The same steps are needed for building any other branch.&lt;br /&gt;
&lt;br /&gt;
Subject: [n2adr-sdr] Raspberry Pi running ghpsdr3-alex&lt;br /&gt;
&lt;br /&gt;
The changes made by Andrea have been merged into the master branch. These changes allow samplerates &amp;gt;192K but the Pi doesn&#039;t have the power to run these high samplerates - I am running hiqsdr-server at 960K samplerate on a 8-core x84_64 box.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   autoreconf -i &lt;br /&gt;
&lt;br /&gt;
    ./configure CFLAGS=&#039;-O3 -pipe -march=armv6 -mfpu=vfp -mfloat-abi=hard&#039; CXXFLAGS=&#039;-O3 -pipe -march=armv6 -mfpu=vfp -mfloat-abi=hard&#039; &lt;br /&gt;
&lt;br /&gt;
**** Additional steps needed when building rtlsdr-server. Do these before running make ******&lt;br /&gt;
# export ac_cv_func_malloc_0_nonnull=yes&lt;br /&gt;
# export ac_cv_func_realloc_0_nonnull=yes&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    make all &amp;amp;&amp;amp; make all install &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Sound on the Raspberry Pi is still a problem I have not been able to solve.&lt;br /&gt;
&lt;br /&gt;
Terry (WB4JFI) suggested the following that work for him but I have had no luck with it.&lt;br /&gt;
&lt;br /&gt;
&amp;quot;amixer cset numid=3 1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Other valid numid&#039;s are 0=auto, 1=headphones and 2=hdmi.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
QtRadio running on another box using the connection from the server list. Sound is a touch distorted, quite distorted on start up of QtRadio and spectrum is always a little bit slow.&lt;br /&gt;
&lt;br /&gt;
When a slave connected and tried changing frequency, dspserver crashed - dspserver can be a bit crash happy.&lt;br /&gt;
&lt;br /&gt;
The first thing I tried on the Pi was QtRadio standalone, spectrum and waterfall were OK but no sound.&lt;br /&gt;
&lt;br /&gt;
Just now a client using glSDR (5) is attempting to change frequency, sound went quite distorted then dspserver crashed.&lt;br /&gt;
&lt;br /&gt;
Restarted dspserver and QtRadio sound started very distorted before it settled down to reasonable.&lt;/div&gt;</summary>
		<author><name>Frohro</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=757</id>
		<title>QtRadio Installation</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=757"/>
		<updated>2013-08-26T17:29:57Z</updated>

		<summary type="html">&lt;p&gt;Frohro: /* VIRTUALBOX */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Installation on Linux ==&lt;br /&gt;
The instructions below are for Debian based distributions like Ubuntu but you should be able to compile on any Linux distribution with the correct libraries installed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Installation from Git ===&lt;br /&gt;
Installing from git involves building or compiling from source.  This is required if you want to use one of the various branches to work the &amp;quot;bleeding edge&amp;quot; branches like Alex&#039;s rxtx-event branch where the current (Nov 12 2011) TX work is being done.&lt;br /&gt;
The PPA install is never more than a few days behind master so there is not much to gain from building from git unless you want to work with the source code your self.&lt;br /&gt;
&lt;br /&gt;
==== Installing compiler and autotool ====&lt;br /&gt;
&lt;br /&gt;
First off, install the compiler; depending on which distribution are you using, some or all of this stuff could be already installed: &lt;br /&gt;
&lt;br /&gt;
===== Ubuntu/Debian =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install make gcc g++&lt;br /&gt;
sudo apt-get install autoconf automake autotools-dev libtool git subversion&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Fedora =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo yum install gcc gcc-c++ man-pages autoconf automake subversion libtool git&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Installing prerequisite packages ====&lt;br /&gt;
&lt;br /&gt;
===== Ubuntu 12.04 and newer =====&lt;br /&gt;
First of all, you have to check that the universe repository is enabled. Click on the gear shaped icon (bottom into left side bar): the System Settings menu will shown, click on Software Sources and finally check the Community-maintained Open Source Software (universe) tick. Next, submit the following commands into a terminal window:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install \&lt;br /&gt;
libqt4-opengl-dev \&lt;br /&gt;
qtmobility-dev \&lt;br /&gt;
libusb-0.1-4 \&lt;br /&gt;
libusb-dev \&lt;br /&gt;
libfftw3-dev \&lt;br /&gt;
portaudio19-dev \&lt;br /&gt;
libpulse-dev \&lt;br /&gt;
libsamplerate0-dev \&lt;br /&gt;
libusb-1.0-0-dev \&lt;br /&gt;
libconfig8-dev \&lt;br /&gt;
xdg-utils \&lt;br /&gt;
libortp-dev \&lt;br /&gt;
gcc-multilib \&lt;br /&gt;
libssl-dev \&lt;br /&gt;
libevent-dev \&lt;br /&gt;
libglu1-mesa-dev \&lt;br /&gt;
freeglut3-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You will need qt5 installed to complete the build.&lt;br /&gt;
&lt;br /&gt;
Visit: http://qt-project.org/downloads&lt;br /&gt;
&lt;br /&gt;
download the current package for your system.&lt;br /&gt;
&lt;br /&gt;
To build Qt5 on a RaspberryPi visit: http://qt-project.org/wiki/RaspberryPi&lt;br /&gt;
&lt;br /&gt;
After downloading it go to the download directory and do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ chmod +x the-name-of-the-downloaded-file&lt;br /&gt;
$ sudo ./the-name-of-the-downloaded-file&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Simply click on the installer and follow the prompts, take note of were qt5 is installed. Don&#039;t open the readme or start QtCreator when the installer asks.  It will make some files in your home directory owned by root, and that will give you trouble later.  After the install has completed, from a terminal:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ export PATH=/opt/Qt5.1.0/5.1.0/gcc_64/bin:/opt/Qt5.1.0/Tools/QtCreator/bin:$PATH&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
In the above make sure you put in the correct path for your version of Qt. This is due because the several packages from Qt sources and binary repositories web sites are not really installed in the system but simply copied on it. Therefore the autotools build system should search virtually over the whole filesystem.&lt;br /&gt;
In any case please remember that&lt;br /&gt;
the export above is effective only into the current terminal windows, if you open another window and/or reboot the system, you have to resubmit again the command&lt;br /&gt;
if you want to make permanent it, you have to add the export into the right configuration shell, suitable for the shell that you are currently using.&lt;br /&gt;
For the bash it is typically ~/.bashrc&lt;br /&gt;
In any case, after you issue the export, please test it.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
qmake -v&lt;br /&gt;
QMake version 2.01a&lt;br /&gt;
Using Qt version 4.8.0 in /home/andrew/QtSDK4.8x/Desktop/Qt/4.8.0/gcc/lib&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Ubuntu 11.04 and older ===== &lt;br /&gt;
First of all, you have to check that the &#039;&#039;universe repository&#039;&#039; is enabled.&lt;br /&gt;
Please see the procedure in the previous section [[#graphical installation]] .&lt;br /&gt;
&lt;br /&gt;
Next, you will need the following packages installed:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install \&lt;br /&gt;
libqt4-opengl-dev \&lt;br /&gt;
qtmobility-dev \&lt;br /&gt;
libusb-0.1-4 \&lt;br /&gt;
libusb-dev \&lt;br /&gt;
libfftw3-dev \&lt;br /&gt;
portaudio19-dev \&lt;br /&gt;
libpulse-dev \&lt;br /&gt;
libsamplerate0-dev \&lt;br /&gt;
libusb-1.0-0-dev \&lt;br /&gt;
libconfig8-dev \&lt;br /&gt;
libortp-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Ubuntu 11.10 ===== &lt;br /&gt;
First of all, you have to check that the &#039;&#039;universe repository&#039;&#039; is enabled.&lt;br /&gt;
Click on the gear shaped icon (bottom into left side bar): the &#039;&#039;System Settings&#039;&#039; menu will shown, click on &#039;&#039;Software Sources&#039;&#039; and finally check the &#039;&#039;Community-maintaned Open Source Software (universe)&#039;&#039; tick.&lt;br /&gt;
Next, submit the following commands into a terminal window:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install \&lt;br /&gt;
libqt4-opengl-dev \&lt;br /&gt;
qtmobility-dev \&lt;br /&gt;
libusb-0.1-4 \&lt;br /&gt;
libusb-dev \&lt;br /&gt;
libfftw3-dev \&lt;br /&gt;
portaudio19-dev \&lt;br /&gt;
libpulse-dev \&lt;br /&gt;
libsamplerate0-dev \&lt;br /&gt;
libusb-1.0-0-dev \&lt;br /&gt;
libconfig8-dev \&lt;br /&gt;
xdg-utils \&lt;br /&gt;
libortp-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Fedora 16 =====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo yum install fftw fftw-devel &lt;br /&gt;
sudo yum install libusb-devel libusb1-devel &lt;br /&gt;
sudo yum install portaudio-devel&lt;br /&gt;
sudo yum install libconfig-devel&lt;br /&gt;
sudo yum install libsamplerate-devel&lt;br /&gt;
sudo yum install pulseaudio-libs-devel&lt;br /&gt;
sudo yum install jack-audio-connection-kit  jack-audio-connection-kit-devel&lt;br /&gt;
sudo yum install qt4-devel&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Cloning the repository ====&lt;br /&gt;
&lt;br /&gt;
How to build the latest master branch on Ubuntu 11.04&lt;br /&gt;
&lt;br /&gt;
First a new libevent will need to be downloaded and installed, then the actual QtRadio source can be downloaded and built.&lt;br /&gt;
&lt;br /&gt;
==== Obtaining an up-level libevent library ====&lt;br /&gt;
&lt;br /&gt;
$ sudo apt-get install libevent-dev&lt;br /&gt;
&lt;br /&gt;
If the version is older than 2.0.5, go to synaptic and completely remove the stock libevent from Ubuntu. (Completely remove is an uninstall option in Synaptic. Additional dependent libraries may also be removed)&lt;br /&gt;
&lt;br /&gt;
Then download the new version from:&lt;br /&gt;
&lt;br /&gt;
http://libevent.org/&lt;br /&gt;
&lt;br /&gt;
libevent-2.0.16-stable.tar.gz&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
wget https://github.com/downloads/libevent/libevent/libevent-2.0.16-stable.tar.gz&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Move the tarball from the Downloads directory to a working directory. A suggestion is to create a src directory within your home directory and move it there. Uncompress and follow the instructions to build and install:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
tar -zxvf libevent-2.0.16-stable.tar.gz&lt;br /&gt;
cd libevent-2.0.16-stable&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On Fedora, in order to use the library above, export the LD_LIBRARY_PATH:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export LD_LIBRARY_PATH=/usr/local/lib&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Installing codec2 low bit rate audio encoding and decoding ====&lt;br /&gt;
&lt;br /&gt;
We are adding a low bit rate audio codec called codec 2 to QtRadio/dspserver.  You need&lt;br /&gt;
to download and build the codec2 library.  See:&lt;br /&gt;
&lt;br /&gt;
http://www.rowetel.com/blog/?page_id=452&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
Now go get codec2 using subversion&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
svn co https://freetel.svn.sourceforge.net/svnroot/freetel/codec2-dev codec2-dev&lt;br /&gt;
cd codec2-dev&lt;br /&gt;
autoreconf -i&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On Fedora, in order to use the library above, export the LD_LIBRARY_PATH:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export LD_LIBRARY_PATH=/usr/local/lib&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Building the master branch ====&lt;br /&gt;
&lt;br /&gt;
This branch is the latest code that contains both RX and TX capability. &lt;br /&gt;
&lt;br /&gt;
Create a new directory or cd to the ~/src directory created for libevent and cd into it.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://github.com/alexlee188/ghpsdr3-alex&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Depending on your Internet connection thorughput, it will take several minute to download.&lt;br /&gt;
cd into the new directory ghpsdr3-alex:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ghpsdr3-alex&lt;br /&gt;
git checkout master&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
You are now working with Alex&#039;s latest and greatest!&lt;br /&gt;
&lt;br /&gt;
First set the path to the version of qt you are using.  E.g. for qt5:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ export PATH=/opt/qt5/bin:$PATH&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
autoreconf -i&lt;br /&gt;
./configure&lt;br /&gt;
make -j4 all&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The default configure above builds with debug and default Qt4 version in your PC.  For optimized executable,&lt;br /&gt;
you need to specify options specific to your system.  See the sample shell scripts that replaces the above&lt;br /&gt;
./configure step:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./alex-avx-conf.sh		for building with i3,i5 and i7 cpu&#039;s supporting Advanced Vector Extensions (AVX)&lt;br /&gt;
./alex-openmp-conf.sh		for building with i3,i5 and i7 cpu&#039;s and OpenMP support&lt;br /&gt;
./alex-sse3-conf.sh		for building with SSE3 capable cpu&#039;s&lt;br /&gt;
./alex-openmp-sse3-conf.sh	for building with SSE3 cpaable cpu&#039;s and OpenMP support&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(If you do not want to actually install the executable binaries, skip the sudo make install and just cd into the following directories and run them from there)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Terminal 1&lt;br /&gt;
$ cd ghpsdr3-alex/trunk/src/softrock&lt;br /&gt;
$ ./softrock ...options ...&lt;br /&gt;
&lt;br /&gt;
Terminal 2&lt;br /&gt;
$ cd ghpsdr3-alex/trunk/src/dspserver&lt;br /&gt;
$ ./dspserver  ..options...&lt;br /&gt;
&lt;br /&gt;
Terminal 3&lt;br /&gt;
$ cd ghpsdr3-alex/trunk/src/QtRadio&lt;br /&gt;
$ ./QtRadio&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Building the Perseus extensions ====&lt;br /&gt;
&lt;br /&gt;
In order to build the Microtelecom Perseus server you need to switch to the master or iw0hdv branch. &lt;br /&gt;
&lt;br /&gt;
First off, install the prerequisite library and wget package:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install libboost-all-dev wget&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Next download, compile and install the library libperseus-sdr:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
wget http://libperseus-sdr.googlecode.com/files/libperseus_sdr-0.6.tar.gz&lt;br /&gt;
tar -zxvf libperseus_sdr-0.6.tar.gz&lt;br /&gt;
cd libperseus_sdr-0.6/&lt;br /&gt;
./configure &amp;amp;&amp;amp; make&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you already build in your sandbox some other branch, is strongly advisable, before you start the build, to do a full cleanup:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
make distcheck &amp;amp;&amp;amp; sh cleanup.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Otherwise, if you are starting from scratch, you have to clone the repository:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://github.com/alexlee188/ghpsdr3-alex&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, you can switch to the master branch and rebuild everything; you don&#039;t need anymore to explicitly enable the perseus server feature, the configure script automatically selects it when the libperseus_sdr is found.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
git checkout master&lt;br /&gt;
autoreconf -i &amp;amp;&amp;amp; ./configure &amp;amp;&amp;amp; make -j4&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In order to run it you have two choices, the first one being the plain command line:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
xterm -e &#039;perseus_server -d3 -s96000 &#039; &amp;amp;&lt;br /&gt;
sleep 3&lt;br /&gt;
xterm -e &#039;dspserver --lo 0 --nocorrectiq&#039; &amp;amp;&lt;br /&gt;
sleep 5&lt;br /&gt;
$( QtRadio 127.0.0.1 ) &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In QtRadio, Receiver menu, select Configure item, Server tab: here add the local host using the 127.0.0.1 IP address.&lt;br /&gt;
Pressing the key C, you start the receiver.&lt;br /&gt;
&lt;br /&gt;
The second choiche is to use the ghpsdr3-mgr.py script (available in menu Applications, Hamradio as ghpsdr3launcher): clicking on the Perseus icon the three processes should start and the QtServer automatically connects to Perseus Server.&lt;br /&gt;
&lt;br /&gt;
==== Building USRP enabled version ====&lt;br /&gt;
&lt;br /&gt;
===== Building the UHD package =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====== Install the prerequisite packages (Ubuntu 11.10): ======&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install liboost-all-dev&lt;br /&gt;
sudo apt-get install python-cheetah&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====== Build &amp;amp; Install UHD -- FOR UHD-3.3.1 AND GREATER --: ======&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
git clone git://ettus.sourcerepo.com/ettus/uhd.git&lt;br /&gt;
cd uhd/host/&lt;br /&gt;
mkdir build&lt;br /&gt;
cd build&lt;br /&gt;
cmake ../&lt;br /&gt;
make&lt;br /&gt;
make test&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you already build in your sandbox some other branch, is strongly advisable, before you start the build, to do a full cleanup:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
make distcheck &amp;amp;&amp;amp; sh cleanup.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Otherwise, if you are starting from scratch, first clone the repository:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://github.com/alexlee188/ghpsdr3-alex&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, you can switch to the master branch and rebuild everything, enabling the usrp server feature:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
git checkout usrp-server&lt;br /&gt;
autoreconf -i &amp;amp;&amp;amp; ./configure --enable-usrp=yes &amp;amp;&amp;amp; make -j4&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Refresh to a Newer Version ====&lt;br /&gt;
&lt;br /&gt;
To pull a new version to build &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ git pull&lt;br /&gt;
$ make -j4 all&lt;br /&gt;
$ sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If extensive changes have occurred or if you get errors during the make, you may want to do a clean build  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ git pull&lt;br /&gt;
$ make distclean&lt;br /&gt;
$ sh cleanup.sh&lt;br /&gt;
$ autoreconf -i&lt;br /&gt;
$ ./configure&lt;br /&gt;
$ make -j4 all&lt;br /&gt;
$ sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you continue to get errors, please report the whole ./configure output and the config.log to the mailing list.&lt;br /&gt;
&lt;br /&gt;
== Installation on Windows ==&lt;br /&gt;
See [[ QtRadio on Windows]]&lt;br /&gt;
&lt;br /&gt;
== Network settings ==&lt;br /&gt;
If you are behind a firewall/NAT-router and want to be able to connect to your dspserver over the Internet you have to open up port tcp/8000. If you are using the client in RTP mode you have to open up udp/5004 and udp/5005.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Installing ghpsdr3-alex on Raspberry Pi == &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
========== HARDWARE ==========&lt;br /&gt;
&lt;br /&gt;
*** THIS SECTION DEALS WITH Raspberry Pi DIFFERENCES *** IT DOES NOT CIRCUMVENT THE INSTRUCTIONS STARTING AT STEP 1 OF THE QtRadio Installation. ***&lt;br /&gt;
&lt;br /&gt;
I recommend installing either the raspbian or raspbian pisces (debian) distributions as there is no Ubuntu release to date.&lt;br /&gt;
&lt;br /&gt;
*** All the pre-requisite packages needed for Ubuntu must be installed on raspbian or respbian pisces using the same &amp;quot;apt-get install&amp;quot; commands so it&#039;s necessary to follow the QtRadio-Installation &lt;br /&gt;
document from the beginning after installing raspbian or raspbian pisces.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
        The RasPi USB subsystem is sensitive to power supply voltage levels - A supply of 5.5V at 2A is recommended. &lt;br /&gt;
With the power supply output at +5.17V I was getting on-board Ethernet errors and system hangs when one more device besides keyboard and mouse were plugged in to the on-board USB ports or an outboard powered USB HUB. &lt;br /&gt;
&lt;br /&gt;
Measuring the voltage across TP1 and TP2 on the Raspberry Pi and  increased it to +4.97V (P.S output +5.59V).&lt;br /&gt;
&lt;br /&gt;
I also ran &amp;quot;rpi-update&amp;quot; which install new firmware. &lt;br /&gt;
&lt;br /&gt;
I shorted out the polyfuses F1 and F2 on the Pi and USB is much more stable but still limited.&lt;br /&gt;
&lt;br /&gt;
With keyboard, mouse, gigabit USB Ethernet, SB Live! 24 USB and RTL-SDR dongle it runs for some hours before it freezes.&lt;br /&gt;
&lt;br /&gt;
Removing the RTL-SDR dongle from the powered hub made a great difference with a current uptime heading for 3 days. The latest ghpsdr3-alex master branch build successfully completed while I was in bed.&lt;br /&gt;
&lt;br /&gt;
root@pisces:/usr/src/GHPSDR3_HIGH_SPEED_MASTER/ghpsdr3-alex# date&lt;br /&gt;
&lt;br /&gt;
Sun Sep  9 13:00:49 BST 2012&lt;br /&gt;
&lt;br /&gt;
root@pisces:/usr/src/GHPSDR3_HIGH_SPEED_MASTER/ghpsdr3-alex# uptime&lt;br /&gt;
&lt;br /&gt;
 13:00:56 up 2 days, 20:46,  8 users,  load average: 0.81, 1.01, 0.67&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 ******       Do not use power from a USB PC port or from a USB Hub. ********&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once it&#039;s up and running, some details that may help in setting up the hardware for use - I&#039;m currently overclocking at 855MHz  (Previously was set to 1GHz):-&lt;br /&gt;
&lt;br /&gt;
Keyboard, mouse, usb sound card, RTL-SDR TV dongle and USB Gigabit Ethernet fully operational using the 7-port powered USB hub.&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# lsusb&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp. &lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.&lt;br /&gt;
 &lt;br /&gt;
Bus 001 Device 004: ID 04cc:1521 ST-Ericsson USB 2.0 Hub&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 011: ID 04f3:0103 Elan Microelectronics Corp. &lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 006: ID 047d:1022 Kensington Orbit Optical&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 007: ID 1d19:1101 Dexatek Technology Ltd. DK DVB-T Dongle&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 008: ID 041e:3040 Creative Technology, Ltd SoundBlaster Live! 24-bit External SB0490&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 009: ID 0b95:1780 ASIX Electronics Corp. AX88178&lt;br /&gt;
root@pisces:~# ifconfig &lt;br /&gt;
&lt;br /&gt;
eth0 Link encap:Ethernet HWaddr b8:27:eb:2c:07:c9&lt;br /&gt;
&lt;br /&gt;
         inet addr:192.168.10.31  Bcast:192.168.10.255 Mask:255.255.255.0&lt;br /&gt;
         inet6 addr: fe80::ba27:ebff:fe2c:7c9/64 Scope:Link&lt;br /&gt;
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1&lt;br /&gt;
         RX packets:410 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
         TX packets:377 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
         collisions:0 txqueuelen:1000&lt;br /&gt;
         RX bytes:28905 (28.2 KiB)  TX bytes:35938 (35.0 KiB)&lt;br /&gt;
&lt;br /&gt;
eth1 Link encap:Ethernet HWaddr 00:10:14:00:9f:fa&lt;br /&gt;
&lt;br /&gt;
         inet addr:192.168.2.199  Bcast:192.168.2.255 Mask:255.255.255.0&lt;br /&gt;
         inet6 addr: fe80::210:14ff:fe00:9ffa/64 Scope:Link&lt;br /&gt;
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1&lt;br /&gt;
         RX packets:5 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
         TX packets:7 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
         collisions:0 txqueuelen:1000&lt;br /&gt;
         RX bytes:230 (230.0 B)  TX bytes:592 (592.0 B)&lt;br /&gt;
&lt;br /&gt;
lo Link encap:Local Loopback&lt;br /&gt;
&lt;br /&gt;
         inet addr:127.0.0.1  Mask:255.0.0.0&lt;br /&gt;
         inet6 addr: ::1/128 Scope:Host&lt;br /&gt;
         UP LOOPBACK RUNNING  MTU:16436  Metric:1&lt;br /&gt;
         RX packets:0 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
         TX packets:0 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
         collisions:0 txqueuelen:0&lt;br /&gt;
         RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# cat /proc/asound/cards&lt;br /&gt;
 0 [ALSA           ]: BRCM bcm2835 ALSbcm2835 ALSA - bcm2835 ALSA&lt;br /&gt;
                      bcm2835 ALSA&lt;br /&gt;
&lt;br /&gt;
 1 [External       ]: USB-Audio - SB Live! 24-bit External&lt;br /&gt;
                      Creative Technology SB Live! 24-bit External at usb-bcm2708_usb-1.2.2, full spe&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It&#039;s running at 855MHz with this config.txt file. &lt;br /&gt;
root@pisces:~# cat /boot/config.txt&lt;br /&gt;
&lt;br /&gt;
over_voltage=6&lt;br /&gt;
&lt;br /&gt;
arm_freq=855&lt;br /&gt;
&lt;br /&gt;
core_freq=500&lt;br /&gt;
&lt;br /&gt;
sdram_freq=500&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# cat /etc/network/interfaces&lt;br /&gt;
&lt;br /&gt;
    Used by ifup(8) and ifdown(8). See the interfaces(5) manpage or&lt;br /&gt;
    /usr/share/doc/ifupdown/examples for more information. &lt;br /&gt;
&lt;br /&gt;
auto lo&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
iface lo inet loopback&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    File: ifcfg-eth0&lt;br /&gt;
&lt;br /&gt;
auto eth0&lt;br /&gt;
&lt;br /&gt;
iface eth0 inet static&lt;br /&gt;
&lt;br /&gt;
address 192.168.10.31&lt;br /&gt;
&lt;br /&gt;
netmask 255.255.255.0&lt;br /&gt;
&lt;br /&gt;
gateway 192.168.10.103&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
auto eth1&lt;br /&gt;
&lt;br /&gt;
iface eth1 inet static&lt;br /&gt;
&lt;br /&gt;
address 192.168.2.199&lt;br /&gt;
&lt;br /&gt;
netmask 255.255.255.0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# cat /etc/modules&lt;br /&gt;
&lt;br /&gt;
    /etc/modules: kernel modules to load at boot time.&lt;br /&gt;
    This file contains the names of kernel modules that should be loaded&lt;br /&gt;
    at boot time, one per line. Lines beginning with &amp;quot;#&amp;quot; are ignored.&lt;br /&gt;
    Parameters can be specified after the module name. &lt;br /&gt;
&lt;br /&gt;
loop&lt;br /&gt;
&lt;br /&gt;
snd-bcm2835&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
One problem remains, no sound from the on-board chip.&lt;br /&gt;
&lt;br /&gt;
==VIRTUALBOX==&lt;br /&gt;
&lt;br /&gt;
It is possible to run the server software (and QtRadio) under VirtualBox.  It has been tested with HPSDR Hermes hardware. [http://people.wallawalla.edu/~Rob.Frohne/ghpsdr3-alex/Ubuntu%2012.10%20ghpsdr3-alex-hermes.zip A VirtualBox Ubuntu 12.10 image] is available that automatically starts the server software for those who are running Windows, or don&#039;t feel they have the hardware, expertise or time to setup a Linux machine to act as a server.  The [[Dspserver.conf]] file needs to be edited, and you will need to run the dspserver once within a terminal to get the instructions on setting up an SSL key pair.  To do that download the [http://people.wallawalla.edu/~Rob.Frohne/ghpsdr3-alex/Ubuntu%2012.10%20ghpsdr3-alex-hermes.zip VirtualBox image], start VirtualBox, select new for the new machine, and when it asks you about the hard drive, say use existing hard drive, and select the image you just downloaded as the hard drive. After it boots up, you need to start a terminal and dspserver.&lt;br /&gt;
 $ dspserver&lt;br /&gt;
 Reading conf file /home/frohro/dspserver.conf&lt;br /&gt;
 Country Lookup is On&lt;br /&gt;
 gHPSDR rx 0 (Version 0.7)&lt;br /&gt;
 dspserver string: 20130609;-master&lt;br /&gt;
 getSoundcardId: HPSDR id=8&lt;br /&gt;
 setSoundcard: 8&lt;br /&gt;
 setSoundcard -41.000000 -48.000000&lt;br /&gt;
 etup sdr thread 0: done&lt;br /&gt;
 setup sdr thread 1: done&lt;br /&gt;
 setup sdr thread 2: done&lt;br /&gt;
 client_thread&lt;br /&gt;
 [2013-08-26 10:15:12] client_thread: listening on port 8000&lt;br /&gt;
 Couldn&#039;t read &#039;pkey&#039; or &#039;cert&#039; file.  To generate a key&lt;br /&gt;
 and self-signed certificate, run:&lt;br /&gt;
  openssl genrsa -out pkey 2048&lt;br /&gt;
  openssl req -new -key pkey -out cert.req&lt;br /&gt;
  openssl x509 -req -days 365 -in cert.req -signkey pkey -out cert&lt;br /&gt;
 client ctx init failed: No such file or directory&lt;br /&gt;
  &lt;br /&gt;
&lt;br /&gt;
Note the message about the SSL keys (&amp;quot;Couldn&#039;t read &#039;pkey&#039; or &#039;cert&#039; file.&amp;quot;) not being set up.  This is a process you do once.  The three commands to set up the SSL keys are just what the dspserver response above told you to do.  &lt;br /&gt;
  openssl genrsa -out pkey 2048&lt;br /&gt;
&lt;br /&gt;
  openssl req -new -key pkey -out cert.req&lt;br /&gt;
&lt;br /&gt;
  openssl x509 -req -days 365 -in cert.req -signkey pkey -out cert&lt;br /&gt;
After generating the keys, you should be able to log out and log back in and your server should be running, if all is well.  You should then be able to connect with QtRadio or glSDR.  Be sure to set the server IP address in the client (QtRadio, or glSDR).  &lt;br /&gt;
&lt;br /&gt;
If you want to change or add the automatically started programs, see [http://askubuntu.com/questions/48321/how-do-i-start-applications-automatically-on-login this web page].  If you want to change things the helpful notes about running the [[Hermes]] server on the [[Hermes]] page might be good to review.  They explain the commands started automatically upon login.&lt;br /&gt;
&lt;br /&gt;
I must make one note about running the software from a pre-prepared VirtualBox Image.  It is a way an attacker could gain access to your computer and network.  I used a pre-prepared Ubuntu 12.10 image from [http://virtualboxes.org/images/ubuntu/ VirtualBoxImages].  I believe it to be virgin, but you have to realize that it is possible that some rogue software is running on this image.  If you use the image I provide, you must be solely responsible for whatever happens. I (Rob Frohne, KL7NA) did not put anything on the image, but the ghpsdr3-alex and the tools and packages needed to build it.  As always, there is a trade off between ease of use, and security.&lt;br /&gt;
&lt;br /&gt;
== SOFTWARE == &lt;br /&gt;
***** START AT THE BEGINNING WHEN BUILDING THE SOFTWARE -- i.e Section 1 and install all the packages recommended and do the pulseaudio setup.&lt;br /&gt;
&lt;br /&gt;
If you build ghpsdr3-alex already it&#039;s a case of following the same procedure with the following caveats that apply to the RasPi ARM architecture. What follows is a blow by blow account of how I did it for the iw0hdv branch which supports my HiQSDR+Preselector. The same steps are needed for building any other branch.&lt;br /&gt;
&lt;br /&gt;
Subject: [n2adr-sdr] Raspberry Pi running ghpsdr3-alex&lt;br /&gt;
&lt;br /&gt;
The changes made by Andrea have been merged into the master branch. These changes allow samplerates &amp;gt;192K but the Pi doesn&#039;t have the power to run these high samplerates - I am running hiqsdr-server at 960K samplerate on a 8-core x84_64 box.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   autoreconf -i &lt;br /&gt;
&lt;br /&gt;
    ./configure CFLAGS=&#039;-O3 -pipe -march=armv6 -mfpu=vfp -mfloat-abi=hard&#039; CXXFLAGS=&#039;-O3 -pipe -march=armv6 -mfpu=vfp -mfloat-abi=hard&#039; &lt;br /&gt;
&lt;br /&gt;
**** Additional steps needed when building rtlsdr-server. Do these before running make ******&lt;br /&gt;
# export ac_cv_func_malloc_0_nonnull=yes&lt;br /&gt;
# export ac_cv_func_realloc_0_nonnull=yes&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    make all &amp;amp;&amp;amp; make all install &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Sound on the Raspberry Pi is still a problem I have not been able to solve.&lt;br /&gt;
&lt;br /&gt;
Terry (WB4JFI) suggested the following that work for him but I have had no luck with it.&lt;br /&gt;
&lt;br /&gt;
&amp;quot;amixer cset numid=3 1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Other valid numid&#039;s are 0=auto, 1=headphones and 2=hdmi.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
QtRadio running on another box using the connection from the server list. Sound is a touch distorted, quite distorted on start up of QtRadio and spectrum is always a little bit slow.&lt;br /&gt;
&lt;br /&gt;
When a slave connected and tried changing frequency, dspserver crashed - dspserver can be a bit crash happy.&lt;br /&gt;
&lt;br /&gt;
The first thing I tried on the Pi was QtRadio standalone, spectrum and waterfall were OK but no sound.&lt;br /&gt;
&lt;br /&gt;
Just now a client using glSDR (5) is attempting to change frequency, sound went quite distorted then dspserver crashed.&lt;br /&gt;
&lt;br /&gt;
Restarted dspserver and QtRadio sound started very distorted before it settled down to reasonable.&lt;/div&gt;</summary>
		<author><name>Frohro</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=756</id>
		<title>QtRadio Installation</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=756"/>
		<updated>2013-08-26T17:25:13Z</updated>

		<summary type="html">&lt;p&gt;Frohro: /* VIRTUALBOX */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Installation on Linux ==&lt;br /&gt;
The instructions below are for Debian based distributions like Ubuntu but you should be able to compile on any Linux distribution with the correct libraries installed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Installation from Git ===&lt;br /&gt;
Installing from git involves building or compiling from source.  This is required if you want to use one of the various branches to work the &amp;quot;bleeding edge&amp;quot; branches like Alex&#039;s rxtx-event branch where the current (Nov 12 2011) TX work is being done.&lt;br /&gt;
The PPA install is never more than a few days behind master so there is not much to gain from building from git unless you want to work with the source code your self.&lt;br /&gt;
&lt;br /&gt;
==== Installing compiler and autotool ====&lt;br /&gt;
&lt;br /&gt;
First off, install the compiler; depending on which distribution are you using, some or all of this stuff could be already installed: &lt;br /&gt;
&lt;br /&gt;
===== Ubuntu/Debian =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install make gcc g++&lt;br /&gt;
sudo apt-get install autoconf automake autotools-dev libtool git subversion&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Fedora =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo yum install gcc gcc-c++ man-pages autoconf automake subversion libtool git&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Installing prerequisite packages ====&lt;br /&gt;
&lt;br /&gt;
===== Ubuntu 12.04 and newer =====&lt;br /&gt;
First of all, you have to check that the universe repository is enabled. Click on the gear shaped icon (bottom into left side bar): the System Settings menu will shown, click on Software Sources and finally check the Community-maintained Open Source Software (universe) tick. Next, submit the following commands into a terminal window:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install \&lt;br /&gt;
libqt4-opengl-dev \&lt;br /&gt;
qtmobility-dev \&lt;br /&gt;
libusb-0.1-4 \&lt;br /&gt;
libusb-dev \&lt;br /&gt;
libfftw3-dev \&lt;br /&gt;
portaudio19-dev \&lt;br /&gt;
libpulse-dev \&lt;br /&gt;
libsamplerate0-dev \&lt;br /&gt;
libusb-1.0-0-dev \&lt;br /&gt;
libconfig8-dev \&lt;br /&gt;
xdg-utils \&lt;br /&gt;
libortp-dev \&lt;br /&gt;
gcc-multilib \&lt;br /&gt;
libssl-dev \&lt;br /&gt;
libevent-dev \&lt;br /&gt;
libglu1-mesa-dev \&lt;br /&gt;
freeglut3-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You will need qt5 installed to complete the build.&lt;br /&gt;
&lt;br /&gt;
Visit: http://qt-project.org/downloads&lt;br /&gt;
&lt;br /&gt;
download the current package for your system.&lt;br /&gt;
&lt;br /&gt;
To build Qt5 on a RaspberryPi visit: http://qt-project.org/wiki/RaspberryPi&lt;br /&gt;
&lt;br /&gt;
After downloading it go to the download directory and do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ chmod +x the-name-of-the-downloaded-file&lt;br /&gt;
$ sudo ./the-name-of-the-downloaded-file&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Simply click on the installer and follow the prompts, take note of were qt5 is installed. Don&#039;t open the readme or start QtCreator when the installer asks.  It will make some files in your home directory owned by root, and that will give you trouble later.  After the install has completed, from a terminal:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ export PATH=/opt/Qt5.1.0/5.1.0/gcc_64/bin:/opt/Qt5.1.0/Tools/QtCreator/bin:$PATH&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
In the above make sure you put in the correct path for your version of Qt. This is due because the several packages from Qt sources and binary repositories web sites are not really installed in the system but simply copied on it. Therefore the autotools build system should search virtually over the whole filesystem.&lt;br /&gt;
In any case please remember that&lt;br /&gt;
the export above is effective only into the current terminal windows, if you open another window and/or reboot the system, you have to resubmit again the command&lt;br /&gt;
if you want to make permanent it, you have to add the export into the right configuration shell, suitable for the shell that you are currently using.&lt;br /&gt;
For the bash it is typically ~/.bashrc&lt;br /&gt;
In any case, after you issue the export, please test it.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
qmake -v&lt;br /&gt;
QMake version 2.01a&lt;br /&gt;
Using Qt version 4.8.0 in /home/andrew/QtSDK4.8x/Desktop/Qt/4.8.0/gcc/lib&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Ubuntu 11.04 and older ===== &lt;br /&gt;
First of all, you have to check that the &#039;&#039;universe repository&#039;&#039; is enabled.&lt;br /&gt;
Please see the procedure in the previous section [[#graphical installation]] .&lt;br /&gt;
&lt;br /&gt;
Next, you will need the following packages installed:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install \&lt;br /&gt;
libqt4-opengl-dev \&lt;br /&gt;
qtmobility-dev \&lt;br /&gt;
libusb-0.1-4 \&lt;br /&gt;
libusb-dev \&lt;br /&gt;
libfftw3-dev \&lt;br /&gt;
portaudio19-dev \&lt;br /&gt;
libpulse-dev \&lt;br /&gt;
libsamplerate0-dev \&lt;br /&gt;
libusb-1.0-0-dev \&lt;br /&gt;
libconfig8-dev \&lt;br /&gt;
libortp-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Ubuntu 11.10 ===== &lt;br /&gt;
First of all, you have to check that the &#039;&#039;universe repository&#039;&#039; is enabled.&lt;br /&gt;
Click on the gear shaped icon (bottom into left side bar): the &#039;&#039;System Settings&#039;&#039; menu will shown, click on &#039;&#039;Software Sources&#039;&#039; and finally check the &#039;&#039;Community-maintaned Open Source Software (universe)&#039;&#039; tick.&lt;br /&gt;
Next, submit the following commands into a terminal window:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install \&lt;br /&gt;
libqt4-opengl-dev \&lt;br /&gt;
qtmobility-dev \&lt;br /&gt;
libusb-0.1-4 \&lt;br /&gt;
libusb-dev \&lt;br /&gt;
libfftw3-dev \&lt;br /&gt;
portaudio19-dev \&lt;br /&gt;
libpulse-dev \&lt;br /&gt;
libsamplerate0-dev \&lt;br /&gt;
libusb-1.0-0-dev \&lt;br /&gt;
libconfig8-dev \&lt;br /&gt;
xdg-utils \&lt;br /&gt;
libortp-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Fedora 16 =====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo yum install fftw fftw-devel &lt;br /&gt;
sudo yum install libusb-devel libusb1-devel &lt;br /&gt;
sudo yum install portaudio-devel&lt;br /&gt;
sudo yum install libconfig-devel&lt;br /&gt;
sudo yum install libsamplerate-devel&lt;br /&gt;
sudo yum install pulseaudio-libs-devel&lt;br /&gt;
sudo yum install jack-audio-connection-kit  jack-audio-connection-kit-devel&lt;br /&gt;
sudo yum install qt4-devel&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Cloning the repository ====&lt;br /&gt;
&lt;br /&gt;
How to build the latest master branch on Ubuntu 11.04&lt;br /&gt;
&lt;br /&gt;
First a new libevent will need to be downloaded and installed, then the actual QtRadio source can be downloaded and built.&lt;br /&gt;
&lt;br /&gt;
==== Obtaining an up-level libevent library ====&lt;br /&gt;
&lt;br /&gt;
$ sudo apt-get install libevent-dev&lt;br /&gt;
&lt;br /&gt;
If the version is older than 2.0.5, go to synaptic and completely remove the stock libevent from Ubuntu. (Completely remove is an uninstall option in Synaptic. Additional dependent libraries may also be removed)&lt;br /&gt;
&lt;br /&gt;
Then download the new version from:&lt;br /&gt;
&lt;br /&gt;
http://libevent.org/&lt;br /&gt;
&lt;br /&gt;
libevent-2.0.16-stable.tar.gz&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
wget https://github.com/downloads/libevent/libevent/libevent-2.0.16-stable.tar.gz&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Move the tarball from the Downloads directory to a working directory. A suggestion is to create a src directory within your home directory and move it there. Uncompress and follow the instructions to build and install:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
tar -zxvf libevent-2.0.16-stable.tar.gz&lt;br /&gt;
cd libevent-2.0.16-stable&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On Fedora, in order to use the library above, export the LD_LIBRARY_PATH:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export LD_LIBRARY_PATH=/usr/local/lib&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Installing codec2 low bit rate audio encoding and decoding ====&lt;br /&gt;
&lt;br /&gt;
We are adding a low bit rate audio codec called codec 2 to QtRadio/dspserver.  You need&lt;br /&gt;
to download and build the codec2 library.  See:&lt;br /&gt;
&lt;br /&gt;
http://www.rowetel.com/blog/?page_id=452&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
Now go get codec2 using subversion&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
svn co https://freetel.svn.sourceforge.net/svnroot/freetel/codec2-dev codec2-dev&lt;br /&gt;
cd codec2-dev&lt;br /&gt;
autoreconf -i&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On Fedora, in order to use the library above, export the LD_LIBRARY_PATH:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export LD_LIBRARY_PATH=/usr/local/lib&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Building the master branch ====&lt;br /&gt;
&lt;br /&gt;
This branch is the latest code that contains both RX and TX capability. &lt;br /&gt;
&lt;br /&gt;
Create a new directory or cd to the ~/src directory created for libevent and cd into it.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://github.com/alexlee188/ghpsdr3-alex&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Depending on your Internet connection thorughput, it will take several minute to download.&lt;br /&gt;
cd into the new directory ghpsdr3-alex:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ghpsdr3-alex&lt;br /&gt;
git checkout master&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
You are now working with Alex&#039;s latest and greatest!&lt;br /&gt;
&lt;br /&gt;
First set the path to the version of qt you are using.  E.g. for qt5:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ export PATH=/opt/qt5/bin:$PATH&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
autoreconf -i&lt;br /&gt;
./configure&lt;br /&gt;
make -j4 all&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The default configure above builds with debug and default Qt4 version in your PC.  For optimized executable,&lt;br /&gt;
you need to specify options specific to your system.  See the sample shell scripts that replaces the above&lt;br /&gt;
./configure step:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./alex-avx-conf.sh		for building with i3,i5 and i7 cpu&#039;s supporting Advanced Vector Extensions (AVX)&lt;br /&gt;
./alex-openmp-conf.sh		for building with i3,i5 and i7 cpu&#039;s and OpenMP support&lt;br /&gt;
./alex-sse3-conf.sh		for building with SSE3 capable cpu&#039;s&lt;br /&gt;
./alex-openmp-sse3-conf.sh	for building with SSE3 cpaable cpu&#039;s and OpenMP support&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(If you do not want to actually install the executable binaries, skip the sudo make install and just cd into the following directories and run them from there)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Terminal 1&lt;br /&gt;
$ cd ghpsdr3-alex/trunk/src/softrock&lt;br /&gt;
$ ./softrock ...options ...&lt;br /&gt;
&lt;br /&gt;
Terminal 2&lt;br /&gt;
$ cd ghpsdr3-alex/trunk/src/dspserver&lt;br /&gt;
$ ./dspserver  ..options...&lt;br /&gt;
&lt;br /&gt;
Terminal 3&lt;br /&gt;
$ cd ghpsdr3-alex/trunk/src/QtRadio&lt;br /&gt;
$ ./QtRadio&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Building the Perseus extensions ====&lt;br /&gt;
&lt;br /&gt;
In order to build the Microtelecom Perseus server you need to switch to the master or iw0hdv branch. &lt;br /&gt;
&lt;br /&gt;
First off, install the prerequisite library and wget package:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install libboost-all-dev wget&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Next download, compile and install the library libperseus-sdr:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
wget http://libperseus-sdr.googlecode.com/files/libperseus_sdr-0.6.tar.gz&lt;br /&gt;
tar -zxvf libperseus_sdr-0.6.tar.gz&lt;br /&gt;
cd libperseus_sdr-0.6/&lt;br /&gt;
./configure &amp;amp;&amp;amp; make&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you already build in your sandbox some other branch, is strongly advisable, before you start the build, to do a full cleanup:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
make distcheck &amp;amp;&amp;amp; sh cleanup.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Otherwise, if you are starting from scratch, you have to clone the repository:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://github.com/alexlee188/ghpsdr3-alex&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, you can switch to the master branch and rebuild everything; you don&#039;t need anymore to explicitly enable the perseus server feature, the configure script automatically selects it when the libperseus_sdr is found.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
git checkout master&lt;br /&gt;
autoreconf -i &amp;amp;&amp;amp; ./configure &amp;amp;&amp;amp; make -j4&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In order to run it you have two choices, the first one being the plain command line:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
xterm -e &#039;perseus_server -d3 -s96000 &#039; &amp;amp;&lt;br /&gt;
sleep 3&lt;br /&gt;
xterm -e &#039;dspserver --lo 0 --nocorrectiq&#039; &amp;amp;&lt;br /&gt;
sleep 5&lt;br /&gt;
$( QtRadio 127.0.0.1 ) &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In QtRadio, Receiver menu, select Configure item, Server tab: here add the local host using the 127.0.0.1 IP address.&lt;br /&gt;
Pressing the key C, you start the receiver.&lt;br /&gt;
&lt;br /&gt;
The second choiche is to use the ghpsdr3-mgr.py script (available in menu Applications, Hamradio as ghpsdr3launcher): clicking on the Perseus icon the three processes should start and the QtServer automatically connects to Perseus Server.&lt;br /&gt;
&lt;br /&gt;
==== Building USRP enabled version ====&lt;br /&gt;
&lt;br /&gt;
===== Building the UHD package =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====== Install the prerequisite packages (Ubuntu 11.10): ======&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install liboost-all-dev&lt;br /&gt;
sudo apt-get install python-cheetah&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====== Build &amp;amp; Install UHD -- FOR UHD-3.3.1 AND GREATER --: ======&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
git clone git://ettus.sourcerepo.com/ettus/uhd.git&lt;br /&gt;
cd uhd/host/&lt;br /&gt;
mkdir build&lt;br /&gt;
cd build&lt;br /&gt;
cmake ../&lt;br /&gt;
make&lt;br /&gt;
make test&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you already build in your sandbox some other branch, is strongly advisable, before you start the build, to do a full cleanup:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
make distcheck &amp;amp;&amp;amp; sh cleanup.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Otherwise, if you are starting from scratch, first clone the repository:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://github.com/alexlee188/ghpsdr3-alex&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, you can switch to the master branch and rebuild everything, enabling the usrp server feature:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
git checkout usrp-server&lt;br /&gt;
autoreconf -i &amp;amp;&amp;amp; ./configure --enable-usrp=yes &amp;amp;&amp;amp; make -j4&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Refresh to a Newer Version ====&lt;br /&gt;
&lt;br /&gt;
To pull a new version to build &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ git pull&lt;br /&gt;
$ make -j4 all&lt;br /&gt;
$ sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If extensive changes have occurred or if you get errors during the make, you may want to do a clean build  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ git pull&lt;br /&gt;
$ make distclean&lt;br /&gt;
$ sh cleanup.sh&lt;br /&gt;
$ autoreconf -i&lt;br /&gt;
$ ./configure&lt;br /&gt;
$ make -j4 all&lt;br /&gt;
$ sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you continue to get errors, please report the whole ./configure output and the config.log to the mailing list.&lt;br /&gt;
&lt;br /&gt;
== Installation on Windows ==&lt;br /&gt;
See [[ QtRadio on Windows]]&lt;br /&gt;
&lt;br /&gt;
== Network settings ==&lt;br /&gt;
If you are behind a firewall/NAT-router and want to be able to connect to your dspserver over the Internet you have to open up port tcp/8000. If you are using the client in RTP mode you have to open up udp/5004 and udp/5005.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Installing ghpsdr3-alex on Raspberry Pi == &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
========== HARDWARE ==========&lt;br /&gt;
&lt;br /&gt;
*** THIS SECTION DEALS WITH Raspberry Pi DIFFERENCES *** IT DOES NOT CIRCUMVENT THE INSTRUCTIONS STARTING AT STEP 1 OF THE QtRadio Installation. ***&lt;br /&gt;
&lt;br /&gt;
I recommend installing either the raspbian or raspbian pisces (debian) distributions as there is no Ubuntu release to date.&lt;br /&gt;
&lt;br /&gt;
*** All the pre-requisite packages needed for Ubuntu must be installed on raspbian or respbian pisces using the same &amp;quot;apt-get install&amp;quot; commands so it&#039;s necessary to follow the QtRadio-Installation &lt;br /&gt;
document from the beginning after installing raspbian or raspbian pisces.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
        The RasPi USB subsystem is sensitive to power supply voltage levels - A supply of 5.5V at 2A is recommended. &lt;br /&gt;
With the power supply output at +5.17V I was getting on-board Ethernet errors and system hangs when one more device besides keyboard and mouse were plugged in to the on-board USB ports or an outboard powered USB HUB. &lt;br /&gt;
&lt;br /&gt;
Measuring the voltage across TP1 and TP2 on the Raspberry Pi and  increased it to +4.97V (P.S output +5.59V).&lt;br /&gt;
&lt;br /&gt;
I also ran &amp;quot;rpi-update&amp;quot; which install new firmware. &lt;br /&gt;
&lt;br /&gt;
I shorted out the polyfuses F1 and F2 on the Pi and USB is much more stable but still limited.&lt;br /&gt;
&lt;br /&gt;
With keyboard, mouse, gigabit USB Ethernet, SB Live! 24 USB and RTL-SDR dongle it runs for some hours before it freezes.&lt;br /&gt;
&lt;br /&gt;
Removing the RTL-SDR dongle from the powered hub made a great difference with a current uptime heading for 3 days. The latest ghpsdr3-alex master branch build successfully completed while I was in bed.&lt;br /&gt;
&lt;br /&gt;
root@pisces:/usr/src/GHPSDR3_HIGH_SPEED_MASTER/ghpsdr3-alex# date&lt;br /&gt;
&lt;br /&gt;
Sun Sep  9 13:00:49 BST 2012&lt;br /&gt;
&lt;br /&gt;
root@pisces:/usr/src/GHPSDR3_HIGH_SPEED_MASTER/ghpsdr3-alex# uptime&lt;br /&gt;
&lt;br /&gt;
 13:00:56 up 2 days, 20:46,  8 users,  load average: 0.81, 1.01, 0.67&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 ******       Do not use power from a USB PC port or from a USB Hub. ********&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once it&#039;s up and running, some details that may help in setting up the hardware for use - I&#039;m currently overclocking at 855MHz  (Previously was set to 1GHz):-&lt;br /&gt;
&lt;br /&gt;
Keyboard, mouse, usb sound card, RTL-SDR TV dongle and USB Gigabit Ethernet fully operational using the 7-port powered USB hub.&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# lsusb&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp. &lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.&lt;br /&gt;
 &lt;br /&gt;
Bus 001 Device 004: ID 04cc:1521 ST-Ericsson USB 2.0 Hub&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 011: ID 04f3:0103 Elan Microelectronics Corp. &lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 006: ID 047d:1022 Kensington Orbit Optical&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 007: ID 1d19:1101 Dexatek Technology Ltd. DK DVB-T Dongle&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 008: ID 041e:3040 Creative Technology, Ltd SoundBlaster Live! 24-bit External SB0490&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 009: ID 0b95:1780 ASIX Electronics Corp. AX88178&lt;br /&gt;
root@pisces:~# ifconfig &lt;br /&gt;
&lt;br /&gt;
eth0 Link encap:Ethernet HWaddr b8:27:eb:2c:07:c9&lt;br /&gt;
&lt;br /&gt;
         inet addr:192.168.10.31  Bcast:192.168.10.255 Mask:255.255.255.0&lt;br /&gt;
         inet6 addr: fe80::ba27:ebff:fe2c:7c9/64 Scope:Link&lt;br /&gt;
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1&lt;br /&gt;
         RX packets:410 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
         TX packets:377 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
         collisions:0 txqueuelen:1000&lt;br /&gt;
         RX bytes:28905 (28.2 KiB)  TX bytes:35938 (35.0 KiB)&lt;br /&gt;
&lt;br /&gt;
eth1 Link encap:Ethernet HWaddr 00:10:14:00:9f:fa&lt;br /&gt;
&lt;br /&gt;
         inet addr:192.168.2.199  Bcast:192.168.2.255 Mask:255.255.255.0&lt;br /&gt;
         inet6 addr: fe80::210:14ff:fe00:9ffa/64 Scope:Link&lt;br /&gt;
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1&lt;br /&gt;
         RX packets:5 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
         TX packets:7 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
         collisions:0 txqueuelen:1000&lt;br /&gt;
         RX bytes:230 (230.0 B)  TX bytes:592 (592.0 B)&lt;br /&gt;
&lt;br /&gt;
lo Link encap:Local Loopback&lt;br /&gt;
&lt;br /&gt;
         inet addr:127.0.0.1  Mask:255.0.0.0&lt;br /&gt;
         inet6 addr: ::1/128 Scope:Host&lt;br /&gt;
         UP LOOPBACK RUNNING  MTU:16436  Metric:1&lt;br /&gt;
         RX packets:0 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
         TX packets:0 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
         collisions:0 txqueuelen:0&lt;br /&gt;
         RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# cat /proc/asound/cards&lt;br /&gt;
 0 [ALSA           ]: BRCM bcm2835 ALSbcm2835 ALSA - bcm2835 ALSA&lt;br /&gt;
                      bcm2835 ALSA&lt;br /&gt;
&lt;br /&gt;
 1 [External       ]: USB-Audio - SB Live! 24-bit External&lt;br /&gt;
                      Creative Technology SB Live! 24-bit External at usb-bcm2708_usb-1.2.2, full spe&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It&#039;s running at 855MHz with this config.txt file. &lt;br /&gt;
root@pisces:~# cat /boot/config.txt&lt;br /&gt;
&lt;br /&gt;
over_voltage=6&lt;br /&gt;
&lt;br /&gt;
arm_freq=855&lt;br /&gt;
&lt;br /&gt;
core_freq=500&lt;br /&gt;
&lt;br /&gt;
sdram_freq=500&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# cat /etc/network/interfaces&lt;br /&gt;
&lt;br /&gt;
    Used by ifup(8) and ifdown(8). See the interfaces(5) manpage or&lt;br /&gt;
    /usr/share/doc/ifupdown/examples for more information. &lt;br /&gt;
&lt;br /&gt;
auto lo&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
iface lo inet loopback&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    File: ifcfg-eth0&lt;br /&gt;
&lt;br /&gt;
auto eth0&lt;br /&gt;
&lt;br /&gt;
iface eth0 inet static&lt;br /&gt;
&lt;br /&gt;
address 192.168.10.31&lt;br /&gt;
&lt;br /&gt;
netmask 255.255.255.0&lt;br /&gt;
&lt;br /&gt;
gateway 192.168.10.103&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
auto eth1&lt;br /&gt;
&lt;br /&gt;
iface eth1 inet static&lt;br /&gt;
&lt;br /&gt;
address 192.168.2.199&lt;br /&gt;
&lt;br /&gt;
netmask 255.255.255.0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# cat /etc/modules&lt;br /&gt;
&lt;br /&gt;
    /etc/modules: kernel modules to load at boot time.&lt;br /&gt;
    This file contains the names of kernel modules that should be loaded&lt;br /&gt;
    at boot time, one per line. Lines beginning with &amp;quot;#&amp;quot; are ignored.&lt;br /&gt;
    Parameters can be specified after the module name. &lt;br /&gt;
&lt;br /&gt;
loop&lt;br /&gt;
&lt;br /&gt;
snd-bcm2835&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
One problem remains, no sound from the on-board chip.&lt;br /&gt;
&lt;br /&gt;
==VIRTUALBOX==&lt;br /&gt;
&lt;br /&gt;
It is possible to run the server software (and QtRadio) under VirtualBox.  It has been tested with HPSDR Hermes hardware. [http://people.wallawalla.edu/~Rob.Frohne/ghpsdr3-alex/Ubuntu%2012.10%20ghpsdr3-alex-hermes.zip A VirtualBox Ubuntu 12.10 image] is available that automatically starts the server software for those who are running Windows, or don&#039;t feel they have the hardware, expertise or time to setup a Linux machine to act as a server.  The [[Dspserver.conf]] file needs to be edited, and you will need to run the dspserver once within a terminal to get the instructions on setting up an SSL key pair.  To do that download the [http://people.wallawalla.edu/~Rob.Frohne/ghpsdr3-alex/Ubuntu%2012.10%20ghpsdr3-alex-hermes.zip VirtualBox image], start VirtualBox, select new for the new machine, and when it asks you about the hard drive, say use existing hard drive, and select the image you just downloaded as the hard drive. After it boots up, you need to start a terminal and dspserver.&lt;br /&gt;
 $ dspserver&lt;br /&gt;
 Reading conf file /home/frohro/dspserver.conf&lt;br /&gt;
 Country Lookup is On&lt;br /&gt;
 gHPSDR rx 0 (Version 0.7)&lt;br /&gt;
 dspserver string: 20130609;-master&lt;br /&gt;
 getSoundcardId: HPSDR id=8&lt;br /&gt;
 setSoundcard: 8&lt;br /&gt;
 setSoundcard -41.000000 -48.000000&lt;br /&gt;
 etup sdr thread 0: done&lt;br /&gt;
 setup sdr thread 1: done&lt;br /&gt;
 setup sdr thread 2: done&lt;br /&gt;
 client_thread&lt;br /&gt;
 [2013-08-26 10:15:12] client_thread: listening on port 8000&lt;br /&gt;
 Couldn&#039;t read &#039;pkey&#039; or &#039;cert&#039; file.  To generate a key&lt;br /&gt;
 and self-signed certificate, run:&lt;br /&gt;
  openssl genrsa -out pkey 2048&lt;br /&gt;
  openssl req -new -key pkey -out cert.req&lt;br /&gt;
  openssl x509 -req -days 365 -in cert.req -signkey pkey -out cert&lt;br /&gt;
 client ctx init failed: No such file or directory&lt;br /&gt;
  &lt;br /&gt;
&lt;br /&gt;
Note the message about the SSL keys (&amp;quot;Couldn&#039;t read &#039;pkey&#039; or &#039;cert&#039; file.&amp;quot;) not being set up.  This is a process you do once.  The three commands to set up the SSL keys are just what the dspserver response above told you to do.  &lt;br /&gt;
  openssl genrsa -out pkey 2048&lt;br /&gt;
&lt;br /&gt;
  openssl req -new -key pkey -out cert.req&lt;br /&gt;
&lt;br /&gt;
  openssl x509 -req -days 365 -in cert.req -signkey pkey -out cert&lt;br /&gt;
After generating the keys, you should be able to log out and log back in and your server should be running, if all is well.  You should then be able to connect with QtRadio or glSDR.  Be sure to set the server IP address in the client (QtRadio, or glSDR).  Some notes about running the [[Hermes]] server might be helpful to review.&lt;br /&gt;
&lt;br /&gt;
If you want to change or add the automatically started programs, see [http://askubuntu.com/questions/48321/how-do-i-start-applications-automatically-on-login this web page].&lt;br /&gt;
&lt;br /&gt;
I must make one note about running the software from a pre-prepared VirtualBox Image.  It is a way an attacker could gain access to your computer and network.  I used a pre-prepared Ubuntu 12.10 image from [http://virtualboxes.org/images/ubuntu/ VirtualBoxImages].  I believe it to be virgin, but you have to realize that it is possible that some rogue software is running on this image.  If you use the image I provide, you must be solely responsible for whatever happens. I (Rob Frohne, KL7NA) did not put anything on the image, but the ghpsdr3-alex and the tools and packages needed to build it.  As always, there is a trade off between ease of use, and security.&lt;br /&gt;
&lt;br /&gt;
== SOFTWARE == &lt;br /&gt;
***** START AT THE BEGINNING WHEN BUILDING THE SOFTWARE -- i.e Section 1 and install all the packages recommended and do the pulseaudio setup.&lt;br /&gt;
&lt;br /&gt;
If you build ghpsdr3-alex already it&#039;s a case of following the same procedure with the following caveats that apply to the RasPi ARM architecture. What follows is a blow by blow account of how I did it for the iw0hdv branch which supports my HiQSDR+Preselector. The same steps are needed for building any other branch.&lt;br /&gt;
&lt;br /&gt;
Subject: [n2adr-sdr] Raspberry Pi running ghpsdr3-alex&lt;br /&gt;
&lt;br /&gt;
The changes made by Andrea have been merged into the master branch. These changes allow samplerates &amp;gt;192K but the Pi doesn&#039;t have the power to run these high samplerates - I am running hiqsdr-server at 960K samplerate on a 8-core x84_64 box.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   autoreconf -i &lt;br /&gt;
&lt;br /&gt;
    ./configure CFLAGS=&#039;-O3 -pipe -march=armv6 -mfpu=vfp -mfloat-abi=hard&#039; CXXFLAGS=&#039;-O3 -pipe -march=armv6 -mfpu=vfp -mfloat-abi=hard&#039; &lt;br /&gt;
&lt;br /&gt;
**** Additional steps needed when building rtlsdr-server. Do these before running make ******&lt;br /&gt;
# export ac_cv_func_malloc_0_nonnull=yes&lt;br /&gt;
# export ac_cv_func_realloc_0_nonnull=yes&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    make all &amp;amp;&amp;amp; make all install &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Sound on the Raspberry Pi is still a problem I have not been able to solve.&lt;br /&gt;
&lt;br /&gt;
Terry (WB4JFI) suggested the following that work for him but I have had no luck with it.&lt;br /&gt;
&lt;br /&gt;
&amp;quot;amixer cset numid=3 1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Other valid numid&#039;s are 0=auto, 1=headphones and 2=hdmi.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
QtRadio running on another box using the connection from the server list. Sound is a touch distorted, quite distorted on start up of QtRadio and spectrum is always a little bit slow.&lt;br /&gt;
&lt;br /&gt;
When a slave connected and tried changing frequency, dspserver crashed - dspserver can be a bit crash happy.&lt;br /&gt;
&lt;br /&gt;
The first thing I tried on the Pi was QtRadio standalone, spectrum and waterfall were OK but no sound.&lt;br /&gt;
&lt;br /&gt;
Just now a client using glSDR (5) is attempting to change frequency, sound went quite distorted then dspserver crashed.&lt;br /&gt;
&lt;br /&gt;
Restarted dspserver and QtRadio sound started very distorted before it settled down to reasonable.&lt;/div&gt;</summary>
		<author><name>Frohro</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=755</id>
		<title>QtRadio Installation</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=755"/>
		<updated>2013-08-26T17:19:09Z</updated>

		<summary type="html">&lt;p&gt;Frohro: /* VIRTUALBOX */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Installation on Linux ==&lt;br /&gt;
The instructions below are for Debian based distributions like Ubuntu but you should be able to compile on any Linux distribution with the correct libraries installed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Installation from Git ===&lt;br /&gt;
Installing from git involves building or compiling from source.  This is required if you want to use one of the various branches to work the &amp;quot;bleeding edge&amp;quot; branches like Alex&#039;s rxtx-event branch where the current (Nov 12 2011) TX work is being done.&lt;br /&gt;
The PPA install is never more than a few days behind master so there is not much to gain from building from git unless you want to work with the source code your self.&lt;br /&gt;
&lt;br /&gt;
==== Installing compiler and autotool ====&lt;br /&gt;
&lt;br /&gt;
First off, install the compiler; depending on which distribution are you using, some or all of this stuff could be already installed: &lt;br /&gt;
&lt;br /&gt;
===== Ubuntu/Debian =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install make gcc g++&lt;br /&gt;
sudo apt-get install autoconf automake autotools-dev libtool git subversion&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Fedora =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo yum install gcc gcc-c++ man-pages autoconf automake subversion libtool git&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Installing prerequisite packages ====&lt;br /&gt;
&lt;br /&gt;
===== Ubuntu 12.04 and newer =====&lt;br /&gt;
First of all, you have to check that the universe repository is enabled. Click on the gear shaped icon (bottom into left side bar): the System Settings menu will shown, click on Software Sources and finally check the Community-maintained Open Source Software (universe) tick. Next, submit the following commands into a terminal window:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install \&lt;br /&gt;
libqt4-opengl-dev \&lt;br /&gt;
qtmobility-dev \&lt;br /&gt;
libusb-0.1-4 \&lt;br /&gt;
libusb-dev \&lt;br /&gt;
libfftw3-dev \&lt;br /&gt;
portaudio19-dev \&lt;br /&gt;
libpulse-dev \&lt;br /&gt;
libsamplerate0-dev \&lt;br /&gt;
libusb-1.0-0-dev \&lt;br /&gt;
libconfig8-dev \&lt;br /&gt;
xdg-utils \&lt;br /&gt;
libortp-dev \&lt;br /&gt;
gcc-multilib \&lt;br /&gt;
libssl-dev \&lt;br /&gt;
libevent-dev \&lt;br /&gt;
libglu1-mesa-dev \&lt;br /&gt;
freeglut3-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You will need qt5 installed to complete the build.&lt;br /&gt;
&lt;br /&gt;
Visit: http://qt-project.org/downloads&lt;br /&gt;
&lt;br /&gt;
download the current package for your system.&lt;br /&gt;
&lt;br /&gt;
To build Qt5 on a RaspberryPi visit: http://qt-project.org/wiki/RaspberryPi&lt;br /&gt;
&lt;br /&gt;
After downloading it go to the download directory and do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ chmod +x the-name-of-the-downloaded-file&lt;br /&gt;
$ sudo ./the-name-of-the-downloaded-file&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Simply click on the installer and follow the prompts, take note of were qt5 is installed. Don&#039;t open the readme or start QtCreator when the installer asks.  It will make some files in your home directory owned by root, and that will give you trouble later.  After the install has completed, from a terminal:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ export PATH=/opt/Qt5.1.0/5.1.0/gcc_64/bin:/opt/Qt5.1.0/Tools/QtCreator/bin:$PATH&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
In the above make sure you put in the correct path for your version of Qt. This is due because the several packages from Qt sources and binary repositories web sites are not really installed in the system but simply copied on it. Therefore the autotools build system should search virtually over the whole filesystem.&lt;br /&gt;
In any case please remember that&lt;br /&gt;
the export above is effective only into the current terminal windows, if you open another window and/or reboot the system, you have to resubmit again the command&lt;br /&gt;
if you want to make permanent it, you have to add the export into the right configuration shell, suitable for the shell that you are currently using.&lt;br /&gt;
For the bash it is typically ~/.bashrc&lt;br /&gt;
In any case, after you issue the export, please test it.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
qmake -v&lt;br /&gt;
QMake version 2.01a&lt;br /&gt;
Using Qt version 4.8.0 in /home/andrew/QtSDK4.8x/Desktop/Qt/4.8.0/gcc/lib&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Ubuntu 11.04 and older ===== &lt;br /&gt;
First of all, you have to check that the &#039;&#039;universe repository&#039;&#039; is enabled.&lt;br /&gt;
Please see the procedure in the previous section [[#graphical installation]] .&lt;br /&gt;
&lt;br /&gt;
Next, you will need the following packages installed:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install \&lt;br /&gt;
libqt4-opengl-dev \&lt;br /&gt;
qtmobility-dev \&lt;br /&gt;
libusb-0.1-4 \&lt;br /&gt;
libusb-dev \&lt;br /&gt;
libfftw3-dev \&lt;br /&gt;
portaudio19-dev \&lt;br /&gt;
libpulse-dev \&lt;br /&gt;
libsamplerate0-dev \&lt;br /&gt;
libusb-1.0-0-dev \&lt;br /&gt;
libconfig8-dev \&lt;br /&gt;
libortp-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Ubuntu 11.10 ===== &lt;br /&gt;
First of all, you have to check that the &#039;&#039;universe repository&#039;&#039; is enabled.&lt;br /&gt;
Click on the gear shaped icon (bottom into left side bar): the &#039;&#039;System Settings&#039;&#039; menu will shown, click on &#039;&#039;Software Sources&#039;&#039; and finally check the &#039;&#039;Community-maintaned Open Source Software (universe)&#039;&#039; tick.&lt;br /&gt;
Next, submit the following commands into a terminal window:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install \&lt;br /&gt;
libqt4-opengl-dev \&lt;br /&gt;
qtmobility-dev \&lt;br /&gt;
libusb-0.1-4 \&lt;br /&gt;
libusb-dev \&lt;br /&gt;
libfftw3-dev \&lt;br /&gt;
portaudio19-dev \&lt;br /&gt;
libpulse-dev \&lt;br /&gt;
libsamplerate0-dev \&lt;br /&gt;
libusb-1.0-0-dev \&lt;br /&gt;
libconfig8-dev \&lt;br /&gt;
xdg-utils \&lt;br /&gt;
libortp-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Fedora 16 =====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo yum install fftw fftw-devel &lt;br /&gt;
sudo yum install libusb-devel libusb1-devel &lt;br /&gt;
sudo yum install portaudio-devel&lt;br /&gt;
sudo yum install libconfig-devel&lt;br /&gt;
sudo yum install libsamplerate-devel&lt;br /&gt;
sudo yum install pulseaudio-libs-devel&lt;br /&gt;
sudo yum install jack-audio-connection-kit  jack-audio-connection-kit-devel&lt;br /&gt;
sudo yum install qt4-devel&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Cloning the repository ====&lt;br /&gt;
&lt;br /&gt;
How to build the latest master branch on Ubuntu 11.04&lt;br /&gt;
&lt;br /&gt;
First a new libevent will need to be downloaded and installed, then the actual QtRadio source can be downloaded and built.&lt;br /&gt;
&lt;br /&gt;
==== Obtaining an up-level libevent library ====&lt;br /&gt;
&lt;br /&gt;
$ sudo apt-get install libevent-dev&lt;br /&gt;
&lt;br /&gt;
If the version is older than 2.0.5, go to synaptic and completely remove the stock libevent from Ubuntu. (Completely remove is an uninstall option in Synaptic. Additional dependent libraries may also be removed)&lt;br /&gt;
&lt;br /&gt;
Then download the new version from:&lt;br /&gt;
&lt;br /&gt;
http://libevent.org/&lt;br /&gt;
&lt;br /&gt;
libevent-2.0.16-stable.tar.gz&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
wget https://github.com/downloads/libevent/libevent/libevent-2.0.16-stable.tar.gz&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Move the tarball from the Downloads directory to a working directory. A suggestion is to create a src directory within your home directory and move it there. Uncompress and follow the instructions to build and install:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
tar -zxvf libevent-2.0.16-stable.tar.gz&lt;br /&gt;
cd libevent-2.0.16-stable&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On Fedora, in order to use the library above, export the LD_LIBRARY_PATH:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export LD_LIBRARY_PATH=/usr/local/lib&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Installing codec2 low bit rate audio encoding and decoding ====&lt;br /&gt;
&lt;br /&gt;
We are adding a low bit rate audio codec called codec 2 to QtRadio/dspserver.  You need&lt;br /&gt;
to download and build the codec2 library.  See:&lt;br /&gt;
&lt;br /&gt;
http://www.rowetel.com/blog/?page_id=452&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
Now go get codec2 using subversion&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
svn co https://freetel.svn.sourceforge.net/svnroot/freetel/codec2-dev codec2-dev&lt;br /&gt;
cd codec2-dev&lt;br /&gt;
autoreconf -i&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On Fedora, in order to use the library above, export the LD_LIBRARY_PATH:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export LD_LIBRARY_PATH=/usr/local/lib&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Building the master branch ====&lt;br /&gt;
&lt;br /&gt;
This branch is the latest code that contains both RX and TX capability. &lt;br /&gt;
&lt;br /&gt;
Create a new directory or cd to the ~/src directory created for libevent and cd into it.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://github.com/alexlee188/ghpsdr3-alex&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Depending on your Internet connection thorughput, it will take several minute to download.&lt;br /&gt;
cd into the new directory ghpsdr3-alex:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ghpsdr3-alex&lt;br /&gt;
git checkout master&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
You are now working with Alex&#039;s latest and greatest!&lt;br /&gt;
&lt;br /&gt;
First set the path to the version of qt you are using.  E.g. for qt5:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ export PATH=/opt/qt5/bin:$PATH&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
autoreconf -i&lt;br /&gt;
./configure&lt;br /&gt;
make -j4 all&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The default configure above builds with debug and default Qt4 version in your PC.  For optimized executable,&lt;br /&gt;
you need to specify options specific to your system.  See the sample shell scripts that replaces the above&lt;br /&gt;
./configure step:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./alex-avx-conf.sh		for building with i3,i5 and i7 cpu&#039;s supporting Advanced Vector Extensions (AVX)&lt;br /&gt;
./alex-openmp-conf.sh		for building with i3,i5 and i7 cpu&#039;s and OpenMP support&lt;br /&gt;
./alex-sse3-conf.sh		for building with SSE3 capable cpu&#039;s&lt;br /&gt;
./alex-openmp-sse3-conf.sh	for building with SSE3 cpaable cpu&#039;s and OpenMP support&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(If you do not want to actually install the executable binaries, skip the sudo make install and just cd into the following directories and run them from there)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Terminal 1&lt;br /&gt;
$ cd ghpsdr3-alex/trunk/src/softrock&lt;br /&gt;
$ ./softrock ...options ...&lt;br /&gt;
&lt;br /&gt;
Terminal 2&lt;br /&gt;
$ cd ghpsdr3-alex/trunk/src/dspserver&lt;br /&gt;
$ ./dspserver  ..options...&lt;br /&gt;
&lt;br /&gt;
Terminal 3&lt;br /&gt;
$ cd ghpsdr3-alex/trunk/src/QtRadio&lt;br /&gt;
$ ./QtRadio&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Building the Perseus extensions ====&lt;br /&gt;
&lt;br /&gt;
In order to build the Microtelecom Perseus server you need to switch to the master or iw0hdv branch. &lt;br /&gt;
&lt;br /&gt;
First off, install the prerequisite library and wget package:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install libboost-all-dev wget&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Next download, compile and install the library libperseus-sdr:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
wget http://libperseus-sdr.googlecode.com/files/libperseus_sdr-0.6.tar.gz&lt;br /&gt;
tar -zxvf libperseus_sdr-0.6.tar.gz&lt;br /&gt;
cd libperseus_sdr-0.6/&lt;br /&gt;
./configure &amp;amp;&amp;amp; make&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you already build in your sandbox some other branch, is strongly advisable, before you start the build, to do a full cleanup:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
make distcheck &amp;amp;&amp;amp; sh cleanup.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Otherwise, if you are starting from scratch, you have to clone the repository:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://github.com/alexlee188/ghpsdr3-alex&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, you can switch to the master branch and rebuild everything; you don&#039;t need anymore to explicitly enable the perseus server feature, the configure script automatically selects it when the libperseus_sdr is found.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
git checkout master&lt;br /&gt;
autoreconf -i &amp;amp;&amp;amp; ./configure &amp;amp;&amp;amp; make -j4&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In order to run it you have two choices, the first one being the plain command line:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
xterm -e &#039;perseus_server -d3 -s96000 &#039; &amp;amp;&lt;br /&gt;
sleep 3&lt;br /&gt;
xterm -e &#039;dspserver --lo 0 --nocorrectiq&#039; &amp;amp;&lt;br /&gt;
sleep 5&lt;br /&gt;
$( QtRadio 127.0.0.1 ) &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In QtRadio, Receiver menu, select Configure item, Server tab: here add the local host using the 127.0.0.1 IP address.&lt;br /&gt;
Pressing the key C, you start the receiver.&lt;br /&gt;
&lt;br /&gt;
The second choiche is to use the ghpsdr3-mgr.py script (available in menu Applications, Hamradio as ghpsdr3launcher): clicking on the Perseus icon the three processes should start and the QtServer automatically connects to Perseus Server.&lt;br /&gt;
&lt;br /&gt;
==== Building USRP enabled version ====&lt;br /&gt;
&lt;br /&gt;
===== Building the UHD package =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====== Install the prerequisite packages (Ubuntu 11.10): ======&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install liboost-all-dev&lt;br /&gt;
sudo apt-get install python-cheetah&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====== Build &amp;amp; Install UHD -- FOR UHD-3.3.1 AND GREATER --: ======&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
git clone git://ettus.sourcerepo.com/ettus/uhd.git&lt;br /&gt;
cd uhd/host/&lt;br /&gt;
mkdir build&lt;br /&gt;
cd build&lt;br /&gt;
cmake ../&lt;br /&gt;
make&lt;br /&gt;
make test&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you already build in your sandbox some other branch, is strongly advisable, before you start the build, to do a full cleanup:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
make distcheck &amp;amp;&amp;amp; sh cleanup.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Otherwise, if you are starting from scratch, first clone the repository:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://github.com/alexlee188/ghpsdr3-alex&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, you can switch to the master branch and rebuild everything, enabling the usrp server feature:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
git checkout usrp-server&lt;br /&gt;
autoreconf -i &amp;amp;&amp;amp; ./configure --enable-usrp=yes &amp;amp;&amp;amp; make -j4&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Refresh to a Newer Version ====&lt;br /&gt;
&lt;br /&gt;
To pull a new version to build &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ git pull&lt;br /&gt;
$ make -j4 all&lt;br /&gt;
$ sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If extensive changes have occurred or if you get errors during the make, you may want to do a clean build  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ git pull&lt;br /&gt;
$ make distclean&lt;br /&gt;
$ sh cleanup.sh&lt;br /&gt;
$ autoreconf -i&lt;br /&gt;
$ ./configure&lt;br /&gt;
$ make -j4 all&lt;br /&gt;
$ sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you continue to get errors, please report the whole ./configure output and the config.log to the mailing list.&lt;br /&gt;
&lt;br /&gt;
== Installation on Windows ==&lt;br /&gt;
See [[ QtRadio on Windows]]&lt;br /&gt;
&lt;br /&gt;
== Network settings ==&lt;br /&gt;
If you are behind a firewall/NAT-router and want to be able to connect to your dspserver over the Internet you have to open up port tcp/8000. If you are using the client in RTP mode you have to open up udp/5004 and udp/5005.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Installing ghpsdr3-alex on Raspberry Pi == &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
========== HARDWARE ==========&lt;br /&gt;
&lt;br /&gt;
*** THIS SECTION DEALS WITH Raspberry Pi DIFFERENCES *** IT DOES NOT CIRCUMVENT THE INSTRUCTIONS STARTING AT STEP 1 OF THE QtRadio Installation. ***&lt;br /&gt;
&lt;br /&gt;
I recommend installing either the raspbian or raspbian pisces (debian) distributions as there is no Ubuntu release to date.&lt;br /&gt;
&lt;br /&gt;
*** All the pre-requisite packages needed for Ubuntu must be installed on raspbian or respbian pisces using the same &amp;quot;apt-get install&amp;quot; commands so it&#039;s necessary to follow the QtRadio-Installation &lt;br /&gt;
document from the beginning after installing raspbian or raspbian pisces.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
        The RasPi USB subsystem is sensitive to power supply voltage levels - A supply of 5.5V at 2A is recommended. &lt;br /&gt;
With the power supply output at +5.17V I was getting on-board Ethernet errors and system hangs when one more device besides keyboard and mouse were plugged in to the on-board USB ports or an outboard powered USB HUB. &lt;br /&gt;
&lt;br /&gt;
Measuring the voltage across TP1 and TP2 on the Raspberry Pi and  increased it to +4.97V (P.S output +5.59V).&lt;br /&gt;
&lt;br /&gt;
I also ran &amp;quot;rpi-update&amp;quot; which install new firmware. &lt;br /&gt;
&lt;br /&gt;
I shorted out the polyfuses F1 and F2 on the Pi and USB is much more stable but still limited.&lt;br /&gt;
&lt;br /&gt;
With keyboard, mouse, gigabit USB Ethernet, SB Live! 24 USB and RTL-SDR dongle it runs for some hours before it freezes.&lt;br /&gt;
&lt;br /&gt;
Removing the RTL-SDR dongle from the powered hub made a great difference with a current uptime heading for 3 days. The latest ghpsdr3-alex master branch build successfully completed while I was in bed.&lt;br /&gt;
&lt;br /&gt;
root@pisces:/usr/src/GHPSDR3_HIGH_SPEED_MASTER/ghpsdr3-alex# date&lt;br /&gt;
&lt;br /&gt;
Sun Sep  9 13:00:49 BST 2012&lt;br /&gt;
&lt;br /&gt;
root@pisces:/usr/src/GHPSDR3_HIGH_SPEED_MASTER/ghpsdr3-alex# uptime&lt;br /&gt;
&lt;br /&gt;
 13:00:56 up 2 days, 20:46,  8 users,  load average: 0.81, 1.01, 0.67&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 ******       Do not use power from a USB PC port or from a USB Hub. ********&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once it&#039;s up and running, some details that may help in setting up the hardware for use - I&#039;m currently overclocking at 855MHz  (Previously was set to 1GHz):-&lt;br /&gt;
&lt;br /&gt;
Keyboard, mouse, usb sound card, RTL-SDR TV dongle and USB Gigabit Ethernet fully operational using the 7-port powered USB hub.&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# lsusb&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp. &lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.&lt;br /&gt;
 &lt;br /&gt;
Bus 001 Device 004: ID 04cc:1521 ST-Ericsson USB 2.0 Hub&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 011: ID 04f3:0103 Elan Microelectronics Corp. &lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 006: ID 047d:1022 Kensington Orbit Optical&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 007: ID 1d19:1101 Dexatek Technology Ltd. DK DVB-T Dongle&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 008: ID 041e:3040 Creative Technology, Ltd SoundBlaster Live! 24-bit External SB0490&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 009: ID 0b95:1780 ASIX Electronics Corp. AX88178&lt;br /&gt;
root@pisces:~# ifconfig &lt;br /&gt;
&lt;br /&gt;
eth0 Link encap:Ethernet HWaddr b8:27:eb:2c:07:c9&lt;br /&gt;
&lt;br /&gt;
         inet addr:192.168.10.31  Bcast:192.168.10.255 Mask:255.255.255.0&lt;br /&gt;
         inet6 addr: fe80::ba27:ebff:fe2c:7c9/64 Scope:Link&lt;br /&gt;
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1&lt;br /&gt;
         RX packets:410 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
         TX packets:377 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
         collisions:0 txqueuelen:1000&lt;br /&gt;
         RX bytes:28905 (28.2 KiB)  TX bytes:35938 (35.0 KiB)&lt;br /&gt;
&lt;br /&gt;
eth1 Link encap:Ethernet HWaddr 00:10:14:00:9f:fa&lt;br /&gt;
&lt;br /&gt;
         inet addr:192.168.2.199  Bcast:192.168.2.255 Mask:255.255.255.0&lt;br /&gt;
         inet6 addr: fe80::210:14ff:fe00:9ffa/64 Scope:Link&lt;br /&gt;
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1&lt;br /&gt;
         RX packets:5 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
         TX packets:7 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
         collisions:0 txqueuelen:1000&lt;br /&gt;
         RX bytes:230 (230.0 B)  TX bytes:592 (592.0 B)&lt;br /&gt;
&lt;br /&gt;
lo Link encap:Local Loopback&lt;br /&gt;
&lt;br /&gt;
         inet addr:127.0.0.1  Mask:255.0.0.0&lt;br /&gt;
         inet6 addr: ::1/128 Scope:Host&lt;br /&gt;
         UP LOOPBACK RUNNING  MTU:16436  Metric:1&lt;br /&gt;
         RX packets:0 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
         TX packets:0 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
         collisions:0 txqueuelen:0&lt;br /&gt;
         RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# cat /proc/asound/cards&lt;br /&gt;
 0 [ALSA           ]: BRCM bcm2835 ALSbcm2835 ALSA - bcm2835 ALSA&lt;br /&gt;
                      bcm2835 ALSA&lt;br /&gt;
&lt;br /&gt;
 1 [External       ]: USB-Audio - SB Live! 24-bit External&lt;br /&gt;
                      Creative Technology SB Live! 24-bit External at usb-bcm2708_usb-1.2.2, full spe&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It&#039;s running at 855MHz with this config.txt file. &lt;br /&gt;
root@pisces:~# cat /boot/config.txt&lt;br /&gt;
&lt;br /&gt;
over_voltage=6&lt;br /&gt;
&lt;br /&gt;
arm_freq=855&lt;br /&gt;
&lt;br /&gt;
core_freq=500&lt;br /&gt;
&lt;br /&gt;
sdram_freq=500&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# cat /etc/network/interfaces&lt;br /&gt;
&lt;br /&gt;
    Used by ifup(8) and ifdown(8). See the interfaces(5) manpage or&lt;br /&gt;
    /usr/share/doc/ifupdown/examples for more information. &lt;br /&gt;
&lt;br /&gt;
auto lo&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
iface lo inet loopback&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    File: ifcfg-eth0&lt;br /&gt;
&lt;br /&gt;
auto eth0&lt;br /&gt;
&lt;br /&gt;
iface eth0 inet static&lt;br /&gt;
&lt;br /&gt;
address 192.168.10.31&lt;br /&gt;
&lt;br /&gt;
netmask 255.255.255.0&lt;br /&gt;
&lt;br /&gt;
gateway 192.168.10.103&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
auto eth1&lt;br /&gt;
&lt;br /&gt;
iface eth1 inet static&lt;br /&gt;
&lt;br /&gt;
address 192.168.2.199&lt;br /&gt;
&lt;br /&gt;
netmask 255.255.255.0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# cat /etc/modules&lt;br /&gt;
&lt;br /&gt;
    /etc/modules: kernel modules to load at boot time.&lt;br /&gt;
    This file contains the names of kernel modules that should be loaded&lt;br /&gt;
    at boot time, one per line. Lines beginning with &amp;quot;#&amp;quot; are ignored.&lt;br /&gt;
    Parameters can be specified after the module name. &lt;br /&gt;
&lt;br /&gt;
loop&lt;br /&gt;
&lt;br /&gt;
snd-bcm2835&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
One problem remains, no sound from the on-board chip.&lt;br /&gt;
&lt;br /&gt;
==VIRTUALBOX==&lt;br /&gt;
&lt;br /&gt;
It is possible to run the server software (and QtRadio) under VirtualBox.  It has been tested with HPSDR Hermes hardware. [http://people.wallawalla.edu/~Rob.Frohne/ghpsdr3-alex/Ubuntu%2012.10%20ghpsdr3-alex-hermes.zip A VirtualBox Ubuntu 12.10 image] is available that automatically starts the server software for those who are running Windows, or don&#039;t feel they have the hardware, expertise or time to setup a Linux machine to act as a server.  The [[Dspserver.conf]] file needs to be edited, and you will need to run the dspserver once within a terminal to get the instructions on setting up an SSL key pair.  To do that download the [http://people.wallawalla.edu/~Rob.Frohne/ghpsdr3-alex/Ubuntu%2012.10%20ghpsdr3-alex-hermes.zip VirtualBox image], start VirtualBox, select new for the new machine, and when it asks you about the hard drive, say use existing hard drive, and select the image you just downloaded as the hard drive. After it boots up, you need to start a terminal and dspserver.&lt;br /&gt;
 $ dspserver&lt;br /&gt;
 Reading conf file /home/frohro/dspserver.conf&lt;br /&gt;
 Country Lookup is On&lt;br /&gt;
 gHPSDR rx 0 (Version 0.7)&lt;br /&gt;
 dspserver string: 20130609;-master&lt;br /&gt;
 getSoundcardId: HPSDR id=8&lt;br /&gt;
 setSoundcard: 8&lt;br /&gt;
 setSoundcard -41.000000 -48.000000&lt;br /&gt;
 etup sdr thread 0: done&lt;br /&gt;
 setup sdr thread 1: done&lt;br /&gt;
 setup sdr thread 2: done&lt;br /&gt;
 client_thread&lt;br /&gt;
 [2013-08-26 10:15:12] client_thread: listening on port 8000&lt;br /&gt;
 Couldn&#039;t read &#039;pkey&#039; or &#039;cert&#039; file.  To generate a key&lt;br /&gt;
 and self-signed certificate, run:&lt;br /&gt;
  openssl genrsa -out pkey 2048&lt;br /&gt;
  openssl req -new -key pkey -out cert.req&lt;br /&gt;
  openssl x509 -req -days 365 -in cert.req -signkey pkey -out cert&lt;br /&gt;
 client ctx init failed: No such file or directory&lt;br /&gt;
  &lt;br /&gt;
&lt;br /&gt;
It will give you a message about the SSL keys not being set up (see above), and then you do the three commands that do that for you.  &lt;br /&gt;
  openssl genrsa -out pkey 2048&lt;br /&gt;
&lt;br /&gt;
  openssl req -new -key pkey -out cert.req&lt;br /&gt;
&lt;br /&gt;
  openssl x509 -req -days 365 -in cert.req -signkey pkey -out cert&lt;br /&gt;
After that you should be able to log out and log back in and your server should be running, if all is well.  You should then be able to connect with QtRadio or glSDR.  Be sure to set the server IP address in the client (QtRadio, or glSDR).  Some notes about running the [[Hermes]] server might be helpful to review.&lt;br /&gt;
&lt;br /&gt;
I must make one note about running the software from a pre-prepared VirtualBox Image.  It is a way an attacker could gain access to your computer and network.  I used a pre-prepared Ubuntu 12.10 image from [http://virtualboxes.org/images/ubuntu/ VirtualBoxImages].  I believe it to be virgin, but you have to realize that it is possible that some rogue software is running on this image.  If you use the image I provide, you must be solely responsible for whatever happens. I (Rob Frohne, KL7NA) did not put anything on the image, but the ghpsdr3-alex and the tools and packages needed to build it.  As always, there is a trade off between ease of use, and security.&lt;br /&gt;
&lt;br /&gt;
== SOFTWARE == &lt;br /&gt;
***** START AT THE BEGINNING WHEN BUILDING THE SOFTWARE -- i.e Section 1 and install all the packages recommended and do the pulseaudio setup.&lt;br /&gt;
&lt;br /&gt;
If you build ghpsdr3-alex already it&#039;s a case of following the same procedure with the following caveats that apply to the RasPi ARM architecture. What follows is a blow by blow account of how I did it for the iw0hdv branch which supports my HiQSDR+Preselector. The same steps are needed for building any other branch.&lt;br /&gt;
&lt;br /&gt;
Subject: [n2adr-sdr] Raspberry Pi running ghpsdr3-alex&lt;br /&gt;
&lt;br /&gt;
The changes made by Andrea have been merged into the master branch. These changes allow samplerates &amp;gt;192K but the Pi doesn&#039;t have the power to run these high samplerates - I am running hiqsdr-server at 960K samplerate on a 8-core x84_64 box.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   autoreconf -i &lt;br /&gt;
&lt;br /&gt;
    ./configure CFLAGS=&#039;-O3 -pipe -march=armv6 -mfpu=vfp -mfloat-abi=hard&#039; CXXFLAGS=&#039;-O3 -pipe -march=armv6 -mfpu=vfp -mfloat-abi=hard&#039; &lt;br /&gt;
&lt;br /&gt;
**** Additional steps needed when building rtlsdr-server. Do these before running make ******&lt;br /&gt;
# export ac_cv_func_malloc_0_nonnull=yes&lt;br /&gt;
# export ac_cv_func_realloc_0_nonnull=yes&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    make all &amp;amp;&amp;amp; make all install &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Sound on the Raspberry Pi is still a problem I have not been able to solve.&lt;br /&gt;
&lt;br /&gt;
Terry (WB4JFI) suggested the following that work for him but I have had no luck with it.&lt;br /&gt;
&lt;br /&gt;
&amp;quot;amixer cset numid=3 1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Other valid numid&#039;s are 0=auto, 1=headphones and 2=hdmi.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
QtRadio running on another box using the connection from the server list. Sound is a touch distorted, quite distorted on start up of QtRadio and spectrum is always a little bit slow.&lt;br /&gt;
&lt;br /&gt;
When a slave connected and tried changing frequency, dspserver crashed - dspserver can be a bit crash happy.&lt;br /&gt;
&lt;br /&gt;
The first thing I tried on the Pi was QtRadio standalone, spectrum and waterfall were OK but no sound.&lt;br /&gt;
&lt;br /&gt;
Just now a client using glSDR (5) is attempting to change frequency, sound went quite distorted then dspserver crashed.&lt;br /&gt;
&lt;br /&gt;
Restarted dspserver and QtRadio sound started very distorted before it settled down to reasonable.&lt;/div&gt;</summary>
		<author><name>Frohro</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=754</id>
		<title>QtRadio Installation</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=754"/>
		<updated>2013-08-26T17:12:47Z</updated>

		<summary type="html">&lt;p&gt;Frohro: /* VIRTUALBOX */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Installation on Linux ==&lt;br /&gt;
The instructions below are for Debian based distributions like Ubuntu but you should be able to compile on any Linux distribution with the correct libraries installed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Installation from Git ===&lt;br /&gt;
Installing from git involves building or compiling from source.  This is required if you want to use one of the various branches to work the &amp;quot;bleeding edge&amp;quot; branches like Alex&#039;s rxtx-event branch where the current (Nov 12 2011) TX work is being done.&lt;br /&gt;
The PPA install is never more than a few days behind master so there is not much to gain from building from git unless you want to work with the source code your self.&lt;br /&gt;
&lt;br /&gt;
==== Installing compiler and autotool ====&lt;br /&gt;
&lt;br /&gt;
First off, install the compiler; depending on which distribution are you using, some or all of this stuff could be already installed: &lt;br /&gt;
&lt;br /&gt;
===== Ubuntu/Debian =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install make gcc g++&lt;br /&gt;
sudo apt-get install autoconf automake autotools-dev libtool git subversion&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Fedora =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo yum install gcc gcc-c++ man-pages autoconf automake subversion libtool git&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Installing prerequisite packages ====&lt;br /&gt;
&lt;br /&gt;
===== Ubuntu 12.04 and newer =====&lt;br /&gt;
First of all, you have to check that the universe repository is enabled. Click on the gear shaped icon (bottom into left side bar): the System Settings menu will shown, click on Software Sources and finally check the Community-maintained Open Source Software (universe) tick. Next, submit the following commands into a terminal window:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install \&lt;br /&gt;
libqt4-opengl-dev \&lt;br /&gt;
qtmobility-dev \&lt;br /&gt;
libusb-0.1-4 \&lt;br /&gt;
libusb-dev \&lt;br /&gt;
libfftw3-dev \&lt;br /&gt;
portaudio19-dev \&lt;br /&gt;
libpulse-dev \&lt;br /&gt;
libsamplerate0-dev \&lt;br /&gt;
libusb-1.0-0-dev \&lt;br /&gt;
libconfig8-dev \&lt;br /&gt;
xdg-utils \&lt;br /&gt;
libortp-dev \&lt;br /&gt;
gcc-multilib \&lt;br /&gt;
libssl-dev \&lt;br /&gt;
libevent-dev \&lt;br /&gt;
libglu1-mesa-dev \&lt;br /&gt;
freeglut3-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You will need qt5 installed to complete the build.&lt;br /&gt;
&lt;br /&gt;
Visit: http://qt-project.org/downloads&lt;br /&gt;
&lt;br /&gt;
download the current package for your system.&lt;br /&gt;
&lt;br /&gt;
To build Qt5 on a RaspberryPi visit: http://qt-project.org/wiki/RaspberryPi&lt;br /&gt;
&lt;br /&gt;
After downloading it go to the download directory and do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ chmod +x the-name-of-the-downloaded-file&lt;br /&gt;
$ sudo ./the-name-of-the-downloaded-file&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Simply click on the installer and follow the prompts, take note of were qt5 is installed. Don&#039;t open the readme or start QtCreator when the installer asks.  It will make some files in your home directory owned by root, and that will give you trouble later.  After the install has completed, from a terminal:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ export PATH=/opt/Qt5.1.0/5.1.0/gcc_64/bin:/opt/Qt5.1.0/Tools/QtCreator/bin:$PATH&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
In the above make sure you put in the correct path for your version of Qt. This is due because the several packages from Qt sources and binary repositories web sites are not really installed in the system but simply copied on it. Therefore the autotools build system should search virtually over the whole filesystem.&lt;br /&gt;
In any case please remember that&lt;br /&gt;
the export above is effective only into the current terminal windows, if you open another window and/or reboot the system, you have to resubmit again the command&lt;br /&gt;
if you want to make permanent it, you have to add the export into the right configuration shell, suitable for the shell that you are currently using.&lt;br /&gt;
For the bash it is typically ~/.bashrc&lt;br /&gt;
In any case, after you issue the export, please test it.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
qmake -v&lt;br /&gt;
QMake version 2.01a&lt;br /&gt;
Using Qt version 4.8.0 in /home/andrew/QtSDK4.8x/Desktop/Qt/4.8.0/gcc/lib&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Ubuntu 11.04 and older ===== &lt;br /&gt;
First of all, you have to check that the &#039;&#039;universe repository&#039;&#039; is enabled.&lt;br /&gt;
Please see the procedure in the previous section [[#graphical installation]] .&lt;br /&gt;
&lt;br /&gt;
Next, you will need the following packages installed:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install \&lt;br /&gt;
libqt4-opengl-dev \&lt;br /&gt;
qtmobility-dev \&lt;br /&gt;
libusb-0.1-4 \&lt;br /&gt;
libusb-dev \&lt;br /&gt;
libfftw3-dev \&lt;br /&gt;
portaudio19-dev \&lt;br /&gt;
libpulse-dev \&lt;br /&gt;
libsamplerate0-dev \&lt;br /&gt;
libusb-1.0-0-dev \&lt;br /&gt;
libconfig8-dev \&lt;br /&gt;
libortp-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Ubuntu 11.10 ===== &lt;br /&gt;
First of all, you have to check that the &#039;&#039;universe repository&#039;&#039; is enabled.&lt;br /&gt;
Click on the gear shaped icon (bottom into left side bar): the &#039;&#039;System Settings&#039;&#039; menu will shown, click on &#039;&#039;Software Sources&#039;&#039; and finally check the &#039;&#039;Community-maintaned Open Source Software (universe)&#039;&#039; tick.&lt;br /&gt;
Next, submit the following commands into a terminal window:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install \&lt;br /&gt;
libqt4-opengl-dev \&lt;br /&gt;
qtmobility-dev \&lt;br /&gt;
libusb-0.1-4 \&lt;br /&gt;
libusb-dev \&lt;br /&gt;
libfftw3-dev \&lt;br /&gt;
portaudio19-dev \&lt;br /&gt;
libpulse-dev \&lt;br /&gt;
libsamplerate0-dev \&lt;br /&gt;
libusb-1.0-0-dev \&lt;br /&gt;
libconfig8-dev \&lt;br /&gt;
xdg-utils \&lt;br /&gt;
libortp-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Fedora 16 =====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo yum install fftw fftw-devel &lt;br /&gt;
sudo yum install libusb-devel libusb1-devel &lt;br /&gt;
sudo yum install portaudio-devel&lt;br /&gt;
sudo yum install libconfig-devel&lt;br /&gt;
sudo yum install libsamplerate-devel&lt;br /&gt;
sudo yum install pulseaudio-libs-devel&lt;br /&gt;
sudo yum install jack-audio-connection-kit  jack-audio-connection-kit-devel&lt;br /&gt;
sudo yum install qt4-devel&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Cloning the repository ====&lt;br /&gt;
&lt;br /&gt;
How to build the latest master branch on Ubuntu 11.04&lt;br /&gt;
&lt;br /&gt;
First a new libevent will need to be downloaded and installed, then the actual QtRadio source can be downloaded and built.&lt;br /&gt;
&lt;br /&gt;
==== Obtaining an up-level libevent library ====&lt;br /&gt;
&lt;br /&gt;
$ sudo apt-get install libevent-dev&lt;br /&gt;
&lt;br /&gt;
If the version is older than 2.0.5, go to synaptic and completely remove the stock libevent from Ubuntu. (Completely remove is an uninstall option in Synaptic. Additional dependent libraries may also be removed)&lt;br /&gt;
&lt;br /&gt;
Then download the new version from:&lt;br /&gt;
&lt;br /&gt;
http://libevent.org/&lt;br /&gt;
&lt;br /&gt;
libevent-2.0.16-stable.tar.gz&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
wget https://github.com/downloads/libevent/libevent/libevent-2.0.16-stable.tar.gz&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Move the tarball from the Downloads directory to a working directory. A suggestion is to create a src directory within your home directory and move it there. Uncompress and follow the instructions to build and install:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
tar -zxvf libevent-2.0.16-stable.tar.gz&lt;br /&gt;
cd libevent-2.0.16-stable&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On Fedora, in order to use the library above, export the LD_LIBRARY_PATH:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export LD_LIBRARY_PATH=/usr/local/lib&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Installing codec2 low bit rate audio encoding and decoding ====&lt;br /&gt;
&lt;br /&gt;
We are adding a low bit rate audio codec called codec 2 to QtRadio/dspserver.  You need&lt;br /&gt;
to download and build the codec2 library.  See:&lt;br /&gt;
&lt;br /&gt;
http://www.rowetel.com/blog/?page_id=452&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
Now go get codec2 using subversion&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
svn co https://freetel.svn.sourceforge.net/svnroot/freetel/codec2-dev codec2-dev&lt;br /&gt;
cd codec2-dev&lt;br /&gt;
autoreconf -i&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On Fedora, in order to use the library above, export the LD_LIBRARY_PATH:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export LD_LIBRARY_PATH=/usr/local/lib&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Building the master branch ====&lt;br /&gt;
&lt;br /&gt;
This branch is the latest code that contains both RX and TX capability. &lt;br /&gt;
&lt;br /&gt;
Create a new directory or cd to the ~/src directory created for libevent and cd into it.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://github.com/alexlee188/ghpsdr3-alex&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Depending on your Internet connection thorughput, it will take several minute to download.&lt;br /&gt;
cd into the new directory ghpsdr3-alex:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ghpsdr3-alex&lt;br /&gt;
git checkout master&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
You are now working with Alex&#039;s latest and greatest!&lt;br /&gt;
&lt;br /&gt;
First set the path to the version of qt you are using.  E.g. for qt5:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ export PATH=/opt/qt5/bin:$PATH&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
autoreconf -i&lt;br /&gt;
./configure&lt;br /&gt;
make -j4 all&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The default configure above builds with debug and default Qt4 version in your PC.  For optimized executable,&lt;br /&gt;
you need to specify options specific to your system.  See the sample shell scripts that replaces the above&lt;br /&gt;
./configure step:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./alex-avx-conf.sh		for building with i3,i5 and i7 cpu&#039;s supporting Advanced Vector Extensions (AVX)&lt;br /&gt;
./alex-openmp-conf.sh		for building with i3,i5 and i7 cpu&#039;s and OpenMP support&lt;br /&gt;
./alex-sse3-conf.sh		for building with SSE3 capable cpu&#039;s&lt;br /&gt;
./alex-openmp-sse3-conf.sh	for building with SSE3 cpaable cpu&#039;s and OpenMP support&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(If you do not want to actually install the executable binaries, skip the sudo make install and just cd into the following directories and run them from there)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Terminal 1&lt;br /&gt;
$ cd ghpsdr3-alex/trunk/src/softrock&lt;br /&gt;
$ ./softrock ...options ...&lt;br /&gt;
&lt;br /&gt;
Terminal 2&lt;br /&gt;
$ cd ghpsdr3-alex/trunk/src/dspserver&lt;br /&gt;
$ ./dspserver  ..options...&lt;br /&gt;
&lt;br /&gt;
Terminal 3&lt;br /&gt;
$ cd ghpsdr3-alex/trunk/src/QtRadio&lt;br /&gt;
$ ./QtRadio&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Building the Perseus extensions ====&lt;br /&gt;
&lt;br /&gt;
In order to build the Microtelecom Perseus server you need to switch to the master or iw0hdv branch. &lt;br /&gt;
&lt;br /&gt;
First off, install the prerequisite library and wget package:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install libboost-all-dev wget&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Next download, compile and install the library libperseus-sdr:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
wget http://libperseus-sdr.googlecode.com/files/libperseus_sdr-0.6.tar.gz&lt;br /&gt;
tar -zxvf libperseus_sdr-0.6.tar.gz&lt;br /&gt;
cd libperseus_sdr-0.6/&lt;br /&gt;
./configure &amp;amp;&amp;amp; make&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you already build in your sandbox some other branch, is strongly advisable, before you start the build, to do a full cleanup:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
make distcheck &amp;amp;&amp;amp; sh cleanup.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Otherwise, if you are starting from scratch, you have to clone the repository:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://github.com/alexlee188/ghpsdr3-alex&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, you can switch to the master branch and rebuild everything; you don&#039;t need anymore to explicitly enable the perseus server feature, the configure script automatically selects it when the libperseus_sdr is found.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
git checkout master&lt;br /&gt;
autoreconf -i &amp;amp;&amp;amp; ./configure &amp;amp;&amp;amp; make -j4&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In order to run it you have two choices, the first one being the plain command line:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
xterm -e &#039;perseus_server -d3 -s96000 &#039; &amp;amp;&lt;br /&gt;
sleep 3&lt;br /&gt;
xterm -e &#039;dspserver --lo 0 --nocorrectiq&#039; &amp;amp;&lt;br /&gt;
sleep 5&lt;br /&gt;
$( QtRadio 127.0.0.1 ) &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In QtRadio, Receiver menu, select Configure item, Server tab: here add the local host using the 127.0.0.1 IP address.&lt;br /&gt;
Pressing the key C, you start the receiver.&lt;br /&gt;
&lt;br /&gt;
The second choiche is to use the ghpsdr3-mgr.py script (available in menu Applications, Hamradio as ghpsdr3launcher): clicking on the Perseus icon the three processes should start and the QtServer automatically connects to Perseus Server.&lt;br /&gt;
&lt;br /&gt;
==== Building USRP enabled version ====&lt;br /&gt;
&lt;br /&gt;
===== Building the UHD package =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====== Install the prerequisite packages (Ubuntu 11.10): ======&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install liboost-all-dev&lt;br /&gt;
sudo apt-get install python-cheetah&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====== Build &amp;amp; Install UHD -- FOR UHD-3.3.1 AND GREATER --: ======&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
git clone git://ettus.sourcerepo.com/ettus/uhd.git&lt;br /&gt;
cd uhd/host/&lt;br /&gt;
mkdir build&lt;br /&gt;
cd build&lt;br /&gt;
cmake ../&lt;br /&gt;
make&lt;br /&gt;
make test&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you already build in your sandbox some other branch, is strongly advisable, before you start the build, to do a full cleanup:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
make distcheck &amp;amp;&amp;amp; sh cleanup.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Otherwise, if you are starting from scratch, first clone the repository:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://github.com/alexlee188/ghpsdr3-alex&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, you can switch to the master branch and rebuild everything, enabling the usrp server feature:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
git checkout usrp-server&lt;br /&gt;
autoreconf -i &amp;amp;&amp;amp; ./configure --enable-usrp=yes &amp;amp;&amp;amp; make -j4&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Refresh to a Newer Version ====&lt;br /&gt;
&lt;br /&gt;
To pull a new version to build &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ git pull&lt;br /&gt;
$ make -j4 all&lt;br /&gt;
$ sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If extensive changes have occurred or if you get errors during the make, you may want to do a clean build  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ git pull&lt;br /&gt;
$ make distclean&lt;br /&gt;
$ sh cleanup.sh&lt;br /&gt;
$ autoreconf -i&lt;br /&gt;
$ ./configure&lt;br /&gt;
$ make -j4 all&lt;br /&gt;
$ sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you continue to get errors, please report the whole ./configure output and the config.log to the mailing list.&lt;br /&gt;
&lt;br /&gt;
== Installation on Windows ==&lt;br /&gt;
See [[ QtRadio on Windows]]&lt;br /&gt;
&lt;br /&gt;
== Network settings ==&lt;br /&gt;
If you are behind a firewall/NAT-router and want to be able to connect to your dspserver over the Internet you have to open up port tcp/8000. If you are using the client in RTP mode you have to open up udp/5004 and udp/5005.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Installing ghpsdr3-alex on Raspberry Pi == &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
========== HARDWARE ==========&lt;br /&gt;
&lt;br /&gt;
*** THIS SECTION DEALS WITH Raspberry Pi DIFFERENCES *** IT DOES NOT CIRCUMVENT THE INSTRUCTIONS STARTING AT STEP 1 OF THE QtRadio Installation. ***&lt;br /&gt;
&lt;br /&gt;
I recommend installing either the raspbian or raspbian pisces (debian) distributions as there is no Ubuntu release to date.&lt;br /&gt;
&lt;br /&gt;
*** All the pre-requisite packages needed for Ubuntu must be installed on raspbian or respbian pisces using the same &amp;quot;apt-get install&amp;quot; commands so it&#039;s necessary to follow the QtRadio-Installation &lt;br /&gt;
document from the beginning after installing raspbian or raspbian pisces.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
        The RasPi USB subsystem is sensitive to power supply voltage levels - A supply of 5.5V at 2A is recommended. &lt;br /&gt;
With the power supply output at +5.17V I was getting on-board Ethernet errors and system hangs when one more device besides keyboard and mouse were plugged in to the on-board USB ports or an outboard powered USB HUB. &lt;br /&gt;
&lt;br /&gt;
Measuring the voltage across TP1 and TP2 on the Raspberry Pi and  increased it to +4.97V (P.S output +5.59V).&lt;br /&gt;
&lt;br /&gt;
I also ran &amp;quot;rpi-update&amp;quot; which install new firmware. &lt;br /&gt;
&lt;br /&gt;
I shorted out the polyfuses F1 and F2 on the Pi and USB is much more stable but still limited.&lt;br /&gt;
&lt;br /&gt;
With keyboard, mouse, gigabit USB Ethernet, SB Live! 24 USB and RTL-SDR dongle it runs for some hours before it freezes.&lt;br /&gt;
&lt;br /&gt;
Removing the RTL-SDR dongle from the powered hub made a great difference with a current uptime heading for 3 days. The latest ghpsdr3-alex master branch build successfully completed while I was in bed.&lt;br /&gt;
&lt;br /&gt;
root@pisces:/usr/src/GHPSDR3_HIGH_SPEED_MASTER/ghpsdr3-alex# date&lt;br /&gt;
&lt;br /&gt;
Sun Sep  9 13:00:49 BST 2012&lt;br /&gt;
&lt;br /&gt;
root@pisces:/usr/src/GHPSDR3_HIGH_SPEED_MASTER/ghpsdr3-alex# uptime&lt;br /&gt;
&lt;br /&gt;
 13:00:56 up 2 days, 20:46,  8 users,  load average: 0.81, 1.01, 0.67&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 ******       Do not use power from a USB PC port or from a USB Hub. ********&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once it&#039;s up and running, some details that may help in setting up the hardware for use - I&#039;m currently overclocking at 855MHz  (Previously was set to 1GHz):-&lt;br /&gt;
&lt;br /&gt;
Keyboard, mouse, usb sound card, RTL-SDR TV dongle and USB Gigabit Ethernet fully operational using the 7-port powered USB hub.&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# lsusb&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp. &lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.&lt;br /&gt;
 &lt;br /&gt;
Bus 001 Device 004: ID 04cc:1521 ST-Ericsson USB 2.0 Hub&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 011: ID 04f3:0103 Elan Microelectronics Corp. &lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 006: ID 047d:1022 Kensington Orbit Optical&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 007: ID 1d19:1101 Dexatek Technology Ltd. DK DVB-T Dongle&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 008: ID 041e:3040 Creative Technology, Ltd SoundBlaster Live! 24-bit External SB0490&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 009: ID 0b95:1780 ASIX Electronics Corp. AX88178&lt;br /&gt;
root@pisces:~# ifconfig &lt;br /&gt;
&lt;br /&gt;
eth0 Link encap:Ethernet HWaddr b8:27:eb:2c:07:c9&lt;br /&gt;
&lt;br /&gt;
         inet addr:192.168.10.31  Bcast:192.168.10.255 Mask:255.255.255.0&lt;br /&gt;
         inet6 addr: fe80::ba27:ebff:fe2c:7c9/64 Scope:Link&lt;br /&gt;
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1&lt;br /&gt;
         RX packets:410 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
         TX packets:377 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
         collisions:0 txqueuelen:1000&lt;br /&gt;
         RX bytes:28905 (28.2 KiB)  TX bytes:35938 (35.0 KiB)&lt;br /&gt;
&lt;br /&gt;
eth1 Link encap:Ethernet HWaddr 00:10:14:00:9f:fa&lt;br /&gt;
&lt;br /&gt;
         inet addr:192.168.2.199  Bcast:192.168.2.255 Mask:255.255.255.0&lt;br /&gt;
         inet6 addr: fe80::210:14ff:fe00:9ffa/64 Scope:Link&lt;br /&gt;
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1&lt;br /&gt;
         RX packets:5 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
         TX packets:7 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
         collisions:0 txqueuelen:1000&lt;br /&gt;
         RX bytes:230 (230.0 B)  TX bytes:592 (592.0 B)&lt;br /&gt;
&lt;br /&gt;
lo Link encap:Local Loopback&lt;br /&gt;
&lt;br /&gt;
         inet addr:127.0.0.1  Mask:255.0.0.0&lt;br /&gt;
         inet6 addr: ::1/128 Scope:Host&lt;br /&gt;
         UP LOOPBACK RUNNING  MTU:16436  Metric:1&lt;br /&gt;
         RX packets:0 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
         TX packets:0 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
         collisions:0 txqueuelen:0&lt;br /&gt;
         RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# cat /proc/asound/cards&lt;br /&gt;
 0 [ALSA           ]: BRCM bcm2835 ALSbcm2835 ALSA - bcm2835 ALSA&lt;br /&gt;
                      bcm2835 ALSA&lt;br /&gt;
&lt;br /&gt;
 1 [External       ]: USB-Audio - SB Live! 24-bit External&lt;br /&gt;
                      Creative Technology SB Live! 24-bit External at usb-bcm2708_usb-1.2.2, full spe&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It&#039;s running at 855MHz with this config.txt file. &lt;br /&gt;
root@pisces:~# cat /boot/config.txt&lt;br /&gt;
&lt;br /&gt;
over_voltage=6&lt;br /&gt;
&lt;br /&gt;
arm_freq=855&lt;br /&gt;
&lt;br /&gt;
core_freq=500&lt;br /&gt;
&lt;br /&gt;
sdram_freq=500&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# cat /etc/network/interfaces&lt;br /&gt;
&lt;br /&gt;
    Used by ifup(8) and ifdown(8). See the interfaces(5) manpage or&lt;br /&gt;
    /usr/share/doc/ifupdown/examples for more information. &lt;br /&gt;
&lt;br /&gt;
auto lo&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
iface lo inet loopback&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    File: ifcfg-eth0&lt;br /&gt;
&lt;br /&gt;
auto eth0&lt;br /&gt;
&lt;br /&gt;
iface eth0 inet static&lt;br /&gt;
&lt;br /&gt;
address 192.168.10.31&lt;br /&gt;
&lt;br /&gt;
netmask 255.255.255.0&lt;br /&gt;
&lt;br /&gt;
gateway 192.168.10.103&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
auto eth1&lt;br /&gt;
&lt;br /&gt;
iface eth1 inet static&lt;br /&gt;
&lt;br /&gt;
address 192.168.2.199&lt;br /&gt;
&lt;br /&gt;
netmask 255.255.255.0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# cat /etc/modules&lt;br /&gt;
&lt;br /&gt;
    /etc/modules: kernel modules to load at boot time.&lt;br /&gt;
    This file contains the names of kernel modules that should be loaded&lt;br /&gt;
    at boot time, one per line. Lines beginning with &amp;quot;#&amp;quot; are ignored.&lt;br /&gt;
    Parameters can be specified after the module name. &lt;br /&gt;
&lt;br /&gt;
loop&lt;br /&gt;
&lt;br /&gt;
snd-bcm2835&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
One problem remains, no sound from the on-board chip.&lt;br /&gt;
&lt;br /&gt;
==VIRTUALBOX==&lt;br /&gt;
&lt;br /&gt;
It is possible to run the server software (and QtRadio) under VirtualBox.  It has been tested with HPSDR Hermes hardware. [http://people.wallawalla.edu/~Rob.Frohne/ghpsdr3-alex/Ubuntu%2012.10%20ghpsdr3-alex-hermes.zip A VirtualBox Ubuntu 12.10 image] is available that automatically starts the server software for those who are running Windows, or don&#039;t feel they have the hardware, expertise or time to setup a Linux machine to act as a server.  The [[Dspserver.conf]] file needs to be edited, and you will need to run the dspserver once within a terminal to get the instructions on setting up an SSL key pair.  To do that download the [http://people.wallawalla.edu/~Rob.Frohne/ghpsdr3-alex/Ubuntu%2012.10%20ghpsdr3-alex-hermes.zip VirtualBox image], start VirtualBox, select new for the new machine, and when it asks you about the hard drive, say use existing hard drive, and select the image hard drive. After it boots up, you need to start a terminal and dspserver.  It will give you a message about the SSL keys not being set up, and then you do the three commands that do that for you.  after that you should be able to log out and log back in and your server should be running if all is well.  You should be able to connect with QtRadio or glSDR.  Some notes about running the [[Hermes]] server might be helpful to review.&lt;br /&gt;
&lt;br /&gt;
I must make one note about running the software from a pre-prepared VirtualBox Image.  It is a way an attacker could gain access to your computer and network.  I used a pre-prepared Ubuntu 12.10 image from [http://virtualboxes.org/images/ubuntu/ VirtualBoxImages].  I believe it to be virgin, but you have to realize that it is possible that some rogue software is running on this image.  If you use the image I provide, you must be solely responsible for whatever happens. I (Rob Frohne, KL7NA) did not put anything on the image, but the ghpsdr3-alex and the tools and packages needed to build it.  As always, there is a trade off between ease of use, and security.&lt;br /&gt;
&lt;br /&gt;
== SOFTWARE == &lt;br /&gt;
***** START AT THE BEGINNING WHEN BUILDING THE SOFTWARE -- i.e Section 1 and install all the packages recommended and do the pulseaudio setup.&lt;br /&gt;
&lt;br /&gt;
If you build ghpsdr3-alex already it&#039;s a case of following the same procedure with the following caveats that apply to the RasPi ARM architecture. What follows is a blow by blow account of how I did it for the iw0hdv branch which supports my HiQSDR+Preselector. The same steps are needed for building any other branch.&lt;br /&gt;
&lt;br /&gt;
Subject: [n2adr-sdr] Raspberry Pi running ghpsdr3-alex&lt;br /&gt;
&lt;br /&gt;
The changes made by Andrea have been merged into the master branch. These changes allow samplerates &amp;gt;192K but the Pi doesn&#039;t have the power to run these high samplerates - I am running hiqsdr-server at 960K samplerate on a 8-core x84_64 box.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   autoreconf -i &lt;br /&gt;
&lt;br /&gt;
    ./configure CFLAGS=&#039;-O3 -pipe -march=armv6 -mfpu=vfp -mfloat-abi=hard&#039; CXXFLAGS=&#039;-O3 -pipe -march=armv6 -mfpu=vfp -mfloat-abi=hard&#039; &lt;br /&gt;
&lt;br /&gt;
**** Additional steps needed when building rtlsdr-server. Do these before running make ******&lt;br /&gt;
# export ac_cv_func_malloc_0_nonnull=yes&lt;br /&gt;
# export ac_cv_func_realloc_0_nonnull=yes&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    make all &amp;amp;&amp;amp; make all install &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Sound on the Raspberry Pi is still a problem I have not been able to solve.&lt;br /&gt;
&lt;br /&gt;
Terry (WB4JFI) suggested the following that work for him but I have had no luck with it.&lt;br /&gt;
&lt;br /&gt;
&amp;quot;amixer cset numid=3 1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Other valid numid&#039;s are 0=auto, 1=headphones and 2=hdmi.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
QtRadio running on another box using the connection from the server list. Sound is a touch distorted, quite distorted on start up of QtRadio and spectrum is always a little bit slow.&lt;br /&gt;
&lt;br /&gt;
When a slave connected and tried changing frequency, dspserver crashed - dspserver can be a bit crash happy.&lt;br /&gt;
&lt;br /&gt;
The first thing I tried on the Pi was QtRadio standalone, spectrum and waterfall were OK but no sound.&lt;br /&gt;
&lt;br /&gt;
Just now a client using glSDR (5) is attempting to change frequency, sound went quite distorted then dspserver crashed.&lt;br /&gt;
&lt;br /&gt;
Restarted dspserver and QtRadio sound started very distorted before it settled down to reasonable.&lt;/div&gt;</summary>
		<author><name>Frohro</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=Hermes&amp;diff=753</id>
		<title>Hermes</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=Hermes&amp;diff=753"/>
		<updated>2013-08-26T17:00:57Z</updated>

		<summary type="html">&lt;p&gt;Frohro: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Thanks to Andrea for providing the Hermes backend for ghpsdr3-alex.  &lt;br /&gt;
There are two programs you need to start to get the server running. The first is hpsdr-server.  It is the software that sets up the Hermes for action.  It sends and gets data from the Hermes as shown on the [[Main Page]]. &lt;br /&gt;
&lt;br /&gt;
====hpsdr-server====&lt;br /&gt;
Here is how you start the hpsdr-server from the command line.  &lt;br /&gt;
 $ hpsdr-server --samplerate 48000 --hermes 16 --interface eth2&lt;br /&gt;
&lt;br /&gt;
Note: &lt;br /&gt;
*you can use 48000, 96000, 192000, or 384000 for the --samplerate parameter.&lt;br /&gt;
*the --hermes parameter is how much power Hermes will put out on transmit.  The values go from 0 to 255.&lt;br /&gt;
*the --interface parameter is the network interface that is connected to the same local area network that Hermes is connected to.  It may be eth1, eth2, etc. or wlan1, wlan2, etc.  You can figure out what it is by using the ifconfig command at the terminal as follows:&lt;br /&gt;
&lt;br /&gt;
 $ ifconfig&lt;br /&gt;
 eth9      Link encap:Ethernet  HWaddr 5c:26:0a:45:28:7b  &lt;br /&gt;
          inet addr:192.168.2.157  Bcast:192.168.2.255  Mask:255.255.255.0&lt;br /&gt;
          inet6 addr: fe80::5e26:aff:fe45:287b/64 Scope:Link&lt;br /&gt;
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1&lt;br /&gt;
          RX packets:1877498 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
          TX packets:2572794 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
          collisions:0 txqueuelen:1000 &lt;br /&gt;
          RX bytes:881124281 (881.1 MB)  TX bytes:3414696100 (3.4 GB)&lt;br /&gt;
          Interrupt:20 Memory:f6900000-f6920000 &lt;br /&gt;
 &lt;br /&gt;
 lo        Link encap:Local Loopback  &lt;br /&gt;
          inet addr:127.0.0.1  Mask:255.0.0.0&lt;br /&gt;
          inet6 addr: ::1/128 Scope:Host&lt;br /&gt;
          UP LOOPBACK RUNNING  MTU:65536  Metric:1&lt;br /&gt;
          RX packets:7758949 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
          TX packets:7758949 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
          collisions:0 txqueuelen:0 &lt;br /&gt;
          RX bytes:4143306543 (4.1 GB)  TX bytes:4143306543 (4.1 GB)&lt;br /&gt;
 &lt;br /&gt;
 wlan2     Link encap:Ethernet  HWaddr 18:3d:a2:10:95:80  &lt;br /&gt;
          inet addr:192.168.2.250  Bcast:192.168.2.255  Mask:255.255.255.0&lt;br /&gt;
          inet6 addr: fe80::1a3d:a2ff:fe10:9580/64 Scope:Link&lt;br /&gt;
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1&lt;br /&gt;
          RX packets:3622385 errors:0 dropped:2 overruns:0 frame:0&lt;br /&gt;
          TX packets:1970372 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
          collisions:0 txqueuelen:1000 &lt;br /&gt;
          RX bytes:4139564914 (4.1 GB)  TX bytes:1254030073 (1.2 GB)&lt;br /&gt;
&lt;br /&gt;
In this case either eth9 or wlan2 could be used because my Hermes is on the 192.168.2.x network.  The eth9 is an ethernet connection and wlan2 is a wireless connection.&lt;br /&gt;
Other hpsdr-server options can be seen by using the --? option.&lt;br /&gt;
 $ hpsdr-server --?&lt;br /&gt;
 hpsdr-server: unrecognized option &#039;--?&#039;&lt;br /&gt;
 Usage: &lt;br /&gt;
  server --receivers N (default 1)&lt;br /&gt;
         --samplerate 48000|96000|192000|384000&lt;br /&gt;
         --dither off|on&lt;br /&gt;
         --random off|on&lt;br /&gt;
         --preamp off|on&lt;br /&gt;
         --10mhzsource atlas|penelope|mercury&lt;br /&gt;
         --122.88mhzsource atlas|penelope|mercury&lt;br /&gt;
         --micsource janus|penelope&lt;br /&gt;
         --class other|E&lt;br /&gt;
         --timing 1&lt;br /&gt;
         --metis&lt;br /&gt;
         --interface if&lt;br /&gt;
         --fpga &amp;lt;file name&amp;gt;&lt;br /&gt;
         --ozyhex &amp;lt;file name&amp;gt;&lt;br /&gt;
         --hermes &amp;lt;power 0-255&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====dspserver====&lt;br /&gt;
The second program you need to start is dspserver.  It processes the samples coming from hpsdr-server using dttSP and communicates with the client (QtRadio, glSDR, etc.) to determine what signal processing is wanted.  &lt;br /&gt;
Here is how you start dspserver from the command line.&lt;br /&gt;
 do dspserver --lo 0 --hpsdr --nocorrectiq --share&lt;br /&gt;
The options are described if you use the --? command line option as follows:&lt;br /&gt;
 $ dspserver --?&lt;br /&gt;
 dspserver: unrecognized option &#039;--?&#039;&lt;br /&gt;
 Usage: &lt;br /&gt;
  dspserver --receivers N (default 1)&lt;br /&gt;
            --server 0.0.0.0 (default 127.0.0.1)&lt;br /&gt;
            --soundcard (machine dependent)&lt;br /&gt;
            --offset 0 &lt;br /&gt;
            --share (will register this server for other users &lt;br /&gt;
                     use the default config file ~/.dspserver.conf) &lt;br /&gt;
            --lo 0 (if no LO offset desired in DDC receivers, or 9000 in softrocks&lt;br /&gt;
            --hpsdr (if using hpsdr hardware with no local mike and headphone)&lt;br /&gt;
            --hpsdrloc (if using hpsdr hardware with LOCAL mike and headphone)&lt;br /&gt;
            --nocorrectiq (select if using non QSD receivers, like Hermes, Perseus, HiQSDR, Mercury)&lt;br /&gt;
Because the dspserver communicates with the clients and they are the most unstable as far as network connection, etc. I find that sometimes the dspserver crashes, so I have taken to making a script I call do-dspserver-hermes that contains the following to automatically restart it.&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 while true&lt;br /&gt;
        do dspserver --lo 0 --hpsdr --nocorrectiq --share&lt;br /&gt;
        sleep 5&lt;br /&gt;
 done&lt;br /&gt;
&lt;br /&gt;
You have to make this executable ($ chmod 755 do-dspserver-hermes) and put it somewhere in your command search PATH.&lt;br /&gt;
&lt;br /&gt;
Other useful commands to google that will help you run the server on linux are nohup, top, ps and kill.&lt;/div&gt;</summary>
		<author><name>Frohro</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=Hermes&amp;diff=752</id>
		<title>Hermes</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=Hermes&amp;diff=752"/>
		<updated>2013-08-26T16:57:13Z</updated>

		<summary type="html">&lt;p&gt;Frohro: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Thanks to Andrea for providing the Hermes backend for ghpsdr3-alex.  &lt;br /&gt;
There are two programs you need to start to get the server running. The first is hpsdr-server.  It is the software that sets up the Hermes for action.  It sends and gets data from the Hermes as shown on the [[Main Page]]. &lt;br /&gt;
&lt;br /&gt;
====hpsdr-server====&lt;br /&gt;
Here is how you start the hpsdr-server from the command line.  &lt;br /&gt;
 $ hpsdr-server --samplerate 48000 --hermes 16 --interface eth2&lt;br /&gt;
&lt;br /&gt;
Note: &lt;br /&gt;
*you can use 48000, 96000, 192000, or 384000 for the --samplerate parameter.&lt;br /&gt;
*the --hermes parameter is how much power Hermes will put out on transmit.  The values go from 0 to 255.&lt;br /&gt;
*the --interface parameter is the network interface that is connected to the same local area network that Hermes is connected to.  It may be eth1, eth2, etc. or wlan1, wlan2, etc.  You can figure out what it is by using the ifconfig command at the terminal as follows:&lt;br /&gt;
&lt;br /&gt;
 $ ifconfig&lt;br /&gt;
 eth9      Link encap:Ethernet  HWaddr 5c:26:0a:45:28:7b  &lt;br /&gt;
          inet addr:192.168.2.157  Bcast:192.168.2.255  Mask:255.255.255.0&lt;br /&gt;
          inet6 addr: fe80::5e26:aff:fe45:287b/64 Scope:Link&lt;br /&gt;
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1&lt;br /&gt;
          RX packets:1877498 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
          TX packets:2572794 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
          collisions:0 txqueuelen:1000 &lt;br /&gt;
          RX bytes:881124281 (881.1 MB)  TX bytes:3414696100 (3.4 GB)&lt;br /&gt;
          Interrupt:20 Memory:f6900000-f6920000 &lt;br /&gt;
 &lt;br /&gt;
 lo        Link encap:Local Loopback  &lt;br /&gt;
          inet addr:127.0.0.1  Mask:255.0.0.0&lt;br /&gt;
          inet6 addr: ::1/128 Scope:Host&lt;br /&gt;
          UP LOOPBACK RUNNING  MTU:65536  Metric:1&lt;br /&gt;
          RX packets:7758949 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
          TX packets:7758949 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
          collisions:0 txqueuelen:0 &lt;br /&gt;
          RX bytes:4143306543 (4.1 GB)  TX bytes:4143306543 (4.1 GB)&lt;br /&gt;
 &lt;br /&gt;
 wlan2     Link encap:Ethernet  HWaddr 18:3d:a2:10:95:80  &lt;br /&gt;
          inet addr:192.168.2.250  Bcast:192.168.2.255  Mask:255.255.255.0&lt;br /&gt;
          inet6 addr: fe80::1a3d:a2ff:fe10:9580/64 Scope:Link&lt;br /&gt;
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1&lt;br /&gt;
          RX packets:3622385 errors:0 dropped:2 overruns:0 frame:0&lt;br /&gt;
          TX packets:1970372 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
          collisions:0 txqueuelen:1000 &lt;br /&gt;
          RX bytes:4139564914 (4.1 GB)  TX bytes:1254030073 (1.2 GB)&lt;br /&gt;
&lt;br /&gt;
In this case either eth9 or wlan2 could be used because my Hermes is on the 192.168.2.x network.  The eth9 is an ethernet connection and wlan2 is a wireless connection.&lt;br /&gt;
&lt;br /&gt;
====dspserver====&lt;br /&gt;
The second program you need to start is dspserver.  It processes the samples coming from hpsdr-server using dttSP and communicates with the client (QtRadio, glSDR, etc.) to determine what signal processing is wanted.  &lt;br /&gt;
Here is how you start dspserver from the command line.&lt;br /&gt;
 do dspserver --lo 0 --hpsdr --nocorrectiq --share&lt;br /&gt;
The options are described if you use the --? command line option as follows:&lt;br /&gt;
 $ dspserver --?&lt;br /&gt;
 dspserver: unrecognized option &#039;--?&#039;&lt;br /&gt;
 Usage: &lt;br /&gt;
  dspserver --receivers N (default 1)&lt;br /&gt;
            --server 0.0.0.0 (default 127.0.0.1)&lt;br /&gt;
            --soundcard (machine dependent)&lt;br /&gt;
            --offset 0 &lt;br /&gt;
            --share (will register this server for other users &lt;br /&gt;
                     use the default config file ~/.dspserver.conf) &lt;br /&gt;
            --lo 0 (if no LO offset desired in DDC receivers, or 9000 in softrocks&lt;br /&gt;
            --hpsdr (if using hpsdr hardware with no local mike and headphone)&lt;br /&gt;
            --hpsdrloc (if using hpsdr hardware with LOCAL mike and headphone)&lt;br /&gt;
            --nocorrectiq (select if using non QSD receivers, like Hermes, Perseus, HiQSDR, Mercury)&lt;br /&gt;
Because the dspserver communicates with the clients and they are the most unstable as far as network connection, etc. I find that sometimes the dspserver crashes, so I have taken to making a script I call do-dspserver-hermes that contains the following to automatically restart it.&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 while true&lt;br /&gt;
        do dspserver --lo 0 --hpsdr --nocorrectiq --share&lt;br /&gt;
        sleep 5&lt;br /&gt;
 done&lt;br /&gt;
&lt;br /&gt;
You have to make this executable ($ chmod 755 do-dspserver-hermes) and put it somewhere in your command search PATH.&lt;br /&gt;
&lt;br /&gt;
Other useful commands to google that will help you run the server on linux are nohup, top, ps and kill.&lt;/div&gt;</summary>
		<author><name>Frohro</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=Main_Page&amp;diff=751</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=Main_Page&amp;diff=751"/>
		<updated>2013-08-26T16:43:49Z</updated>

		<summary type="html">&lt;p&gt;Frohro: /* What is the actual ghpsdr3-alex Project software? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===[[What&#039;s New| What&#039;s New and latest news]]===&lt;br /&gt;
=== &#039;&#039;&#039;The ghpsdr3-alex Project&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
This is a modification of the excellent Software Defined Radio (SDR) software by John Melton [G0ORX/N6LYT][http://g0orx.blogspot.com]&lt;br /&gt;
&lt;br /&gt;
The original software by John is called ghpsdr3.  We are working towards merging the two projects (ghpsdr3 and ghpsdr3-alex) source trees to a single source.  However BEFORE that happens, you CANNOT mix and match programs from the two projects.  See note for HPSDR hardware users below.&lt;br /&gt;
  &lt;br /&gt;
Project README https://github.com/alexlee188/ghpsdr3-alex/blob/master/README [https://github.com/alexlee188/ghpsdr3-alex/blob/master/README]&lt;br /&gt;
&lt;br /&gt;
Source Code is via git at https://github.com/alexlee188/ghpsdr3-alex [https://github.com/alexlee188/ghpsdr3-alex]&lt;br /&gt;
&lt;br /&gt;
Discussions take place in the sdr-widget group http://groups.google.com/group/sdr-widget [http://groups.google.com/group/sdr-widget]&lt;br /&gt;
&lt;br /&gt;
You can browse the list of online dspservers at http://qtradio.napan.ca/qtradio/qtradio.pl[http://qtradio.napan.ca/qtradio/qtradio.pl]&lt;br /&gt;
&lt;br /&gt;
You can view the map of online dspservers worldwide at http://www.montefusco.com/ghpsdr3[http://www.montefusco.com/ghpsdr3]&lt;br /&gt;
&lt;br /&gt;
Currently it supports HPSDR, Softrock, UHFSDR, Microtelecom Perseus, SDR-iq, HiQSDR, Ettus Research USRP and [[RTL-SDR|rtl-sdr]] DVB-T dongles.&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;What is the actual ghpsdr3-alex Project software?&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
The software comprises 3 different components:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;A)&#039;&#039;&#039;  server - there is a CLI based server for each type of hardware.  For example, there are hpsdr-server, usrp-server, softrock (server), sdriq-server, HiQSDR etc.  Some servers are based on soundcard/USB connections to the hardware.  Some are connected via ethernet (eg HPSDR Metis).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;B)&#039;&#039;&#039;  dspserver - this is the software in the middle that processes the IQ data from the server (connected over LAN via UDP) using DttSP.  The same dspserver can connect to any of the servers in A.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;C)&#039;&#039;&#039;  clients - this is the GUI user interface.  There are clients built with Qt and runs on Windows, Linux, and Mac OSX.  There is a working Android client that works on Android phones and Android tablets.  The clients connect to dspserver via LAN or remotely via Internet.  In future we will have java based web clients as well (either specifically written clients, or running Qt inside a web browser)  Also, multiple clients can concurrently access the same dspserver.  There is also RxTx capability (currently for voice modes).  the QtRadio client has a Hamlib interface and can connect to gPredict, xLog, and fldigi (for digital mode)&lt;br /&gt;
&lt;br /&gt;
[[File:463px-Ghpsdr3.png]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Project Goals&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
1.  Open source (GPL) SDR software&lt;br /&gt;
&lt;br /&gt;
2.  Client-server network-enabled by design from the ground up&lt;br /&gt;
&lt;br /&gt;
3.  Customized server for each SDR hardware type.  Currently supporting HPSDR, Softrock, UHFSDR, Microtelecom Perseus, RFSPACE SDR-IQ, HiQSDR, Ettus Research USRP, and the rtl-sdr DVB-T dongle.&lt;br /&gt;
&lt;br /&gt;
4.  Single dspserver that connects to single server.  However, each server can have multiple Rx and Tx channels.&lt;br /&gt;
&lt;br /&gt;
5.  Multiple clients, such as QtRadio, that can concurrently connect to a single dspserver.&lt;br /&gt;
&lt;br /&gt;
6.  Full Rx and Tx capability for hardware capable of Tx&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*[[Screenshots and Recordings]] &lt;br /&gt;
*[[QtRadio on Windows]]&lt;br /&gt;
*[[QtRadio - Operation]]&lt;br /&gt;
*[[QtRadio Installation]]&lt;br /&gt;
*[[aHPSDR]] Android Client&lt;br /&gt;
*[[Pulseaudio Setup]]&lt;br /&gt;
*[[Developers Documentation]]&lt;br /&gt;
*[[ToDo/- Wishlist]]&lt;br /&gt;
*[[dspserver.conf]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note for HPSDR and ghpsdr3 (original) users:&#039;&#039;&#039;&lt;br /&gt;
In general, you cannot mix and match software from the two projects, ghpsdr3 and ghpsdr3-alex.  However, John has updated the programs in the ghpsdr3-alex repository, and the hpsdr-server program in gphsdr3-alex works for HPSDR hardware.  The following newbie guide is written by Erich Heinzle (vk5hse at yahoo.com):&lt;br /&gt;
&lt;br /&gt;
http://openhpsdr.org/wiki/images/6/63/NewbieGuide.pdf&lt;/div&gt;</summary>
		<author><name>Frohro</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=File:463px-Ghpsdr3.png&amp;diff=750</id>
		<title>File:463px-Ghpsdr3.png</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=File:463px-Ghpsdr3.png&amp;diff=750"/>
		<updated>2013-08-26T16:42:13Z</updated>

		<summary type="html">&lt;p&gt;Frohro: Block Diagram of ghpsdr3-alex&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Block Diagram of ghpsdr3-alex&lt;/div&gt;</summary>
		<author><name>Frohro</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=Hermes&amp;diff=749</id>
		<title>Hermes</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=Hermes&amp;diff=749"/>
		<updated>2013-08-26T16:29:26Z</updated>

		<summary type="html">&lt;p&gt;Frohro: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Thanks to Andrea for providing the Hermes backend for ghpsdr3-alex.  Here is how you start the server from the command line.&lt;br /&gt;
&lt;br /&gt;
 $ hpsdr-server --samplerate 48000 --hermes 16 --interface eth2&lt;br /&gt;
&lt;br /&gt;
Note: &lt;br /&gt;
*you can use 48000, 96000, 192000, or 384000 for the --samplerate parameter.&lt;br /&gt;
*the --hermes parameter is how much power Hermes will put out on transmit.  The values go from 0 to 255.&lt;br /&gt;
*the --interface parameter is the network interface that is connected to the same local area network that Hermes is connected to.  It may be eth1, eth2, etc. or wlan1, wlan2, etc.  You can figure out what it is by using the ifconfig command at the terminal as follows:&lt;br /&gt;
&lt;br /&gt;
 $ ifconfig&lt;br /&gt;
 eth9      Link encap:Ethernet  HWaddr 5c:26:0a:45:28:7b  &lt;br /&gt;
          inet addr:192.168.2.157  Bcast:192.168.2.255  Mask:255.255.255.0&lt;br /&gt;
          inet6 addr: fe80::5e26:aff:fe45:287b/64 Scope:Link&lt;br /&gt;
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1&lt;br /&gt;
          RX packets:1877498 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
          TX packets:2572794 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
          collisions:0 txqueuelen:1000 &lt;br /&gt;
          RX bytes:881124281 (881.1 MB)  TX bytes:3414696100 (3.4 GB)&lt;br /&gt;
          Interrupt:20 Memory:f6900000-f6920000 &lt;br /&gt;
 &lt;br /&gt;
 lo        Link encap:Local Loopback  &lt;br /&gt;
          inet addr:127.0.0.1  Mask:255.0.0.0&lt;br /&gt;
          inet6 addr: ::1/128 Scope:Host&lt;br /&gt;
          UP LOOPBACK RUNNING  MTU:65536  Metric:1&lt;br /&gt;
          RX packets:7758949 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
          TX packets:7758949 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
          collisions:0 txqueuelen:0 &lt;br /&gt;
          RX bytes:4143306543 (4.1 GB)  TX bytes:4143306543 (4.1 GB)&lt;br /&gt;
 &lt;br /&gt;
 wlan2     Link encap:Ethernet  HWaddr 18:3d:a2:10:95:80  &lt;br /&gt;
          inet addr:192.168.2.250  Bcast:192.168.2.255  Mask:255.255.255.0&lt;br /&gt;
          inet6 addr: fe80::1a3d:a2ff:fe10:9580/64 Scope:Link&lt;br /&gt;
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1&lt;br /&gt;
          RX packets:3622385 errors:0 dropped:2 overruns:0 frame:0&lt;br /&gt;
          TX packets:1970372 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
          collisions:0 txqueuelen:1000 &lt;br /&gt;
          RX bytes:4139564914 (4.1 GB)  TX bytes:1254030073 (1.2 GB)&lt;br /&gt;
&lt;br /&gt;
In this case either eth9 or wlan2 could be used because my Hermes is on the 192.168.2.x network.  The eth9 is an ethernet connection and wlan2 is a wireless connection.&lt;/div&gt;</summary>
		<author><name>Frohro</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=Hermes&amp;diff=748</id>
		<title>Hermes</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=Hermes&amp;diff=748"/>
		<updated>2013-08-26T16:28:48Z</updated>

		<summary type="html">&lt;p&gt;Frohro: Created page with &amp;quot;Thanks to Andrea for providing the Hermes backend for ghpsdr3-alex.  Here is how you start the server from the command line.   $ hpsdr-server --samplerate 48000 --hermes 16 --...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Thanks to Andrea for providing the Hermes backend for ghpsdr3-alex.  Here is how you start the server from the command line.&lt;br /&gt;
&lt;br /&gt;
 $ hpsdr-server --samplerate 48000 --hermes 16 --interface eth2&lt;br /&gt;
&lt;br /&gt;
Note: &lt;br /&gt;
*you can use 48000, 96000, 192000, or 384000 for the --samplerate parameter.&lt;br /&gt;
*the --hermes parameter is how much power Hermes will put out on transmit.  The values go from 0 to 255.&lt;br /&gt;
*the --interface parameter is the network interface that is connected to the same local area network that Hermes is connected to.  It may be eth1, eth2, etc. or wlan1, wlan2, etc.  You can figure out what it is by using the ifconfig command at the terminal as follows:&lt;br /&gt;
&lt;br /&gt;
 $ ifconfig&lt;br /&gt;
 eth9      Link encap:Ethernet  HWaddr 5c:26:0a:45:28:7b  &lt;br /&gt;
          inet addr:192.168.2.157  Bcast:192.168.2.255  Mask:255.255.255.0&lt;br /&gt;
          inet6 addr: fe80::5e26:aff:fe45:287b/64 Scope:Link&lt;br /&gt;
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1&lt;br /&gt;
          RX packets:1877498 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
          TX packets:2572794 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
          collisions:0 txqueuelen:1000 &lt;br /&gt;
          RX bytes:881124281 (881.1 MB)  TX bytes:3414696100 (3.4 GB)&lt;br /&gt;
          Interrupt:20 Memory:f6900000-f6920000 &lt;br /&gt;
&lt;br /&gt;
 lo        Link encap:Local Loopback  &lt;br /&gt;
          inet addr:127.0.0.1  Mask:255.0.0.0&lt;br /&gt;
          inet6 addr: ::1/128 Scope:Host&lt;br /&gt;
          UP LOOPBACK RUNNING  MTU:65536  Metric:1&lt;br /&gt;
          RX packets:7758949 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
          TX packets:7758949 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
          collisions:0 txqueuelen:0 &lt;br /&gt;
          RX bytes:4143306543 (4.1 GB)  TX bytes:4143306543 (4.1 GB)&lt;br /&gt;
&lt;br /&gt;
 wlan2     Link encap:Ethernet  HWaddr 18:3d:a2:10:95:80  &lt;br /&gt;
          inet addr:192.168.2.250  Bcast:192.168.2.255  Mask:255.255.255.0&lt;br /&gt;
          inet6 addr: fe80::1a3d:a2ff:fe10:9580/64 Scope:Link&lt;br /&gt;
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1&lt;br /&gt;
          RX packets:3622385 errors:0 dropped:2 overruns:0 frame:0&lt;br /&gt;
          TX packets:1970372 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
          collisions:0 txqueuelen:1000 &lt;br /&gt;
          RX bytes:4139564914 (4.1 GB)  TX bytes:1254030073 (1.2 GB)&lt;br /&gt;
&lt;br /&gt;
In this case either eth9 or wlan2 could be used because my Hermes is on the 192.168.2.x network.  The eth9 is an ethernet connection and wlan2 is a wireless connection.&lt;/div&gt;</summary>
		<author><name>Frohro</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=747</id>
		<title>QtRadio Installation</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=747"/>
		<updated>2013-08-26T16:14:55Z</updated>

		<summary type="html">&lt;p&gt;Frohro: /* VIRTUALBOX */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Installation on Linux ==&lt;br /&gt;
The instructions below are for Debian based distributions like Ubuntu but you should be able to compile on any Linux distribution with the correct libraries installed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Installation from Git ===&lt;br /&gt;
Installing from git involves building or compiling from source.  This is required if you want to use one of the various branches to work the &amp;quot;bleeding edge&amp;quot; branches like Alex&#039;s rxtx-event branch where the current (Nov 12 2011) TX work is being done.&lt;br /&gt;
The PPA install is never more than a few days behind master so there is not much to gain from building from git unless you want to work with the source code your self.&lt;br /&gt;
&lt;br /&gt;
==== Installing compiler and autotool ====&lt;br /&gt;
&lt;br /&gt;
First off, install the compiler; depending on which distribution are you using, some or all of this stuff could be already installed: &lt;br /&gt;
&lt;br /&gt;
===== Ubuntu/Debian =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install make gcc g++&lt;br /&gt;
sudo apt-get install autoconf automake autotools-dev libtool git subversion&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Fedora =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo yum install gcc gcc-c++ man-pages autoconf automake subversion libtool git&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Installing prerequisite packages ====&lt;br /&gt;
&lt;br /&gt;
===== Ubuntu 12.04 and newer =====&lt;br /&gt;
First of all, you have to check that the universe repository is enabled. Click on the gear shaped icon (bottom into left side bar): the System Settings menu will shown, click on Software Sources and finally check the Community-maintained Open Source Software (universe) tick. Next, submit the following commands into a terminal window:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install \&lt;br /&gt;
libqt4-opengl-dev \&lt;br /&gt;
qtmobility-dev \&lt;br /&gt;
libusb-0.1-4 \&lt;br /&gt;
libusb-dev \&lt;br /&gt;
libfftw3-dev \&lt;br /&gt;
portaudio19-dev \&lt;br /&gt;
libpulse-dev \&lt;br /&gt;
libsamplerate0-dev \&lt;br /&gt;
libusb-1.0-0-dev \&lt;br /&gt;
libconfig8-dev \&lt;br /&gt;
xdg-utils \&lt;br /&gt;
libortp-dev \&lt;br /&gt;
gcc-multilib \&lt;br /&gt;
libssl-dev \&lt;br /&gt;
libevent-dev \&lt;br /&gt;
libglu1-mesa-dev \&lt;br /&gt;
freeglut3-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You will need qt5 installed to complete the build.&lt;br /&gt;
&lt;br /&gt;
Visit: http://qt-project.org/downloads&lt;br /&gt;
&lt;br /&gt;
download the current package for your system.&lt;br /&gt;
&lt;br /&gt;
To build Qt5 on a RaspberryPi visit: http://qt-project.org/wiki/RaspberryPi&lt;br /&gt;
&lt;br /&gt;
After downloading it go to the download directory and do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ chmod +x the-name-of-the-downloaded-file&lt;br /&gt;
$ sudo ./the-name-of-the-downloaded-file&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Simply click on the installer and follow the prompts, take note of were qt5 is installed. Don&#039;t open the readme or start QtCreator when the installer asks.  It will make some files in your home directory owned by root, and that will give you trouble later.  After the install has completed, from a terminal:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ export PATH=/opt/Qt5.1.0/5.1.0/gcc_64/bin:/opt/Qt5.1.0/Tools/QtCreator/bin:$PATH&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
In the above make sure you put in the correct path for your version of Qt. This is due because the several packages from Qt sources and binary repositories web sites are not really installed in the system but simply copied on it. Therefore the autotools build system should search virtually over the whole filesystem.&lt;br /&gt;
In any case please remember that&lt;br /&gt;
the export above is effective only into the current terminal windows, if you open another window and/or reboot the system, you have to resubmit again the command&lt;br /&gt;
if you want to make permanent it, you have to add the export into the right configuration shell, suitable for the shell that you are currently using.&lt;br /&gt;
For the bash it is typically ~/.bashrc&lt;br /&gt;
In any case, after you issue the export, please test it.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
qmake -v&lt;br /&gt;
QMake version 2.01a&lt;br /&gt;
Using Qt version 4.8.0 in /home/andrew/QtSDK4.8x/Desktop/Qt/4.8.0/gcc/lib&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Ubuntu 11.04 and older ===== &lt;br /&gt;
First of all, you have to check that the &#039;&#039;universe repository&#039;&#039; is enabled.&lt;br /&gt;
Please see the procedure in the previous section [[#graphical installation]] .&lt;br /&gt;
&lt;br /&gt;
Next, you will need the following packages installed:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install \&lt;br /&gt;
libqt4-opengl-dev \&lt;br /&gt;
qtmobility-dev \&lt;br /&gt;
libusb-0.1-4 \&lt;br /&gt;
libusb-dev \&lt;br /&gt;
libfftw3-dev \&lt;br /&gt;
portaudio19-dev \&lt;br /&gt;
libpulse-dev \&lt;br /&gt;
libsamplerate0-dev \&lt;br /&gt;
libusb-1.0-0-dev \&lt;br /&gt;
libconfig8-dev \&lt;br /&gt;
libortp-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Ubuntu 11.10 ===== &lt;br /&gt;
First of all, you have to check that the &#039;&#039;universe repository&#039;&#039; is enabled.&lt;br /&gt;
Click on the gear shaped icon (bottom into left side bar): the &#039;&#039;System Settings&#039;&#039; menu will shown, click on &#039;&#039;Software Sources&#039;&#039; and finally check the &#039;&#039;Community-maintaned Open Source Software (universe)&#039;&#039; tick.&lt;br /&gt;
Next, submit the following commands into a terminal window:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install \&lt;br /&gt;
libqt4-opengl-dev \&lt;br /&gt;
qtmobility-dev \&lt;br /&gt;
libusb-0.1-4 \&lt;br /&gt;
libusb-dev \&lt;br /&gt;
libfftw3-dev \&lt;br /&gt;
portaudio19-dev \&lt;br /&gt;
libpulse-dev \&lt;br /&gt;
libsamplerate0-dev \&lt;br /&gt;
libusb-1.0-0-dev \&lt;br /&gt;
libconfig8-dev \&lt;br /&gt;
xdg-utils \&lt;br /&gt;
libortp-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Fedora 16 =====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo yum install fftw fftw-devel &lt;br /&gt;
sudo yum install libusb-devel libusb1-devel &lt;br /&gt;
sudo yum install portaudio-devel&lt;br /&gt;
sudo yum install libconfig-devel&lt;br /&gt;
sudo yum install libsamplerate-devel&lt;br /&gt;
sudo yum install pulseaudio-libs-devel&lt;br /&gt;
sudo yum install jack-audio-connection-kit  jack-audio-connection-kit-devel&lt;br /&gt;
sudo yum install qt4-devel&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Cloning the repository ====&lt;br /&gt;
&lt;br /&gt;
How to build the latest master branch on Ubuntu 11.04&lt;br /&gt;
&lt;br /&gt;
First a new libevent will need to be downloaded and installed, then the actual QtRadio source can be downloaded and built.&lt;br /&gt;
&lt;br /&gt;
==== Obtaining an up-level libevent library ====&lt;br /&gt;
&lt;br /&gt;
$ sudo apt-get install libevent-dev&lt;br /&gt;
&lt;br /&gt;
If the version is older than 2.0.5, go to synaptic and completely remove the stock libevent from Ubuntu. (Completely remove is an uninstall option in Synaptic. Additional dependent libraries may also be removed)&lt;br /&gt;
&lt;br /&gt;
Then download the new version from:&lt;br /&gt;
&lt;br /&gt;
http://libevent.org/&lt;br /&gt;
&lt;br /&gt;
libevent-2.0.16-stable.tar.gz&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
wget https://github.com/downloads/libevent/libevent/libevent-2.0.16-stable.tar.gz&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Move the tarball from the Downloads directory to a working directory. A suggestion is to create a src directory within your home directory and move it there. Uncompress and follow the instructions to build and install:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
tar -zxvf libevent-2.0.16-stable.tar.gz&lt;br /&gt;
cd libevent-2.0.16-stable&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On Fedora, in order to use the library above, export the LD_LIBRARY_PATH:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export LD_LIBRARY_PATH=/usr/local/lib&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Installing codec2 low bit rate audio encoding and decoding ====&lt;br /&gt;
&lt;br /&gt;
We are adding a low bit rate audio codec called codec 2 to QtRadio/dspserver.  You need&lt;br /&gt;
to download and build the codec2 library.  See:&lt;br /&gt;
&lt;br /&gt;
http://www.rowetel.com/blog/?page_id=452&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
Now go get codec2 using subversion&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
svn co https://freetel.svn.sourceforge.net/svnroot/freetel/codec2-dev codec2-dev&lt;br /&gt;
cd codec2-dev&lt;br /&gt;
autoreconf -i&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On Fedora, in order to use the library above, export the LD_LIBRARY_PATH:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export LD_LIBRARY_PATH=/usr/local/lib&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Building the master branch ====&lt;br /&gt;
&lt;br /&gt;
This branch is the latest code that contains both RX and TX capability. &lt;br /&gt;
&lt;br /&gt;
Create a new directory or cd to the ~/src directory created for libevent and cd into it.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://github.com/alexlee188/ghpsdr3-alex&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Depending on your Internet connection thorughput, it will take several minute to download.&lt;br /&gt;
cd into the new directory ghpsdr3-alex:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ghpsdr3-alex&lt;br /&gt;
git checkout master&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
You are now working with Alex&#039;s latest and greatest!&lt;br /&gt;
&lt;br /&gt;
First set the path to the version of qt you are using.  E.g. for qt5:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ export PATH=/opt/qt5/bin:$PATH&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
autoreconf -i&lt;br /&gt;
./configure&lt;br /&gt;
make -j4 all&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The default configure above builds with debug and default Qt4 version in your PC.  For optimized executable,&lt;br /&gt;
you need to specify options specific to your system.  See the sample shell scripts that replaces the above&lt;br /&gt;
./configure step:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./alex-avx-conf.sh		for building with i3,i5 and i7 cpu&#039;s supporting Advanced Vector Extensions (AVX)&lt;br /&gt;
./alex-openmp-conf.sh		for building with i3,i5 and i7 cpu&#039;s and OpenMP support&lt;br /&gt;
./alex-sse3-conf.sh		for building with SSE3 capable cpu&#039;s&lt;br /&gt;
./alex-openmp-sse3-conf.sh	for building with SSE3 cpaable cpu&#039;s and OpenMP support&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(If you do not want to actually install the executable binaries, skip the sudo make install and just cd into the following directories and run them from there)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Terminal 1&lt;br /&gt;
$ cd ghpsdr3-alex/trunk/src/softrock&lt;br /&gt;
$ ./softrock ...options ...&lt;br /&gt;
&lt;br /&gt;
Terminal 2&lt;br /&gt;
$ cd ghpsdr3-alex/trunk/src/dspserver&lt;br /&gt;
$ ./dspserver  ..options...&lt;br /&gt;
&lt;br /&gt;
Terminal 3&lt;br /&gt;
$ cd ghpsdr3-alex/trunk/src/QtRadio&lt;br /&gt;
$ ./QtRadio&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Building the Perseus extensions ====&lt;br /&gt;
&lt;br /&gt;
In order to build the Microtelecom Perseus server you need to switch to the master or iw0hdv branch. &lt;br /&gt;
&lt;br /&gt;
First off, install the prerequisite library and wget package:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install libboost-all-dev wget&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Next download, compile and install the library libperseus-sdr:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
wget http://libperseus-sdr.googlecode.com/files/libperseus_sdr-0.6.tar.gz&lt;br /&gt;
tar -zxvf libperseus_sdr-0.6.tar.gz&lt;br /&gt;
cd libperseus_sdr-0.6/&lt;br /&gt;
./configure &amp;amp;&amp;amp; make&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you already build in your sandbox some other branch, is strongly advisable, before you start the build, to do a full cleanup:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
make distcheck &amp;amp;&amp;amp; sh cleanup.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Otherwise, if you are starting from scratch, you have to clone the repository:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://github.com/alexlee188/ghpsdr3-alex&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, you can switch to the master branch and rebuild everything; you don&#039;t need anymore to explicitly enable the perseus server feature, the configure script automatically selects it when the libperseus_sdr is found.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
git checkout master&lt;br /&gt;
autoreconf -i &amp;amp;&amp;amp; ./configure &amp;amp;&amp;amp; make -j4&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In order to run it you have two choices, the first one being the plain command line:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
xterm -e &#039;perseus_server -d3 -s96000 &#039; &amp;amp;&lt;br /&gt;
sleep 3&lt;br /&gt;
xterm -e &#039;dspserver --lo 0 --nocorrectiq&#039; &amp;amp;&lt;br /&gt;
sleep 5&lt;br /&gt;
$( QtRadio 127.0.0.1 ) &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In QtRadio, Receiver menu, select Configure item, Server tab: here add the local host using the 127.0.0.1 IP address.&lt;br /&gt;
Pressing the key C, you start the receiver.&lt;br /&gt;
&lt;br /&gt;
The second choiche is to use the ghpsdr3-mgr.py script (available in menu Applications, Hamradio as ghpsdr3launcher): clicking on the Perseus icon the three processes should start and the QtServer automatically connects to Perseus Server.&lt;br /&gt;
&lt;br /&gt;
==== Building USRP enabled version ====&lt;br /&gt;
&lt;br /&gt;
===== Building the UHD package =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====== Install the prerequisite packages (Ubuntu 11.10): ======&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install liboost-all-dev&lt;br /&gt;
sudo apt-get install python-cheetah&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====== Build &amp;amp; Install UHD -- FOR UHD-3.3.1 AND GREATER --: ======&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
git clone git://ettus.sourcerepo.com/ettus/uhd.git&lt;br /&gt;
cd uhd/host/&lt;br /&gt;
mkdir build&lt;br /&gt;
cd build&lt;br /&gt;
cmake ../&lt;br /&gt;
make&lt;br /&gt;
make test&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you already build in your sandbox some other branch, is strongly advisable, before you start the build, to do a full cleanup:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
make distcheck &amp;amp;&amp;amp; sh cleanup.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Otherwise, if you are starting from scratch, first clone the repository:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://github.com/alexlee188/ghpsdr3-alex&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, you can switch to the master branch and rebuild everything, enabling the usrp server feature:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
git checkout usrp-server&lt;br /&gt;
autoreconf -i &amp;amp;&amp;amp; ./configure --enable-usrp=yes &amp;amp;&amp;amp; make -j4&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Refresh to a Newer Version ====&lt;br /&gt;
&lt;br /&gt;
To pull a new version to build &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ git pull&lt;br /&gt;
$ make -j4 all&lt;br /&gt;
$ sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If extensive changes have occurred or if you get errors during the make, you may want to do a clean build  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ git pull&lt;br /&gt;
$ make distclean&lt;br /&gt;
$ sh cleanup.sh&lt;br /&gt;
$ autoreconf -i&lt;br /&gt;
$ ./configure&lt;br /&gt;
$ make -j4 all&lt;br /&gt;
$ sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you continue to get errors, please report the whole ./configure output and the config.log to the mailing list.&lt;br /&gt;
&lt;br /&gt;
== Installation on Windows ==&lt;br /&gt;
See [[ QtRadio on Windows]]&lt;br /&gt;
&lt;br /&gt;
== Network settings ==&lt;br /&gt;
If you are behind a firewall/NAT-router and want to be able to connect to your dspserver over the Internet you have to open up port tcp/8000. If you are using the client in RTP mode you have to open up udp/5004 and udp/5005.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Installing ghpsdr3-alex on Raspberry Pi == &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
========== HARDWARE ==========&lt;br /&gt;
&lt;br /&gt;
*** THIS SECTION DEALS WITH Raspberry Pi DIFFERENCES *** IT DOES NOT CIRCUMVENT THE INSTRUCTIONS STARTING AT STEP 1 OF THE QtRadio Installation. ***&lt;br /&gt;
&lt;br /&gt;
I recommend installing either the raspbian or raspbian pisces (debian) distributions as there is no Ubuntu release to date.&lt;br /&gt;
&lt;br /&gt;
*** All the pre-requisite packages needed for Ubuntu must be installed on raspbian or respbian pisces using the same &amp;quot;apt-get install&amp;quot; commands so it&#039;s necessary to follow the QtRadio-Installation &lt;br /&gt;
document from the beginning after installing raspbian or raspbian pisces.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
        The RasPi USB subsystem is sensitive to power supply voltage levels - A supply of 5.5V at 2A is recommended. &lt;br /&gt;
With the power supply output at +5.17V I was getting on-board Ethernet errors and system hangs when one more device besides keyboard and mouse were plugged in to the on-board USB ports or an outboard powered USB HUB. &lt;br /&gt;
&lt;br /&gt;
Measuring the voltage across TP1 and TP2 on the Raspberry Pi and  increased it to +4.97V (P.S output +5.59V).&lt;br /&gt;
&lt;br /&gt;
I also ran &amp;quot;rpi-update&amp;quot; which install new firmware. &lt;br /&gt;
&lt;br /&gt;
I shorted out the polyfuses F1 and F2 on the Pi and USB is much more stable but still limited.&lt;br /&gt;
&lt;br /&gt;
With keyboard, mouse, gigabit USB Ethernet, SB Live! 24 USB and RTL-SDR dongle it runs for some hours before it freezes.&lt;br /&gt;
&lt;br /&gt;
Removing the RTL-SDR dongle from the powered hub made a great difference with a current uptime heading for 3 days. The latest ghpsdr3-alex master branch build successfully completed while I was in bed.&lt;br /&gt;
&lt;br /&gt;
root@pisces:/usr/src/GHPSDR3_HIGH_SPEED_MASTER/ghpsdr3-alex# date&lt;br /&gt;
&lt;br /&gt;
Sun Sep  9 13:00:49 BST 2012&lt;br /&gt;
&lt;br /&gt;
root@pisces:/usr/src/GHPSDR3_HIGH_SPEED_MASTER/ghpsdr3-alex# uptime&lt;br /&gt;
&lt;br /&gt;
 13:00:56 up 2 days, 20:46,  8 users,  load average: 0.81, 1.01, 0.67&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 ******       Do not use power from a USB PC port or from a USB Hub. ********&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once it&#039;s up and running, some details that may help in setting up the hardware for use - I&#039;m currently overclocking at 855MHz  (Previously was set to 1GHz):-&lt;br /&gt;
&lt;br /&gt;
Keyboard, mouse, usb sound card, RTL-SDR TV dongle and USB Gigabit Ethernet fully operational using the 7-port powered USB hub.&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# lsusb&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp. &lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.&lt;br /&gt;
 &lt;br /&gt;
Bus 001 Device 004: ID 04cc:1521 ST-Ericsson USB 2.0 Hub&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 011: ID 04f3:0103 Elan Microelectronics Corp. &lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 006: ID 047d:1022 Kensington Orbit Optical&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 007: ID 1d19:1101 Dexatek Technology Ltd. DK DVB-T Dongle&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 008: ID 041e:3040 Creative Technology, Ltd SoundBlaster Live! 24-bit External SB0490&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 009: ID 0b95:1780 ASIX Electronics Corp. AX88178&lt;br /&gt;
root@pisces:~# ifconfig &lt;br /&gt;
&lt;br /&gt;
eth0 Link encap:Ethernet HWaddr b8:27:eb:2c:07:c9&lt;br /&gt;
&lt;br /&gt;
         inet addr:192.168.10.31  Bcast:192.168.10.255 Mask:255.255.255.0&lt;br /&gt;
         inet6 addr: fe80::ba27:ebff:fe2c:7c9/64 Scope:Link&lt;br /&gt;
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1&lt;br /&gt;
         RX packets:410 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
         TX packets:377 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
         collisions:0 txqueuelen:1000&lt;br /&gt;
         RX bytes:28905 (28.2 KiB)  TX bytes:35938 (35.0 KiB)&lt;br /&gt;
&lt;br /&gt;
eth1 Link encap:Ethernet HWaddr 00:10:14:00:9f:fa&lt;br /&gt;
&lt;br /&gt;
         inet addr:192.168.2.199  Bcast:192.168.2.255 Mask:255.255.255.0&lt;br /&gt;
         inet6 addr: fe80::210:14ff:fe00:9ffa/64 Scope:Link&lt;br /&gt;
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1&lt;br /&gt;
         RX packets:5 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
         TX packets:7 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
         collisions:0 txqueuelen:1000&lt;br /&gt;
         RX bytes:230 (230.0 B)  TX bytes:592 (592.0 B)&lt;br /&gt;
&lt;br /&gt;
lo Link encap:Local Loopback&lt;br /&gt;
&lt;br /&gt;
         inet addr:127.0.0.1  Mask:255.0.0.0&lt;br /&gt;
         inet6 addr: ::1/128 Scope:Host&lt;br /&gt;
         UP LOOPBACK RUNNING  MTU:16436  Metric:1&lt;br /&gt;
         RX packets:0 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
         TX packets:0 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
         collisions:0 txqueuelen:0&lt;br /&gt;
         RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# cat /proc/asound/cards&lt;br /&gt;
 0 [ALSA           ]: BRCM bcm2835 ALSbcm2835 ALSA - bcm2835 ALSA&lt;br /&gt;
                      bcm2835 ALSA&lt;br /&gt;
&lt;br /&gt;
 1 [External       ]: USB-Audio - SB Live! 24-bit External&lt;br /&gt;
                      Creative Technology SB Live! 24-bit External at usb-bcm2708_usb-1.2.2, full spe&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It&#039;s running at 855MHz with this config.txt file. &lt;br /&gt;
root@pisces:~# cat /boot/config.txt&lt;br /&gt;
&lt;br /&gt;
over_voltage=6&lt;br /&gt;
&lt;br /&gt;
arm_freq=855&lt;br /&gt;
&lt;br /&gt;
core_freq=500&lt;br /&gt;
&lt;br /&gt;
sdram_freq=500&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# cat /etc/network/interfaces&lt;br /&gt;
&lt;br /&gt;
    Used by ifup(8) and ifdown(8). See the interfaces(5) manpage or&lt;br /&gt;
    /usr/share/doc/ifupdown/examples for more information. &lt;br /&gt;
&lt;br /&gt;
auto lo&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
iface lo inet loopback&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    File: ifcfg-eth0&lt;br /&gt;
&lt;br /&gt;
auto eth0&lt;br /&gt;
&lt;br /&gt;
iface eth0 inet static&lt;br /&gt;
&lt;br /&gt;
address 192.168.10.31&lt;br /&gt;
&lt;br /&gt;
netmask 255.255.255.0&lt;br /&gt;
&lt;br /&gt;
gateway 192.168.10.103&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
auto eth1&lt;br /&gt;
&lt;br /&gt;
iface eth1 inet static&lt;br /&gt;
&lt;br /&gt;
address 192.168.2.199&lt;br /&gt;
&lt;br /&gt;
netmask 255.255.255.0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# cat /etc/modules&lt;br /&gt;
&lt;br /&gt;
    /etc/modules: kernel modules to load at boot time.&lt;br /&gt;
    This file contains the names of kernel modules that should be loaded&lt;br /&gt;
    at boot time, one per line. Lines beginning with &amp;quot;#&amp;quot; are ignored.&lt;br /&gt;
    Parameters can be specified after the module name. &lt;br /&gt;
&lt;br /&gt;
loop&lt;br /&gt;
&lt;br /&gt;
snd-bcm2835&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
One problem remains, no sound from the on-board chip.&lt;br /&gt;
&lt;br /&gt;
==VIRTUALBOX==&lt;br /&gt;
&lt;br /&gt;
It is possible to run the server software (and QtRadio) under VirtualBox.  It has been tested with HPSDR Hermes hardware. [http://people.wallawalla.edu/~Rob.Frohne/ghpsdr3-alex/Ubuntu%2012.10%20ghpsdr3-alex-hermes.zip A VirtualBox Ubuntu 12.10 image] is available that automatically starts the server software for those who are running Windows, or don&#039;t feel they have the hardware, expertise or time to setup a Linux machine to act as a server.  The [[Dspserver.conf]] file needs to be edited, and you will need to run the dspserver once within a terminal to get the instructions on setting up an SSL key pair.  To do that download the [http://people.wallawalla.edu/~Rob.Frohne/ghpsdr3-alex/Ubuntu%2012.10%20ghpsdr3-alex-hermes.zip VirtualBox image], start VirtualBox, select new for the new machine, and when it asks you about the hard drive, say use existing hard drive, and select the image hard drive. After it boots up, you need to start a terminal and dspserver.  It will give you a message about the SSL keys not being set up, and then you do the three commands that do that for you.  after that you should be able to log out and log back in and your server should be running if all is well.  You should be able to connect with QtRadio or glSDR.  Some notes about running the [[Hermes]] server might be helpful to review.&lt;br /&gt;
&lt;br /&gt;
== SOFTWARE == &lt;br /&gt;
***** START AT THE BEGINNING WHEN BUILDING THE SOFTWARE -- i.e Section 1 and install all the packages recommended and do the pulseaudio setup.&lt;br /&gt;
&lt;br /&gt;
If you build ghpsdr3-alex already it&#039;s a case of following the same procedure with the following caveats that apply to the RasPi ARM architecture. What follows is a blow by blow account of how I did it for the iw0hdv branch which supports my HiQSDR+Preselector. The same steps are needed for building any other branch.&lt;br /&gt;
&lt;br /&gt;
Subject: [n2adr-sdr] Raspberry Pi running ghpsdr3-alex&lt;br /&gt;
&lt;br /&gt;
The changes made by Andrea have been merged into the master branch. These changes allow samplerates &amp;gt;192K but the Pi doesn&#039;t have the power to run these high samplerates - I am running hiqsdr-server at 960K samplerate on a 8-core x84_64 box.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   autoreconf -i &lt;br /&gt;
&lt;br /&gt;
    ./configure CFLAGS=&#039;-O3 -pipe -march=armv6 -mfpu=vfp -mfloat-abi=hard&#039; CXXFLAGS=&#039;-O3 -pipe -march=armv6 -mfpu=vfp -mfloat-abi=hard&#039; &lt;br /&gt;
&lt;br /&gt;
**** Additional steps needed when building rtlsdr-server. Do these before running make ******&lt;br /&gt;
# export ac_cv_func_malloc_0_nonnull=yes&lt;br /&gt;
# export ac_cv_func_realloc_0_nonnull=yes&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    make all &amp;amp;&amp;amp; make all install &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Sound on the Raspberry Pi is still a problem I have not been able to solve.&lt;br /&gt;
&lt;br /&gt;
Terry (WB4JFI) suggested the following that work for him but I have had no luck with it.&lt;br /&gt;
&lt;br /&gt;
&amp;quot;amixer cset numid=3 1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Other valid numid&#039;s are 0=auto, 1=headphones and 2=hdmi.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
QtRadio running on another box using the connection from the server list. Sound is a touch distorted, quite distorted on start up of QtRadio and spectrum is always a little bit slow.&lt;br /&gt;
&lt;br /&gt;
When a slave connected and tried changing frequency, dspserver crashed - dspserver can be a bit crash happy.&lt;br /&gt;
&lt;br /&gt;
The first thing I tried on the Pi was QtRadio standalone, spectrum and waterfall were OK but no sound.&lt;br /&gt;
&lt;br /&gt;
Just now a client using glSDR (5) is attempting to change frequency, sound went quite distorted then dspserver crashed.&lt;br /&gt;
&lt;br /&gt;
Restarted dspserver and QtRadio sound started very distorted before it settled down to reasonable.&lt;/div&gt;</summary>
		<author><name>Frohro</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=746</id>
		<title>QtRadio Installation</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=746"/>
		<updated>2013-08-26T16:05:35Z</updated>

		<summary type="html">&lt;p&gt;Frohro: /* VIRTUALBOX */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Installation on Linux ==&lt;br /&gt;
The instructions below are for Debian based distributions like Ubuntu but you should be able to compile on any Linux distribution with the correct libraries installed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Installation from Git ===&lt;br /&gt;
Installing from git involves building or compiling from source.  This is required if you want to use one of the various branches to work the &amp;quot;bleeding edge&amp;quot; branches like Alex&#039;s rxtx-event branch where the current (Nov 12 2011) TX work is being done.&lt;br /&gt;
The PPA install is never more than a few days behind master so there is not much to gain from building from git unless you want to work with the source code your self.&lt;br /&gt;
&lt;br /&gt;
==== Installing compiler and autotool ====&lt;br /&gt;
&lt;br /&gt;
First off, install the compiler; depending on which distribution are you using, some or all of this stuff could be already installed: &lt;br /&gt;
&lt;br /&gt;
===== Ubuntu/Debian =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install make gcc g++&lt;br /&gt;
sudo apt-get install autoconf automake autotools-dev libtool git subversion&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Fedora =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo yum install gcc gcc-c++ man-pages autoconf automake subversion libtool git&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Installing prerequisite packages ====&lt;br /&gt;
&lt;br /&gt;
===== Ubuntu 12.04 and newer =====&lt;br /&gt;
First of all, you have to check that the universe repository is enabled. Click on the gear shaped icon (bottom into left side bar): the System Settings menu will shown, click on Software Sources and finally check the Community-maintained Open Source Software (universe) tick. Next, submit the following commands into a terminal window:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install \&lt;br /&gt;
libqt4-opengl-dev \&lt;br /&gt;
qtmobility-dev \&lt;br /&gt;
libusb-0.1-4 \&lt;br /&gt;
libusb-dev \&lt;br /&gt;
libfftw3-dev \&lt;br /&gt;
portaudio19-dev \&lt;br /&gt;
libpulse-dev \&lt;br /&gt;
libsamplerate0-dev \&lt;br /&gt;
libusb-1.0-0-dev \&lt;br /&gt;
libconfig8-dev \&lt;br /&gt;
xdg-utils \&lt;br /&gt;
libortp-dev \&lt;br /&gt;
gcc-multilib \&lt;br /&gt;
libssl-dev \&lt;br /&gt;
libevent-dev \&lt;br /&gt;
libglu1-mesa-dev \&lt;br /&gt;
freeglut3-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You will need qt5 installed to complete the build.&lt;br /&gt;
&lt;br /&gt;
Visit: http://qt-project.org/downloads&lt;br /&gt;
&lt;br /&gt;
download the current package for your system.&lt;br /&gt;
&lt;br /&gt;
To build Qt5 on a RaspberryPi visit: http://qt-project.org/wiki/RaspberryPi&lt;br /&gt;
&lt;br /&gt;
After downloading it go to the download directory and do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ chmod +x the-name-of-the-downloaded-file&lt;br /&gt;
$ sudo ./the-name-of-the-downloaded-file&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Simply click on the installer and follow the prompts, take note of were qt5 is installed. Don&#039;t open the readme or start QtCreator when the installer asks.  It will make some files in your home directory owned by root, and that will give you trouble later.  After the install has completed, from a terminal:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ export PATH=/opt/Qt5.1.0/5.1.0/gcc_64/bin:/opt/Qt5.1.0/Tools/QtCreator/bin:$PATH&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
In the above make sure you put in the correct path for your version of Qt. This is due because the several packages from Qt sources and binary repositories web sites are not really installed in the system but simply copied on it. Therefore the autotools build system should search virtually over the whole filesystem.&lt;br /&gt;
In any case please remember that&lt;br /&gt;
the export above is effective only into the current terminal windows, if you open another window and/or reboot the system, you have to resubmit again the command&lt;br /&gt;
if you want to make permanent it, you have to add the export into the right configuration shell, suitable for the shell that you are currently using.&lt;br /&gt;
For the bash it is typically ~/.bashrc&lt;br /&gt;
In any case, after you issue the export, please test it.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
qmake -v&lt;br /&gt;
QMake version 2.01a&lt;br /&gt;
Using Qt version 4.8.0 in /home/andrew/QtSDK4.8x/Desktop/Qt/4.8.0/gcc/lib&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Ubuntu 11.04 and older ===== &lt;br /&gt;
First of all, you have to check that the &#039;&#039;universe repository&#039;&#039; is enabled.&lt;br /&gt;
Please see the procedure in the previous section [[#graphical installation]] .&lt;br /&gt;
&lt;br /&gt;
Next, you will need the following packages installed:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install \&lt;br /&gt;
libqt4-opengl-dev \&lt;br /&gt;
qtmobility-dev \&lt;br /&gt;
libusb-0.1-4 \&lt;br /&gt;
libusb-dev \&lt;br /&gt;
libfftw3-dev \&lt;br /&gt;
portaudio19-dev \&lt;br /&gt;
libpulse-dev \&lt;br /&gt;
libsamplerate0-dev \&lt;br /&gt;
libusb-1.0-0-dev \&lt;br /&gt;
libconfig8-dev \&lt;br /&gt;
libortp-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Ubuntu 11.10 ===== &lt;br /&gt;
First of all, you have to check that the &#039;&#039;universe repository&#039;&#039; is enabled.&lt;br /&gt;
Click on the gear shaped icon (bottom into left side bar): the &#039;&#039;System Settings&#039;&#039; menu will shown, click on &#039;&#039;Software Sources&#039;&#039; and finally check the &#039;&#039;Community-maintaned Open Source Software (universe)&#039;&#039; tick.&lt;br /&gt;
Next, submit the following commands into a terminal window:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install \&lt;br /&gt;
libqt4-opengl-dev \&lt;br /&gt;
qtmobility-dev \&lt;br /&gt;
libusb-0.1-4 \&lt;br /&gt;
libusb-dev \&lt;br /&gt;
libfftw3-dev \&lt;br /&gt;
portaudio19-dev \&lt;br /&gt;
libpulse-dev \&lt;br /&gt;
libsamplerate0-dev \&lt;br /&gt;
libusb-1.0-0-dev \&lt;br /&gt;
libconfig8-dev \&lt;br /&gt;
xdg-utils \&lt;br /&gt;
libortp-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Fedora 16 =====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo yum install fftw fftw-devel &lt;br /&gt;
sudo yum install libusb-devel libusb1-devel &lt;br /&gt;
sudo yum install portaudio-devel&lt;br /&gt;
sudo yum install libconfig-devel&lt;br /&gt;
sudo yum install libsamplerate-devel&lt;br /&gt;
sudo yum install pulseaudio-libs-devel&lt;br /&gt;
sudo yum install jack-audio-connection-kit  jack-audio-connection-kit-devel&lt;br /&gt;
sudo yum install qt4-devel&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Cloning the repository ====&lt;br /&gt;
&lt;br /&gt;
How to build the latest master branch on Ubuntu 11.04&lt;br /&gt;
&lt;br /&gt;
First a new libevent will need to be downloaded and installed, then the actual QtRadio source can be downloaded and built.&lt;br /&gt;
&lt;br /&gt;
==== Obtaining an up-level libevent library ====&lt;br /&gt;
&lt;br /&gt;
$ sudo apt-get install libevent-dev&lt;br /&gt;
&lt;br /&gt;
If the version is older than 2.0.5, go to synaptic and completely remove the stock libevent from Ubuntu. (Completely remove is an uninstall option in Synaptic. Additional dependent libraries may also be removed)&lt;br /&gt;
&lt;br /&gt;
Then download the new version from:&lt;br /&gt;
&lt;br /&gt;
http://libevent.org/&lt;br /&gt;
&lt;br /&gt;
libevent-2.0.16-stable.tar.gz&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
wget https://github.com/downloads/libevent/libevent/libevent-2.0.16-stable.tar.gz&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Move the tarball from the Downloads directory to a working directory. A suggestion is to create a src directory within your home directory and move it there. Uncompress and follow the instructions to build and install:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
tar -zxvf libevent-2.0.16-stable.tar.gz&lt;br /&gt;
cd libevent-2.0.16-stable&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On Fedora, in order to use the library above, export the LD_LIBRARY_PATH:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export LD_LIBRARY_PATH=/usr/local/lib&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Installing codec2 low bit rate audio encoding and decoding ====&lt;br /&gt;
&lt;br /&gt;
We are adding a low bit rate audio codec called codec 2 to QtRadio/dspserver.  You need&lt;br /&gt;
to download and build the codec2 library.  See:&lt;br /&gt;
&lt;br /&gt;
http://www.rowetel.com/blog/?page_id=452&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
Now go get codec2 using subversion&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
svn co https://freetel.svn.sourceforge.net/svnroot/freetel/codec2-dev codec2-dev&lt;br /&gt;
cd codec2-dev&lt;br /&gt;
autoreconf -i&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On Fedora, in order to use the library above, export the LD_LIBRARY_PATH:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export LD_LIBRARY_PATH=/usr/local/lib&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Building the master branch ====&lt;br /&gt;
&lt;br /&gt;
This branch is the latest code that contains both RX and TX capability. &lt;br /&gt;
&lt;br /&gt;
Create a new directory or cd to the ~/src directory created for libevent and cd into it.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://github.com/alexlee188/ghpsdr3-alex&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Depending on your Internet connection thorughput, it will take several minute to download.&lt;br /&gt;
cd into the new directory ghpsdr3-alex:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ghpsdr3-alex&lt;br /&gt;
git checkout master&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
You are now working with Alex&#039;s latest and greatest!&lt;br /&gt;
&lt;br /&gt;
First set the path to the version of qt you are using.  E.g. for qt5:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ export PATH=/opt/qt5/bin:$PATH&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
autoreconf -i&lt;br /&gt;
./configure&lt;br /&gt;
make -j4 all&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The default configure above builds with debug and default Qt4 version in your PC.  For optimized executable,&lt;br /&gt;
you need to specify options specific to your system.  See the sample shell scripts that replaces the above&lt;br /&gt;
./configure step:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./alex-avx-conf.sh		for building with i3,i5 and i7 cpu&#039;s supporting Advanced Vector Extensions (AVX)&lt;br /&gt;
./alex-openmp-conf.sh		for building with i3,i5 and i7 cpu&#039;s and OpenMP support&lt;br /&gt;
./alex-sse3-conf.sh		for building with SSE3 capable cpu&#039;s&lt;br /&gt;
./alex-openmp-sse3-conf.sh	for building with SSE3 cpaable cpu&#039;s and OpenMP support&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(If you do not want to actually install the executable binaries, skip the sudo make install and just cd into the following directories and run them from there)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Terminal 1&lt;br /&gt;
$ cd ghpsdr3-alex/trunk/src/softrock&lt;br /&gt;
$ ./softrock ...options ...&lt;br /&gt;
&lt;br /&gt;
Terminal 2&lt;br /&gt;
$ cd ghpsdr3-alex/trunk/src/dspserver&lt;br /&gt;
$ ./dspserver  ..options...&lt;br /&gt;
&lt;br /&gt;
Terminal 3&lt;br /&gt;
$ cd ghpsdr3-alex/trunk/src/QtRadio&lt;br /&gt;
$ ./QtRadio&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Building the Perseus extensions ====&lt;br /&gt;
&lt;br /&gt;
In order to build the Microtelecom Perseus server you need to switch to the master or iw0hdv branch. &lt;br /&gt;
&lt;br /&gt;
First off, install the prerequisite library and wget package:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install libboost-all-dev wget&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Next download, compile and install the library libperseus-sdr:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
wget http://libperseus-sdr.googlecode.com/files/libperseus_sdr-0.6.tar.gz&lt;br /&gt;
tar -zxvf libperseus_sdr-0.6.tar.gz&lt;br /&gt;
cd libperseus_sdr-0.6/&lt;br /&gt;
./configure &amp;amp;&amp;amp; make&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you already build in your sandbox some other branch, is strongly advisable, before you start the build, to do a full cleanup:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
make distcheck &amp;amp;&amp;amp; sh cleanup.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Otherwise, if you are starting from scratch, you have to clone the repository:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://github.com/alexlee188/ghpsdr3-alex&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, you can switch to the master branch and rebuild everything; you don&#039;t need anymore to explicitly enable the perseus server feature, the configure script automatically selects it when the libperseus_sdr is found.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
git checkout master&lt;br /&gt;
autoreconf -i &amp;amp;&amp;amp; ./configure &amp;amp;&amp;amp; make -j4&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In order to run it you have two choices, the first one being the plain command line:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
xterm -e &#039;perseus_server -d3 -s96000 &#039; &amp;amp;&lt;br /&gt;
sleep 3&lt;br /&gt;
xterm -e &#039;dspserver --lo 0 --nocorrectiq&#039; &amp;amp;&lt;br /&gt;
sleep 5&lt;br /&gt;
$( QtRadio 127.0.0.1 ) &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In QtRadio, Receiver menu, select Configure item, Server tab: here add the local host using the 127.0.0.1 IP address.&lt;br /&gt;
Pressing the key C, you start the receiver.&lt;br /&gt;
&lt;br /&gt;
The second choiche is to use the ghpsdr3-mgr.py script (available in menu Applications, Hamradio as ghpsdr3launcher): clicking on the Perseus icon the three processes should start and the QtServer automatically connects to Perseus Server.&lt;br /&gt;
&lt;br /&gt;
==== Building USRP enabled version ====&lt;br /&gt;
&lt;br /&gt;
===== Building the UHD package =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====== Install the prerequisite packages (Ubuntu 11.10): ======&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install liboost-all-dev&lt;br /&gt;
sudo apt-get install python-cheetah&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====== Build &amp;amp; Install UHD -- FOR UHD-3.3.1 AND GREATER --: ======&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
git clone git://ettus.sourcerepo.com/ettus/uhd.git&lt;br /&gt;
cd uhd/host/&lt;br /&gt;
mkdir build&lt;br /&gt;
cd build&lt;br /&gt;
cmake ../&lt;br /&gt;
make&lt;br /&gt;
make test&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you already build in your sandbox some other branch, is strongly advisable, before you start the build, to do a full cleanup:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
make distcheck &amp;amp;&amp;amp; sh cleanup.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Otherwise, if you are starting from scratch, first clone the repository:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://github.com/alexlee188/ghpsdr3-alex&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, you can switch to the master branch and rebuild everything, enabling the usrp server feature:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
git checkout usrp-server&lt;br /&gt;
autoreconf -i &amp;amp;&amp;amp; ./configure --enable-usrp=yes &amp;amp;&amp;amp; make -j4&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Refresh to a Newer Version ====&lt;br /&gt;
&lt;br /&gt;
To pull a new version to build &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ git pull&lt;br /&gt;
$ make -j4 all&lt;br /&gt;
$ sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If extensive changes have occurred or if you get errors during the make, you may want to do a clean build  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ git pull&lt;br /&gt;
$ make distclean&lt;br /&gt;
$ sh cleanup.sh&lt;br /&gt;
$ autoreconf -i&lt;br /&gt;
$ ./configure&lt;br /&gt;
$ make -j4 all&lt;br /&gt;
$ sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you continue to get errors, please report the whole ./configure output and the config.log to the mailing list.&lt;br /&gt;
&lt;br /&gt;
== Installation on Windows ==&lt;br /&gt;
See [[ QtRadio on Windows]]&lt;br /&gt;
&lt;br /&gt;
== Network settings ==&lt;br /&gt;
If you are behind a firewall/NAT-router and want to be able to connect to your dspserver over the Internet you have to open up port tcp/8000. If you are using the client in RTP mode you have to open up udp/5004 and udp/5005.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Installing ghpsdr3-alex on Raspberry Pi == &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
========== HARDWARE ==========&lt;br /&gt;
&lt;br /&gt;
*** THIS SECTION DEALS WITH Raspberry Pi DIFFERENCES *** IT DOES NOT CIRCUMVENT THE INSTRUCTIONS STARTING AT STEP 1 OF THE QtRadio Installation. ***&lt;br /&gt;
&lt;br /&gt;
I recommend installing either the raspbian or raspbian pisces (debian) distributions as there is no Ubuntu release to date.&lt;br /&gt;
&lt;br /&gt;
*** All the pre-requisite packages needed for Ubuntu must be installed on raspbian or respbian pisces using the same &amp;quot;apt-get install&amp;quot; commands so it&#039;s necessary to follow the QtRadio-Installation &lt;br /&gt;
document from the beginning after installing raspbian or raspbian pisces.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
        The RasPi USB subsystem is sensitive to power supply voltage levels - A supply of 5.5V at 2A is recommended. &lt;br /&gt;
With the power supply output at +5.17V I was getting on-board Ethernet errors and system hangs when one more device besides keyboard and mouse were plugged in to the on-board USB ports or an outboard powered USB HUB. &lt;br /&gt;
&lt;br /&gt;
Measuring the voltage across TP1 and TP2 on the Raspberry Pi and  increased it to +4.97V (P.S output +5.59V).&lt;br /&gt;
&lt;br /&gt;
I also ran &amp;quot;rpi-update&amp;quot; which install new firmware. &lt;br /&gt;
&lt;br /&gt;
I shorted out the polyfuses F1 and F2 on the Pi and USB is much more stable but still limited.&lt;br /&gt;
&lt;br /&gt;
With keyboard, mouse, gigabit USB Ethernet, SB Live! 24 USB and RTL-SDR dongle it runs for some hours before it freezes.&lt;br /&gt;
&lt;br /&gt;
Removing the RTL-SDR dongle from the powered hub made a great difference with a current uptime heading for 3 days. The latest ghpsdr3-alex master branch build successfully completed while I was in bed.&lt;br /&gt;
&lt;br /&gt;
root@pisces:/usr/src/GHPSDR3_HIGH_SPEED_MASTER/ghpsdr3-alex# date&lt;br /&gt;
&lt;br /&gt;
Sun Sep  9 13:00:49 BST 2012&lt;br /&gt;
&lt;br /&gt;
root@pisces:/usr/src/GHPSDR3_HIGH_SPEED_MASTER/ghpsdr3-alex# uptime&lt;br /&gt;
&lt;br /&gt;
 13:00:56 up 2 days, 20:46,  8 users,  load average: 0.81, 1.01, 0.67&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 ******       Do not use power from a USB PC port or from a USB Hub. ********&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once it&#039;s up and running, some details that may help in setting up the hardware for use - I&#039;m currently overclocking at 855MHz  (Previously was set to 1GHz):-&lt;br /&gt;
&lt;br /&gt;
Keyboard, mouse, usb sound card, RTL-SDR TV dongle and USB Gigabit Ethernet fully operational using the 7-port powered USB hub.&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# lsusb&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp. &lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.&lt;br /&gt;
 &lt;br /&gt;
Bus 001 Device 004: ID 04cc:1521 ST-Ericsson USB 2.0 Hub&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 011: ID 04f3:0103 Elan Microelectronics Corp. &lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 006: ID 047d:1022 Kensington Orbit Optical&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 007: ID 1d19:1101 Dexatek Technology Ltd. DK DVB-T Dongle&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 008: ID 041e:3040 Creative Technology, Ltd SoundBlaster Live! 24-bit External SB0490&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 009: ID 0b95:1780 ASIX Electronics Corp. AX88178&lt;br /&gt;
root@pisces:~# ifconfig &lt;br /&gt;
&lt;br /&gt;
eth0 Link encap:Ethernet HWaddr b8:27:eb:2c:07:c9&lt;br /&gt;
&lt;br /&gt;
         inet addr:192.168.10.31  Bcast:192.168.10.255 Mask:255.255.255.0&lt;br /&gt;
         inet6 addr: fe80::ba27:ebff:fe2c:7c9/64 Scope:Link&lt;br /&gt;
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1&lt;br /&gt;
         RX packets:410 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
         TX packets:377 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
         collisions:0 txqueuelen:1000&lt;br /&gt;
         RX bytes:28905 (28.2 KiB)  TX bytes:35938 (35.0 KiB)&lt;br /&gt;
&lt;br /&gt;
eth1 Link encap:Ethernet HWaddr 00:10:14:00:9f:fa&lt;br /&gt;
&lt;br /&gt;
         inet addr:192.168.2.199  Bcast:192.168.2.255 Mask:255.255.255.0&lt;br /&gt;
         inet6 addr: fe80::210:14ff:fe00:9ffa/64 Scope:Link&lt;br /&gt;
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1&lt;br /&gt;
         RX packets:5 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
         TX packets:7 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
         collisions:0 txqueuelen:1000&lt;br /&gt;
         RX bytes:230 (230.0 B)  TX bytes:592 (592.0 B)&lt;br /&gt;
&lt;br /&gt;
lo Link encap:Local Loopback&lt;br /&gt;
&lt;br /&gt;
         inet addr:127.0.0.1  Mask:255.0.0.0&lt;br /&gt;
         inet6 addr: ::1/128 Scope:Host&lt;br /&gt;
         UP LOOPBACK RUNNING  MTU:16436  Metric:1&lt;br /&gt;
         RX packets:0 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
         TX packets:0 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
         collisions:0 txqueuelen:0&lt;br /&gt;
         RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# cat /proc/asound/cards&lt;br /&gt;
 0 [ALSA           ]: BRCM bcm2835 ALSbcm2835 ALSA - bcm2835 ALSA&lt;br /&gt;
                      bcm2835 ALSA&lt;br /&gt;
&lt;br /&gt;
 1 [External       ]: USB-Audio - SB Live! 24-bit External&lt;br /&gt;
                      Creative Technology SB Live! 24-bit External at usb-bcm2708_usb-1.2.2, full spe&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It&#039;s running at 855MHz with this config.txt file. &lt;br /&gt;
root@pisces:~# cat /boot/config.txt&lt;br /&gt;
&lt;br /&gt;
over_voltage=6&lt;br /&gt;
&lt;br /&gt;
arm_freq=855&lt;br /&gt;
&lt;br /&gt;
core_freq=500&lt;br /&gt;
&lt;br /&gt;
sdram_freq=500&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# cat /etc/network/interfaces&lt;br /&gt;
&lt;br /&gt;
    Used by ifup(8) and ifdown(8). See the interfaces(5) manpage or&lt;br /&gt;
    /usr/share/doc/ifupdown/examples for more information. &lt;br /&gt;
&lt;br /&gt;
auto lo&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
iface lo inet loopback&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    File: ifcfg-eth0&lt;br /&gt;
&lt;br /&gt;
auto eth0&lt;br /&gt;
&lt;br /&gt;
iface eth0 inet static&lt;br /&gt;
&lt;br /&gt;
address 192.168.10.31&lt;br /&gt;
&lt;br /&gt;
netmask 255.255.255.0&lt;br /&gt;
&lt;br /&gt;
gateway 192.168.10.103&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
auto eth1&lt;br /&gt;
&lt;br /&gt;
iface eth1 inet static&lt;br /&gt;
&lt;br /&gt;
address 192.168.2.199&lt;br /&gt;
&lt;br /&gt;
netmask 255.255.255.0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# cat /etc/modules&lt;br /&gt;
&lt;br /&gt;
    /etc/modules: kernel modules to load at boot time.&lt;br /&gt;
    This file contains the names of kernel modules that should be loaded&lt;br /&gt;
    at boot time, one per line. Lines beginning with &amp;quot;#&amp;quot; are ignored.&lt;br /&gt;
    Parameters can be specified after the module name. &lt;br /&gt;
&lt;br /&gt;
loop&lt;br /&gt;
&lt;br /&gt;
snd-bcm2835&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
One problem remains, no sound from the on-board chip.&lt;br /&gt;
&lt;br /&gt;
==VIRTUALBOX==&lt;br /&gt;
&lt;br /&gt;
It is possible to run the server software (and QtRadio) under VirtualBox.  It has been tested with HPSDR Hermes hardware, and [http://people.wallawalla.edu/~Rob.Frohne/ghpsdr3-alex/Ubuntu%2012.10%20ghpsdr3-alex-hermes.zip a VirtualBox Ubuntu 12.10 image] is available that automatically starts the server software for those who are running Windows, or don&#039;t feel they have the hardware, expertise or time to setup a Linux machine to act as a server.  The dspserver.conf file needs to be edited, and you will need to run the dspserver once within a terminal to get the instructions on setting up an SSL key pair.  To do that download the [http://people.wallawalla.edu/~Rob.Frohne/ghpsdr3-alex/Ubuntu%2012.10%20ghpsdr3-alex-hermes.zip VirtualBox image], start VirtualBox, select new for the new machine, and when it asks you about the hard drive, say use existing hard drive, and select the image hard drive. After it boots up, you need to start a terminal and dspserver.  It will give you a message about the SSL keys not being set up, and then you do the three commands that do that for you.  after that you should be able to log out and log back in and your server should be running if all is well.  You should be able to connect with QtRadio or glSDR.&lt;br /&gt;
&lt;br /&gt;
== SOFTWARE == &lt;br /&gt;
***** START AT THE BEGINNING WHEN BUILDING THE SOFTWARE -- i.e Section 1 and install all the packages recommended and do the pulseaudio setup.&lt;br /&gt;
&lt;br /&gt;
If you build ghpsdr3-alex already it&#039;s a case of following the same procedure with the following caveats that apply to the RasPi ARM architecture. What follows is a blow by blow account of how I did it for the iw0hdv branch which supports my HiQSDR+Preselector. The same steps are needed for building any other branch.&lt;br /&gt;
&lt;br /&gt;
Subject: [n2adr-sdr] Raspberry Pi running ghpsdr3-alex&lt;br /&gt;
&lt;br /&gt;
The changes made by Andrea have been merged into the master branch. These changes allow samplerates &amp;gt;192K but the Pi doesn&#039;t have the power to run these high samplerates - I am running hiqsdr-server at 960K samplerate on a 8-core x84_64 box.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   autoreconf -i &lt;br /&gt;
&lt;br /&gt;
    ./configure CFLAGS=&#039;-O3 -pipe -march=armv6 -mfpu=vfp -mfloat-abi=hard&#039; CXXFLAGS=&#039;-O3 -pipe -march=armv6 -mfpu=vfp -mfloat-abi=hard&#039; &lt;br /&gt;
&lt;br /&gt;
**** Additional steps needed when building rtlsdr-server. Do these before running make ******&lt;br /&gt;
# export ac_cv_func_malloc_0_nonnull=yes&lt;br /&gt;
# export ac_cv_func_realloc_0_nonnull=yes&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    make all &amp;amp;&amp;amp; make all install &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Sound on the Raspberry Pi is still a problem I have not been able to solve.&lt;br /&gt;
&lt;br /&gt;
Terry (WB4JFI) suggested the following that work for him but I have had no luck with it.&lt;br /&gt;
&lt;br /&gt;
&amp;quot;amixer cset numid=3 1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Other valid numid&#039;s are 0=auto, 1=headphones and 2=hdmi.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
QtRadio running on another box using the connection from the server list. Sound is a touch distorted, quite distorted on start up of QtRadio and spectrum is always a little bit slow.&lt;br /&gt;
&lt;br /&gt;
When a slave connected and tried changing frequency, dspserver crashed - dspserver can be a bit crash happy.&lt;br /&gt;
&lt;br /&gt;
The first thing I tried on the Pi was QtRadio standalone, spectrum and waterfall were OK but no sound.&lt;br /&gt;
&lt;br /&gt;
Just now a client using glSDR (5) is attempting to change frequency, sound went quite distorted then dspserver crashed.&lt;br /&gt;
&lt;br /&gt;
Restarted dspserver and QtRadio sound started very distorted before it settled down to reasonable.&lt;/div&gt;</summary>
		<author><name>Frohro</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=745</id>
		<title>QtRadio Installation</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=745"/>
		<updated>2013-08-26T15:54:12Z</updated>

		<summary type="html">&lt;p&gt;Frohro: /* SOFTWARE */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Installation on Linux ==&lt;br /&gt;
The instructions below are for Debian based distributions like Ubuntu but you should be able to compile on any Linux distribution with the correct libraries installed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Installation from Git ===&lt;br /&gt;
Installing from git involves building or compiling from source.  This is required if you want to use one of the various branches to work the &amp;quot;bleeding edge&amp;quot; branches like Alex&#039;s rxtx-event branch where the current (Nov 12 2011) TX work is being done.&lt;br /&gt;
The PPA install is never more than a few days behind master so there is not much to gain from building from git unless you want to work with the source code your self.&lt;br /&gt;
&lt;br /&gt;
==== Installing compiler and autotool ====&lt;br /&gt;
&lt;br /&gt;
First off, install the compiler; depending on which distribution are you using, some or all of this stuff could be already installed: &lt;br /&gt;
&lt;br /&gt;
===== Ubuntu/Debian =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install make gcc g++&lt;br /&gt;
sudo apt-get install autoconf automake autotools-dev libtool git subversion&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Fedora =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo yum install gcc gcc-c++ man-pages autoconf automake subversion libtool git&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Installing prerequisite packages ====&lt;br /&gt;
&lt;br /&gt;
===== Ubuntu 12.04 and newer =====&lt;br /&gt;
First of all, you have to check that the universe repository is enabled. Click on the gear shaped icon (bottom into left side bar): the System Settings menu will shown, click on Software Sources and finally check the Community-maintained Open Source Software (universe) tick. Next, submit the following commands into a terminal window:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install \&lt;br /&gt;
libqt4-opengl-dev \&lt;br /&gt;
qtmobility-dev \&lt;br /&gt;
libusb-0.1-4 \&lt;br /&gt;
libusb-dev \&lt;br /&gt;
libfftw3-dev \&lt;br /&gt;
portaudio19-dev \&lt;br /&gt;
libpulse-dev \&lt;br /&gt;
libsamplerate0-dev \&lt;br /&gt;
libusb-1.0-0-dev \&lt;br /&gt;
libconfig8-dev \&lt;br /&gt;
xdg-utils \&lt;br /&gt;
libortp-dev \&lt;br /&gt;
gcc-multilib \&lt;br /&gt;
libssl-dev \&lt;br /&gt;
libevent-dev \&lt;br /&gt;
libglu1-mesa-dev \&lt;br /&gt;
freeglut3-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You will need qt5 installed to complete the build.&lt;br /&gt;
&lt;br /&gt;
Visit: http://qt-project.org/downloads&lt;br /&gt;
&lt;br /&gt;
download the current package for your system.&lt;br /&gt;
&lt;br /&gt;
To build Qt5 on a RaspberryPi visit: http://qt-project.org/wiki/RaspberryPi&lt;br /&gt;
&lt;br /&gt;
After downloading it go to the download directory and do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ chmod +x the-name-of-the-downloaded-file&lt;br /&gt;
$ sudo ./the-name-of-the-downloaded-file&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Simply click on the installer and follow the prompts, take note of were qt5 is installed. Don&#039;t open the readme or start QtCreator when the installer asks.  It will make some files in your home directory owned by root, and that will give you trouble later.  After the install has completed, from a terminal:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ export PATH=/opt/Qt5.1.0/5.1.0/gcc_64/bin:/opt/Qt5.1.0/Tools/QtCreator/bin:$PATH&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
In the above make sure you put in the correct path for your version of Qt. This is due because the several packages from Qt sources and binary repositories web sites are not really installed in the system but simply copied on it. Therefore the autotools build system should search virtually over the whole filesystem.&lt;br /&gt;
In any case please remember that&lt;br /&gt;
the export above is effective only into the current terminal windows, if you open another window and/or reboot the system, you have to resubmit again the command&lt;br /&gt;
if you want to make permanent it, you have to add the export into the right configuration shell, suitable for the shell that you are currently using.&lt;br /&gt;
For the bash it is typically ~/.bashrc&lt;br /&gt;
In any case, after you issue the export, please test it.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
qmake -v&lt;br /&gt;
QMake version 2.01a&lt;br /&gt;
Using Qt version 4.8.0 in /home/andrew/QtSDK4.8x/Desktop/Qt/4.8.0/gcc/lib&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Ubuntu 11.04 and older ===== &lt;br /&gt;
First of all, you have to check that the &#039;&#039;universe repository&#039;&#039; is enabled.&lt;br /&gt;
Please see the procedure in the previous section [[#graphical installation]] .&lt;br /&gt;
&lt;br /&gt;
Next, you will need the following packages installed:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install \&lt;br /&gt;
libqt4-opengl-dev \&lt;br /&gt;
qtmobility-dev \&lt;br /&gt;
libusb-0.1-4 \&lt;br /&gt;
libusb-dev \&lt;br /&gt;
libfftw3-dev \&lt;br /&gt;
portaudio19-dev \&lt;br /&gt;
libpulse-dev \&lt;br /&gt;
libsamplerate0-dev \&lt;br /&gt;
libusb-1.0-0-dev \&lt;br /&gt;
libconfig8-dev \&lt;br /&gt;
libortp-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Ubuntu 11.10 ===== &lt;br /&gt;
First of all, you have to check that the &#039;&#039;universe repository&#039;&#039; is enabled.&lt;br /&gt;
Click on the gear shaped icon (bottom into left side bar): the &#039;&#039;System Settings&#039;&#039; menu will shown, click on &#039;&#039;Software Sources&#039;&#039; and finally check the &#039;&#039;Community-maintaned Open Source Software (universe)&#039;&#039; tick.&lt;br /&gt;
Next, submit the following commands into a terminal window:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install \&lt;br /&gt;
libqt4-opengl-dev \&lt;br /&gt;
qtmobility-dev \&lt;br /&gt;
libusb-0.1-4 \&lt;br /&gt;
libusb-dev \&lt;br /&gt;
libfftw3-dev \&lt;br /&gt;
portaudio19-dev \&lt;br /&gt;
libpulse-dev \&lt;br /&gt;
libsamplerate0-dev \&lt;br /&gt;
libusb-1.0-0-dev \&lt;br /&gt;
libconfig8-dev \&lt;br /&gt;
xdg-utils \&lt;br /&gt;
libortp-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Fedora 16 =====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo yum install fftw fftw-devel &lt;br /&gt;
sudo yum install libusb-devel libusb1-devel &lt;br /&gt;
sudo yum install portaudio-devel&lt;br /&gt;
sudo yum install libconfig-devel&lt;br /&gt;
sudo yum install libsamplerate-devel&lt;br /&gt;
sudo yum install pulseaudio-libs-devel&lt;br /&gt;
sudo yum install jack-audio-connection-kit  jack-audio-connection-kit-devel&lt;br /&gt;
sudo yum install qt4-devel&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Cloning the repository ====&lt;br /&gt;
&lt;br /&gt;
How to build the latest master branch on Ubuntu 11.04&lt;br /&gt;
&lt;br /&gt;
First a new libevent will need to be downloaded and installed, then the actual QtRadio source can be downloaded and built.&lt;br /&gt;
&lt;br /&gt;
==== Obtaining an up-level libevent library ====&lt;br /&gt;
&lt;br /&gt;
$ sudo apt-get install libevent-dev&lt;br /&gt;
&lt;br /&gt;
If the version is older than 2.0.5, go to synaptic and completely remove the stock libevent from Ubuntu. (Completely remove is an uninstall option in Synaptic. Additional dependent libraries may also be removed)&lt;br /&gt;
&lt;br /&gt;
Then download the new version from:&lt;br /&gt;
&lt;br /&gt;
http://libevent.org/&lt;br /&gt;
&lt;br /&gt;
libevent-2.0.16-stable.tar.gz&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
wget https://github.com/downloads/libevent/libevent/libevent-2.0.16-stable.tar.gz&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Move the tarball from the Downloads directory to a working directory. A suggestion is to create a src directory within your home directory and move it there. Uncompress and follow the instructions to build and install:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
tar -zxvf libevent-2.0.16-stable.tar.gz&lt;br /&gt;
cd libevent-2.0.16-stable&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On Fedora, in order to use the library above, export the LD_LIBRARY_PATH:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export LD_LIBRARY_PATH=/usr/local/lib&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Installing codec2 low bit rate audio encoding and decoding ====&lt;br /&gt;
&lt;br /&gt;
We are adding a low bit rate audio codec called codec 2 to QtRadio/dspserver.  You need&lt;br /&gt;
to download and build the codec2 library.  See:&lt;br /&gt;
&lt;br /&gt;
http://www.rowetel.com/blog/?page_id=452&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
Now go get codec2 using subversion&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
svn co https://freetel.svn.sourceforge.net/svnroot/freetel/codec2-dev codec2-dev&lt;br /&gt;
cd codec2-dev&lt;br /&gt;
autoreconf -i&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On Fedora, in order to use the library above, export the LD_LIBRARY_PATH:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export LD_LIBRARY_PATH=/usr/local/lib&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Building the master branch ====&lt;br /&gt;
&lt;br /&gt;
This branch is the latest code that contains both RX and TX capability. &lt;br /&gt;
&lt;br /&gt;
Create a new directory or cd to the ~/src directory created for libevent and cd into it.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://github.com/alexlee188/ghpsdr3-alex&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Depending on your Internet connection thorughput, it will take several minute to download.&lt;br /&gt;
cd into the new directory ghpsdr3-alex:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ghpsdr3-alex&lt;br /&gt;
git checkout master&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
You are now working with Alex&#039;s latest and greatest!&lt;br /&gt;
&lt;br /&gt;
First set the path to the version of qt you are using.  E.g. for qt5:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ export PATH=/opt/qt5/bin:$PATH&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
autoreconf -i&lt;br /&gt;
./configure&lt;br /&gt;
make -j4 all&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The default configure above builds with debug and default Qt4 version in your PC.  For optimized executable,&lt;br /&gt;
you need to specify options specific to your system.  See the sample shell scripts that replaces the above&lt;br /&gt;
./configure step:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./alex-avx-conf.sh		for building with i3,i5 and i7 cpu&#039;s supporting Advanced Vector Extensions (AVX)&lt;br /&gt;
./alex-openmp-conf.sh		for building with i3,i5 and i7 cpu&#039;s and OpenMP support&lt;br /&gt;
./alex-sse3-conf.sh		for building with SSE3 capable cpu&#039;s&lt;br /&gt;
./alex-openmp-sse3-conf.sh	for building with SSE3 cpaable cpu&#039;s and OpenMP support&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(If you do not want to actually install the executable binaries, skip the sudo make install and just cd into the following directories and run them from there)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Terminal 1&lt;br /&gt;
$ cd ghpsdr3-alex/trunk/src/softrock&lt;br /&gt;
$ ./softrock ...options ...&lt;br /&gt;
&lt;br /&gt;
Terminal 2&lt;br /&gt;
$ cd ghpsdr3-alex/trunk/src/dspserver&lt;br /&gt;
$ ./dspserver  ..options...&lt;br /&gt;
&lt;br /&gt;
Terminal 3&lt;br /&gt;
$ cd ghpsdr3-alex/trunk/src/QtRadio&lt;br /&gt;
$ ./QtRadio&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Building the Perseus extensions ====&lt;br /&gt;
&lt;br /&gt;
In order to build the Microtelecom Perseus server you need to switch to the master or iw0hdv branch. &lt;br /&gt;
&lt;br /&gt;
First off, install the prerequisite library and wget package:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install libboost-all-dev wget&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Next download, compile and install the library libperseus-sdr:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
wget http://libperseus-sdr.googlecode.com/files/libperseus_sdr-0.6.tar.gz&lt;br /&gt;
tar -zxvf libperseus_sdr-0.6.tar.gz&lt;br /&gt;
cd libperseus_sdr-0.6/&lt;br /&gt;
./configure &amp;amp;&amp;amp; make&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you already build in your sandbox some other branch, is strongly advisable, before you start the build, to do a full cleanup:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
make distcheck &amp;amp;&amp;amp; sh cleanup.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Otherwise, if you are starting from scratch, you have to clone the repository:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://github.com/alexlee188/ghpsdr3-alex&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, you can switch to the master branch and rebuild everything; you don&#039;t need anymore to explicitly enable the perseus server feature, the configure script automatically selects it when the libperseus_sdr is found.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
git checkout master&lt;br /&gt;
autoreconf -i &amp;amp;&amp;amp; ./configure &amp;amp;&amp;amp; make -j4&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In order to run it you have two choices, the first one being the plain command line:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
xterm -e &#039;perseus_server -d3 -s96000 &#039; &amp;amp;&lt;br /&gt;
sleep 3&lt;br /&gt;
xterm -e &#039;dspserver --lo 0 --nocorrectiq&#039; &amp;amp;&lt;br /&gt;
sleep 5&lt;br /&gt;
$( QtRadio 127.0.0.1 ) &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In QtRadio, Receiver menu, select Configure item, Server tab: here add the local host using the 127.0.0.1 IP address.&lt;br /&gt;
Pressing the key C, you start the receiver.&lt;br /&gt;
&lt;br /&gt;
The second choiche is to use the ghpsdr3-mgr.py script (available in menu Applications, Hamradio as ghpsdr3launcher): clicking on the Perseus icon the three processes should start and the QtServer automatically connects to Perseus Server.&lt;br /&gt;
&lt;br /&gt;
==== Building USRP enabled version ====&lt;br /&gt;
&lt;br /&gt;
===== Building the UHD package =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====== Install the prerequisite packages (Ubuntu 11.10): ======&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install liboost-all-dev&lt;br /&gt;
sudo apt-get install python-cheetah&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====== Build &amp;amp; Install UHD -- FOR UHD-3.3.1 AND GREATER --: ======&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
git clone git://ettus.sourcerepo.com/ettus/uhd.git&lt;br /&gt;
cd uhd/host/&lt;br /&gt;
mkdir build&lt;br /&gt;
cd build&lt;br /&gt;
cmake ../&lt;br /&gt;
make&lt;br /&gt;
make test&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you already build in your sandbox some other branch, is strongly advisable, before you start the build, to do a full cleanup:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
make distcheck &amp;amp;&amp;amp; sh cleanup.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Otherwise, if you are starting from scratch, first clone the repository:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://github.com/alexlee188/ghpsdr3-alex&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, you can switch to the master branch and rebuild everything, enabling the usrp server feature:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
git checkout usrp-server&lt;br /&gt;
autoreconf -i &amp;amp;&amp;amp; ./configure --enable-usrp=yes &amp;amp;&amp;amp; make -j4&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Refresh to a Newer Version ====&lt;br /&gt;
&lt;br /&gt;
To pull a new version to build &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ git pull&lt;br /&gt;
$ make -j4 all&lt;br /&gt;
$ sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If extensive changes have occurred or if you get errors during the make, you may want to do a clean build  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ git pull&lt;br /&gt;
$ make distclean&lt;br /&gt;
$ sh cleanup.sh&lt;br /&gt;
$ autoreconf -i&lt;br /&gt;
$ ./configure&lt;br /&gt;
$ make -j4 all&lt;br /&gt;
$ sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you continue to get errors, please report the whole ./configure output and the config.log to the mailing list.&lt;br /&gt;
&lt;br /&gt;
== Installation on Windows ==&lt;br /&gt;
See [[ QtRadio on Windows]]&lt;br /&gt;
&lt;br /&gt;
== Network settings ==&lt;br /&gt;
If you are behind a firewall/NAT-router and want to be able to connect to your dspserver over the Internet you have to open up port tcp/8000. If you are using the client in RTP mode you have to open up udp/5004 and udp/5005.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Installing ghpsdr3-alex on Raspberry Pi == &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
========== HARDWARE ==========&lt;br /&gt;
&lt;br /&gt;
*** THIS SECTION DEALS WITH Raspberry Pi DIFFERENCES *** IT DOES NOT CIRCUMVENT THE INSTRUCTIONS STARTING AT STEP 1 OF THE QtRadio Installation. ***&lt;br /&gt;
&lt;br /&gt;
I recommend installing either the raspbian or raspbian pisces (debian) distributions as there is no Ubuntu release to date.&lt;br /&gt;
&lt;br /&gt;
*** All the pre-requisite packages needed for Ubuntu must be installed on raspbian or respbian pisces using the same &amp;quot;apt-get install&amp;quot; commands so it&#039;s necessary to follow the QtRadio-Installation &lt;br /&gt;
document from the beginning after installing raspbian or raspbian pisces.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
        The RasPi USB subsystem is sensitive to power supply voltage levels - A supply of 5.5V at 2A is recommended. &lt;br /&gt;
With the power supply output at +5.17V I was getting on-board Ethernet errors and system hangs when one more device besides keyboard and mouse were plugged in to the on-board USB ports or an outboard powered USB HUB. &lt;br /&gt;
&lt;br /&gt;
Measuring the voltage across TP1 and TP2 on the Raspberry Pi and  increased it to +4.97V (P.S output +5.59V).&lt;br /&gt;
&lt;br /&gt;
I also ran &amp;quot;rpi-update&amp;quot; which install new firmware. &lt;br /&gt;
&lt;br /&gt;
I shorted out the polyfuses F1 and F2 on the Pi and USB is much more stable but still limited.&lt;br /&gt;
&lt;br /&gt;
With keyboard, mouse, gigabit USB Ethernet, SB Live! 24 USB and RTL-SDR dongle it runs for some hours before it freezes.&lt;br /&gt;
&lt;br /&gt;
Removing the RTL-SDR dongle from the powered hub made a great difference with a current uptime heading for 3 days. The latest ghpsdr3-alex master branch build successfully completed while I was in bed.&lt;br /&gt;
&lt;br /&gt;
root@pisces:/usr/src/GHPSDR3_HIGH_SPEED_MASTER/ghpsdr3-alex# date&lt;br /&gt;
&lt;br /&gt;
Sun Sep  9 13:00:49 BST 2012&lt;br /&gt;
&lt;br /&gt;
root@pisces:/usr/src/GHPSDR3_HIGH_SPEED_MASTER/ghpsdr3-alex# uptime&lt;br /&gt;
&lt;br /&gt;
 13:00:56 up 2 days, 20:46,  8 users,  load average: 0.81, 1.01, 0.67&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 ******       Do not use power from a USB PC port or from a USB Hub. ********&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once it&#039;s up and running, some details that may help in setting up the hardware for use - I&#039;m currently overclocking at 855MHz  (Previously was set to 1GHz):-&lt;br /&gt;
&lt;br /&gt;
Keyboard, mouse, usb sound card, RTL-SDR TV dongle and USB Gigabit Ethernet fully operational using the 7-port powered USB hub.&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# lsusb&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp. &lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.&lt;br /&gt;
 &lt;br /&gt;
Bus 001 Device 004: ID 04cc:1521 ST-Ericsson USB 2.0 Hub&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 011: ID 04f3:0103 Elan Microelectronics Corp. &lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 006: ID 047d:1022 Kensington Orbit Optical&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 007: ID 1d19:1101 Dexatek Technology Ltd. DK DVB-T Dongle&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 008: ID 041e:3040 Creative Technology, Ltd SoundBlaster Live! 24-bit External SB0490&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 009: ID 0b95:1780 ASIX Electronics Corp. AX88178&lt;br /&gt;
root@pisces:~# ifconfig &lt;br /&gt;
&lt;br /&gt;
eth0 Link encap:Ethernet HWaddr b8:27:eb:2c:07:c9&lt;br /&gt;
&lt;br /&gt;
         inet addr:192.168.10.31  Bcast:192.168.10.255 Mask:255.255.255.0&lt;br /&gt;
         inet6 addr: fe80::ba27:ebff:fe2c:7c9/64 Scope:Link&lt;br /&gt;
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1&lt;br /&gt;
         RX packets:410 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
         TX packets:377 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
         collisions:0 txqueuelen:1000&lt;br /&gt;
         RX bytes:28905 (28.2 KiB)  TX bytes:35938 (35.0 KiB)&lt;br /&gt;
&lt;br /&gt;
eth1 Link encap:Ethernet HWaddr 00:10:14:00:9f:fa&lt;br /&gt;
&lt;br /&gt;
         inet addr:192.168.2.199  Bcast:192.168.2.255 Mask:255.255.255.0&lt;br /&gt;
         inet6 addr: fe80::210:14ff:fe00:9ffa/64 Scope:Link&lt;br /&gt;
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1&lt;br /&gt;
         RX packets:5 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
         TX packets:7 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
         collisions:0 txqueuelen:1000&lt;br /&gt;
         RX bytes:230 (230.0 B)  TX bytes:592 (592.0 B)&lt;br /&gt;
&lt;br /&gt;
lo Link encap:Local Loopback&lt;br /&gt;
&lt;br /&gt;
         inet addr:127.0.0.1  Mask:255.0.0.0&lt;br /&gt;
         inet6 addr: ::1/128 Scope:Host&lt;br /&gt;
         UP LOOPBACK RUNNING  MTU:16436  Metric:1&lt;br /&gt;
         RX packets:0 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
         TX packets:0 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
         collisions:0 txqueuelen:0&lt;br /&gt;
         RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# cat /proc/asound/cards&lt;br /&gt;
 0 [ALSA           ]: BRCM bcm2835 ALSbcm2835 ALSA - bcm2835 ALSA&lt;br /&gt;
                      bcm2835 ALSA&lt;br /&gt;
&lt;br /&gt;
 1 [External       ]: USB-Audio - SB Live! 24-bit External&lt;br /&gt;
                      Creative Technology SB Live! 24-bit External at usb-bcm2708_usb-1.2.2, full spe&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It&#039;s running at 855MHz with this config.txt file. &lt;br /&gt;
root@pisces:~# cat /boot/config.txt&lt;br /&gt;
&lt;br /&gt;
over_voltage=6&lt;br /&gt;
&lt;br /&gt;
arm_freq=855&lt;br /&gt;
&lt;br /&gt;
core_freq=500&lt;br /&gt;
&lt;br /&gt;
sdram_freq=500&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# cat /etc/network/interfaces&lt;br /&gt;
&lt;br /&gt;
    Used by ifup(8) and ifdown(8). See the interfaces(5) manpage or&lt;br /&gt;
    /usr/share/doc/ifupdown/examples for more information. &lt;br /&gt;
&lt;br /&gt;
auto lo&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
iface lo inet loopback&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    File: ifcfg-eth0&lt;br /&gt;
&lt;br /&gt;
auto eth0&lt;br /&gt;
&lt;br /&gt;
iface eth0 inet static&lt;br /&gt;
&lt;br /&gt;
address 192.168.10.31&lt;br /&gt;
&lt;br /&gt;
netmask 255.255.255.0&lt;br /&gt;
&lt;br /&gt;
gateway 192.168.10.103&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
auto eth1&lt;br /&gt;
&lt;br /&gt;
iface eth1 inet static&lt;br /&gt;
&lt;br /&gt;
address 192.168.2.199&lt;br /&gt;
&lt;br /&gt;
netmask 255.255.255.0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# cat /etc/modules&lt;br /&gt;
&lt;br /&gt;
    /etc/modules: kernel modules to load at boot time.&lt;br /&gt;
    This file contains the names of kernel modules that should be loaded&lt;br /&gt;
    at boot time, one per line. Lines beginning with &amp;quot;#&amp;quot; are ignored.&lt;br /&gt;
    Parameters can be specified after the module name. &lt;br /&gt;
&lt;br /&gt;
loop&lt;br /&gt;
&lt;br /&gt;
snd-bcm2835&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
One problem remains, no sound from the on-board chip.&lt;br /&gt;
&lt;br /&gt;
==VIRTUALBOX==&lt;br /&gt;
&lt;br /&gt;
== SOFTWARE == &lt;br /&gt;
***** START AT THE BEGINNING WHEN BUILDING THE SOFTWARE -- i.e Section 1 and install all the packages recommended and do the pulseaudio setup.&lt;br /&gt;
&lt;br /&gt;
If you build ghpsdr3-alex already it&#039;s a case of following the same procedure with the following caveats that apply to the RasPi ARM architecture. What follows is a blow by blow account of how I did it for the iw0hdv branch which supports my HiQSDR+Preselector. The same steps are needed for building any other branch.&lt;br /&gt;
&lt;br /&gt;
Subject: [n2adr-sdr] Raspberry Pi running ghpsdr3-alex&lt;br /&gt;
&lt;br /&gt;
The changes made by Andrea have been merged into the master branch. These changes allow samplerates &amp;gt;192K but the Pi doesn&#039;t have the power to run these high samplerates - I am running hiqsdr-server at 960K samplerate on a 8-core x84_64 box.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   autoreconf -i &lt;br /&gt;
&lt;br /&gt;
    ./configure CFLAGS=&#039;-O3 -pipe -march=armv6 -mfpu=vfp -mfloat-abi=hard&#039; CXXFLAGS=&#039;-O3 -pipe -march=armv6 -mfpu=vfp -mfloat-abi=hard&#039; &lt;br /&gt;
&lt;br /&gt;
**** Additional steps needed when building rtlsdr-server. Do these before running make ******&lt;br /&gt;
# export ac_cv_func_malloc_0_nonnull=yes&lt;br /&gt;
# export ac_cv_func_realloc_0_nonnull=yes&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    make all &amp;amp;&amp;amp; make all install &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Sound on the Raspberry Pi is still a problem I have not been able to solve.&lt;br /&gt;
&lt;br /&gt;
Terry (WB4JFI) suggested the following that work for him but I have had no luck with it.&lt;br /&gt;
&lt;br /&gt;
&amp;quot;amixer cset numid=3 1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Other valid numid&#039;s are 0=auto, 1=headphones and 2=hdmi.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
QtRadio running on another box using the connection from the server list. Sound is a touch distorted, quite distorted on start up of QtRadio and spectrum is always a little bit slow.&lt;br /&gt;
&lt;br /&gt;
When a slave connected and tried changing frequency, dspserver crashed - dspserver can be a bit crash happy.&lt;br /&gt;
&lt;br /&gt;
The first thing I tried on the Pi was QtRadio standalone, spectrum and waterfall were OK but no sound.&lt;br /&gt;
&lt;br /&gt;
Just now a client using glSDR (5) is attempting to change frequency, sound went quite distorted then dspserver crashed.&lt;br /&gt;
&lt;br /&gt;
Restarted dspserver and QtRadio sound started very distorted before it settled down to reasonable.&lt;/div&gt;</summary>
		<author><name>Frohro</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=742</id>
		<title>QtRadio Installation</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=742"/>
		<updated>2013-08-26T03:08:39Z</updated>

		<summary type="html">&lt;p&gt;Frohro: /* Ubuntu 12.04 and newer */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Installation on Linux ==&lt;br /&gt;
The instructions below are for Debian based distributions like Ubuntu but you should be able to compile on any Linux distribution with the correct libraries installed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Installation from Git ===&lt;br /&gt;
Installing from git involves building or compiling from source.  This is required if you want to use one of the various branches to work the &amp;quot;bleeding edge&amp;quot; branches like Alex&#039;s rxtx-event branch where the current (Nov 12 2011) TX work is being done.&lt;br /&gt;
The PPA install is never more than a few days behind master so there is not much to gain from building from git unless you want to work with the source code your self.&lt;br /&gt;
&lt;br /&gt;
==== Installing compiler and autotool ====&lt;br /&gt;
&lt;br /&gt;
First off, install the compiler; depending on which distribution are you using, some or all of this stuff could be already installed: &lt;br /&gt;
&lt;br /&gt;
===== Ubuntu/Debian =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install make gcc g++&lt;br /&gt;
sudo apt-get install autoconf automake autotools-dev libtool git subversion&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Fedora =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo yum install gcc gcc-c++ man-pages autoconf automake subversion libtool git&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Installing prerequisite packages ====&lt;br /&gt;
&lt;br /&gt;
===== Ubuntu 12.04 and newer =====&lt;br /&gt;
First of all, you have to check that the universe repository is enabled. Click on the gear shaped icon (bottom into left side bar): the System Settings menu will shown, click on Software Sources and finally check the Community-maintained Open Source Software (universe) tick. Next, submit the following commands into a terminal window:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install \&lt;br /&gt;
libqt4-opengl-dev \&lt;br /&gt;
qtmobility-dev \&lt;br /&gt;
libusb-0.1-4 \&lt;br /&gt;
libusb-dev \&lt;br /&gt;
libfftw3-dev \&lt;br /&gt;
portaudio19-dev \&lt;br /&gt;
libpulse-dev \&lt;br /&gt;
libsamplerate0-dev \&lt;br /&gt;
libusb-1.0-0-dev \&lt;br /&gt;
libconfig8-dev \&lt;br /&gt;
xdg-utils \&lt;br /&gt;
libortp-dev \&lt;br /&gt;
gcc-multilib \&lt;br /&gt;
libssl-dev \&lt;br /&gt;
libevent-dev \&lt;br /&gt;
libglu1-mesa-dev \&lt;br /&gt;
freeglut3-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You will need qt5 installed to complete the build.&lt;br /&gt;
&lt;br /&gt;
Visit: http://qt-project.org/downloads&lt;br /&gt;
&lt;br /&gt;
download the current package for your system.&lt;br /&gt;
&lt;br /&gt;
To build Qt5 on a RaspberryPi visit: http://qt-project.org/wiki/RaspberryPi&lt;br /&gt;
&lt;br /&gt;
After downloading it go to the download directory and do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ chmod +x the-name-of-the-downloaded-file&lt;br /&gt;
$ sudo ./the-name-of-the-downloaded-file&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Simply click on the installer and follow the prompts, take note of were qt5 is installed. Don&#039;t open the readme or start QtCreator when the installer asks.  It will make some files in your home directory owned by root, and that will give you trouble later.  After the install has completed, from a terminal:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ export PATH=/opt/Qt5.1.0/5.1.0/gcc_64/bin:/opt/Qt5.1.0/Tools/QtCreator/bin:$PATH&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
In the above make sure you put in the correct path for your version of Qt. This is due because the several packages from Qt sources and binary repositories web sites are not really installed in the system but simply copied on it. Therefore the autotools build system should search virtually over the whole filesystem.&lt;br /&gt;
In any case please remember that&lt;br /&gt;
the export above is effective only into the current terminal windows, if you open another window and/or reboot the system, you have to resubmit again the command&lt;br /&gt;
if you want to make permanent it, you have to add the export into the right configuration shell, suitable for the shell that you are currently using.&lt;br /&gt;
For the bash it is typically ~/.bashrc&lt;br /&gt;
In any case, after you issue the export, please test it.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
qmake -v&lt;br /&gt;
QMake version 2.01a&lt;br /&gt;
Using Qt version 4.8.0 in /home/andrew/QtSDK4.8x/Desktop/Qt/4.8.0/gcc/lib&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Ubuntu 11.04 and older ===== &lt;br /&gt;
First of all, you have to check that the &#039;&#039;universe repository&#039;&#039; is enabled.&lt;br /&gt;
Please see the procedure in the previous section [[#graphical installation]] .&lt;br /&gt;
&lt;br /&gt;
Next, you will need the following packages installed:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install \&lt;br /&gt;
libqt4-opengl-dev \&lt;br /&gt;
qtmobility-dev \&lt;br /&gt;
libusb-0.1-4 \&lt;br /&gt;
libusb-dev \&lt;br /&gt;
libfftw3-dev \&lt;br /&gt;
portaudio19-dev \&lt;br /&gt;
libpulse-dev \&lt;br /&gt;
libsamplerate0-dev \&lt;br /&gt;
libusb-1.0-0-dev \&lt;br /&gt;
libconfig8-dev \&lt;br /&gt;
libortp-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Ubuntu 11.10 ===== &lt;br /&gt;
First of all, you have to check that the &#039;&#039;universe repository&#039;&#039; is enabled.&lt;br /&gt;
Click on the gear shaped icon (bottom into left side bar): the &#039;&#039;System Settings&#039;&#039; menu will shown, click on &#039;&#039;Software Sources&#039;&#039; and finally check the &#039;&#039;Community-maintaned Open Source Software (universe)&#039;&#039; tick.&lt;br /&gt;
Next, submit the following commands into a terminal window:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install \&lt;br /&gt;
libqt4-opengl-dev \&lt;br /&gt;
qtmobility-dev \&lt;br /&gt;
libusb-0.1-4 \&lt;br /&gt;
libusb-dev \&lt;br /&gt;
libfftw3-dev \&lt;br /&gt;
portaudio19-dev \&lt;br /&gt;
libpulse-dev \&lt;br /&gt;
libsamplerate0-dev \&lt;br /&gt;
libusb-1.0-0-dev \&lt;br /&gt;
libconfig8-dev \&lt;br /&gt;
xdg-utils \&lt;br /&gt;
libortp-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Fedora 16 =====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo yum install fftw fftw-devel &lt;br /&gt;
sudo yum install libusb-devel libusb1-devel &lt;br /&gt;
sudo yum install portaudio-devel&lt;br /&gt;
sudo yum install libconfig-devel&lt;br /&gt;
sudo yum install libsamplerate-devel&lt;br /&gt;
sudo yum install pulseaudio-libs-devel&lt;br /&gt;
sudo yum install jack-audio-connection-kit  jack-audio-connection-kit-devel&lt;br /&gt;
sudo yum install qt4-devel&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Cloning the repository ====&lt;br /&gt;
&lt;br /&gt;
How to build the latest master branch on Ubuntu 11.04&lt;br /&gt;
&lt;br /&gt;
First a new libevent will need to be downloaded and installed, then the actual QtRadio source can be downloaded and built.&lt;br /&gt;
&lt;br /&gt;
==== Obtaining an up-level libevent library ====&lt;br /&gt;
&lt;br /&gt;
$ sudo apt-get install libevent-dev&lt;br /&gt;
&lt;br /&gt;
If the version is older than 2.0.5, go to synaptic and completely remove the stock libevent from Ubuntu. (Completely remove is an uninstall option in Synaptic. Additional dependent libraries may also be removed)&lt;br /&gt;
&lt;br /&gt;
Then download the new version from:&lt;br /&gt;
&lt;br /&gt;
http://libevent.org/&lt;br /&gt;
&lt;br /&gt;
libevent-2.0.16-stable.tar.gz&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
wget https://github.com/downloads/libevent/libevent/libevent-2.0.16-stable.tar.gz&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Move the tarball from the Downloads directory to a working directory. A suggestion is to create a src directory within your home directory and move it there. Uncompress and follow the instructions to build and install:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
tar -zxvf libevent-2.0.16-stable.tar.gz&lt;br /&gt;
cd libevent-2.0.16-stable&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On Fedora, in order to use the library above, export the LD_LIBRARY_PATH:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export LD_LIBRARY_PATH=/usr/local/lib&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Installing codec2 low bit rate audio encoding and decoding ====&lt;br /&gt;
&lt;br /&gt;
We are adding a low bit rate audio codec called codec 2 to QtRadio/dspserver.  You need&lt;br /&gt;
to download and build the codec2 library.  See:&lt;br /&gt;
&lt;br /&gt;
http://www.rowetel.com/blog/?page_id=452&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
Now go get codec2 using subversion&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
svn co https://freetel.svn.sourceforge.net/svnroot/freetel/codec2-dev codec2-dev&lt;br /&gt;
cd codec2-dev&lt;br /&gt;
autoreconf -i&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On Fedora, in order to use the library above, export the LD_LIBRARY_PATH:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export LD_LIBRARY_PATH=/usr/local/lib&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Building the master branch ====&lt;br /&gt;
&lt;br /&gt;
This branch is the latest code that contains both RX and TX capability. &lt;br /&gt;
&lt;br /&gt;
Create a new directory or cd to the ~/src directory created for libevent and cd into it.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://github.com/alexlee188/ghpsdr3-alex&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Depending on your Internet connection thorughput, it will take several minute to download.&lt;br /&gt;
cd into the new directory ghpsdr3-alex:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ghpsdr3-alex&lt;br /&gt;
git checkout master&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
You are now working with Alex&#039;s latest and greatest!&lt;br /&gt;
&lt;br /&gt;
First set the path to the version of qt you are using.  E.g. for qt5:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ export PATH=/opt/qt5/bin:$PATH&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
autoreconf -i&lt;br /&gt;
./configure&lt;br /&gt;
make -j4 all&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The default configure above builds with debug and default Qt4 version in your PC.  For optimized executable,&lt;br /&gt;
you need to specify options specific to your system.  See the sample shell scripts that replaces the above&lt;br /&gt;
./configure step:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./alex-avx-conf.sh		for building with i3,i5 and i7 cpu&#039;s supporting Advanced Vector Extensions (AVX)&lt;br /&gt;
./alex-openmp-conf.sh		for building with i3,i5 and i7 cpu&#039;s and OpenMP support&lt;br /&gt;
./alex-sse3-conf.sh		for building with SSE3 capable cpu&#039;s&lt;br /&gt;
./alex-openmp-sse3-conf.sh	for building with SSE3 cpaable cpu&#039;s and OpenMP support&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(If you do not want to actually install the executable binaries, skip the sudo make install and just cd into the following directories and run them from there)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Terminal 1&lt;br /&gt;
$ cd ghpsdr3-alex/trunk/src/softrock&lt;br /&gt;
$ ./softrock ...options ...&lt;br /&gt;
&lt;br /&gt;
Terminal 2&lt;br /&gt;
$ cd ghpsdr3-alex/trunk/src/dspserver&lt;br /&gt;
$ ./dspserver  ..options...&lt;br /&gt;
&lt;br /&gt;
Terminal 3&lt;br /&gt;
$ cd ghpsdr3-alex/trunk/src/QtRadio&lt;br /&gt;
$ ./QtRadio&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Building the Perseus extensions ====&lt;br /&gt;
&lt;br /&gt;
In order to build the Microtelecom Perseus server you need to switch to the master or iw0hdv branch. &lt;br /&gt;
&lt;br /&gt;
First off, install the prerequisite library and wget package:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install libboost-all-dev wget&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Next download, compile and install the library libperseus-sdr:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
wget http://libperseus-sdr.googlecode.com/files/libperseus_sdr-0.6.tar.gz&lt;br /&gt;
tar -zxvf libperseus_sdr-0.6.tar.gz&lt;br /&gt;
cd libperseus_sdr-0.6/&lt;br /&gt;
./configure &amp;amp;&amp;amp; make&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you already build in your sandbox some other branch, is strongly advisable, before you start the build, to do a full cleanup:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
make distcheck &amp;amp;&amp;amp; sh cleanup.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Otherwise, if you are starting from scratch, you have to clone the repository:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://github.com/alexlee188/ghpsdr3-alex&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, you can switch to the master branch and rebuild everything; you don&#039;t need anymore to explicitly enable the perseus server feature, the configure script automatically selects it when the libperseus_sdr is found.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
git checkout master&lt;br /&gt;
autoreconf -i &amp;amp;&amp;amp; ./configure &amp;amp;&amp;amp; make -j4&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In order to run it you have two choices, the first one being the plain command line:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
xterm -e &#039;perseus_server -d3 -s96000 &#039; &amp;amp;&lt;br /&gt;
sleep 3&lt;br /&gt;
xterm -e &#039;dspserver --lo 0 --nocorrectiq&#039; &amp;amp;&lt;br /&gt;
sleep 5&lt;br /&gt;
$( QtRadio 127.0.0.1 ) &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In QtRadio, Receiver menu, select Configure item, Server tab: here add the local host using the 127.0.0.1 IP address.&lt;br /&gt;
Pressing the key C, you start the receiver.&lt;br /&gt;
&lt;br /&gt;
The second choiche is to use the ghpsdr3-mgr.py script (available in menu Applications, Hamradio as ghpsdr3launcher): clicking on the Perseus icon the three processes should start and the QtServer automatically connects to Perseus Server.&lt;br /&gt;
&lt;br /&gt;
==== Building USRP enabled version ====&lt;br /&gt;
&lt;br /&gt;
===== Building the UHD package =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====== Install the prerequisite packages (Ubuntu 11.10): ======&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install liboost-all-dev&lt;br /&gt;
sudo apt-get install python-cheetah&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====== Build &amp;amp; Install UHD -- FOR UHD-3.3.1 AND GREATER --: ======&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
git clone git://ettus.sourcerepo.com/ettus/uhd.git&lt;br /&gt;
cd uhd/host/&lt;br /&gt;
mkdir build&lt;br /&gt;
cd build&lt;br /&gt;
cmake ../&lt;br /&gt;
make&lt;br /&gt;
make test&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you already build in your sandbox some other branch, is strongly advisable, before you start the build, to do a full cleanup:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
make distcheck &amp;amp;&amp;amp; sh cleanup.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Otherwise, if you are starting from scratch, first clone the repository:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://github.com/alexlee188/ghpsdr3-alex&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, you can switch to the master branch and rebuild everything, enabling the usrp server feature:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
git checkout usrp-server&lt;br /&gt;
autoreconf -i &amp;amp;&amp;amp; ./configure --enable-usrp=yes &amp;amp;&amp;amp; make -j4&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Refresh to a Newer Version ====&lt;br /&gt;
&lt;br /&gt;
To pull a new version to build &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ git pull&lt;br /&gt;
$ make -j4 all&lt;br /&gt;
$ sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If extensive changes have occurred or if you get errors during the make, you may want to do a clean build  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ git pull&lt;br /&gt;
$ make distclean&lt;br /&gt;
$ sh cleanup.sh&lt;br /&gt;
$ autoreconf -i&lt;br /&gt;
$ ./configure&lt;br /&gt;
$ make -j4 all&lt;br /&gt;
$ sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you continue to get errors, please report the whole ./configure output and the config.log to the mailing list.&lt;br /&gt;
&lt;br /&gt;
== Installation on Windows ==&lt;br /&gt;
See [[ QtRadio on Windows]]&lt;br /&gt;
&lt;br /&gt;
== Network settings ==&lt;br /&gt;
If you are behind a firewall/NAT-router and want to be able to connect to your dspserver over the Internet you have to open up port tcp/8000. If you are using the client in RTP mode you have to open up udp/5004 and udp/5005.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Installing ghpsdr3-alex on Raspberry Pi == &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
========== HARDWARE ==========&lt;br /&gt;
&lt;br /&gt;
*** THIS SECTION DEALS WITH Raspberry Pi DIFFERENCES *** IT DOES NOT CIRCUMVENT THE INSTRUCTIONS STARTING AT STEP 1 OF THE QtRadio Installation. ***&lt;br /&gt;
&lt;br /&gt;
I recommend installing either the raspbian or raspbian pisces (debian) distributions as there is no Ubuntu release to date.&lt;br /&gt;
&lt;br /&gt;
*** All the pre-requisite packages needed for Ubuntu must be installed on raspbian or respbian pisces using the same &amp;quot;apt-get install&amp;quot; commands so it&#039;s necessary to follow the QtRadio-Installation &lt;br /&gt;
document from the beginning after installing raspbian or raspbian pisces.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
        The RasPi USB subsystem is sensitive to power supply voltage levels - A supply of 5.5V at 2A is recommended. &lt;br /&gt;
With the power supply output at +5.17V I was getting on-board Ethernet errors and system hangs when one more device besides keyboard and mouse were plugged in to the on-board USB ports or an outboard powered USB HUB. &lt;br /&gt;
&lt;br /&gt;
Measuring the voltage across TP1 and TP2 on the Raspberry Pi and  increased it to +4.97V (P.S output +5.59V).&lt;br /&gt;
&lt;br /&gt;
I also ran &amp;quot;rpi-update&amp;quot; which install new firmware. &lt;br /&gt;
&lt;br /&gt;
I shorted out the polyfuses F1 and F2 on the Pi and USB is much more stable but still limited.&lt;br /&gt;
&lt;br /&gt;
With keyboard, mouse, gigabit USB Ethernet, SB Live! 24 USB and RTL-SDR dongle it runs for some hours before it freezes.&lt;br /&gt;
&lt;br /&gt;
Removing the RTL-SDR dongle from the powered hub made a great difference with a current uptime heading for 3 days. The latest ghpsdr3-alex master branch build successfully completed while I was in bed.&lt;br /&gt;
&lt;br /&gt;
root@pisces:/usr/src/GHPSDR3_HIGH_SPEED_MASTER/ghpsdr3-alex# date&lt;br /&gt;
&lt;br /&gt;
Sun Sep  9 13:00:49 BST 2012&lt;br /&gt;
&lt;br /&gt;
root@pisces:/usr/src/GHPSDR3_HIGH_SPEED_MASTER/ghpsdr3-alex# uptime&lt;br /&gt;
&lt;br /&gt;
 13:00:56 up 2 days, 20:46,  8 users,  load average: 0.81, 1.01, 0.67&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 ******       Do not use power from a USB PC port or from a USB Hub. ********&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once it&#039;s up and running, some details that may help in setting up the hardware for use - I&#039;m currently overclocking at 855MHz  (Previously was set to 1GHz):-&lt;br /&gt;
&lt;br /&gt;
Keyboard, mouse, usb sound card, RTL-SDR TV dongle and USB Gigabit Ethernet fully operational using the 7-port powered USB hub.&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# lsusb&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp. &lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.&lt;br /&gt;
 &lt;br /&gt;
Bus 001 Device 004: ID 04cc:1521 ST-Ericsson USB 2.0 Hub&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 011: ID 04f3:0103 Elan Microelectronics Corp. &lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 006: ID 047d:1022 Kensington Orbit Optical&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 007: ID 1d19:1101 Dexatek Technology Ltd. DK DVB-T Dongle&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 008: ID 041e:3040 Creative Technology, Ltd SoundBlaster Live! 24-bit External SB0490&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 009: ID 0b95:1780 ASIX Electronics Corp. AX88178&lt;br /&gt;
root@pisces:~# ifconfig &lt;br /&gt;
&lt;br /&gt;
eth0 Link encap:Ethernet HWaddr b8:27:eb:2c:07:c9&lt;br /&gt;
&lt;br /&gt;
         inet addr:192.168.10.31  Bcast:192.168.10.255 Mask:255.255.255.0&lt;br /&gt;
         inet6 addr: fe80::ba27:ebff:fe2c:7c9/64 Scope:Link&lt;br /&gt;
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1&lt;br /&gt;
         RX packets:410 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
         TX packets:377 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
         collisions:0 txqueuelen:1000&lt;br /&gt;
         RX bytes:28905 (28.2 KiB)  TX bytes:35938 (35.0 KiB)&lt;br /&gt;
&lt;br /&gt;
eth1 Link encap:Ethernet HWaddr 00:10:14:00:9f:fa&lt;br /&gt;
&lt;br /&gt;
         inet addr:192.168.2.199  Bcast:192.168.2.255 Mask:255.255.255.0&lt;br /&gt;
         inet6 addr: fe80::210:14ff:fe00:9ffa/64 Scope:Link&lt;br /&gt;
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1&lt;br /&gt;
         RX packets:5 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
         TX packets:7 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
         collisions:0 txqueuelen:1000&lt;br /&gt;
         RX bytes:230 (230.0 B)  TX bytes:592 (592.0 B)&lt;br /&gt;
&lt;br /&gt;
lo Link encap:Local Loopback&lt;br /&gt;
&lt;br /&gt;
         inet addr:127.0.0.1  Mask:255.0.0.0&lt;br /&gt;
         inet6 addr: ::1/128 Scope:Host&lt;br /&gt;
         UP LOOPBACK RUNNING  MTU:16436  Metric:1&lt;br /&gt;
         RX packets:0 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
         TX packets:0 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
         collisions:0 txqueuelen:0&lt;br /&gt;
         RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# cat /proc/asound/cards&lt;br /&gt;
 0 [ALSA           ]: BRCM bcm2835 ALSbcm2835 ALSA - bcm2835 ALSA&lt;br /&gt;
                      bcm2835 ALSA&lt;br /&gt;
&lt;br /&gt;
 1 [External       ]: USB-Audio - SB Live! 24-bit External&lt;br /&gt;
                      Creative Technology SB Live! 24-bit External at usb-bcm2708_usb-1.2.2, full spe&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It&#039;s running at 855MHz with this config.txt file. &lt;br /&gt;
root@pisces:~# cat /boot/config.txt&lt;br /&gt;
&lt;br /&gt;
over_voltage=6&lt;br /&gt;
&lt;br /&gt;
arm_freq=855&lt;br /&gt;
&lt;br /&gt;
core_freq=500&lt;br /&gt;
&lt;br /&gt;
sdram_freq=500&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# cat /etc/network/interfaces&lt;br /&gt;
&lt;br /&gt;
    Used by ifup(8) and ifdown(8). See the interfaces(5) manpage or&lt;br /&gt;
    /usr/share/doc/ifupdown/examples for more information. &lt;br /&gt;
&lt;br /&gt;
auto lo&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
iface lo inet loopback&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    File: ifcfg-eth0&lt;br /&gt;
&lt;br /&gt;
auto eth0&lt;br /&gt;
&lt;br /&gt;
iface eth0 inet static&lt;br /&gt;
&lt;br /&gt;
address 192.168.10.31&lt;br /&gt;
&lt;br /&gt;
netmask 255.255.255.0&lt;br /&gt;
&lt;br /&gt;
gateway 192.168.10.103&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
auto eth1&lt;br /&gt;
&lt;br /&gt;
iface eth1 inet static&lt;br /&gt;
&lt;br /&gt;
address 192.168.2.199&lt;br /&gt;
&lt;br /&gt;
netmask 255.255.255.0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# cat /etc/modules&lt;br /&gt;
&lt;br /&gt;
    /etc/modules: kernel modules to load at boot time.&lt;br /&gt;
    This file contains the names of kernel modules that should be loaded&lt;br /&gt;
    at boot time, one per line. Lines beginning with &amp;quot;#&amp;quot; are ignored.&lt;br /&gt;
    Parameters can be specified after the module name. &lt;br /&gt;
&lt;br /&gt;
loop&lt;br /&gt;
&lt;br /&gt;
snd-bcm2835&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
One problem remains, no sound from the on-board chip.&lt;br /&gt;
&lt;br /&gt;
== SOFTWARE == &lt;br /&gt;
***** START AT THE BEGINNING WHEN BUILDING THE SOFTWARE -- i.e Section 1 and install all the packages recommended and do the pulseaudio setup.&lt;br /&gt;
&lt;br /&gt;
If you build ghpsdr3-alex already it&#039;s a case of following the same procedure with the following caveats that apply to the RasPi ARM architecture. What follows is a blow by blow account of how I did it for the iw0hdv branch which supports my HiQSDR+Preselector. The same steps are needed for building any other branch.&lt;br /&gt;
&lt;br /&gt;
Subject: [n2adr-sdr] Raspberry Pi running ghpsdr3-alex&lt;br /&gt;
&lt;br /&gt;
The changes made by Andrea have been merged into the master branch. These changes allow samplerates &amp;gt;192K but the Pi doesn&#039;t have the power to run these high samplerates - I am running hiqsdr-server at 960K samplerate on a 8-core x84_64 box.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   autoreconf -i &lt;br /&gt;
&lt;br /&gt;
    ./configure CFLAGS=&#039;-O3 -pipe -march=armv6 -mfpu=vfp -mfloat-abi=hard&#039; CXXFLAGS=&#039;-O3 -pipe -march=armv6 -mfpu=vfp -mfloat-abi=hard&#039; &lt;br /&gt;
&lt;br /&gt;
**** Additional steps needed when building rtlsdr-server. Do these before running make ******&lt;br /&gt;
# export ac_cv_func_malloc_0_nonnull=yes&lt;br /&gt;
# export ac_cv_func_realloc_0_nonnull=yes&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    make all &amp;amp;&amp;amp; make all install &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Sound on the Raspberry Pi is still a problem I have not been able to solve.&lt;br /&gt;
&lt;br /&gt;
Terry (WB4JFI) suggested the following that work for him but I have had no luck with it.&lt;br /&gt;
&lt;br /&gt;
&amp;quot;amixer cset numid=3 1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Other valid numid&#039;s are 0=auto, 1=headphones and 2=hdmi.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
QtRadio running on another box using the connection from the server list. Sound is a touch distorted, quite distorted on start up of QtRadio and spectrum is always a little bit slow.&lt;br /&gt;
&lt;br /&gt;
When a slave connected and tried changing frequency, dspserver crashed - dspserver can be a bit crash happy.&lt;br /&gt;
&lt;br /&gt;
The first thing I tried on the Pi was QtRadio standalone, spectrum and waterfall were OK but no sound.&lt;br /&gt;
&lt;br /&gt;
Just now a client using glSDR (5) is attempting to change frequency, sound went quite distorted then dspserver crashed.&lt;br /&gt;
&lt;br /&gt;
Restarted dspserver and QtRadio sound started very distorted before it settled down to reasonable.&lt;/div&gt;</summary>
		<author><name>Frohro</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=Utilities&amp;diff=458</id>
		<title>Utilities</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=Utilities&amp;diff=458"/>
		<updated>2012-05-28T20:46:41Z</updated>

		<summary type="html">&lt;p&gt;Frohro: /* Squelch activated cecordings */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;So, now you have QtRadio running. Let&#039;s have some fun and do some useful things.&lt;br /&gt;
===Squelch activated recordings===&lt;br /&gt;
stay tuned&lt;br /&gt;
&lt;br /&gt;
===Full featured recording script===&lt;br /&gt;
Since we have QtRadio, we have a lot of Radios over the world, which cover the frequency spectrum nearly from dc to uhf. So it is often the case you come along some interesting, odd, seldom transmissions, which you ever wanted to record and maybe analyse later.&lt;br /&gt;
&lt;br /&gt;
The supplied script will, when started:&lt;br /&gt;
*take you actual system time,&lt;br /&gt;
*ask QtRadio for the actual tuned frequency,&lt;br /&gt;
*will create a wav file stamped by the previos asked data (time+qrg.wav).&lt;br /&gt;
*will, when you stopped recording, create a spectrum image from the recorded wav file.&lt;br /&gt;
&lt;br /&gt;
So, first we need some little helpful programms. Check if you already have or install:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install sox&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install hamlib-utils&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here is the recording script. Copy it into you favorite editor.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
##!/bin/bash&lt;br /&gt;
QRG=&amp;quot;_$(exec rigctl -m2 -r 127.0.0.1:19090 f 2&amp;gt;&amp;amp;1)&amp;quot;&lt;br /&gt;
NAME=`date +%Y%m%d%H%M`&lt;br /&gt;
rec -r 8000 -c 1 $NAME$QRG.wav&lt;br /&gt;
echo &amp;quot;processing spectrogram...&amp;quot;&lt;br /&gt;
sox $NAME$QRG.wav -n spectrogram -x 1280 -y 720 -z 100 -t &amp;quot;$NAME$QRG.wav&amp;quot; -c &#039;&#039; -o $NAME$QRG.png&lt;br /&gt;
echo &amp;quot;...done !&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
nano /usr/local/bin/qtradio_rec&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
make the script executable:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo chmod +x /usr/local/bin/qtradio_rec&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Create you favorite recording location, for example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir QtRadio_Recordings&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
change to that directory:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd QtRadio_Recordings&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Fire up QtRadio before starting the recording-script and start the recording script from your recording directory:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
qtradio_rec&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
you should now see this output from sox:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
dl6kbg@ubuntu:~$ qtradio_rec &lt;br /&gt;
&lt;br /&gt;
Input File     : &#039;default&#039; (alsa)&lt;br /&gt;
Channels       : 1&lt;br /&gt;
Sample Rate    : 8000&lt;br /&gt;
Precision      : 16-bit&lt;br /&gt;
Sample Encoding: 16-bit Signed Integer PCM&lt;br /&gt;
&lt;br /&gt;
In:0.00% 00:00:21.50 [00:00:00.00] Out:164k  [      |      ]        Clip:0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
while doing the first recording open pavucontrol and check if sox uses the right audio source. Select the following:&lt;br /&gt;
&lt;br /&gt;
[[File:Pavucontrol.png]]&lt;br /&gt;
&lt;br /&gt;
if you are done with your recording, press CRTL-C to quit the script and stop the recording. The script processes the spectrum image from the just recorded wave-file:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Aborted.&lt;br /&gt;
processing spectrogram...&lt;br /&gt;
...done !&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
when you now have a look into your recording directory, you should have something like this:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
-rw-rw-r-- 1 dl6kbg dl6kbg  207665 2012-04-05 20:41 201204052041_3756000.png&lt;br /&gt;
-rw-rw-r-- 1 dl6kbg dl6kbg   32812 2012-04-05 20:41 201204052041_3756000.wav&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
You now have a time and frequency stamped audio file and the spectrum view from that audio file.&lt;br /&gt;
&lt;br /&gt;
[[File:Sox_spec.png|200px]]&lt;br /&gt;
&lt;br /&gt;
So, if you never want to miss to make a recording, open a terminal every time you use QtRadio and change in that terminal to your recording directory.&lt;br /&gt;
Fire up &amp;quot;qtradio_rec&amp;quot; whenever you hear something interesting.&lt;br /&gt;
&lt;br /&gt;
Enjoy and collect :-)&lt;br /&gt;
&lt;br /&gt;
===Frequency Scanning===&lt;br /&gt;
stay tuned&lt;br /&gt;
===Gnome Predict===&lt;br /&gt;
stay tuned&lt;br /&gt;
===WSPR===&lt;br /&gt;
stay tuned&lt;/div&gt;</summary>
		<author><name>Frohro</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=Main_Page&amp;diff=453</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=Main_Page&amp;diff=453"/>
		<updated>2012-05-17T00:29:09Z</updated>

		<summary type="html">&lt;p&gt;Frohro: /* What is the actual ghpsdr3-alex Project software? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===[[What&#039;s New| What&#039;s New and latest news]]===&lt;br /&gt;
=== &#039;&#039;&#039;The ghpsdr3-alex Project&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
This is a modification of the excellent Software Defined Radio (SDR) software by John Melton [G0ORX/N6LYT][http://g0orx.blogspot.com]&lt;br /&gt;
&lt;br /&gt;
The original software by John is called ghpsdr3.  We are working towards merging the two projects (ghpsdr3 and ghpsdr3-alex) source trees to a single source.  However BEFORE that happens, you CANNOT mix and match programs from the two projects.  See note for HPSDR hardware users below.&lt;br /&gt;
  &lt;br /&gt;
Project README https://github.com/alexlee188/ghpsdr3-alex/blob/master/README [https://github.com/alexlee188/ghpsdr3-alex/blob/master/README]&lt;br /&gt;
&lt;br /&gt;
Source Code is via git at https://github.com/alexlee188/ghpsdr3-alex [https://github.com/alexlee188/ghpsdr3-alex]&lt;br /&gt;
&lt;br /&gt;
Discussions take place in the sdr-widget group http://groups.google.com/group/sdr-widget [http://groups.google.com/group/sdr-widget]&lt;br /&gt;
&lt;br /&gt;
You can browse the list of online dspservers at http://qtradio.napan.ca/qtradio/qtradio.pl[http://qtradio.napan.ca/qtradio/qtradio.pl]&lt;br /&gt;
&lt;br /&gt;
Currently it supports HPSDR, Softrock, UHFSDR, Microtelecom Perseus, SDR-iq, HiQSDR, Ettus Research USRP and rtl-sdr DVB-T dongles.&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;What is the actual ghpsdr3-alex Project software?&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
The software comprises 3 different components:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;A)&#039;&#039;&#039;  server - there is a CLI based server for each type of hardware.  For example, there are hpsdr-server, usrp-server, softrock (server), sdriq-server, HiQSDR etc.  Some servers are based on soundcard/USB connections to the hardware.  Some are connected via ethernet (eg HPSDR Metis).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;B)&#039;&#039;&#039;  dspserver - this is the software in the middle that processes the IQ data from the server (connected over LAN via UDP) using DttSP.  The same dspserver can connect to any of the servers in A.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;C)&#039;&#039;&#039;  clients - this is the GUI user interface.  There are clients built with Qt and runs on Windows, Linux, and Mac OSX.  There is a working Android client that works on Android phones and Android tablets.  The clients connect to dspserver via LAN or remotely via Internet.  In future we will have java based web clients as well (either specifically written clients, or running Qt inside a web browser)  Also, multiple clients can concurrently access the same dspserver.  There is also RxTx capability (currently for voice modes).  the QtRadio client has a Hamlib interface and can connect to gPredict, xLog, and fldigi (for digital mode)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Project Goals&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
1.  Open source (GPL) SDR software&lt;br /&gt;
&lt;br /&gt;
2.  Client-server network-enabled by design from the ground up&lt;br /&gt;
&lt;br /&gt;
3.  Customized server for each SDR hardware type.  Currently supporting HPSDR, Softrock, UHFSDR, Microtelecom Perseus, RFSPACE SDR-IQ, HiQSDR, Ettus Research USRP, and the rtl-sdr DVB-T dongle.&lt;br /&gt;
&lt;br /&gt;
4.  Single dspserver that connects to single server.  However, each server can have multiple Rx and Tx channels.&lt;br /&gt;
&lt;br /&gt;
5.  Multiple clients, such as QtRadio, that can concurrently connect to a single dspserver.&lt;br /&gt;
&lt;br /&gt;
6.  Full Rx and Tx capability for hardware capable of Tx&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*[[Screenshots and Recordings]] &lt;br /&gt;
*[[QtRadio on Windows]]&lt;br /&gt;
*[[QtRadio - Operation]]&lt;br /&gt;
*[[QtRadio Installation]]&lt;br /&gt;
*[[aHPSDR]] Android Client&lt;br /&gt;
*[[Pulseaudio Setup]]&lt;br /&gt;
*[[Developers Documentation]]&lt;br /&gt;
*[[ToDo/- Wishlist]]&lt;br /&gt;
*[[dspserver.conf]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note for HPSDR and ghpsdr3 (original) users:&#039;&#039;&#039;&lt;br /&gt;
In general, you cannot mix and match software from the two projects, ghpsdr3 and ghpsdr3-alex.  However, John has updated the programs in the ghpsdr3-alex repository, and the hpsdr-server program in gphsdr3-alex works for HPSDR hardware.  The following newbie guide is written by Erich Heinzle (vk5hse at yahoo.com):&lt;br /&gt;
&lt;br /&gt;
http://lists.openhpsdr.org/pipermail/hpsdr-openhpsdr.org/2011-December/016334.html[http://lists.openhpsdr.org/pipermail/hpsdr-openhpsdr.org/2011-December/016334.html]&lt;/div&gt;</summary>
		<author><name>Frohro</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=Main_Page&amp;diff=452</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=Main_Page&amp;diff=452"/>
		<updated>2012-05-17T00:28:14Z</updated>

		<summary type="html">&lt;p&gt;Frohro: /* What is the actual ghpsdr3-alex Project software? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===[[What&#039;s New| What&#039;s New and latest news]]===&lt;br /&gt;
=== &#039;&#039;&#039;The ghpsdr3-alex Project&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
This is a modification of the excellent Software Defined Radio (SDR) software by John Melton [G0ORX/N6LYT][http://g0orx.blogspot.com]&lt;br /&gt;
&lt;br /&gt;
The original software by John is called ghpsdr3.  We are working towards merging the two projects (ghpsdr3 and ghpsdr3-alex) source trees to a single source.  However BEFORE that happens, you CANNOT mix and match programs from the two projects.  See note for HPSDR hardware users below.&lt;br /&gt;
  &lt;br /&gt;
Project README https://github.com/alexlee188/ghpsdr3-alex/blob/master/README [https://github.com/alexlee188/ghpsdr3-alex/blob/master/README]&lt;br /&gt;
&lt;br /&gt;
Source Code is via git at https://github.com/alexlee188/ghpsdr3-alex [https://github.com/alexlee188/ghpsdr3-alex]&lt;br /&gt;
&lt;br /&gt;
Discussions take place in the sdr-widget group http://groups.google.com/group/sdr-widget [http://groups.google.com/group/sdr-widget]&lt;br /&gt;
&lt;br /&gt;
You can browse the list of online dspservers at http://qtradio.napan.ca/qtradio/qtradio.pl[http://qtradio.napan.ca/qtradio/qtradio.pl]&lt;br /&gt;
&lt;br /&gt;
Currently it supports HPSDR, Softrock, UHFSDR, Microtelecom Perseus, SDR-iq, HiQSDR, Ettus Research USRP and rtl-sdr DVB-T dongles.&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;What is the actual ghpsdr3-alex Project software?&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
The software comprises 3 different components:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;A)&#039;&#039;&#039;  server - there is a CLI based server for each type of hardware.  For example, there are hpsdr-server, usrp-server, softrock (server), sdriq-server, HiQSDR etc.  Some servers are based on soundcard/USB connections to the hardware.  Some are connected via ethernet (eg HPSDR Metis).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;B)&#039;&#039;&#039;  dspserver - this is the software in the middle that processes the IQ data from the server (connected over LAN via UDP) using DttSP.  The same dspserver can connect to any of the servers in A.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;C)&#039;&#039;&#039;  clients - this is the GUI user interface.  There are clients built with Qt and runs on Windows, Linux, and Mac OSX.  There is a working Android client that works on Android phones and Android tablets.  The clients connect to dspserver via LAN or remotely via Internet.  In future we will have java based web clients as well (either specifically written clients, or running Qt inside a web browser)  Also, multiple clients can concurrently access the same dspserver.  There is also RxTx capability (currently for voice modes).  the QtRadio client has a Hamlib interface and can connect to gPredict, xLog, and fldigi (for digital mode)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Project Goals&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
1.  Open source (GPL) SDR software&lt;br /&gt;
&lt;br /&gt;
2.  Client-server network-enabled by design from the ground up&lt;br /&gt;
&lt;br /&gt;
3.  Customized server for each SDR hardware type.  Currently supporting HPSDR, Softrock, UHFSDR, Microtelecom Perseus, RFSPACE SDR-IQ, HiQSDR, Ettus Research USRP, and the rtl SDR DVB-T dongle.&lt;br /&gt;
&lt;br /&gt;
4.  Single dspserver that connects to single server.  However, each server can have multiple Rx and Tx channels.&lt;br /&gt;
&lt;br /&gt;
5.  Multiple clients, such as QtRadio, that can concurrently connect to a single dspserver.&lt;br /&gt;
&lt;br /&gt;
6.  Full Rx and Tx capability for hardware capable of Tx&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*[[Screenshots and Recordings]] &lt;br /&gt;
*[[QtRadio on Windows]]&lt;br /&gt;
*[[QtRadio - Operation]]&lt;br /&gt;
*[[QtRadio Installation]]&lt;br /&gt;
*[[aHPSDR]] Android Client&lt;br /&gt;
*[[Pulseaudio Setup]]&lt;br /&gt;
*[[Developers Documentation]]&lt;br /&gt;
*[[ToDo/- Wishlist]]&lt;br /&gt;
*[[dspserver.conf]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note for HPSDR and ghpsdr3 (original) users:&#039;&#039;&#039;&lt;br /&gt;
In general, you cannot mix and match software from the two projects, ghpsdr3 and ghpsdr3-alex.  However, John has updated the programs in the ghpsdr3-alex repository, and the hpsdr-server program in gphsdr3-alex works for HPSDR hardware.  The following newbie guide is written by Erich Heinzle (vk5hse at yahoo.com):&lt;br /&gt;
&lt;br /&gt;
http://lists.openhpsdr.org/pipermail/hpsdr-openhpsdr.org/2011-December/016334.html[http://lists.openhpsdr.org/pipermail/hpsdr-openhpsdr.org/2011-December/016334.html]&lt;/div&gt;</summary>
		<author><name>Frohro</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=Main_Page&amp;diff=451</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=Main_Page&amp;diff=451"/>
		<updated>2012-05-17T00:27:35Z</updated>

		<summary type="html">&lt;p&gt;Frohro: /* What is the actual ghpsdr3-alex Project software? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===[[What&#039;s New| What&#039;s New and latest news]]===&lt;br /&gt;
=== &#039;&#039;&#039;The ghpsdr3-alex Project&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
This is a modification of the excellent Software Defined Radio (SDR) software by John Melton [G0ORX/N6LYT][http://g0orx.blogspot.com]&lt;br /&gt;
&lt;br /&gt;
The original software by John is called ghpsdr3.  We are working towards merging the two projects (ghpsdr3 and ghpsdr3-alex) source trees to a single source.  However BEFORE that happens, you CANNOT mix and match programs from the two projects.  See note for HPSDR hardware users below.&lt;br /&gt;
  &lt;br /&gt;
Project README https://github.com/alexlee188/ghpsdr3-alex/blob/master/README [https://github.com/alexlee188/ghpsdr3-alex/blob/master/README]&lt;br /&gt;
&lt;br /&gt;
Source Code is via git at https://github.com/alexlee188/ghpsdr3-alex [https://github.com/alexlee188/ghpsdr3-alex]&lt;br /&gt;
&lt;br /&gt;
Discussions take place in the sdr-widget group http://groups.google.com/group/sdr-widget [http://groups.google.com/group/sdr-widget]&lt;br /&gt;
&lt;br /&gt;
You can browse the list of online dspservers at http://qtradio.napan.ca/qtradio/qtradio.pl[http://qtradio.napan.ca/qtradio/qtradio.pl]&lt;br /&gt;
&lt;br /&gt;
Currently it supports HPSDR, Softrock, UHFSDR, Microtelecom Perseus, SDR-iq, HiQSDR, Ettus Research USRP and rtl-sdr DVB-T dongles.&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;What is the actual ghpsdr3-alex Project software?&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
The software comprises 3 different components:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;A)&#039;&#039;&#039;  server - there is a CLI based server for each type of hardware.  For example, there are hpsdr-server, usrp-server, softrock (server), sdriq-server, HiQSDR etc.  Some servers are based on soundcard/USB connections to the hardware.  Some are connected via ethernet (eg HPSDR Metis).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;B)&#039;&#039;&#039;  dspserver - this is the software in the middle that processes the IQ data from the server (connected over LAN via UDP) using DttSP.  The same dspserver can connect to any of the servers in A.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;C)&#039;&#039;&#039;  clients - this is the GUI user interface.  There are clients built with Qt and runs on Windows, Linux, and Mac OSX.  There is a working Android client that works on Android phones and Android tablets.  The clients connect to dspserver via LAN or remotely via Internet.  In future we will have java based web clients as well (either specifically written clients, or running Qt inside a web browser)  Also, multiple clients can concurrently access the same dspserver.  There is also RxTx capability (currently for voice modes).  the QtRadio client has a Hamlib interface and can connect to gPredict, xLog, and fldigi (for digital mode)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Project Goals&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
1.  Open source (GPL) SDR software&lt;br /&gt;
&lt;br /&gt;
2.  Client-server network-enabled by design from the ground up&lt;br /&gt;
&lt;br /&gt;
3.  Customized server for each SDR hardware type.  Currently supporting HPSDR, Softrock, UHFSDR, Microtelecom Perseus, RFSPACE SDR-IQ, HiQSDR, Ettus Research USRP, and rtl SDR DVB-T dongle.&lt;br /&gt;
&lt;br /&gt;
4.  Single dspserver that connects to single server.  However, each server can have multiple Rx and Tx channels.&lt;br /&gt;
&lt;br /&gt;
5.  Multiple clients, such as QtRadio, that can concurrently connect to a single dspserver.&lt;br /&gt;
&lt;br /&gt;
6.  Full Rx and Tx capability for hardware capable of Tx&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*[[Screenshots and Recordings]] &lt;br /&gt;
*[[QtRadio on Windows]]&lt;br /&gt;
*[[QtRadio - Operation]]&lt;br /&gt;
*[[QtRadio Installation]]&lt;br /&gt;
*[[aHPSDR]] Android Client&lt;br /&gt;
*[[Pulseaudio Setup]]&lt;br /&gt;
*[[Developers Documentation]]&lt;br /&gt;
*[[ToDo/- Wishlist]]&lt;br /&gt;
*[[dspserver.conf]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note for HPSDR and ghpsdr3 (original) users:&#039;&#039;&#039;&lt;br /&gt;
In general, you cannot mix and match software from the two projects, ghpsdr3 and ghpsdr3-alex.  However, John has updated the programs in the ghpsdr3-alex repository, and the hpsdr-server program in gphsdr3-alex works for HPSDR hardware.  The following newbie guide is written by Erich Heinzle (vk5hse at yahoo.com):&lt;br /&gt;
&lt;br /&gt;
http://lists.openhpsdr.org/pipermail/hpsdr-openhpsdr.org/2011-December/016334.html[http://lists.openhpsdr.org/pipermail/hpsdr-openhpsdr.org/2011-December/016334.html]&lt;/div&gt;</summary>
		<author><name>Frohro</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=AHPSDR&amp;diff=438</id>
		<title>AHPSDR</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=AHPSDR&amp;diff=438"/>
		<updated>2012-05-09T22:11:21Z</updated>

		<summary type="html">&lt;p&gt;Frohro: /* Android client for listening to dspservers */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Android client for listening to dspservers==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*The original APK can be downloaded HERE:[http://napan.com/ve9gj/aHPSDR.apk  http://napan.com/ve9gj/aHPSDR.apk] &lt;br /&gt;
[[File:QR_AHPSDR.png]]&lt;br /&gt;
--------------------------&lt;br /&gt;
*May 4 2012&lt;br /&gt;
&lt;br /&gt;
aHPSDR (opengl branch). This version uses opengl for waterfall display. Experimental. Uses opengl es v2.0 for waterfall display. Uses Orthographic 2D projection so should work in all devices in portrait and landscape orientations. With offloading of workload from CPU to GPU the app runs smoother and the audio is uninterrupted.&lt;br /&gt;
http://code.google.com/p/sdr-widget/downloads/detail?name=aHPSDRgl.apk&amp;amp;can=2&amp;amp;q=&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Apr 18 2012 New build of aHPSDR from the opengl branch.  Improvements in the spectrum/waterfall refresh rates.  Only works with Protocol-3 capable dspservers.  Uses newer API&#039;s so may not work in older Android.  WIP for opengl display - not activated yet.: [http://code.google.com/p/sdr-widget/downloads/detail?name=aHPSDR.apk&amp;amp;can=2&amp;amp;q=]&lt;br /&gt;
*Feb 11 2012 Alternate download: [http://napan.com/ve9gj/aHPSDR.apk  http://napan.com/ve9gj/aHPSDR.apk]&lt;br /&gt;
*Feb 11 2012 svn: [http://svn.tapr.org/listing.php?repname=OpenHPSDR+Main&amp;amp;path=%2Ftrunk%2FN6LYT%2Fghpsdr3%2Fbranches%2Fandroid%2FaHPSDR%2Fbin%2F&amp;amp;#a94c80ff871066a17707aadbebe8526db TAPR svn]&lt;br /&gt;
  Change list for the Feb 11 2012 build: AHPSDR now has a Server list feature just like QtRadio look under &amp;gt;&amp;gt;menu &amp;gt;&amp;gt;Servers and select from among the active servers.&lt;br /&gt;
--------------------------&lt;br /&gt;
*Not current pre Feb 11 2012 build can be found HERE:[[http://qsl.net/kj6dzb/stuff/aHPSDR_pre_2_10_11.apk]]&lt;br /&gt;
--------------------------&lt;br /&gt;
* See the AHPSDR Android Client in use on YouTube:[http://www.youtube.com/watch?v=up-BEKxTTXs http://www.youtube.com/watch?v=up-BEKxTTXs]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Set up a programming environment for aHPSDR&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Install Eclipse -I chose the &amp;quot;Eclipse Classic 3.7.x&amp;quot; and got it here: &amp;lt;http://www.eclipse.org/downloads/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Download and set up the Android SDK and ADT plugins for Eclipse by following the instructions located here: &amp;lt;http://developer.android.com/sdk/installing.html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You may also need to install Java. See the instruction at the bottom of the above link. &lt;br /&gt;
&lt;br /&gt;
Once all above is installed start Eclipse and go to the menu / Window and select the &amp;quot;Android SDK Manager&amp;quot; Here you add the API packages for the target Android platform(s.) &lt;br /&gt;
&lt;br /&gt;
John Melton&#039;s aHPSDR is currently written for Android 2.2, API level 8. Be sure to check the top level box for API level 8. It should also run well under API level 7 if your device is 2.1. You may have to adjust the properties to get it to build, though.&lt;br /&gt;
&lt;br /&gt;
Unless you want to tackle rewriting the application for a higher API level, you really don&#039;t need to download any of the higher levels, although it wont hurt anything.&lt;br /&gt;
&lt;br /&gt;
You can also install an android device simulator. You can bypass this step if you would rather test the .apk directly on your USB connected device. The simulators are quite slow and require patience when they initialize. The aHPSDR program runs slow and choppy as well (at least on my box -YMMV). You can set up the simulator from the Menu/ Window / AVD manager&lt;br /&gt;
&lt;br /&gt;
Get the aHPSDR sources from: svn co http://svn.tapr.org/repos_sdr_hpsdr/trunk/N6LYT/ghpsdr3/branches/android/  This will create a folder named android in you home directory.&lt;br /&gt;
&lt;br /&gt;
To get started create a new project: File / New / Project. From the select a Wizard window select Android / Android Project then click Next&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Give your project a new name then click Create project from existing source Then Browse to the location the sources are located home/android/aHPSDR then click Next.&lt;br /&gt;
Select the target  platform/API, Select Android 2.2 (Platform 2.2 API Level 8) then click Finish.&lt;br /&gt;
&lt;br /&gt;
You will now see your new project in the Package Explorer window on the left. Select it then from the Menu Run/ Run. When the window opens select run as android application then click OK&lt;br /&gt;
&lt;br /&gt;
Wait for the ADP simulator to initialize ( could take several minutes and you will have to unlock, etc just like the real device. ) Go to the applications on the device and select aHPSDR. &lt;br /&gt;
&lt;br /&gt;
Have fun!&lt;br /&gt;
&lt;br /&gt;
73, Kevin&lt;br /&gt;
&lt;br /&gt;
* If you rebuild aHPSDR for 2.3.3 and when you are using Android 2.3, the performance is improved a lot over the one built for 2.1, so following Kevin&#039;s instructions is better than just installing the default aHPSDR.apk with (from the platform-tools directory&lt;br /&gt;
 ./adb install aHPSDR.apk&lt;/div&gt;</summary>
		<author><name>Frohro</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=AHPSDR&amp;diff=437</id>
		<title>AHPSDR</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=AHPSDR&amp;diff=437"/>
		<updated>2012-05-09T22:09:38Z</updated>

		<summary type="html">&lt;p&gt;Frohro: /* Android client for listening to dspservers */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Android client for listening to dspservers==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*The original APK can be downloaded HERE:[http://napan.com/ve9gj/aHPSDR.apk  http://napan.com/ve9gj/aHPSDR.apk] &lt;br /&gt;
[[File:QR_AHPSDR.png]]&lt;br /&gt;
--------------------------&lt;br /&gt;
*May 4 2012&lt;br /&gt;
&lt;br /&gt;
aHPSDR (opengl branch). This version uses opengl for waterfall display. Experimental. Uses opengl es v2.0 for waterfall display. Uses Orthographic 2D projection so should work in all devices in portrait and landscape orientations. With offloading of workload from CPU to GPU the app runs smoother and the audio is uninterrupted.&lt;br /&gt;
http://code.google.com/p/sdr-widget/downloads/detail?name=aHPSDRgl.apk&amp;amp;can=2&amp;amp;q=&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Apr 18 2012 New build of aHPSDR from the opengl branch.  Improvements in the spectrum/waterfall refresh rates.  Only works with Protocol-3 capable dspservers.  Uses newer API&#039;s so may not work in older Android.  WIP for opengl display - not activated yet.: [http://code.google.com/p/sdr-widget/downloads/detail?name=aHPSDR.apk&amp;amp;can=2&amp;amp;q=]&lt;br /&gt;
*Feb 11 2012 Alternate download: [http://napan.com/ve9gj/aHPSDR.apk  http://napan.com/ve9gj/aHPSDR.apk]&lt;br /&gt;
*Feb 11 2012 svn: [http://svn.tapr.org/listing.php?repname=OpenHPSDR+Main&amp;amp;path=%2Ftrunk%2FN6LYT%2Fghpsdr3%2Fbranches%2Fandroid%2FaHPSDR%2Fbin%2F&amp;amp;#a94c80ff871066a17707aadbebe8526db TAPR svn]&lt;br /&gt;
  Change list for the Feb 11 2012 build: AHPSDR now has a Server list feature just like QtRadio look under &amp;gt;&amp;gt;menu &amp;gt;&amp;gt;Servers and select from among the active servers.&lt;br /&gt;
--------------------------&lt;br /&gt;
*Not current pre Feb 11 2012 build can be found HERE:[[http://qsl.net/kj6dzb/stuff/aHPSDR_pre_2_10_11.apk]]&lt;br /&gt;
--------------------------&lt;br /&gt;
* See the AHPSDR Android Client in use on YouTube:[http://www.youtube.com/watch?v=up-BEKxTTXs http://www.youtube.com/watch?v=up-BEKxTTXs]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Set up a programming environment for aHPSDR&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Install Eclipse -I chose the &amp;quot;Eclipse Classic 3.7.x&amp;quot; and got it here: &amp;lt;http://www.eclipse.org/downloads/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Download and set up the Android SDK and ADT plugins for Eclipse by following the instructions located here: &amp;lt;http://developer.android.com/sdk/installing.html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You may also need to install Java. See the instruction at the bottom of the above link. &lt;br /&gt;
&lt;br /&gt;
Once all above is installed start Eclipse and go to the menu / Window and select the &amp;quot;Android SDK Manager&amp;quot; Here you add the API packages for the target Android platform(s.) &lt;br /&gt;
&lt;br /&gt;
John Melton&#039;s aHPSDR is currently written for Android 2.2, API level 8. Be sure to check the top level box for API level 8. It should also run well under API level 7 if your device is 2.1. You may have to adjust the properties to get it to build, though.&lt;br /&gt;
&lt;br /&gt;
Unless you want to tackle rewriting the application for a higher API level, you really don&#039;t need to download any of the higher levels, although it wont hurt anything.&lt;br /&gt;
&lt;br /&gt;
You can also install an android device simulator. You can bypass this step if you would rather test the .apk directly on your USB connected device. The simulators are quite slow and require patience when they initialize. The aHPSDR program runs slow and choppy as well (at least on my box -YMMV). You can set up the simulator from the Menu/ Window / AVD manager&lt;br /&gt;
&lt;br /&gt;
Get the aHPSDR sources from: svn co http://svn.tapr.org/repos_sdr_hpsdr/trunk/N6LYT/ghpsdr3/branches/android/  This will create a folder named android in you home directory.&lt;br /&gt;
&lt;br /&gt;
To get started create a new project: File / New / Project. From the select a Wizard window select Android / Android Project then click Next&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Give your project a new name then click Create project from existing source Then Browse to the location the sources are located home/android/aHPSDR then click Next.&lt;br /&gt;
Select the target  platform/API, Select Android 2.2 (Platform 2.2 API Level 8) then click Finish.&lt;br /&gt;
&lt;br /&gt;
You will now see your new project in the Package Explorer window on the left. Select it then from the Menu Run/ Run. When the window opens select run as android application then click OK&lt;br /&gt;
&lt;br /&gt;
Wait for the ADP simulator to initialize ( could take several minutes and you will have to unlock, etc just like the real device. ) Go to the applications on the device and select aHPSDR. &lt;br /&gt;
&lt;br /&gt;
Have fun!&lt;br /&gt;
&lt;br /&gt;
73, Kevin&lt;br /&gt;
&lt;br /&gt;
* I noted that if you rebuild aHPSDR for 2.3.3 and when you are using Android 2.3, the performance is improved a lot, so following Kevin&#039;s instructions is better than just installing the default aHPSDR.apk with (from the platform-tools directory&lt;br /&gt;
 ./adb install aHPSDR.apk&lt;/div&gt;</summary>
		<author><name>Frohro</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=Screenshots_and_Recordings&amp;diff=385</id>
		<title>Screenshots and Recordings</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=Screenshots_and_Recordings&amp;diff=385"/>
		<updated>2012-02-19T07:09:12Z</updated>

		<summary type="html">&lt;p&gt;Frohro: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Various QtRadio Recordings ==&lt;br /&gt;
&lt;br /&gt;
Glenn&#039;s Windows QtRadio on an XP Virtual Machine:  http://www.youtube.com/watch?v=0A5MaSYL6mk&lt;br /&gt;
&lt;br /&gt;
Glenn demonstrating 3 connections to Kevin&#039;s server where the slaves follow master&#039;s tuning: http://www.youtube.com/watch?v=EAWkHErtO7U&lt;br /&gt;
&lt;br /&gt;
Sid&#039;s Beagleboard XM and QtRadio on napan.ca - 8000 1 aLaw:  http://www.youtube.com/watch?v=LB8Vxb07Ph8 &lt;br /&gt;
&lt;br /&gt;
Alex testing TX on the rxtx-event branch:  http://www.youtube.com/watch?v=oc9TuJucD48&amp;amp;feature=related&lt;br /&gt;
&lt;br /&gt;
Alex listening in on 15M  in VE9 from Singapore:  http://www.youtube.com/watch?v=X-pSa5cHq6A&amp;amp;feature=related&lt;br /&gt;
&lt;br /&gt;
Alex listening in on 10M, kb0omm from Singapore: http://youtu.be/Rt8E0hHMwMY&lt;br /&gt;
&lt;br /&gt;
Oliver&#039;s TX Signal received on 10 Meter by a Softrock RXTX: http://www.youtube.com/watch?v=vsIdDfSHsWA&lt;br /&gt;
&lt;br /&gt;
Oliver - QtRadio Zapping on a new Server: http://www.youtube.com/watch?v=yY_mUzj357s&lt;br /&gt;
&lt;br /&gt;
Android Client: http://www.youtube.com/watch?v=up-BEKxTTXs&lt;br /&gt;
&lt;br /&gt;
Alex - Tx spectrum displayed: http://youtu.be/I4ya56LYUQ0&lt;br /&gt;
&lt;br /&gt;
Oliver with UHFSDR TXing at 2-Meter: http://www.youtube.com/watch?v=Okx_tCu4hcs&lt;br /&gt;
&lt;br /&gt;
Oliver rcv with UHFSDR on 70cm: http://www.youtube.com/watch?v=5qr9rmz0OSo&lt;br /&gt;
&lt;br /&gt;
Oliver rcv with UHFSDR HO-68 Satellite in CW (95mW): http://www.youtube.com/watch?v=fwHSIyLsb54&lt;br /&gt;
&lt;br /&gt;
Alberto IZ0CEZ with USRP: http://www.youtube.com/watch?v=mD9tUWV_Y-Q&lt;br /&gt;
&lt;br /&gt;
Frank DG1SBG running QtRadio on OSX http://www.youtube.com/watch?v=LaWnr6Pn3ek&lt;br /&gt;
&lt;br /&gt;
Rob, KL7NA&#039;s TX audio as recorded by Rit, N4BNM.  http://people.wallawalla.edu/~rob.frohne/ghpsdr3-alex/KL7NA.wav&lt;br /&gt;
&lt;br /&gt;
== Various QtRadio Screenshots ==&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:Qtradio-cqww-2011-sa5bke.png|QtRadio from CQWW October 2011 running in Ubuntu 10.04&lt;br /&gt;
File:QtRadioFedoraXFCE.png|QtRadio running on GNU Linux/Fedora 16 XFCE&lt;br /&gt;
File:QtRadioOnUbuntu-iw0hdv.png|QtRadio running on GNU Linux/Ubuntu&lt;br /&gt;
File:2011-11-26 CQWWCW qtradio ve9gj 28-MHz.jpg|QtRadio on Windows listening to CQWW CQ&lt;br /&gt;
File:QtRadio-Fldigi.png| fldigi using QtRadio including Rig Control via hamlib&lt;br /&gt;
File:QtRadiowCQRLog.jpg| CQRLog and QtRadio working together via QtRadio&#039;s hamlib interface&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Ghpsdr3-usb-boot ==&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:Ghpsdr3-usb-boot_1.jpg&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How to make videos in Ubuntu ==&lt;br /&gt;
&lt;br /&gt;
In Ubuntu videos are easily recorded with recordmydesktop.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install recordmydesktop&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Change to a terminal window and type:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
~$ recordmydesktop&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
In pavucontrol select the wanted audio source.&lt;br /&gt;
&lt;br /&gt;
Before you upload the recorded ogg video file to Youtube, it has to be converted:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install mencoder&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mencoder foo.ogv -o foo.avi -oac mp3lame -lameopts fast:preset=standard -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=4000 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How to take screenshots in Ubuntu ==&lt;br /&gt;
&lt;br /&gt;
[http://tips.webdesign10.com/how-to-take-a-screenshot-with-ubuntu-linux Taking Screenshots in Ubuntu ]&lt;/div&gt;</summary>
		<author><name>Frohro</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=Dspserver.conf&amp;diff=367</id>
		<title>Dspserver.conf</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=Dspserver.conf&amp;diff=367"/>
		<updated>2012-02-12T18:32:35Z</updated>

		<summary type="html">&lt;p&gt;Frohro: /* dspserver.conf */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==dspserver.conf==&lt;br /&gt;
&lt;br /&gt;
*As of version Feb 01 2012 dspserver will now require a dspserver conf file.  By default it will be created in a users home directory if one does not exist.  dspserver may be started with an alternate  file using the --shareconfig option.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The original file contained:&#039;&#039;&#039;&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;# Simple config file for ghpsdr3&#039;s dspserver.&lt;br /&gt;
# default file is located at ~/dspserver.conf when dsp server is started with --share&lt;br /&gt;
# The information below will be supplied to a web database which will aid QtRadio&lt;br /&gt;
# users find active dspservers to connect to.  You may also see the current list at&lt;br /&gt;
# http://napan.ca/qtradio/qtradio.pl&lt;br /&gt;
# valid fields are call, location, band, rig and ant&lt;br /&gt;
# lines must end with ; and any characters after a # is a comment and ignored&lt;br /&gt;
# field values must be enclosed with &amp;quot; ie: &amp;quot;xxxx&amp;quot;&lt;br /&gt;
# This default file will be created if dspserver is started with the --share option and ~/dspserver.conf does not exist&lt;br /&gt;
# You may also start dspserver with an alternate config file by starting dspserver with --shareconfig /home/alternate_filename.conf&lt;br /&gt;
# Note field names are all lowercase!&lt;br /&gt;
&lt;br /&gt;
call = &amp;quot;VE9GJ&amp;quot;;&lt;br /&gt;
location = &amp;quot;Napan, NB FN77&amp;quot;;&lt;br /&gt;
band = &amp;quot;20, 15, 10&amp;quot;;&lt;br /&gt;
rig = &amp;quot;SoftRock rxtx-event&amp;quot;;&lt;br /&gt;
ant = &amp;quot;4el Yagi Pointed NE&amp;quot;;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;New Sections as of Feb 01 2012:&#039;&#039;&#039;&lt;br /&gt;
* share and lookupcountry can now be set in the conf file&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;share = &amp;quot;yes&amp;quot;; # Can be yes, no&lt;br /&gt;
lookupcountry = &amp;quot;yes&amp;quot;; # Can be yes, no &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* TX needs to be set if not&#039;&#039;&#039; TX will be disabled&#039;&#039;&#039;&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;tx = &amp;quot;password&amp;quot;;  #Can be: no, yes, password&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;tx= no&#039;&#039;&#039; will disable all TX&amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;tx=yes&#039;&#039;&#039; will allow all TX dspserver will behave as before Feb 01 2012 version&amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;tx=password&#039;&#039;&#039; will require a user/password pair when sending a mox command and will be checked against the TX rules for that user before TX is allowed This is handled automatically by QtRadio.&amp;lt;br&amp;gt;&lt;br /&gt;
* User / passwords are added one per line&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;ve9gj = &amp;quot;secretpassword&amp;quot;;  #add users/passwords one per line (max 20 characters each!)&lt;br /&gt;
dl6kbg=&amp;quot;hissecret&amp;quot;;&lt;br /&gt;
zl2apv=&amp;quot;anothersecret&amp;quot;;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Multiple rule groups are allowed so permissions can be set by group.  You need to list any group names you want to use in the groupnames line. Limit 20 characters and avoid spaces&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;groupnames = [&amp;quot;txrulesall&amp;quot;, &amp;quot;txrules20m_only&amp;quot;];&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
* Now each groupname needs a line that lists it&#039;s members.  Use the group name with _members appended to it. &#039;&#039;Note the format = [ &amp;quot;user1&amp;quot;, &amp;quot;user2&amp;quot;];&#039;&#039;&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;txrulesall_members = [&amp;quot;ve9gj&amp;quot;]; &lt;br /&gt;
txrules20m_only_members = [&amp;quot;ve9gj&amp;quot;,&amp;quot;zl2apv&amp;quot;,&amp;quot;dl6kbg&amp;quot;];&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Now each rule group need it&#039;s own section one line per rule  rule are defined as mode, start Mhz, end Mhz. &#039;&#039;Note the format =(  (&amp;quot;mode&amp;quot;, 7.0, 7.1), (&amp;quot;mode&amp;quot;,1.8, 2.0) );&#039;&#039;&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;txrulesall = (&lt;br /&gt;
     (&amp;quot;*&amp;quot;,1.8,30.0) # mode, StartFreq Mhz, EndFreq Mhz&lt;br /&gt;
     );&lt;br /&gt;
txrules20m_only = (&lt;br /&gt;
     (&amp;quot;CW&amp;quot;,14.0,14.1), # mode, StartFreq Mhz, EndFreq Mhz&lt;br /&gt;
     (&amp;quot;SSB&amp;quot;,14.1,14.35), # mode, StartFreq Mhz, EndFreq Mhz&lt;br /&gt;
     (&amp;quot;AM&amp;quot;,14.3,14.35)&lt;br /&gt;
          );&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Mode needs to be in double quotes &amp;quot;AM&amp;quot;&amp;lt;br&amp;gt;&lt;br /&gt;
Mode can use &amp;quot;*&amp;quot; to mean any mode allowed&amp;lt;br&amp;gt;&lt;br /&gt;
Frequencies are in Mhz with the decimal point&amp;lt;br&amp;gt;&lt;br /&gt;
The first rule that matches will allow TX&amp;lt;br&amp;gt;&lt;br /&gt;
the User / Pass is sent with every MOX command so if a connection fails and another user somehow happens to attach as the wrong connected client he still cannot TX without the password&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* On the QtRadio Configure--&amp;gt;Transmit Tab you will find a table to save user passwords for specific servers.  The server name is the same as what is on the Quick connect list and will now show up in the Main Window title bar. &lt;br /&gt;
* When QtRadio connects to a &amp;gt;= Feb 01 2012 dspserver it will check this table for a saved user pass and automatically send it when clicking the tune or mox buttons.&lt;br /&gt;
* Still to come is feed back to QtRadio when TX has been denied.  At the moment TX just fails.  The dspserver console will list the user name that attempt to TX.&lt;br /&gt;
&lt;br /&gt;
73&lt;/div&gt;</summary>
		<author><name>Frohro</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=Developers_Documentation&amp;diff=184</id>
		<title>Developers Documentation</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=Developers_Documentation&amp;diff=184"/>
		<updated>2011-11-23T03:10:02Z</updated>

		<summary type="html">&lt;p&gt;Frohro: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;*[https://github.com/alexlee188/ghpsdr3-alex Git Repository ]&lt;br /&gt;
*[https://github.com/alexlee188/ghpsdr3-alex/blob/master/README README]&lt;br /&gt;
*[http://code.google.com/p/sdr-shell/wiki/SDRCore Dttsp]&lt;br /&gt;
*[http://www.youtube.com/watch?v=6KtOzh0StTc A Very good video tutorial series on using QT and C++]&lt;br /&gt;
*[http://openhpsdr.org/wiki/index.php?title=Ghpsdr3 A Brief Description on the architecture of ghpsdr3]&lt;br /&gt;
*[http://openhpsdr.org/wiki/images/4/47/Ghpsdr3-protocols2010-08-07.pdf Ghpsdr3 communication protocols 2010-08-07]&lt;br /&gt;
*[http://openhpsdr.org/wiki/index.php?title=Ghpsdr3_protocols More on the Ghpsdr communications protocols (and more up to date)]&lt;br /&gt;
&lt;br /&gt;
Most of the development discussion has been taking place on the [http://groups.google.com/group/sdr-widget sdr-widget google group].&lt;/div&gt;</summary>
		<author><name>Frohro</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=Developers_Documentation&amp;diff=183</id>
		<title>Developers Documentation</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=Developers_Documentation&amp;diff=183"/>
		<updated>2011-11-23T03:07:06Z</updated>

		<summary type="html">&lt;p&gt;Frohro: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;*[https://github.com/alexlee188/ghpsdr3-alex Git Repository ]&lt;br /&gt;
*[https://github.com/alexlee188/ghpsdr3-alex/blob/master/README README]&lt;br /&gt;
*[http://code.google.com/p/sdr-shell/wiki/SDRCore Dttsp]&lt;br /&gt;
*[http://www.youtube.com/watch?v=6KtOzh0StTc A Very good video tutorial series on using QT and C++]&lt;br /&gt;
*[http://openhpsdr.org/wiki/index.php?title=Ghpsdr3 A Brief Description on the architecture of ghpsdr3]&lt;br /&gt;
*[http://openhpsdr.org/wiki/images/4/47/Ghpsdr3-protocols2010-08-07.pdf Ghpsdr3 communication protocols 2010-08-07]&lt;br /&gt;
&lt;br /&gt;
Most of the development discussion has been taking place on the [http://groups.google.com/group/sdr-widget sdr-widget google group].&lt;/div&gt;</summary>
		<author><name>Frohro</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=Developers_Documentation&amp;diff=182</id>
		<title>Developers Documentation</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=Developers_Documentation&amp;diff=182"/>
		<updated>2011-11-23T02:56:00Z</updated>

		<summary type="html">&lt;p&gt;Frohro: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;*[https://github.com/alexlee188/ghpsdr3-alex Git Repository ]&lt;br /&gt;
*[https://github.com/alexlee188/ghpsdr3-alex/blob/master/README README]&lt;br /&gt;
*[http://code.google.com/p/sdr-shell/wiki/SDRCore Dttsp]&lt;br /&gt;
*[http://www.youtube.com/watch?v=6KtOzh0StTc A Very good video tutorial series on using QT and C++]&lt;br /&gt;
*[http://openhpsdr.org/wiki/index.php?title=Ghpsdr3 A Brief Description on the architecture of ghpsdr3]&lt;br /&gt;
*[http://openhpsdr.org/wiki/images/4/47/Ghpsdr3-protocols2010-08-07.pdf Ghpsdr3 communication protocols 2010-08-07]&lt;/div&gt;</summary>
		<author><name>Frohro</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=Developers_Documentation&amp;diff=181</id>
		<title>Developers Documentation</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=Developers_Documentation&amp;diff=181"/>
		<updated>2011-11-23T02:55:29Z</updated>

		<summary type="html">&lt;p&gt;Frohro: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;*[https://github.com/alexlee188/ghpsdr3-alex Git Repository ]&lt;br /&gt;
*[https://github.com/alexlee188/ghpsdr3-alex/blob/master/README README]&lt;br /&gt;
*[http://code.google.com/p/sdr-shell/wiki/SDRCore Dttsp]&lt;br /&gt;
*[http://www.youtube.com/watch?v=6KtOzh0StTc A Very good video tutorial series on using QT and C++]&lt;br /&gt;
*[http://openhpsdr.org/wiki/index.php?title=Ghpsdr3 A Brief Description on the architecture of ghpsdr3]&lt;br /&gt;
*[http://openhpsdr.org/wiki/images/4/47/Ghpsdr3-protocols2010-08-07.pdf ghpsdr3 communication protocols 2010-08-07]&lt;/div&gt;</summary>
		<author><name>Frohro</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=Developers_Documentation&amp;diff=180</id>
		<title>Developers Documentation</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=Developers_Documentation&amp;diff=180"/>
		<updated>2011-11-23T02:18:22Z</updated>

		<summary type="html">&lt;p&gt;Frohro: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;*[https://github.com/alexlee188/ghpsdr3-alex Git Repository ]&lt;br /&gt;
*[https://github.com/alexlee188/ghpsdr3-alex/blob/master/README README]&lt;br /&gt;
*[http://code.google.com/p/sdr-shell/wiki/SDRCore Dttsp]&lt;br /&gt;
*[http://www.youtube.com/watch?v=6KtOzh0StTc A Very good video tutorial series on using QT and C++]&lt;br /&gt;
*[http://openhpsdr.org/wiki/index.php?title=Ghpsdr3 A Brief Description on the architecture of ghpsdr3]&lt;/div&gt;</summary>
		<author><name>Frohro</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=Main_Page&amp;diff=147</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=Main_Page&amp;diff=147"/>
		<updated>2011-11-16T00:19:08Z</updated>

		<summary type="html">&lt;p&gt;Frohro: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== &#039;&#039;&#039;The ghpsdr3-alex Project&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
This is a modification of the excellent Software Defined Radio (SDR) software by John Melton ([G0ORX/N6LYT][http://g0orx.blogspot.com]&lt;br /&gt;
&lt;br /&gt;
The original software by John is called ghpsdr3.  We are working towards merging the two projects (ghpsdr3 and ghpsdr3-alex) source trees to a single source.  However BEFORE that happens, you CANNOT mix and match programs from the two projects.  See note for HPSDR hardware users below.&lt;br /&gt;
  &lt;br /&gt;
Project README https://github.com/alexlee188/ghpsdr3-alex/blob/master/README [https://github.com/alexlee188/ghpsdr3-alex/blob/master/README]&lt;br /&gt;
&lt;br /&gt;
Source Code is via git at https://github.com/alexlee188/ghpsdr3-alex [https://github.com/alexlee188/ghpsdr3-alex]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Project Goals&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
1.  Open source (GPL) SDR software&lt;br /&gt;
&lt;br /&gt;
2.  Client-server network-enabled by design from the ground up&lt;br /&gt;
&lt;br /&gt;
3.  Customized server for each SDR hardware type.  Currently supporting hpsdr, softrock, Perseus, and Ettus usrp.&lt;br /&gt;
&lt;br /&gt;
4.  Single dspserver that connects to single server.  However, each server can have multiple Rx and Tx channels.&lt;br /&gt;
&lt;br /&gt;
5.  Multiple clients, such as QtRadio, that can concurrently connect to a single dspserver.&lt;br /&gt;
&lt;br /&gt;
6.  Full Rx and Tx capability for hardware capable of Tx&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*[[Screenshots and Recordings]] &lt;br /&gt;
*[[QtRadio on Windows]]&lt;br /&gt;
*[[QtRadio - Operation]]&lt;br /&gt;
*[[QtRadio Installation]]&lt;br /&gt;
*[[Pulseaudio Setup]]&lt;br /&gt;
*[[Developers Documentation]]&lt;br /&gt;
*[[ToDo/- Wishlist]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note for HPSDR and ghpsdr3 (original) users:&#039;&#039;&#039;&lt;br /&gt;
In general, you cannot mix and match software from the two projects, ghpsdr3 and ghpsdr3-alex.  However, the following MAY work:&lt;br /&gt;
&lt;br /&gt;
1.  Use the server (for hpsdr hardware) from the ghpsdr3 project to connect to your hpsdr hardware;&lt;br /&gt;
&lt;br /&gt;
2.  Use the QtRadio and dspserver from the ghpsdr3-alex project to connect to server;&lt;br /&gt;
&lt;br /&gt;
3.  It will work for Rx only, where the Rx IQ stream from the server will be sent to dspserver and then QtRadio, and the QtRadio client will be able to display the Rx spectrum and decoded audio;&lt;br /&gt;
&lt;br /&gt;
4.  dspserver from ghpsdr3-alex will NOT send the decoded Rx audio back to the server and hpsdr hardware for playback;&lt;br /&gt;
&lt;br /&gt;
5.  You cannot use the Tx function yet;&lt;br /&gt;
&lt;br /&gt;
6.  You cannot use other clients, such as Java or Android from the ghpsdr3 project to connect to the dspserver from ghpsdr3-alex.&lt;/div&gt;</summary>
		<author><name>Frohro</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=Developers_Documentation&amp;diff=59</id>
		<title>Developers Documentation</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=Developers_Documentation&amp;diff=59"/>
		<updated>2011-11-12T16:51:23Z</updated>

		<summary type="html">&lt;p&gt;Frohro: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;*[https://github.com/alexlee188/ghpsdr3-alex Git Repository ]&lt;br /&gt;
*[https://github.com/alexlee188/ghpsdr3-alex/blob/master/README README]&lt;br /&gt;
*[http://code.google.com/p/sdr-shell/wiki/SDRCore Dttsp]&lt;br /&gt;
*[http://www.youtube.com/watch?v=6KtOzh0StTc A Very good video tutorial series on using QT and C++]&lt;/div&gt;</summary>
		<author><name>Frohro</name></author>
	</entry>
</feed>