<?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=G3vbv</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=G3vbv"/>
	<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php/Special:Contributions/G3vbv"/>
	<updated>2026-04-08T23:49:57Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.42.7</generator>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=Odroid&amp;diff=890</id>
		<title>Odroid</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=Odroid&amp;diff=890"/>
		<updated>2016-04-26T16:11:14Z</updated>

		<summary type="html">&lt;p&gt;G3vbv: /* How to compile Qt5 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Odroid Wiki =&lt;br /&gt;
&lt;br /&gt;
[http://odroid.us/mediawiki/index.php?title=Main_Page#Tutorials Tutorials about kernel rebuild and step-by-step Ubuntu SD Card Setup]&lt;br /&gt;
&lt;br /&gt;
= How to install on U2 a custom built stable kernel =&lt;br /&gt;
&lt;br /&gt;
Alas till today (2013, Jan 7) the official images for X2 and U2, as found on the HardKernel site, suffer from a fatal flaw that locks the whole system under heavy ethernet load.&lt;br /&gt;
&lt;br /&gt;
Several users signaled the issue ( [http://odroid.foros-phpbb.com/t2086-u2-running-ubuntu-last-image-freezes-repeatedly-under-heavy-load see this thread] ).&lt;br /&gt;
&lt;br /&gt;
The Hardkernel guys are actively investigating the problem; in the meanwhile a forum user (zehome) developed a patch of kernel config and provided on his web site a package for a new kernel that fixes the above problem.&lt;br /&gt;
&lt;br /&gt;
The install procedure is as follows:&lt;br /&gt;
&lt;br /&gt;
 cd&lt;br /&gt;
 wget http://odroid.zehome.com/odroidu2_ed_kernel_rel3.tar.gz&lt;br /&gt;
 tar xzf odroidu2_ed_kernel_rel3.tar.gz&lt;br /&gt;
 cd odroidu2_ed_kernel_rel3 &amp;amp;&amp;amp; ./install.sh&lt;br /&gt;
&lt;br /&gt;
 sha1sum: b3e86718f69b9801097819a7250876cd0053b9cd  odroidu2_ed_kernel_rel3.tar.gz&lt;br /&gt;
 md5sum: ba0088cb23e0be5a11012cd4acf3c844  odroidu2_ed_kernel_rel3.tar.gz&lt;br /&gt;
&lt;br /&gt;
= How to compile Qt5 =&lt;br /&gt;
&lt;br /&gt;
In order to compile Qt5, is mandatory to start from a clean system, especially if you are using a 8 GB SD card.&lt;br /&gt;
Moreover, you have to install the mesa packages:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install mesa-utils mesa-common-dev libgl1-mesa-dev x11proto-xext-dev libxrender-dev&lt;br /&gt;
&lt;br /&gt;
missing this step, the build will fail on unknown OpenGL symbols, &#039;&#039;&#039;even if the OpenGL build has been explicitly disabled&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Append to ~/.bashrc the following lines:&lt;br /&gt;
&lt;br /&gt;
 export CPPFLAGS=&#039;-O2 -fPIC&#039;&lt;br /&gt;
 export CXXFLAGS=&#039;-O2 -fPIC&#039;&lt;br /&gt;
 export CFLAGS=&#039;-O2 -fPIC&#039;&lt;br /&gt;
&lt;br /&gt;
[https://bugs.launchpad.net/gcc-linaro/+bug/924726 See the bug #924726]&lt;br /&gt;
&lt;br /&gt;
Clone the base repository:&lt;br /&gt;
&lt;br /&gt;
 cd&lt;br /&gt;
  git clone git://code.qt.io/qt/qt5.git&lt;br /&gt;
&lt;br /&gt;
this is only a template repository, it is almost empty, we need to download the whole code using the initialization script&lt;br /&gt;
&lt;br /&gt;
 cd qt5&lt;br /&gt;
 perl init-repository&lt;br /&gt;
&lt;br /&gt;
Next we have to configure, avoiding to compile examples and test programs, in order to shorten the build time:&lt;br /&gt;
&lt;br /&gt;
 ./configure -developer-build -opensource -nomake examples -nomake tests -no-pch  -qt-xcb&lt;br /&gt;
 &#039;&#039;&#039;make -j8&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
If the build ends successfully, there is no need to install the package, it is enough use includes and libraries as found in ~/qt5/qtbase directory.&lt;br /&gt;
&lt;br /&gt;
 export PATH=~/qt5/qtbase/bin:$PATH&lt;br /&gt;
&lt;br /&gt;
== Reference ==&lt;br /&gt;
[http://qt-project.org/wiki/Building_Qt_5_from_Git Building Qt 5 from Git on Qt Project web site]&lt;br /&gt;
&lt;br /&gt;
= Forcing all CPU&#039;s active =&lt;br /&gt;
&lt;br /&gt;
 echo performance &amp;gt; /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= HardKernel documentation on ODROID X and Q =&lt;br /&gt;
&lt;br /&gt;
[http://dev.odroid.com/projects/odroid-xq/  Can be found here.]&lt;br /&gt;
&lt;br /&gt;
= A procedure for newbies to build their own Odroid system or to download ready to work images for -X or -U2 =&lt;br /&gt;
&lt;br /&gt;
[http://www.lbp.fr/ham/Odroid-x/ODROID-U2_install-2.txt /  See my notes on how to build here.]&lt;br /&gt;
&lt;br /&gt;
[http://www.lbp.fr/ham/Odroid-x/note-odroid-x-v_ehp.txt /  See my notes on how to run an already built image here.]&lt;br /&gt;
&lt;br /&gt;
[http://www.lbp.fr/ham/Odroid-x/odroid-X_image_v4-std_15GB.img.tar.gz / Download the image file for the -X or -X2 card]&lt;br /&gt;
&lt;br /&gt;
[http://www.lbp.fr/ham/Odroid-x/odroid-U2_image_v2-std_15GB.img.tar.gz / Download the image file for the -U2 card]&lt;br /&gt;
&lt;br /&gt;
[http://www.lbp.fr/ham/remote.html#sdcard/  See my complete page here.]&lt;br /&gt;
=Odroid C1 ghpsdr3-alex Headless Server=&lt;br /&gt;
The [http://odroid.com/dokuwiki/doku.php?id=en:odroid-c1 Odroid C1] is powerful enough to run four instances of dspserver and an hpsdr-server to be a server for Hermes or Hermes-Lite, and probably for HiQSDR and other SDR units not requiring a sound card.  In the notes below I will try to outline how I was able to get this going.  I first purchased an Odroid C1 and 16 GB microSD card.  Smaller cards might work, but I wanted one that would do at least 10 MB/s, and mine tested to that number.  You also need a 5V 1A power supply, and I got mine from the local church used stuff recycling center.  The connector is the same as was used on some older cell phones, coaxial, with an inner diameter of 0.8mm, and an outer diameter of 2.5mm.  Then using my Ubuntu laptop, I downloaded the Ubuntu 14.04.1 [http://odroid.com/dokuwiki/doku.php?id=en:c1_release_linux_ubuntu Odroid C1 image].  The [http://odroid.com/dokuwiki/doku.php?id=en:odroid-c1 Odroid C1 Wiki] was very helpful, and everything there should be read.  At first I tried to install the .xz file on the microSD card using the GUI, gnome-disk-utility 3.10.0 (disks).  That worked for the Android image, but not for the Ubuntu image.  I finally found the problem by explicitly following the [http://odroid.com/dokuwiki/doku.php?id=en:odroid_flashing_tools instructions to use unxz and dd.]  Then I was able to plug the microSD card into the Odroid C1  and plug it into an Ethernet cable connected to my router, and into power.  The red light came on and the blue light blinked a few times and then turned off.  This is actually a bug, as with the newer kernel the blue LED when booted goes blink-blink  blink-blink  ....  I&#039;m sure the next update will take care of this.  Then from my Ubuntu laptop, I logged into my router and looked at the DHCP leases, and found odroid on the list.  That told me the IP address.  I found I could  ssh to odroid.local or that IP address.&lt;br /&gt;
 ssh odroid@odroid.local&lt;br /&gt;
The user is odroid and the password is odroid.  Then I followed the instructions to resize the [http://forum.odroid.com/viewtopic.php?f=111&amp;amp;t=7611 microSD card to use the whole card, and to update the kernel].  The command for that was: &lt;br /&gt;
 /usr/local/bin/root-utility.sh&lt;br /&gt;
I also used that utility to turn off X, and then to install ghpsdr3-alex, I followed the [[Ubuntu14 instructions]], but didn&#039;t install any of the Qt things, because I don&#039;t need or want a GUI or QtRadio, because my server is headless.  After&lt;br /&gt;
 autoreconf -i &amp;amp;&amp;amp; ./configure &amp;amp;&amp;amp; make -j4&lt;br /&gt;
which fails because there is no Qt, I changed directory to each of the following and did a &lt;br /&gt;
 make &amp;amp;&amp;amp; sudo make install  &lt;br /&gt;
in the following order: ghpsdr3-alex/trunk/src/Dttsp, ghpsdr3-alex/trunk/src/server and ghpsdr3-alex/trunk/src/dspserver.  Then I was able to start hpsdr-server and dspserver.  &lt;br /&gt;
&lt;br /&gt;
I also changed the username using usermod and a few other things, but that is the basic outline.&lt;/div&gt;</summary>
		<author><name>G3vbv</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=Odroid&amp;diff=875</id>
		<title>Odroid</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=Odroid&amp;diff=875"/>
		<updated>2015-09-13T00:14:20Z</updated>

		<summary type="html">&lt;p&gt;G3vbv: /* How to compile Qt5 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Odroid Wiki =&lt;br /&gt;
&lt;br /&gt;
[http://odroid.us/mediawiki/index.php?title=Main_Page#Tutorials Tutorials about kernel rebuild and step-by-step Ubuntu SD Card Setup]&lt;br /&gt;
&lt;br /&gt;
= How to install on U2 a custom built stable kernel =&lt;br /&gt;
&lt;br /&gt;
Alas till today (2013, Jan 7) the official images for X2 and U2, as found on the HardKernel site, suffer from a fatal flaw that locks the whole system under heavy ethernet load.&lt;br /&gt;
&lt;br /&gt;
Several users signaled the issue ( [http://odroid.foros-phpbb.com/t2086-u2-running-ubuntu-last-image-freezes-repeatedly-under-heavy-load see this thread] ).&lt;br /&gt;
&lt;br /&gt;
The Hardkernel guys are actively investigating the problem; in the meanwhile a forum user (zehome) developed a patch of kernel config and provided on his web site a package for a new kernel that fixes the above problem.&lt;br /&gt;
&lt;br /&gt;
The install procedure is as follows:&lt;br /&gt;
&lt;br /&gt;
 cd&lt;br /&gt;
 wget http://odroid.zehome.com/odroidu2_ed_kernel_rel3.tar.gz&lt;br /&gt;
 tar xzf odroidu2_ed_kernel_rel3.tar.gz&lt;br /&gt;
 cd odroidu2_ed_kernel_rel3 &amp;amp;&amp;amp; ./install.sh&lt;br /&gt;
&lt;br /&gt;
 sha1sum: b3e86718f69b9801097819a7250876cd0053b9cd  odroidu2_ed_kernel_rel3.tar.gz&lt;br /&gt;
 md5sum: ba0088cb23e0be5a11012cd4acf3c844  odroidu2_ed_kernel_rel3.tar.gz&lt;br /&gt;
&lt;br /&gt;
= How to compile Qt5 =&lt;br /&gt;
&lt;br /&gt;
In order to compile Qt5, is mandatory to start from a clean system, especially if you are using a 8 GB SD card.&lt;br /&gt;
Moreover, you have to install the mesa packages:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install mesa-utils mesa-common-dev libgl1-mesa-dev x11proto-xext-dev libxrender-dev&lt;br /&gt;
&lt;br /&gt;
missing this step, the build will fail on unknown OpenGL symbols, &#039;&#039;&#039;even if the OpenGL build has been explicitly disabled&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Append to ~/.bashrc the following lines:&lt;br /&gt;
&lt;br /&gt;
 export CPPFLAGS=&#039;-O2 -fPIC&#039;&lt;br /&gt;
 export CXXFLAGS=&#039;-O2 -fPIC&#039;&lt;br /&gt;
 export CFLAGS=&#039;-O2 -fPIC&#039;&lt;br /&gt;
&lt;br /&gt;
[https://bugs.launchpad.net/gcc-linaro/+bug/924726 See the bug #924726]&lt;br /&gt;
&lt;br /&gt;
Clone the base repository:&lt;br /&gt;
&lt;br /&gt;
 cd&lt;br /&gt;
  git clone git://code.qt.io/qt/qt5.git&lt;br /&gt;
&lt;br /&gt;
this is only a template repository, it is almost empty, we need to download the whole code using the initialization script&lt;br /&gt;
&lt;br /&gt;
 cd qt5&lt;br /&gt;
 perl init-repository --no-webkit&lt;br /&gt;
&lt;br /&gt;
Next we have to configure, avoiding to compile examples and test programs, in order to shorten the build time:&lt;br /&gt;
&lt;br /&gt;
 ./configure -developer-build -opensource -nomake examples -nomake tests -no-pch  -qt-xcb&lt;br /&gt;
 &#039;&#039;&#039;make -j8&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
If the build ends successfully, there is no need to install the package, it is enough use includes and libraries as found in ~/qt5/qtbase directory.&lt;br /&gt;
&lt;br /&gt;
 export PATH=~/qt5/qtbase/bin:$PATH&lt;br /&gt;
&lt;br /&gt;
== Reference ==&lt;br /&gt;
[http://qt-project.org/wiki/Building_Qt_5_from_Git Building Qt 5 from Git on Qt Project web site]&lt;br /&gt;
&lt;br /&gt;
= Forcing all CPU&#039;s active =&lt;br /&gt;
&lt;br /&gt;
 echo performance &amp;gt; /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= HardKernel documentation on ODROID X and Q =&lt;br /&gt;
&lt;br /&gt;
[http://dev.odroid.com/projects/odroid-xq/  Can be found here.]&lt;br /&gt;
&lt;br /&gt;
= A procedure for newbies to build their own Odroid system or to download ready to work images for -X or -U2 =&lt;br /&gt;
&lt;br /&gt;
[http://www.lbp.fr/ham/Odroid-x/ODROID-U2_install-2.txt /  See my notes on how to build here.]&lt;br /&gt;
&lt;br /&gt;
[http://www.lbp.fr/ham/Odroid-x/note-odroid-x-v_ehp.txt /  See my notes on how to run an already built image here.]&lt;br /&gt;
&lt;br /&gt;
[http://www.lbp.fr/ham/Odroid-x/odroid-X_image_v4-std_15GB.img.tar.gz / Download the image file for the -X or -X2 card]&lt;br /&gt;
&lt;br /&gt;
[http://www.lbp.fr/ham/Odroid-x/odroid-U2_image_v2-std_15GB.img.tar.gz / Download the image file for the -U2 card]&lt;br /&gt;
&lt;br /&gt;
[http://www.lbp.fr/ham/remote.html#sdcard/  See my complete page here.]&lt;br /&gt;
=Odroid C1 ghpsdr3-alex Headless Server=&lt;br /&gt;
The [http://odroid.com/dokuwiki/doku.php?id=en:odroid-c1 Odroid C1] is powerful enough to run four instances of dspserver and an hpsdr-server to be a server for Hermes or Hermes-Lite, and probably for HiQSDR and other SDR units not requiring a sound card.  In the notes below I will try to outline how I was able to get this going.  I first purchased an Odroid C1 and 16 GB microSD card.  Smaller cards might work, but I wanted one that would do at least 10 MB/s, and mine tested to that number.  You also need a 5V 1A power supply, and I got mine from the local church used stuff recycling center.  The connector is the same as was used on some older cell phones, coaxial, with an inner diameter of 0.8mm, and an outer diameter of 2.5mm.  Then using my Ubuntu laptop, I downloaded the Ubuntu 14.04.1 [http://odroid.com/dokuwiki/doku.php?id=en:c1_release_linux_ubuntu Odroid C1 image].  The [http://odroid.com/dokuwiki/doku.php?id=en:odroid-c1 Odroid C1 Wiki] was very helpful, and everything there should be read.  At first I tried to install the .xz file on the microSD card using the GUI, gnome-disk-utility 3.10.0 (disks).  That worked for the Android image, but not for the Ubuntu image.  I finally found the problem by explicitly following the [http://odroid.com/dokuwiki/doku.php?id=en:odroid_flashing_tools instructions to use unxz and dd.]  Then I was able to plug the microSD card into the Odroid C1  and plug it into an Ethernet cable connected to my router, and into power.  The red light came on and the blue light blinked a few times and then turned off.  This is actually a bug, as with the newer kernel the blue LED when booted goes blink-blink  blink-blink  ....  I&#039;m sure the next update will take care of this.  Then from my Ubuntu laptop, I logged into my router and looked at the DHCP leases, and found odroid on the list.  That told me the IP address.  I found I could  ssh to odroid.local or that IP address.&lt;br /&gt;
 ssh odroid@odroid.local&lt;br /&gt;
The user is odroid and the password is odroid.  Then I followed the instructions to resize the [http://forum.odroid.com/viewtopic.php?f=111&amp;amp;t=7611 microSD card to use the whole card, and to update the kernel].  The command for that was: &lt;br /&gt;
 /usr/local/bin/root-utility.sh&lt;br /&gt;
I also used that utility to turn off X, and then to install ghpsdr3-alex, I followed the [[Ubuntu14 instructions]], but didn&#039;t install any of the Qt things, because I don&#039;t need or want a GUI or QtRadio, because my server is headless.  After&lt;br /&gt;
 autoreconf -i &amp;amp;&amp;amp; ./configure &amp;amp;&amp;amp; make -j4&lt;br /&gt;
which fails because there is no Qt, I changed directory to each of the following and did a &lt;br /&gt;
 make &amp;amp;&amp;amp; sudo make install  &lt;br /&gt;
in the following order: ghpsdr3-alex/trunk/src/Dttsp, ghpsdr3-alex/trunk/src/server and ghpsdr3-alex/trunk/src/dspserver.  Then I was able to start hpsdr-server and dspserver.  &lt;br /&gt;
&lt;br /&gt;
I also changed the username using usermod and a few other things, but that is the basic outline.&lt;/div&gt;</summary>
		<author><name>G3vbv</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=Odroid&amp;diff=874</id>
		<title>Odroid</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=Odroid&amp;diff=874"/>
		<updated>2015-09-13T00:03:07Z</updated>

		<summary type="html">&lt;p&gt;G3vbv: /* How to compile Qt5 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Odroid Wiki =&lt;br /&gt;
&lt;br /&gt;
[http://odroid.us/mediawiki/index.php?title=Main_Page#Tutorials Tutorials about kernel rebuild and step-by-step Ubuntu SD Card Setup]&lt;br /&gt;
&lt;br /&gt;
= How to install on U2 a custom built stable kernel =&lt;br /&gt;
&lt;br /&gt;
Alas till today (2013, Jan 7) the official images for X2 and U2, as found on the HardKernel site, suffer from a fatal flaw that locks the whole system under heavy ethernet load.&lt;br /&gt;
&lt;br /&gt;
Several users signaled the issue ( [http://odroid.foros-phpbb.com/t2086-u2-running-ubuntu-last-image-freezes-repeatedly-under-heavy-load see this thread] ).&lt;br /&gt;
&lt;br /&gt;
The Hardkernel guys are actively investigating the problem; in the meanwhile a forum user (zehome) developed a patch of kernel config and provided on his web site a package for a new kernel that fixes the above problem.&lt;br /&gt;
&lt;br /&gt;
The install procedure is as follows:&lt;br /&gt;
&lt;br /&gt;
 cd&lt;br /&gt;
 wget http://odroid.zehome.com/odroidu2_ed_kernel_rel3.tar.gz&lt;br /&gt;
 tar xzf odroidu2_ed_kernel_rel3.tar.gz&lt;br /&gt;
 cd odroidu2_ed_kernel_rel3 &amp;amp;&amp;amp; ./install.sh&lt;br /&gt;
&lt;br /&gt;
 sha1sum: b3e86718f69b9801097819a7250876cd0053b9cd  odroidu2_ed_kernel_rel3.tar.gz&lt;br /&gt;
 md5sum: ba0088cb23e0be5a11012cd4acf3c844  odroidu2_ed_kernel_rel3.tar.gz&lt;br /&gt;
&lt;br /&gt;
= How to compile Qt5 =&lt;br /&gt;
&lt;br /&gt;
In order to compile Qt5, is mandatory to start from a clean system, especially if you are using a 8 GB SD card.&lt;br /&gt;
Moreover, you have to install the mesa packages:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install mesa-utils mesa-common-dev libgl1-mesa-dev x11proto-xext-dev libxrender-dev&lt;br /&gt;
&lt;br /&gt;
missing this step, the build will fail on unknown OpenGL symbols, &#039;&#039;&#039;even if the OpenGL build has been explicitly disabled&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Append to ~/.bashrc the following lines:&lt;br /&gt;
&lt;br /&gt;
 export CPPFLAGS=&#039;-O2 -fPIC&#039;&lt;br /&gt;
 export CXXFLAGS=&#039;-O2 -fPIC&#039;&lt;br /&gt;
 export CFLAGS=&#039;-O2 -fPIC&#039;&lt;br /&gt;
&lt;br /&gt;
[https://bugs.launchpad.net/gcc-linaro/+bug/924726 See the bug #924726]&lt;br /&gt;
&lt;br /&gt;
Clone the base repository:&lt;br /&gt;
&lt;br /&gt;
 cd&lt;br /&gt;
 git clone https://github.com/qtproject/qt5.git&lt;br /&gt;
&lt;br /&gt;
this is only a template repository, it is almost empty, we need to download the whole code using the initialization script&lt;br /&gt;
&lt;br /&gt;
 cd qt5&lt;br /&gt;
 perl init-repository --no-webkit&lt;br /&gt;
&lt;br /&gt;
Next we have to configure, avoiding to compile examples and test programs, in order to shorten the build time:&lt;br /&gt;
&lt;br /&gt;
 ./configure -developer-build -opensource -nomake examples -nomake tests -no-pch  -qt-xcb&lt;br /&gt;
 &#039;&#039;&#039;make -j8&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
If the build ends successfully, there is no need to install the package, it is enough use includes and libraries as found in ~/qt5/qtbase directory.&lt;br /&gt;
&lt;br /&gt;
 export PATH=~/qt5/qtbase/bin:$PATH&lt;br /&gt;
&lt;br /&gt;
== Reference ==&lt;br /&gt;
[http://qt-project.org/wiki/Building_Qt_5_from_Git Building Qt 5 from Git on Qt Project web site]&lt;br /&gt;
&lt;br /&gt;
= Forcing all CPU&#039;s active =&lt;br /&gt;
&lt;br /&gt;
 echo performance &amp;gt; /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= HardKernel documentation on ODROID X and Q =&lt;br /&gt;
&lt;br /&gt;
[http://dev.odroid.com/projects/odroid-xq/  Can be found here.]&lt;br /&gt;
&lt;br /&gt;
= A procedure for newbies to build their own Odroid system or to download ready to work images for -X or -U2 =&lt;br /&gt;
&lt;br /&gt;
[http://www.lbp.fr/ham/Odroid-x/ODROID-U2_install-2.txt /  See my notes on how to build here.]&lt;br /&gt;
&lt;br /&gt;
[http://www.lbp.fr/ham/Odroid-x/note-odroid-x-v_ehp.txt /  See my notes on how to run an already built image here.]&lt;br /&gt;
&lt;br /&gt;
[http://www.lbp.fr/ham/Odroid-x/odroid-X_image_v4-std_15GB.img.tar.gz / Download the image file for the -X or -X2 card]&lt;br /&gt;
&lt;br /&gt;
[http://www.lbp.fr/ham/Odroid-x/odroid-U2_image_v2-std_15GB.img.tar.gz / Download the image file for the -U2 card]&lt;br /&gt;
&lt;br /&gt;
[http://www.lbp.fr/ham/remote.html#sdcard/  See my complete page here.]&lt;br /&gt;
=Odroid C1 ghpsdr3-alex Headless Server=&lt;br /&gt;
The [http://odroid.com/dokuwiki/doku.php?id=en:odroid-c1 Odroid C1] is powerful enough to run four instances of dspserver and an hpsdr-server to be a server for Hermes or Hermes-Lite, and probably for HiQSDR and other SDR units not requiring a sound card.  In the notes below I will try to outline how I was able to get this going.  I first purchased an Odroid C1 and 16 GB microSD card.  Smaller cards might work, but I wanted one that would do at least 10 MB/s, and mine tested to that number.  You also need a 5V 1A power supply, and I got mine from the local church used stuff recycling center.  The connector is the same as was used on some older cell phones, coaxial, with an inner diameter of 0.8mm, and an outer diameter of 2.5mm.  Then using my Ubuntu laptop, I downloaded the Ubuntu 14.04.1 [http://odroid.com/dokuwiki/doku.php?id=en:c1_release_linux_ubuntu Odroid C1 image].  The [http://odroid.com/dokuwiki/doku.php?id=en:odroid-c1 Odroid C1 Wiki] was very helpful, and everything there should be read.  At first I tried to install the .xz file on the microSD card using the GUI, gnome-disk-utility 3.10.0 (disks).  That worked for the Android image, but not for the Ubuntu image.  I finally found the problem by explicitly following the [http://odroid.com/dokuwiki/doku.php?id=en:odroid_flashing_tools instructions to use unxz and dd.]  Then I was able to plug the microSD card into the Odroid C1  and plug it into an Ethernet cable connected to my router, and into power.  The red light came on and the blue light blinked a few times and then turned off.  This is actually a bug, as with the newer kernel the blue LED when booted goes blink-blink  blink-blink  ....  I&#039;m sure the next update will take care of this.  Then from my Ubuntu laptop, I logged into my router and looked at the DHCP leases, and found odroid on the list.  That told me the IP address.  I found I could  ssh to odroid.local or that IP address.&lt;br /&gt;
 ssh odroid@odroid.local&lt;br /&gt;
The user is odroid and the password is odroid.  Then I followed the instructions to resize the [http://forum.odroid.com/viewtopic.php?f=111&amp;amp;t=7611 microSD card to use the whole card, and to update the kernel].  The command for that was: &lt;br /&gt;
 /usr/local/bin/root-utility.sh&lt;br /&gt;
I also used that utility to turn off X, and then to install ghpsdr3-alex, I followed the [[Ubuntu14 instructions]], but didn&#039;t install any of the Qt things, because I don&#039;t need or want a GUI or QtRadio, because my server is headless.  After&lt;br /&gt;
 autoreconf -i &amp;amp;&amp;amp; ./configure &amp;amp;&amp;amp; make -j4&lt;br /&gt;
which fails because there is no Qt, I changed directory to each of the following and did a &lt;br /&gt;
 make &amp;amp;&amp;amp; sudo make install  &lt;br /&gt;
in the following order: ghpsdr3-alex/trunk/src/Dttsp, ghpsdr3-alex/trunk/src/server and ghpsdr3-alex/trunk/src/dspserver.  Then I was able to start hpsdr-server and dspserver.  &lt;br /&gt;
&lt;br /&gt;
I also changed the username using usermod and a few other things, but that is the basic outline.&lt;/div&gt;</summary>
		<author><name>G3vbv</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=Pulseaudio_Setup&amp;diff=865</id>
		<title>Pulseaudio Setup</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=Pulseaudio_Setup&amp;diff=865"/>
		<updated>2015-05-05T19:41:40Z</updated>

		<summary type="html">&lt;p&gt;G3vbv: /* Enable Pulseaudio Daemon to run in system wide mode */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Set audio levels with Pavucontrol ==&lt;br /&gt;
To configure the softrock server with your soundcard for IQ processing use:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
pavucontrol&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In order to install it, submit the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install pavucontrol&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Choose your Soundcard for IQ processing. If you are running the SDR-Widget your settings should look like in the following two pictures.&lt;br /&gt;
=== TX audio levels on the softrock server ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Playback.png]]&lt;br /&gt;
=== RX audio levels on the softrock server ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Recording.png]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Make sure not to set the RX Audio level in the Recording Tab of pavucontrol to 100%. Otherwise you could have audio feedthrough from RX to TX and a distorted TX Audio. A level from 22% - 80% would be ok, but may vary on each system.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Enable network mode ==&lt;br /&gt;
You also need to run pulse in network mode. Use:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
paprefs&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In order to install it, submit the following command:&lt;br /&gt;
&lt;br /&gt;
=== Ubuntu ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install paprefs&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Fedora 16 ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo yum install pulseaudio-module-zeroconf&lt;br /&gt;
sudo yum install paprefs&lt;br /&gt;
pulseaudio -k ; pulseaudio -D --log-target=syslog&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
to set up network access by checking the various option boxes as follows:&lt;br /&gt;
&lt;br /&gt;
[[File:PulseAudio_Preferences_036.png]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:PulseAudio_Preferences_037.png]]&lt;br /&gt;
&lt;br /&gt;
If you are not able to change the network options you might be able to solve it with this workaround. See bug report for Ubuntu 11.10 [https://bugs.launchpad.net/ubuntu/+source/paprefs/+bug/829051].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo ln -s /usr/lib/pulse-1.0 /usr/lib/pulse-1.0.0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Pulseaudio Setup independant on a X-Server installation ===&lt;br /&gt;
==== Add Username to /etc/group ====&lt;br /&gt;
Make sure you add your username to the following system groups:&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;pulse&lt;br /&gt;
&amp;lt;li&amp;gt;pulse-access&lt;br /&gt;
&amp;lt;li&amp;gt;audio&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Use the following commands: ($USER stands for current logged in user)&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo adduser $USER pulse&lt;br /&gt;
sudo adduser $USER pulse-access&lt;br /&gt;
sudo adduser $USER audio&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example, for the user dl6kbg the grup file must contain:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
grep dl6kbg /etc/group&lt;br /&gt;
...&lt;br /&gt;
audio:x:29:pulse,dl6kbg&lt;br /&gt;
pulse:x:119:dl6kbg&lt;br /&gt;
pulse-access:x:120:dl6kbg&lt;br /&gt;
...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
==== Enable Pulseaudio Daemon to run in system wide mode ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo nano /etc/default/pulseaudio&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
change settings to:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
PULSEAUDIO_SYSTEM_START=1&lt;br /&gt;
DISALLOW_MODULE_LOADING=0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Latest pulseaudio versions settings, /etc/default/pulseaudio is not used:-&lt;br /&gt;
&lt;br /&gt;
&amp;quot;sudo nano /etc/pulse/daemon.conf&amp;quot; and uncomment the following line to read as follows:- &lt;br /&gt;
&lt;br /&gt;
daemonize = yes&lt;br /&gt;
&lt;br /&gt;
==== Enable network mode ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo nano /etc/pulse/system.pa&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and add:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
load-module module-native-protocol-tcp auth-anonymous=1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Restart pulseaudio:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo /etc/init.d/pulseaudio restart&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or restart the system and fire up the softrock server.&lt;br /&gt;
Pulseaudio runs now in systemwide mode and your softrock server should be able to establish a connection&lt;br /&gt;
to your following dspserver.&lt;br /&gt;
&lt;br /&gt;
== Configure Pulseaudio Daemon ==&lt;br /&gt;
&lt;br /&gt;
In order to use 96000 or 192000, you will need to configure pulse audio by editing:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/etc/pulse/daemon.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Uncomment these settings and change it for your needs.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
default-sample-format = s24le&lt;br /&gt;
default-sample-rate = 192000&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Tweak System for realtime performance ==&lt;br /&gt;
&lt;br /&gt;
For realtime audio add the following to:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/etc/security/limits.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
@audio - rtprio 99&lt;br /&gt;
@audio - memlock unlimited&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
and reboot and enjoy your system.&lt;/div&gt;</summary>
		<author><name>G3vbv</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=Pulseaudio_Setup&amp;diff=864</id>
		<title>Pulseaudio Setup</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=Pulseaudio_Setup&amp;diff=864"/>
		<updated>2015-05-05T19:40:14Z</updated>

		<summary type="html">&lt;p&gt;G3vbv: /* Enable Pulseaudio Daemon to run in system wide mode */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Set audio levels with Pavucontrol ==&lt;br /&gt;
To configure the softrock server with your soundcard for IQ processing use:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
pavucontrol&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In order to install it, submit the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install pavucontrol&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Choose your Soundcard for IQ processing. If you are running the SDR-Widget your settings should look like in the following two pictures.&lt;br /&gt;
=== TX audio levels on the softrock server ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Playback.png]]&lt;br /&gt;
=== RX audio levels on the softrock server ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Recording.png]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Make sure not to set the RX Audio level in the Recording Tab of pavucontrol to 100%. Otherwise you could have audio feedthrough from RX to TX and a distorted TX Audio. A level from 22% - 80% would be ok, but may vary on each system.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Enable network mode ==&lt;br /&gt;
You also need to run pulse in network mode. Use:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
paprefs&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In order to install it, submit the following command:&lt;br /&gt;
&lt;br /&gt;
=== Ubuntu ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install paprefs&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Fedora 16 ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo yum install pulseaudio-module-zeroconf&lt;br /&gt;
sudo yum install paprefs&lt;br /&gt;
pulseaudio -k ; pulseaudio -D --log-target=syslog&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
to set up network access by checking the various option boxes as follows:&lt;br /&gt;
&lt;br /&gt;
[[File:PulseAudio_Preferences_036.png]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:PulseAudio_Preferences_037.png]]&lt;br /&gt;
&lt;br /&gt;
If you are not able to change the network options you might be able to solve it with this workaround. See bug report for Ubuntu 11.10 [https://bugs.launchpad.net/ubuntu/+source/paprefs/+bug/829051].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo ln -s /usr/lib/pulse-1.0 /usr/lib/pulse-1.0.0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Pulseaudio Setup independant on a X-Server installation ===&lt;br /&gt;
==== Add Username to /etc/group ====&lt;br /&gt;
Make sure you add your username to the following system groups:&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;pulse&lt;br /&gt;
&amp;lt;li&amp;gt;pulse-access&lt;br /&gt;
&amp;lt;li&amp;gt;audio&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Use the following commands: ($USER stands for current logged in user)&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo adduser $USER pulse&lt;br /&gt;
sudo adduser $USER pulse-access&lt;br /&gt;
sudo adduser $USER audio&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example, for the user dl6kbg the grup file must contain:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
grep dl6kbg /etc/group&lt;br /&gt;
...&lt;br /&gt;
audio:x:29:pulse,dl6kbg&lt;br /&gt;
pulse:x:119:dl6kbg&lt;br /&gt;
pulse-access:x:120:dl6kbg&lt;br /&gt;
...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
==== Enable Pulseaudio Daemon to run in system wide mode ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo nano /etc/default/pulseaudio&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
change settings to:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
PULSEAUDIO_SYSTEM_START=1&lt;br /&gt;
DISALLOW_MODULE_LOADING=0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Latest pulseaudio settings, /etc/default/pulseaudio is not used:-&lt;br /&gt;
&amp;quot;sudo nano /etc/pulse/daemon.conf&amp;quot; and uncomment the following line to read as follows:- &lt;br /&gt;
&lt;br /&gt;
daemonize = yes&lt;br /&gt;
&lt;br /&gt;
==== Enable network mode ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo nano /etc/pulse/system.pa&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and add:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
load-module module-native-protocol-tcp auth-anonymous=1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Restart pulseaudio:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo /etc/init.d/pulseaudio restart&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or restart the system and fire up the softrock server.&lt;br /&gt;
Pulseaudio runs now in systemwide mode and your softrock server should be able to establish a connection&lt;br /&gt;
to your following dspserver.&lt;br /&gt;
&lt;br /&gt;
== Configure Pulseaudio Daemon ==&lt;br /&gt;
&lt;br /&gt;
In order to use 96000 or 192000, you will need to configure pulse audio by editing:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/etc/pulse/daemon.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Uncomment these settings and change it for your needs.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
default-sample-format = s24le&lt;br /&gt;
default-sample-rate = 192000&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Tweak System for realtime performance ==&lt;br /&gt;
&lt;br /&gt;
For realtime audio add the following to:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/etc/security/limits.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
@audio - rtprio 99&lt;br /&gt;
@audio - memlock unlimited&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
and reboot and enjoy your system.&lt;/div&gt;</summary>
		<author><name>G3vbv</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=Pulseaudio_Setup&amp;diff=863</id>
		<title>Pulseaudio Setup</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=Pulseaudio_Setup&amp;diff=863"/>
		<updated>2015-05-05T19:38:48Z</updated>

		<summary type="html">&lt;p&gt;G3vbv: /* Enable Pulseaudio Daemon to run in system wide mode */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Set audio levels with Pavucontrol ==&lt;br /&gt;
To configure the softrock server with your soundcard for IQ processing use:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
pavucontrol&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In order to install it, submit the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install pavucontrol&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Choose your Soundcard for IQ processing. If you are running the SDR-Widget your settings should look like in the following two pictures.&lt;br /&gt;
=== TX audio levels on the softrock server ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Playback.png]]&lt;br /&gt;
=== RX audio levels on the softrock server ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Recording.png]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Make sure not to set the RX Audio level in the Recording Tab of pavucontrol to 100%. Otherwise you could have audio feedthrough from RX to TX and a distorted TX Audio. A level from 22% - 80% would be ok, but may vary on each system.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Enable network mode ==&lt;br /&gt;
You also need to run pulse in network mode. Use:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
paprefs&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In order to install it, submit the following command:&lt;br /&gt;
&lt;br /&gt;
=== Ubuntu ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install paprefs&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Fedora 16 ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo yum install pulseaudio-module-zeroconf&lt;br /&gt;
sudo yum install paprefs&lt;br /&gt;
pulseaudio -k ; pulseaudio -D --log-target=syslog&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
to set up network access by checking the various option boxes as follows:&lt;br /&gt;
&lt;br /&gt;
[[File:PulseAudio_Preferences_036.png]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:PulseAudio_Preferences_037.png]]&lt;br /&gt;
&lt;br /&gt;
If you are not able to change the network options you might be able to solve it with this workaround. See bug report for Ubuntu 11.10 [https://bugs.launchpad.net/ubuntu/+source/paprefs/+bug/829051].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo ln -s /usr/lib/pulse-1.0 /usr/lib/pulse-1.0.0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Pulseaudio Setup independant on a X-Server installation ===&lt;br /&gt;
==== Add Username to /etc/group ====&lt;br /&gt;
Make sure you add your username to the following system groups:&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;pulse&lt;br /&gt;
&amp;lt;li&amp;gt;pulse-access&lt;br /&gt;
&amp;lt;li&amp;gt;audio&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Use the following commands: ($USER stands for current logged in user)&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo adduser $USER pulse&lt;br /&gt;
sudo adduser $USER pulse-access&lt;br /&gt;
sudo adduser $USER audio&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example, for the user dl6kbg the grup file must contain:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
grep dl6kbg /etc/group&lt;br /&gt;
...&lt;br /&gt;
audio:x:29:pulse,dl6kbg&lt;br /&gt;
pulse:x:119:dl6kbg&lt;br /&gt;
pulse-access:x:120:dl6kbg&lt;br /&gt;
...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
==== Enable Pulseaudio Daemon to run in system wide mode ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo nano /etc/default/pulseaudio&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
change settings to:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
PULSEAUDIO_SYSTEM_START=1&lt;br /&gt;
DISALLOW_MODULE_LOADING=0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Latest pulseaudio settings, /etc/default/pulseaudio is not used:-&lt;br /&gt;
Edit /etc/pulse/daemon.conf and uncomment the following line to read as follows:- &lt;br /&gt;
&lt;br /&gt;
daemonize = yes&lt;br /&gt;
&lt;br /&gt;
==== Enable network mode ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo nano /etc/pulse/system.pa&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and add:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
load-module module-native-protocol-tcp auth-anonymous=1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Restart pulseaudio:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo /etc/init.d/pulseaudio restart&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or restart the system and fire up the softrock server.&lt;br /&gt;
Pulseaudio runs now in systemwide mode and your softrock server should be able to establish a connection&lt;br /&gt;
to your following dspserver.&lt;br /&gt;
&lt;br /&gt;
== Configure Pulseaudio Daemon ==&lt;br /&gt;
&lt;br /&gt;
In order to use 96000 or 192000, you will need to configure pulse audio by editing:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/etc/pulse/daemon.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Uncomment these settings and change it for your needs.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
default-sample-format = s24le&lt;br /&gt;
default-sample-rate = 192000&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Tweak System for realtime performance ==&lt;br /&gt;
&lt;br /&gt;
For realtime audio add the following to:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/etc/security/limits.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
@audio - rtprio 99&lt;br /&gt;
@audio - memlock unlimited&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
and reboot and enjoy your system.&lt;/div&gt;</summary>
		<author><name>G3vbv</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=Pulseaudio_Setup&amp;diff=862</id>
		<title>Pulseaudio Setup</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=Pulseaudio_Setup&amp;diff=862"/>
		<updated>2015-05-05T19:37:37Z</updated>

		<summary type="html">&lt;p&gt;G3vbv: /* Enable Pulseaudio Daemon to run in system wide mode */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Set audio levels with Pavucontrol ==&lt;br /&gt;
To configure the softrock server with your soundcard for IQ processing use:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
pavucontrol&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In order to install it, submit the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install pavucontrol&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Choose your Soundcard for IQ processing. If you are running the SDR-Widget your settings should look like in the following two pictures.&lt;br /&gt;
=== TX audio levels on the softrock server ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Playback.png]]&lt;br /&gt;
=== RX audio levels on the softrock server ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Recording.png]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Make sure not to set the RX Audio level in the Recording Tab of pavucontrol to 100%. Otherwise you could have audio feedthrough from RX to TX and a distorted TX Audio. A level from 22% - 80% would be ok, but may vary on each system.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Enable network mode ==&lt;br /&gt;
You also need to run pulse in network mode. Use:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
paprefs&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In order to install it, submit the following command:&lt;br /&gt;
&lt;br /&gt;
=== Ubuntu ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install paprefs&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Fedora 16 ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo yum install pulseaudio-module-zeroconf&lt;br /&gt;
sudo yum install paprefs&lt;br /&gt;
pulseaudio -k ; pulseaudio -D --log-target=syslog&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
to set up network access by checking the various option boxes as follows:&lt;br /&gt;
&lt;br /&gt;
[[File:PulseAudio_Preferences_036.png]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:PulseAudio_Preferences_037.png]]&lt;br /&gt;
&lt;br /&gt;
If you are not able to change the network options you might be able to solve it with this workaround. See bug report for Ubuntu 11.10 [https://bugs.launchpad.net/ubuntu/+source/paprefs/+bug/829051].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo ln -s /usr/lib/pulse-1.0 /usr/lib/pulse-1.0.0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Pulseaudio Setup independant on a X-Server installation ===&lt;br /&gt;
==== Add Username to /etc/group ====&lt;br /&gt;
Make sure you add your username to the following system groups:&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;pulse&lt;br /&gt;
&amp;lt;li&amp;gt;pulse-access&lt;br /&gt;
&amp;lt;li&amp;gt;audio&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Use the following commands: ($USER stands for current logged in user)&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo adduser $USER pulse&lt;br /&gt;
sudo adduser $USER pulse-access&lt;br /&gt;
sudo adduser $USER audio&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example, for the user dl6kbg the grup file must contain:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
grep dl6kbg /etc/group&lt;br /&gt;
...&lt;br /&gt;
audio:x:29:pulse,dl6kbg&lt;br /&gt;
pulse:x:119:dl6kbg&lt;br /&gt;
pulse-access:x:120:dl6kbg&lt;br /&gt;
...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
==== Enable Pulseaudio Daemon to run in system wide mode ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo nano /etc/default/pulseaudio&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
change settings to:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
PULSEAUDIO_SYSTEM_START=1&lt;br /&gt;
DISALLOW_MODULE_LOADING=0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Latest pulseaudio settings, /etc/default/pulseaudio is not used:-&lt;br /&gt;
Edit /etc/pulse/daemon.conf and uncomment the following line to read as follows:- &lt;br /&gt;
daemonize = yes&lt;br /&gt;
&lt;br /&gt;
==== Enable network mode ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo nano /etc/pulse/system.pa&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and add:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
load-module module-native-protocol-tcp auth-anonymous=1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Restart pulseaudio:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo /etc/init.d/pulseaudio restart&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or restart the system and fire up the softrock server.&lt;br /&gt;
Pulseaudio runs now in systemwide mode and your softrock server should be able to establish a connection&lt;br /&gt;
to your following dspserver.&lt;br /&gt;
&lt;br /&gt;
== Configure Pulseaudio Daemon ==&lt;br /&gt;
&lt;br /&gt;
In order to use 96000 or 192000, you will need to configure pulse audio by editing:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/etc/pulse/daemon.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Uncomment these settings and change it for your needs.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
default-sample-format = s24le&lt;br /&gt;
default-sample-rate = 192000&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Tweak System for realtime performance ==&lt;br /&gt;
&lt;br /&gt;
For realtime audio add the following to:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/etc/security/limits.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
@audio - rtprio 99&lt;br /&gt;
@audio - memlock unlimited&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
and reboot and enjoy your system.&lt;/div&gt;</summary>
		<author><name>G3vbv</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=841</id>
		<title>QtRadio Installation</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=841"/>
		<updated>2014-10-03T14:59:07Z</updated>

		<summary type="html">&lt;p&gt;G3vbv: /* Fedora 16 and newer  ** AVOID CentOS ** It is not a Desktop OS */&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;
cmake \ &lt;br /&gt;
libspeexdsp-dev \&lt;br /&gt;
libxcb-composite0-dev &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
### libspeexdsp-dev is only required for codec2-dev. DO NOT USE codec2-dev - it is the development branch and may or may not work as the developers have warned --- use &amp;quot;codec2&amp;quot; which is the stable branch.&lt;br /&gt;
&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;
cmake&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;
cmake&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Fedora 16 and newer  ** AVOID CentOS ** It is not a Desktop OS  =====&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;
sudo yum install libevent&lt;br /&gt;
sudo yum install libevent-devel&lt;br /&gt;
sudo yum install cmake&lt;br /&gt;
&lt;br /&gt;
Qt5 is needed to build QtRadio. If the distro does not include qt5, follow the build instructions in the section ODROID - OK for all platforms.&lt;br /&gt;
Check if Qt5 is supplied &amp;quot;sudo yum install qt5*&amp;quot; - it is available in Fedora 20.&lt;br /&gt;
&amp;lt;/pre&amp;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;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
svn co https://svn.code.sf.net/p/freetel/code/codec2 codec2&lt;br /&gt;
cd codec2&lt;br /&gt;
&lt;br /&gt;
mkdir build&lt;br /&gt;
cd build&lt;br /&gt;
cmake ../&lt;br /&gt;
&lt;br /&gt;
sudo 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 some variations codec2 files will not be detected as installed correctly; if build errors citing codec2 are encountered during the later ./configure steps:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd /usr/local/include/codec2&lt;br /&gt;
&lt;br /&gt;
sudo cp * ..&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;IMPORTANT NOTE: If build errors persist referencing any codec2 missing components, please consider http://napan.ca/ghpsdr3/index.php/QtRadio_Installation#Refresh_to_a_Newer_Version procedure before continuing.&#039;&#039;&#039;&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.sh&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-conf.sh                  if you have problems finding codec2&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>G3vbv</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=840</id>
		<title>QtRadio Installation</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=840"/>
		<updated>2014-10-03T14:50:22Z</updated>

		<summary type="html">&lt;p&gt;G3vbv: /* Fedora 16 and newer  ** AVOID CentOS ** It is not a Desktop OS */&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;
cmake \ &lt;br /&gt;
libspeexdsp-dev \&lt;br /&gt;
libxcb-composite0-dev &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
### libspeexdsp-dev is only required for codec2-dev. DO NOT USE codec2-dev - it is the development branch and may or may not work as the developers have warned --- use &amp;quot;codec2&amp;quot; which is the stable branch.&lt;br /&gt;
&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;
cmake&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;
cmake&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Fedora 16 and newer  ** AVOID CentOS ** It is not a Desktop OS  =====&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;
sudo yum install libevent&lt;br /&gt;
sudo yum install libevent-devel&lt;br /&gt;
sudo yum install cmake&lt;br /&gt;
&lt;br /&gt;
Qt5 is needed to build QtRadio. If the distro does not include qt5, follow the build instructions in the section ODROID - OK for all platforms.&lt;br /&gt;
&amp;lt;/pre&amp;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;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
svn co https://svn.code.sf.net/p/freetel/code/codec2 codec2&lt;br /&gt;
cd codec2&lt;br /&gt;
&lt;br /&gt;
mkdir build&lt;br /&gt;
cd build&lt;br /&gt;
cmake ../&lt;br /&gt;
&lt;br /&gt;
sudo 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 some variations codec2 files will not be detected as installed correctly; if build errors citing codec2 are encountered during the later ./configure steps:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd /usr/local/include/codec2&lt;br /&gt;
&lt;br /&gt;
sudo cp * ..&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;IMPORTANT NOTE: If build errors persist referencing any codec2 missing components, please consider http://napan.ca/ghpsdr3/index.php/QtRadio_Installation#Refresh_to_a_Newer_Version procedure before continuing.&#039;&#039;&#039;&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.sh&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-conf.sh                  if you have problems finding codec2&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>G3vbv</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=839</id>
		<title>QtRadio Installation</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=839"/>
		<updated>2014-10-03T14:41:04Z</updated>

		<summary type="html">&lt;p&gt;G3vbv: /* Fedora 16 and newer  ** AVOID CentOS */&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;
cmake \ &lt;br /&gt;
libspeexdsp-dev \&lt;br /&gt;
libxcb-composite0-dev &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
### libspeexdsp-dev is only required for codec2-dev. DO NOT USE codec2-dev - it is the development branch and may or may not work as the developers have warned --- use &amp;quot;codec2&amp;quot; which is the stable branch.&lt;br /&gt;
&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;
cmake&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;
cmake&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Fedora 16 and newer  ** AVOID CentOS ** It is not a Desktop OS  =====&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;
sudo yum install libevent&lt;br /&gt;
sudo yum install libevent-devel&lt;br /&gt;
sudo yum install cmake&lt;br /&gt;
&amp;lt;/pre&amp;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;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
svn co https://svn.code.sf.net/p/freetel/code/codec2 codec2&lt;br /&gt;
cd codec2&lt;br /&gt;
&lt;br /&gt;
mkdir build&lt;br /&gt;
cd build&lt;br /&gt;
cmake ../&lt;br /&gt;
&lt;br /&gt;
sudo 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 some variations codec2 files will not be detected as installed correctly; if build errors citing codec2 are encountered during the later ./configure steps:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd /usr/local/include/codec2&lt;br /&gt;
&lt;br /&gt;
sudo cp * ..&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;IMPORTANT NOTE: If build errors persist referencing any codec2 missing components, please consider http://napan.ca/ghpsdr3/index.php/QtRadio_Installation#Refresh_to_a_Newer_Version procedure before continuing.&#039;&#039;&#039;&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.sh&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-conf.sh                  if you have problems finding codec2&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>G3vbv</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=838</id>
		<title>QtRadio Installation</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=838"/>
		<updated>2014-10-03T14:40:15Z</updated>

		<summary type="html">&lt;p&gt;G3vbv: /* Fedora 16 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;
cmake \ &lt;br /&gt;
libspeexdsp-dev \&lt;br /&gt;
libxcb-composite0-dev &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
### libspeexdsp-dev is only required for codec2-dev. DO NOT USE codec2-dev - it is the development branch and may or may not work as the developers have warned --- use &amp;quot;codec2&amp;quot; which is the stable branch.&lt;br /&gt;
&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;
cmake&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;
cmake&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Fedora 16 and newer  ** AVOID CentOS =====&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;
sudo yum install libevent&lt;br /&gt;
sudo yum install libevent-devel&lt;br /&gt;
sudo yum install cmake&lt;br /&gt;
&amp;lt;/pre&amp;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;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
svn co https://svn.code.sf.net/p/freetel/code/codec2 codec2&lt;br /&gt;
cd codec2&lt;br /&gt;
&lt;br /&gt;
mkdir build&lt;br /&gt;
cd build&lt;br /&gt;
cmake ../&lt;br /&gt;
&lt;br /&gt;
sudo 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 some variations codec2 files will not be detected as installed correctly; if build errors citing codec2 are encountered during the later ./configure steps:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd /usr/local/include/codec2&lt;br /&gt;
&lt;br /&gt;
sudo cp * ..&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;IMPORTANT NOTE: If build errors persist referencing any codec2 missing components, please consider http://napan.ca/ghpsdr3/index.php/QtRadio_Installation#Refresh_to_a_Newer_Version procedure before continuing.&#039;&#039;&#039;&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.sh&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-conf.sh                  if you have problems finding codec2&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>G3vbv</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=837</id>
		<title>QtRadio Installation</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=837"/>
		<updated>2014-10-02T15:21:59Z</updated>

		<summary type="html">&lt;p&gt;G3vbv: /* Fedora 16 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;
cmake \ &lt;br /&gt;
libspeexdsp-dev \&lt;br /&gt;
libxcb-composite0-dev &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
### libspeexdsp-dev is only required for codec2-dev. DO NOT USE codec2-dev - it is the development branch and may or may not work as the developers have warned --- use &amp;quot;codec2&amp;quot; which is the stable branch.&lt;br /&gt;
&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;
cmake&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;
cmake&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Fedora 16 and newer=====&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;
sudo yum install libevent&lt;br /&gt;
sudo yum install libevent-devel&lt;br /&gt;
sudo yum install cmake&lt;br /&gt;
&amp;lt;/pre&amp;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;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
svn co https://svn.code.sf.net/p/freetel/code/codec2 codec2&lt;br /&gt;
cd codec2&lt;br /&gt;
&lt;br /&gt;
mkdir build&lt;br /&gt;
cd build&lt;br /&gt;
cmake ../&lt;br /&gt;
&lt;br /&gt;
sudo 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 some variations codec2 files will not be detected as installed correctly; if build errors citing codec2 are encountered during the later ./configure steps:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd /usr/local/include/codec2&lt;br /&gt;
&lt;br /&gt;
sudo cp * ..&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;IMPORTANT NOTE: If build errors persist referencing any codec2 missing components, please consider http://napan.ca/ghpsdr3/index.php/QtRadio_Installation#Refresh_to_a_Newer_Version procedure before continuing.&#039;&#039;&#039;&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.sh&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-conf.sh                  if you have problems finding codec2&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>G3vbv</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=Developers_Documentation&amp;diff=833</id>
		<title>Developers Documentation</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=Developers_Documentation&amp;diff=833"/>
		<updated>2014-09-03T16:29:26Z</updated>

		<summary type="html">&lt;p&gt;G3vbv: /* Installing codec2 low bit rate audio encoding and decoding */&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;
*[[dspserver.conf]] The &#039;&#039;&#039;&#039;&#039;dspserver.conf&#039;&#039;&#039;&#039;&#039; file has it&#039;s own page&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;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Installing portaudio19-dev with jackd2 =&lt;br /&gt;
&lt;br /&gt;
Portaudio19-dev depends on having a copy of libjack-dev installed and if the libkjack-jackd2-dev package is installed before portaudio19-dev it&#039;s dependency will be satisfied and it will not uninstall jackd2 and install jackd1 if you have already installed jackd2 on your system.&lt;br /&gt;
&lt;br /&gt;
== If jackd1 and portaudio19-dev already installed ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;From Synaptic&lt;br /&gt;
&lt;br /&gt;
Uninstall portaudio19-dev&lt;br /&gt;
Uninstall jackd1&lt;br /&gt;
Install Jackd2&lt;br /&gt;
Install libjack-jackd2-dev&lt;br /&gt;
Install portaudio19-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== If you are starting from scratch ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;From Synaptic&lt;br /&gt;
&lt;br /&gt;
Install Jackd2&lt;br /&gt;
Install libjack-jackd2-dev&lt;br /&gt;
Install portaudio19-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following commands install all the environment needed (Debian/Ubuntu):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install jackd2 libjack-jackd2-dev portaudio19-dev&lt;br /&gt;
&lt;br /&gt;
sudo apt-get install make gcc g++ autoconf automake autotools-dev libtool git subversion&lt;br /&gt;
sudo apt-get install libusb-0.1-4 libusb-dev libfftw3-dev libpulse-dev libsamplerate0-dev &lt;br /&gt;
sudo apt-get install libusb-1.0-0-dev libconfig8-dev xdg-utils libortp-dev&lt;br /&gt;
sudo apt-get install libevent-dev&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;If the machine doesn&#039;t have an OpenGL aware accelerated video card, please install also the following packages:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install mesa-utils&lt;br /&gt;
sudo apt-get install mesa-common-dev&lt;br /&gt;
sudo apt-get install libgl1-mesa-dev&lt;br /&gt;
sudo apt-get install x11proto-xext-dev&lt;br /&gt;
sudo apt-get install libxrender-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: in at least one case (thanks to Pierluigi iw4blg), even if the machine was running with an NVidia card and proprietary NVidia device drivers, the test for Qt in configure did fail, as well did the example programs enclosed in qt5 package, complaining that both GL/gl.h and libGL were missing. Installing all the above packages the problem was solved.&lt;br /&gt;
&lt;br /&gt;
==== Installing codec2 low bit rate audio encoding and decoding ====&lt;br /&gt;
&lt;br /&gt;
&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&lt;br /&gt;
cd codec2&lt;br /&gt;
mkdir build&lt;br /&gt;
cd build&lt;br /&gt;
cmake ..&lt;br /&gt;
&lt;br /&gt;
If cmake complains it will ask you to remove ../CMakelists.txt and may be the ../CMakeFiles directory.&lt;br /&gt;
After removal of those.&lt;br /&gt;
cmake ..&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;
*** The codec2 developers have warned that codec2-dev is the development version which may or may not work, codec2 is the stable branch.&lt;br /&gt;
&lt;br /&gt;
= Installing Qt5 =&lt;br /&gt;
&lt;br /&gt;
http://qt-project.org/downloads &lt;br /&gt;
&lt;br /&gt;
U should download the Qt5.0.0 libraries file.  64 bit for x86_64 and 32 bit for x86 PC etc.&lt;br /&gt;
&lt;br /&gt;
** Download the latest file from the above URL - it will not be 5.0.0 but the instructions that follow are to be amended according to the version downloaded.&lt;br /&gt;
** For ARM follow Andrea&#039;s instructions in the ODROID section of this wiki as there are no binaries available for ARM platforms.&lt;br /&gt;
&lt;br /&gt;
After downloading you go to the download directory and do:&lt;br /&gt;
&lt;br /&gt;
$ chmod +x the-name-of-the-downloaded-file&lt;br /&gt;
&lt;br /&gt;
$ sudo ./the-name-of-the-downloaded-file&lt;br /&gt;
&lt;br /&gt;
After that you should have something installed in /opt/Qt5.0.0&lt;br /&gt;
&lt;br /&gt;
== Setting the path to qt5 ==&lt;br /&gt;
&lt;br /&gt;
From a terminal&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ export PATH=/opt/Qt5.0.0/5.0.0/gcc_64/bin:/opt/Qt5.0.0/Tools/QtCreator/bin:$PATH&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This is due because the several packages from Qt sources and binary repositories web sites are not really &#039;&#039;installed&#039;&#039; in the system but simply copied on it.&lt;br /&gt;
Therefore the autotools build system should search virtually over the whole filesystem.&lt;br /&gt;
&lt;br /&gt;
In any case please remember that&lt;br /&gt;
&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;
&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;
&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;
== Compiling QtRadio ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
git clone https://github.com/alexlee188/ghpsdr3-alex.git&lt;br /&gt;
cd ghpsdr3-alex&lt;br /&gt;
git checkout master&lt;br /&gt;
&lt;br /&gt;
sh ./cleanup.sh&lt;br /&gt;
autoreconf -i&lt;br /&gt;
&lt;br /&gt;
sh ./alex-conf.sh&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Last, build everything:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Setting QtCreator to use the qt5 libraries ==&lt;br /&gt;
&lt;br /&gt;
If you want to use Qt Creator (you use the same Qt Creator as with Qt4), you need to configure it to use Qt5 as one of the options:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
From the top line menu of QtCreator ...&lt;br /&gt;
&lt;br /&gt;
Tools &amp;gt; Options &amp;gt; Build &amp;amp; Run&lt;br /&gt;
Click on the Qt Versions panel&lt;br /&gt;
Click on Add button&lt;br /&gt;
Navigate to /opt/Qt5.0.0/5.0.0/gcc_64/bin&lt;br /&gt;
Click on qmake&lt;br /&gt;
Click on open&lt;br /&gt;
Click on Apply then OK&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
You need to point to the qmake file which is found in /opt/Qt5.0.0/5.0.0/gcc_64/bin&lt;br /&gt;
&lt;br /&gt;
== Choosing the build library in QtCreator ==&lt;br /&gt;
&lt;br /&gt;
you need to (re)import your QtRadio project and then you will be able to select Qt5 (or the previous Qt4.8 etc.) for building the application.&lt;br /&gt;
&lt;br /&gt;
It may be necessary to edit the project file (QtRadio.pro) to choose which version of Qt Creator you are using which can be the SDK directly from Nokia, or the Ubuntu install of Creator. The line &amp;quot;_UsingSDK&amp;quot; needs to be set to true or false as appropriate.&lt;br /&gt;
&lt;br /&gt;
== Qt5.0.0 bug ==&lt;br /&gt;
&lt;br /&gt;
There is likely to be a bug in the Qt5.0.0 release that leads to QtRadio hangs when you click on the menu after running QtRadio for a while when a buffer underun has occured.&lt;br /&gt;
&lt;br /&gt;
This happens only one some PC&#039;s, but not others.&lt;br /&gt;
&lt;br /&gt;
If it does, you can revert to an older Qt5 BETA:&lt;br /&gt;
&lt;br /&gt;
On my one of 3 PC&#039;s with the QtRadio lockup problem (when you click on any menu items after running QtRadio for a while, especially after a buffer underflow), I rebuild QtRadio using Qt5 from the Edgers ppa (which is a late BETA version), and the problem disappears completely :-)&lt;br /&gt;
&lt;br /&gt;
https://launchpad.net/~canonical-qt5-edgers/+archive/qt5-daily&lt;br /&gt;
&lt;br /&gt;
To get it to build in the Edgers, you just have to set the path to the Edgers directory.  E.g. in mine, it is:&lt;br /&gt;
&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;
Use these commands to create symbolic links in the qt5 library (which you have to do only once):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd /opt/qt5/lib&lt;br /&gt;
$ sudo ln -s libQtMultimedia.so.5.0.0 libQt5Multimedia.so&lt;br /&gt;
$ sudo ln -s libQtMultimedia.so.5.0.0 libQt5Multimedia.so.5&lt;br /&gt;
$ sudo ln -s libQtMultimedia.so.5.0.0 libQt5Multimedia.so.5.0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
then you should be able to do the usual build steps.&lt;/div&gt;</summary>
		<author><name>G3vbv</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=832</id>
		<title>QtRadio Installation</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=832"/>
		<updated>2014-08-28T14:28:42Z</updated>

		<summary type="html">&lt;p&gt;G3vbv: /* 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;
cmake \ &lt;br /&gt;
libspeexdsp-dev \&lt;br /&gt;
libxcb-composite0-dev &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
### libspeexdsp-dev is only required for codec2-dev. DO NOT USE codec2-dev - it is the development branch and may or may not work as the developers have warned --- use &amp;quot;codec2&amp;quot; which is the stable branch.&lt;br /&gt;
&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;
cmake&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;
cmake&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;
sudo yum install cmake&lt;br /&gt;
&amp;lt;/pre&amp;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;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
svn co https://svn.code.sf.net/p/freetel/code/codec2 codec2&lt;br /&gt;
cd codec2&lt;br /&gt;
&lt;br /&gt;
mkdir build&lt;br /&gt;
cd build&lt;br /&gt;
cmake ../&lt;br /&gt;
&lt;br /&gt;
sudo 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 some variations codec2 files will not be detected as installed correctly; if build errors citing codec2 are encountered during the later ./configure steps:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd /usr/local/include/codec2&lt;br /&gt;
&lt;br /&gt;
sudo cp * ..&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;IMPORTANT NOTE: If build errors persist referencing any codec2 missing components, please consider http://napan.ca/ghpsdr3/index.php/QtRadio_Installation#Refresh_to_a_Newer_Version procedure before continuing.&#039;&#039;&#039;&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>G3vbv</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=831</id>
		<title>QtRadio Installation</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=831"/>
		<updated>2014-07-26T18:39:34Z</updated>

		<summary type="html">&lt;p&gt;G3vbv: /* Installing codec2 low bit rate audio encoding and decoding */&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;
cmake \ &lt;br /&gt;
libspeexdsp-dev \&lt;br /&gt;
libxcb-composite0-dev &lt;br /&gt;
&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;
cmake&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;
cmake&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;
sudo yum install cmake&lt;br /&gt;
&amp;lt;/pre&amp;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;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
svn co https://svn.code.sf.net/p/freetel/code/codec2 codec2&lt;br /&gt;
cd codec2&lt;br /&gt;
&lt;br /&gt;
mkdir build&lt;br /&gt;
cd build&lt;br /&gt;
cmake ../&lt;br /&gt;
&lt;br /&gt;
sudo 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 some variations codec2 files will not be detected as installed correctly; if build errors citing codec2 are encountered during the later ./configure steps:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd /usr/local/include/codec2&lt;br /&gt;
&lt;br /&gt;
sudo cp * ..&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;IMPORTANT NOTE: If build errors persist referencing any codec2 missing components, please consider http://napan.ca/ghpsdr3/index.php/QtRadio_Installation#Refresh_to_a_Newer_Version procedure before continuing.&#039;&#039;&#039;&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>G3vbv</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=Developers_Documentation&amp;diff=814</id>
		<title>Developers Documentation</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=Developers_Documentation&amp;diff=814"/>
		<updated>2014-04-10T01:40:19Z</updated>

		<summary type="html">&lt;p&gt;G3vbv: /* Installing Qt5 */&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;
*[[dspserver.conf]] The &#039;&#039;&#039;&#039;&#039;dspserver.conf&#039;&#039;&#039;&#039;&#039; file has it&#039;s own page&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;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Installing portaudio19-dev with jackd2 =&lt;br /&gt;
&lt;br /&gt;
Portaudio19-dev depends on having a copy of libjack-dev installed and if the libkjack-jackd2-dev package is installed before portaudio19-dev it&#039;s dependency will be satisfied and it will not uninstall jackd2 and install jackd1 if you have already installed jackd2 on your system.&lt;br /&gt;
&lt;br /&gt;
== If jackd1 and portaudio19-dev already installed ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;From Synaptic&lt;br /&gt;
&lt;br /&gt;
Uninstall portaudio19-dev&lt;br /&gt;
Uninstall jackd1&lt;br /&gt;
Install Jackd2&lt;br /&gt;
Install libjack-jackd2-dev&lt;br /&gt;
Install portaudio19-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== If you are starting from scratch ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;From Synaptic&lt;br /&gt;
&lt;br /&gt;
Install Jackd2&lt;br /&gt;
Install libjack-jackd2-dev&lt;br /&gt;
Install portaudio19-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following commands install all the environment needed (Debian/Ubuntu):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install jackd2 libjack-jackd2-dev portaudio19-dev&lt;br /&gt;
&lt;br /&gt;
sudo apt-get install make gcc g++ autoconf automake autotools-dev libtool git subversion&lt;br /&gt;
sudo apt-get install libusb-0.1-4 libusb-dev libfftw3-dev libpulse-dev libsamplerate0-dev &lt;br /&gt;
sudo apt-get install libusb-1.0-0-dev libconfig8-dev xdg-utils libortp-dev&lt;br /&gt;
sudo apt-get install libevent-dev&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;If the machine doesn&#039;t have an OpenGL aware accelerated video card, please install also the following packages:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install mesa-utils&lt;br /&gt;
sudo apt-get install mesa-common-dev&lt;br /&gt;
sudo apt-get install libgl1-mesa-dev&lt;br /&gt;
sudo apt-get install x11proto-xext-dev&lt;br /&gt;
sudo apt-get install libxrender-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: in at least one case (thanks to Pierluigi iw4blg), even if the machine was running with an NVidia card and proprietary NVidia device drivers, the test for Qt in configure did fail, as well did the example programs enclosed in qt5 package, complaining that both GL/gl.h and libGL were missing. Installing all the above packages the problem was solved.&lt;br /&gt;
&lt;br /&gt;
==== Installing codec2 low bit rate audio encoding and decoding ====&lt;br /&gt;
&lt;br /&gt;
&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&lt;br /&gt;
cd codec2-dev&lt;br /&gt;
mkdir build&lt;br /&gt;
cd build&lt;br /&gt;
cmake ..&lt;br /&gt;
&lt;br /&gt;
If cmake complains it will ask you to remove ../CMakelists.txt and may be the ../CMakeFiles directory.&lt;br /&gt;
After removal of those.&lt;br /&gt;
cmake ..&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;
= Installing Qt5 =&lt;br /&gt;
&lt;br /&gt;
http://qt-project.org/downloads &lt;br /&gt;
&lt;br /&gt;
U should download the Qt5.0.0 libraries file.  64 bit for x86_64 and 32 bit for x86 PC etc.&lt;br /&gt;
&lt;br /&gt;
** Download the latest file from the above URL - it will not be 5.0.0 but the instructions that follow are to be amended according to the version downloaded.&lt;br /&gt;
** For ARM follow Andrea&#039;s instructions in the ODROID section of this wiki as there are no binaries available for ARM platforms.&lt;br /&gt;
&lt;br /&gt;
After downloading you go to the download directory and do:&lt;br /&gt;
&lt;br /&gt;
$ chmod +x the-name-of-the-downloaded-file&lt;br /&gt;
&lt;br /&gt;
$ sudo ./the-name-of-the-downloaded-file&lt;br /&gt;
&lt;br /&gt;
After that you should have something installed in /opt/Qt5.0.0&lt;br /&gt;
&lt;br /&gt;
== Setting the path to qt5 ==&lt;br /&gt;
&lt;br /&gt;
From a terminal&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ export PATH=/opt/Qt5.0.0/5.0.0/gcc_64/bin:/opt/Qt5.0.0/Tools/QtCreator/bin:$PATH&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This is due because the several packages from Qt sources and binary repositories web sites are not really &#039;&#039;installed&#039;&#039; in the system but simply copied on it.&lt;br /&gt;
Therefore the autotools build system should search virtually over the whole filesystem.&lt;br /&gt;
&lt;br /&gt;
In any case please remember that&lt;br /&gt;
&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;
&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;
&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;
== Compiling QtRadio ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
git clone https://github.com/alexlee188/ghpsdr3-alex.git&lt;br /&gt;
cd ghpsdr3-alex&lt;br /&gt;
git checkout master&lt;br /&gt;
&lt;br /&gt;
sh ./cleanup.sh&lt;br /&gt;
autoreconf -i&lt;br /&gt;
&lt;br /&gt;
sh ./alex-conf.sh&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Last, build everything:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Setting QtCreator to use the qt5 libraries ==&lt;br /&gt;
&lt;br /&gt;
If you want to use Qt Creator (you use the same Qt Creator as with Qt4), you need to configure it to use Qt5 as one of the options:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
From the top line menu of QtCreator ...&lt;br /&gt;
&lt;br /&gt;
Tools &amp;gt; Options &amp;gt; Build &amp;amp; Run&lt;br /&gt;
Click on the Qt Versions panel&lt;br /&gt;
Click on Add button&lt;br /&gt;
Navigate to /opt/Qt5.0.0/5.0.0/gcc_64/bin&lt;br /&gt;
Click on qmake&lt;br /&gt;
Click on open&lt;br /&gt;
Click on Apply then OK&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
You need to point to the qmake file which is found in /opt/Qt5.0.0/5.0.0/gcc_64/bin&lt;br /&gt;
&lt;br /&gt;
== Choosing the build library in QtCreator ==&lt;br /&gt;
&lt;br /&gt;
you need to (re)import your QtRadio project and then you will be able to select Qt5 (or the previous Qt4.8 etc.) for building the application.&lt;br /&gt;
&lt;br /&gt;
It may be necessary to edit the project file (QtRadio.pro) to choose which version of Qt Creator you are using which can be the SDK directly from Nokia, or the Ubuntu install of Creator. The line &amp;quot;_UsingSDK&amp;quot; needs to be set to true or false as appropriate.&lt;br /&gt;
&lt;br /&gt;
== Qt5.0.0 bug ==&lt;br /&gt;
&lt;br /&gt;
There is likely to be a bug in the Qt5.0.0 release that leads to QtRadio hangs when you click on the menu after running QtRadio for a while when a buffer underun has occured.&lt;br /&gt;
&lt;br /&gt;
This happens only one some PC&#039;s, but not others.&lt;br /&gt;
&lt;br /&gt;
If it does, you can revert to an older Qt5 BETA:&lt;br /&gt;
&lt;br /&gt;
On my one of 3 PC&#039;s with the QtRadio lockup problem (when you click on any menu items after running QtRadio for a while, especially after a buffer underflow), I rebuild QtRadio using Qt5 from the Edgers ppa (which is a late BETA version), and the problem disappears completely :-)&lt;br /&gt;
&lt;br /&gt;
https://launchpad.net/~canonical-qt5-edgers/+archive/qt5-daily&lt;br /&gt;
&lt;br /&gt;
To get it to build in the Edgers, you just have to set the path to the Edgers directory.  E.g. in mine, it is:&lt;br /&gt;
&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;
Use these commands to create symbolic links in the qt5 library (which you have to do only once):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd /opt/qt5/lib&lt;br /&gt;
$ sudo ln -s libQtMultimedia.so.5.0.0 libQt5Multimedia.so&lt;br /&gt;
$ sudo ln -s libQtMultimedia.so.5.0.0 libQt5Multimedia.so.5&lt;br /&gt;
$ sudo ln -s libQtMultimedia.so.5.0.0 libQt5Multimedia.so.5.0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
then you should be able to do the usual build steps.&lt;/div&gt;</summary>
		<author><name>G3vbv</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=Developers_Documentation&amp;diff=813</id>
		<title>Developers Documentation</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=Developers_Documentation&amp;diff=813"/>
		<updated>2014-04-09T14:32:02Z</updated>

		<summary type="html">&lt;p&gt;G3vbv: /* Installing codec2 low bit rate audio encoding and decoding */&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;
*[[dspserver.conf]] The &#039;&#039;&#039;&#039;&#039;dspserver.conf&#039;&#039;&#039;&#039;&#039; file has it&#039;s own page&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;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Installing portaudio19-dev with jackd2 =&lt;br /&gt;
&lt;br /&gt;
Portaudio19-dev depends on having a copy of libjack-dev installed and if the libkjack-jackd2-dev package is installed before portaudio19-dev it&#039;s dependency will be satisfied and it will not uninstall jackd2 and install jackd1 if you have already installed jackd2 on your system.&lt;br /&gt;
&lt;br /&gt;
== If jackd1 and portaudio19-dev already installed ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;From Synaptic&lt;br /&gt;
&lt;br /&gt;
Uninstall portaudio19-dev&lt;br /&gt;
Uninstall jackd1&lt;br /&gt;
Install Jackd2&lt;br /&gt;
Install libjack-jackd2-dev&lt;br /&gt;
Install portaudio19-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== If you are starting from scratch ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;From Synaptic&lt;br /&gt;
&lt;br /&gt;
Install Jackd2&lt;br /&gt;
Install libjack-jackd2-dev&lt;br /&gt;
Install portaudio19-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following commands install all the environment needed (Debian/Ubuntu):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install jackd2 libjack-jackd2-dev portaudio19-dev&lt;br /&gt;
&lt;br /&gt;
sudo apt-get install make gcc g++ autoconf automake autotools-dev libtool git subversion&lt;br /&gt;
sudo apt-get install libusb-0.1-4 libusb-dev libfftw3-dev libpulse-dev libsamplerate0-dev &lt;br /&gt;
sudo apt-get install libusb-1.0-0-dev libconfig8-dev xdg-utils libortp-dev&lt;br /&gt;
sudo apt-get install libevent-dev&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;If the machine doesn&#039;t have an OpenGL aware accelerated video card, please install also the following packages:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install mesa-utils&lt;br /&gt;
sudo apt-get install mesa-common-dev&lt;br /&gt;
sudo apt-get install libgl1-mesa-dev&lt;br /&gt;
sudo apt-get install x11proto-xext-dev&lt;br /&gt;
sudo apt-get install libxrender-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: in at least one case (thanks to Pierluigi iw4blg), even if the machine was running with an NVidia card and proprietary NVidia device drivers, the test for Qt in configure did fail, as well did the example programs enclosed in qt5 package, complaining that both GL/gl.h and libGL were missing. Installing all the above packages the problem was solved.&lt;br /&gt;
&lt;br /&gt;
==== Installing codec2 low bit rate audio encoding and decoding ====&lt;br /&gt;
&lt;br /&gt;
&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&lt;br /&gt;
cd codec2-dev&lt;br /&gt;
mkdir build&lt;br /&gt;
cd build&lt;br /&gt;
cmake ..&lt;br /&gt;
&lt;br /&gt;
If cmake complains it will ask you to remove ../CMakelists.txt and may be the ../CMakeFiles directory.&lt;br /&gt;
After removal of those.&lt;br /&gt;
cmake ..&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;
= Installing Qt5 =&lt;br /&gt;
&lt;br /&gt;
http://qt-project.org/downloads&lt;br /&gt;
&lt;br /&gt;
U should download the Qt5.0.0 libraries file.  64 bit for x86_64 and 32 bit for x86 PC etc.&lt;br /&gt;
&lt;br /&gt;
After downloading you go to the download directory and do:&lt;br /&gt;
&lt;br /&gt;
$ chmod +x the-name-of-the-downloaded-file&lt;br /&gt;
&lt;br /&gt;
$ sudo ./the-name-of-the-downloaded-file&lt;br /&gt;
&lt;br /&gt;
After that you should have something installed in /opt/Qt5.0.0&lt;br /&gt;
&lt;br /&gt;
== Setting the path to qt5 ==&lt;br /&gt;
&lt;br /&gt;
From a terminal&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ export PATH=/opt/Qt5.0.0/5.0.0/gcc_64/bin:/opt/Qt5.0.0/Tools/QtCreator/bin:$PATH&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This is due because the several packages from Qt sources and binary repositories web sites are not really &#039;&#039;installed&#039;&#039; in the system but simply copied on it.&lt;br /&gt;
Therefore the autotools build system should search virtually over the whole filesystem.&lt;br /&gt;
&lt;br /&gt;
In any case please remember that&lt;br /&gt;
&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;
&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;
&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;
== Compiling QtRadio ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
git clone https://github.com/alexlee188/ghpsdr3-alex.git&lt;br /&gt;
cd ghpsdr3-alex&lt;br /&gt;
git checkout master&lt;br /&gt;
&lt;br /&gt;
sh ./cleanup.sh&lt;br /&gt;
autoreconf -i&lt;br /&gt;
&lt;br /&gt;
sh ./alex-conf.sh&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Last, build everything:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Setting QtCreator to use the qt5 libraries ==&lt;br /&gt;
&lt;br /&gt;
If you want to use Qt Creator (you use the same Qt Creator as with Qt4), you need to configure it to use Qt5 as one of the options:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
From the top line menu of QtCreator ...&lt;br /&gt;
&lt;br /&gt;
Tools &amp;gt; Options &amp;gt; Build &amp;amp; Run&lt;br /&gt;
Click on the Qt Versions panel&lt;br /&gt;
Click on Add button&lt;br /&gt;
Navigate to /opt/Qt5.0.0/5.0.0/gcc_64/bin&lt;br /&gt;
Click on qmake&lt;br /&gt;
Click on open&lt;br /&gt;
Click on Apply then OK&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
You need to point to the qmake file which is found in /opt/Qt5.0.0/5.0.0/gcc_64/bin&lt;br /&gt;
&lt;br /&gt;
== Choosing the build library in QtCreator ==&lt;br /&gt;
&lt;br /&gt;
you need to (re)import your QtRadio project and then you will be able to select Qt5 (or the previous Qt4.8 etc.) for building the application.&lt;br /&gt;
&lt;br /&gt;
It may be necessary to edit the project file (QtRadio.pro) to choose which version of Qt Creator you are using which can be the SDK directly from Nokia, or the Ubuntu install of Creator. The line &amp;quot;_UsingSDK&amp;quot; needs to be set to true or false as appropriate.&lt;br /&gt;
&lt;br /&gt;
== Qt5.0.0 bug ==&lt;br /&gt;
&lt;br /&gt;
There is likely to be a bug in the Qt5.0.0 release that leads to QtRadio hangs when you click on the menu after running QtRadio for a while when a buffer underun has occured.&lt;br /&gt;
&lt;br /&gt;
This happens only one some PC&#039;s, but not others.&lt;br /&gt;
&lt;br /&gt;
If it does, you can revert to an older Qt5 BETA:&lt;br /&gt;
&lt;br /&gt;
On my one of 3 PC&#039;s with the QtRadio lockup problem (when you click on any menu items after running QtRadio for a while, especially after a buffer underflow), I rebuild QtRadio using Qt5 from the Edgers ppa (which is a late BETA version), and the problem disappears completely :-)&lt;br /&gt;
&lt;br /&gt;
https://launchpad.net/~canonical-qt5-edgers/+archive/qt5-daily&lt;br /&gt;
&lt;br /&gt;
To get it to build in the Edgers, you just have to set the path to the Edgers directory.  E.g. in mine, it is:&lt;br /&gt;
&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;
Use these commands to create symbolic links in the qt5 library (which you have to do only once):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd /opt/qt5/lib&lt;br /&gt;
$ sudo ln -s libQtMultimedia.so.5.0.0 libQt5Multimedia.so&lt;br /&gt;
$ sudo ln -s libQtMultimedia.so.5.0.0 libQt5Multimedia.so.5&lt;br /&gt;
$ sudo ln -s libQtMultimedia.so.5.0.0 libQt5Multimedia.so.5.0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
then you should be able to do the usual build steps.&lt;/div&gt;</summary>
		<author><name>G3vbv</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=User:G3vbv&amp;diff=695</id>
		<title>User:G3vbv</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=User:G3vbv&amp;diff=695"/>
		<updated>2013-02-20T03:00:33Z</updated>

		<summary type="html">&lt;p&gt;G3vbv: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Age 71.&lt;br /&gt;
Retired Senior Staff Specialist on Amdahl/Fujitsu mainframes and Enterprise SPARC systems, IBM Mainframes and SUN SPARC systems, both hardware and software in support of UK, European and Worldwide customers.  &lt;br /&gt;
Linux guy on PC&#039;s, SPARC and Mainframes.&lt;br /&gt;
Amateur Radio Callsign: G3VBV. Homebrewed most of my Amateur Radio gear in 46 years of operation and now hooked on SDR - Softrock SR v6.3/Mobo v3.6, SR63ng/Mobo v4.3.4/SDR-Widget, Softrock Ensemble RXTX, RTL-SDR, HiQSDR and Hermes.&lt;br /&gt;
Qualified Level 2 Cricket Coach.&lt;br /&gt;
Private Pilot Licensed over 20 years.&lt;/div&gt;</summary>
		<author><name>G3vbv</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=User_talk:G3vbv&amp;diff=629</id>
		<title>User talk:G3vbv</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=User_talk:G3vbv&amp;diff=629"/>
		<updated>2012-12-01T23:00:43Z</updated>

		<summary type="html">&lt;p&gt;G3vbv: /* Installing on ODROID-X */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Welcome to &#039;&#039;Ghpsdr3 SDR project&#039;&#039;!&#039;&#039;&#039;&lt;br /&gt;
We hope you will contribute much and well.&lt;br /&gt;
You will probably want to read the [[Help:Contents|help pages]].&lt;br /&gt;
Again, welcome and have fun! [[User:Ve9gj|Ve9gj]] 20:41, 26 November 2011 (AST)&lt;br /&gt;
&lt;br /&gt;
== Installing on ODROID-X  ==&lt;br /&gt;
&lt;br /&gt;
The wiki lists a number of Ubuntu pre-req packages to be installed which are probably needed for other SDR software building apart from ghpsdr3-alex.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you are building ghpsdr3-alex, the following configure options apply.&lt;br /&gt;
&amp;quot;./configure CFLAGS=&#039;-O3 -pipe -mfpu=neon -fno-tree-vectorize -fopenmp&#039; CXXFLAGS=&#039;-O3 -pipe -mfpu=neon -fno-tree-vectorize -fopenmp&#039;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Use full-size SD cards - microSD cards in an adaptor won&#039;t work, a question to the forum at http://odroid.foros-phpbb.com/c3-odroid-x confirmed the adaptor distorts the signals.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Use a small fan above the CPU module. It gets hot and will power down on large builds especially with &amp;quot;make -j 4&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Download an image from http://www.mdrjr.net/odroid/mirror/ubuntu12.10-3.6.6/ or whatever is the latest available on the mirror. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There is a HDMI image and a LCD image if you have the hardkernel LCD display.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* After burning the image you can mount partition 3 and set up /etc/hosts, /etc/resolv.conf, /etc/network/interfaces as necessary - fixed addresses or dhcp. &lt;br /&gt;
&lt;br /&gt;
I am using fixed addresses, 192.168.10.x for my main LAN and 192.168.2.x is a Gigabit Ethernet LAN for my HiQSDR.&lt;br /&gt;
&lt;br /&gt;
Where a 1 appears below it&#039;s meant to be a hash - commenting out the line.&lt;br /&gt;
&lt;br /&gt;
# cat /etc/network/interfaces&lt;br /&gt;
&lt;br /&gt;
auto lo&lt;br /&gt;
iface lo inet loopback&lt;br /&gt;
&lt;br /&gt;
# The primary network interface&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.18&lt;br /&gt;
&lt;br /&gt;
netmask 255.255.255.0&lt;br /&gt;
&lt;br /&gt;
network 192.168.10.0&lt;br /&gt;
&lt;br /&gt;
broadcast 192.168.10.255&lt;br /&gt;
&lt;br /&gt;
dns-nameservers 192.168.10.103&lt;br /&gt;
&lt;br /&gt;
gateway 192.168.10.103&lt;br /&gt;
&lt;br /&gt;
# Example to keep MAC address between reboots&lt;br /&gt;
&lt;br /&gt;
#hwaddress ether DE:AD:BE:EF:CA:FE&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.197&lt;br /&gt;
&lt;br /&gt;
netmask 255.255.255.0&lt;br /&gt;
&lt;br /&gt;
network 192.168.2.0&lt;br /&gt;
&lt;br /&gt;
broadcast 192.168.2.255&lt;br /&gt;
&lt;br /&gt;
# auto wlan0&lt;br /&gt;
&lt;br /&gt;
# iface wlan0 inet dhcp&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* The image burns 4GB on to a SD card. I started with a 16GB card and used gparted on a x86_64 PC to extend the rootfs partition 3. I now have a 32GB card in use. &lt;br /&gt;
&lt;br /&gt;
I attached a 160GB USB HD and mounted it on the ODROID-X so I could generate the 16GB image and also do local kernel and other software builds - it&#039;s a pleasure to build kernels without cross compiling or do it natively while I wait for springtime to arrive.&lt;br /&gt;
&lt;br /&gt;
&amp;quot;dd if=/dev/mmcblk0 of=&amp;lt;160GB_MOUNT_POINT&amp;gt;/ODROID-X_16GB.img bs=1M&amp;quot; and copied it to the PC with the scp command.&lt;br /&gt;
&lt;br /&gt;
* Moving the card back to the PC where the card was detected as /dev/sdc&lt;br /&gt;
&lt;br /&gt;
&amp;quot;dd if=/ODROID-X_16GB.img of=/dev/sdc bs=1M&amp;quot;, use gparted to extend partition 3 to use the full 32GB.&lt;br /&gt;
&lt;br /&gt;
Of course you could NFS mount the ODROID-X SD card to do some operations after the SD card setup and the ODROID-X is booted.&lt;br /&gt;
&lt;br /&gt;
* An enclosure - I made up a U-shaped aluminium enclosure with open sides and holes for the Ethernet and USB sockets at the back, a piece of L-shaped perspex screwed on top to hold the fan.&lt;br /&gt;
The P.S is a 5V 2A wall wart I diverted from a USB hub.&lt;/div&gt;</summary>
		<author><name>G3vbv</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=User_talk:G3vbv&amp;diff=628</id>
		<title>User talk:G3vbv</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=User_talk:G3vbv&amp;diff=628"/>
		<updated>2012-12-01T22:57:53Z</updated>

		<summary type="html">&lt;p&gt;G3vbv: /* Installing on ODROID-X  */ new section&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Welcome to &#039;&#039;Ghpsdr3 SDR project&#039;&#039;!&#039;&#039;&#039;&lt;br /&gt;
We hope you will contribute much and well.&lt;br /&gt;
You will probably want to read the [[Help:Contents|help pages]].&lt;br /&gt;
Again, welcome and have fun! [[User:Ve9gj|Ve9gj]] 20:41, 26 November 2011 (AST)&lt;br /&gt;
&lt;br /&gt;
== Installing on ODROID-X  ==&lt;br /&gt;
&lt;br /&gt;
The wiki lists a number of Ubuntu pre-req packages to be installed which are probably needed for other SDR software building apart from ghpsdr3-alex.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you are building ghpsdr3-alex, the following configure options apply.&lt;br /&gt;
&amp;quot;./configure CFLAGS=&#039;-O3 -pipe -mfpu=neon -fno-tree-vectorize -fopenmp&#039; CXXFLAGS=&#039;-O3 -pipe -mfpu=neon -fno-tree-vectorize -fopenmp&#039;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Use full-size SD cards - microSD cards in an adaptor won&#039;t work, a question to the forum at http://odroid.foros-phpbb.com/c3-odroid-x confirmed the adaptor distorts the signals.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Use a small fan above the CPU module. It gets hot and will power down on large builds especially with &amp;quot;make -j 4&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Download an image from http://www.mdrjr.net/odroid/mirror/ubuntu12.10-3.6.6/ or whatever is the latest available on the mirror. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There is a HDMI image and a LCD image if you have the hardkernel LCD display.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* After burning the image you can mount partition 3 and set up /etc/hosts, /etc/resolv.conf, /etc/network/interfaces as necessary - fixed addresses or dhcp. &lt;br /&gt;
&lt;br /&gt;
I am using fixed addresses, 192.168.10.x for my main LAN and 192.168.2.x is a Gigabit Ethernet LAN for my HiQSDR.&lt;br /&gt;
&lt;br /&gt;
# cat /etc/network/interfaces&lt;br /&gt;
&lt;br /&gt;
auto lo&lt;br /&gt;
iface lo inet loopback&lt;br /&gt;
&lt;br /&gt;
# The primary network interface&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.18&lt;br /&gt;
&lt;br /&gt;
netmask 255.255.255.0&lt;br /&gt;
&lt;br /&gt;
network 192.168.10.0&lt;br /&gt;
&lt;br /&gt;
broadcast 192.168.10.255&lt;br /&gt;
&lt;br /&gt;
dns-nameservers 192.168.10.103&lt;br /&gt;
&lt;br /&gt;
gateway 192.168.10.103&lt;br /&gt;
&lt;br /&gt;
# Example to keep MAC address between reboots&lt;br /&gt;
&lt;br /&gt;
#hwaddress ether DE:AD:BE:EF:CA:FE&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.197&lt;br /&gt;
&lt;br /&gt;
netmask 255.255.255.0&lt;br /&gt;
&lt;br /&gt;
network 192.168.2.0&lt;br /&gt;
&lt;br /&gt;
broadcast 192.168.2.255&lt;br /&gt;
&lt;br /&gt;
# auto wlan0&lt;br /&gt;
&lt;br /&gt;
# iface wlan0 inet dhcp&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* The image burns 4GB on to a SD card. I started with a 16GB card and used gparted on a x86_64 PC to extend the rootfs partition 3. I now have a 32GB card in use. &lt;br /&gt;
&lt;br /&gt;
I attached a 160GB USB HD and mounted it on the ODROID-X so I could generate the 16GB image and also do local kernel and other software builds - it&#039;s a pleasure to build kernels without cross compiling or do it natively while I wait for springtime to arrive.&lt;br /&gt;
&lt;br /&gt;
&amp;quot;dd if=/dev/mmcblk0 of=&amp;lt;160GB_MOUNT_POINT&amp;gt;/ODROID-X_16GB.img bs=1M&amp;quot; and copied it to the PC with the scp command.&lt;br /&gt;
&lt;br /&gt;
* Moving the card back to the PC where the card was detected as /dev/sdc&lt;br /&gt;
&lt;br /&gt;
&amp;quot;dd if=/ODROID-X_16GB.img of=/dev/sdc bs=1M&amp;quot;, use gparted to extend partition 3 to use the full 32GB.&lt;br /&gt;
&lt;br /&gt;
Of course you could NFS mount the ODROID-X SD card to do some operations after the SD card setup and the ODROID-X is booted.&lt;br /&gt;
&lt;br /&gt;
* An enclosure - I made up a U-shaped aluminium enclosure with open sides and holes for the Ethernet and USB sockets at the back, a piece of L-shaped perspex screwed on top to hold the fan.&lt;br /&gt;
The P.S is a 5V 2A wall wart I diverted from a USB hub.&lt;/div&gt;</summary>
		<author><name>G3vbv</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=627</id>
		<title>QtRadio Installation</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=627"/>
		<updated>2012-11-28T05:30:39Z</updated>

		<summary type="html">&lt;p&gt;G3vbv: /* 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;
See: &lt;br /&gt;
&lt;br /&gt;
http://napan.ca/ghpsdr3/index.php/Developers_Documentation&lt;br /&gt;
&lt;br /&gt;
You will need qt5 to be installed as per the above.&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>G3vbv</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=626</id>
		<title>QtRadio Installation</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=626"/>
		<updated>2012-11-28T05:27:14Z</updated>

		<summary type="html">&lt;p&gt;G3vbv: /* 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;
See: &lt;br /&gt;
&lt;br /&gt;
http://napan.ca/ghpsdr3/index.php/Developers_Documentation&lt;br /&gt;
&lt;br /&gt;
You will need qt5 to be installed as per the above.&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;
&lt;br /&gt;
THE FOLLOWING COMMANDS ARE NO LONGER NEEDED AS THE x86/x86_64 OPTIMIZATIONS HAVE BEEN REMOVED FROM Makefile.in and Makefile.am.&lt;br /&gt;
&lt;br /&gt;
NOTE:-******Remove all traces of -msse,-msse3 and -ffast-math from Makefile.am and Makefile.in where appropriate in the subdirectories as those are not for ARM architecture. Here is my script - make it executable and put it in your path, e.g /usr/local/bin/.&lt;br /&gt;
Formatting problem, #!/bin/sh is the first line of the script which is run in the ghpsdr3-alex directory.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
&lt;br /&gt;
find ./ -type f | xargs sed -i &#039;s/-msse3//g&#039;&lt;br /&gt;
&lt;br /&gt;
find ./ -type f | xargs sed -i &#039;s/-msse//g&#039;&lt;br /&gt;
&lt;br /&gt;
find ./ -type f | xargs sed -i &#039;s/-ffast-math//g&#039;&lt;br /&gt;
&lt;br /&gt;
&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>G3vbv</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=Talk:QtRadio_Installation&amp;diff=602</id>
		<title>Talk:QtRadio Installation</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=Talk:QtRadio_Installation&amp;diff=602"/>
		<updated>2012-10-13T22:11:00Z</updated>

		<summary type="html">&lt;p&gt;G3vbv: /* Installing on ODROID-X and Pandaboard */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Installing ghpsdr3-alex on Raspberry Pi&#039;&#039;&#039; &lt;br /&gt;
---------------------------------------------&lt;br /&gt;
I recommend installing either the raspbian or raspbian pisces distributions as there is no Ubuntu release to date.&lt;br /&gt;
&lt;br /&gt;
All the pre-req packages mentioned for the Ubuntu installation are also needed for the Raspberry Pi and are available using &amp;quot;apt-get install&amp;quot; as usual.&lt;br /&gt;
&lt;br /&gt;
** The RasPi USB subsystem is sensitive to power supply voltage levels - A supply of 5.25V at 2A is recommended. With +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. Increasing the voltage to +5.27V solved the problem.&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;
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 1GHz:-&lt;br /&gt;
&lt;br /&gt;
Keyboard, mouse, usb sound card and Ethernet fully operational using the 7-port USB hub.&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 050d:0307 Belkin Components USB 2.0 - 7 ports Hub [FSU307]&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 005: ID 04f3:0103 Elan Microelectronics Corp.&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 006: ID 041e:3040 Creative Technology, Ltd SoundBlaster Live! 24-bit External SB0490&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 007: ID 0fe6:8101 Kontron (Industrial Computer Source / ICS Advent) DM9601 Fast Ethernet Adapter&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 008: ID 047d:1022 Kensington Orbit Optical&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# ifconfig&lt;br /&gt;
eth0      Link encap:Ethernet  HWaddr b8:27:eb:2c:07:c9&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;
          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;
          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;
root@pisces:~# cat /proc/asound/cards&lt;br /&gt;
 0 [External       ]: USB-Audio - SB Live! 24-bit External&lt;br /&gt;
                      Creative Technology SB Live! 24-bit External at usb-bcm2708_usb-1.3.3, full spe&lt;br /&gt;
 1 [ALSA           ]: BRCM bcm2835 ALSbcm2835 ALSA - bcm2835 ALSA&lt;br /&gt;
                      bcm2835 ALSA&lt;br /&gt;
I had originally forgotten to add snd-bcm2835 to /etc/modules which is why the SB Live! 24 is card 0. Rebooting with just the on-board sound card then adding the SB Live! 24 USB changed the on-board to card 0 and the SB Live! 24 USB is now card 1.&lt;br /&gt;
I have further tests to do, mainly with sound, but now the Rpi is looking much healthier.&lt;br /&gt;
&lt;br /&gt;
It&#039;s running at 1GHz 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=1000&lt;br /&gt;
&lt;br /&gt;
core_freq=500&lt;br /&gt;
&lt;br /&gt;
sdram_freq=50&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# cat /etc/network/interfaces&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;
# /etc/modules: kernel modules to load at boot time.&lt;br /&gt;
#&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;
== Headline text == * SOFTWARE *&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.&lt;br /&gt;
What follows is a blow by blow account of how I did it for the iw0hdv branch which supports my HiQSDR+Preselector.&lt;br /&gt;
&lt;br /&gt;
Subject: [n2adr-sdr] Raspberry Pi running ghpsdr3-alex&lt;br /&gt;
 &lt;br /&gt;
I did a fresh clone and changed to the iw0hdv branch from the default master branch.&lt;br /&gt;
# git checkout iw0hdv&lt;br /&gt;
&lt;br /&gt;
Removed all traces of -msse, -msse3 and -ffast-math from Makefile.am and Makefile.in where appropriate in the subdirectories.&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;
&lt;br /&gt;
# make all &amp;amp;&amp;amp; make all install&lt;br /&gt;
&lt;br /&gt;
Running hiqsdr-server at 48K/96K and dspserver (built with qt4) as qt5 is not yet available. &lt;br /&gt;
There are instructions for building qt5 but following them bullet by bullet it failed not far along.&lt;br /&gt;
The instructions are for building on i386 - I have put out a request for .deb packages or at least built tarballs to the Raspberry Pi forum. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
QtRadio running on another box using the connection from the server list.&lt;br /&gt;
Sound is a touch distorted, quite distorted on start up of QtRadio and&lt;br /&gt;
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&lt;br /&gt;
waterfall were OK but no sound.&lt;br /&gt;
&lt;br /&gt;
Just now a client using glSDR (5) is attempting to change frequency,&lt;br /&gt;
sound went quite distorted then dspserver crashed.&lt;br /&gt;
&lt;br /&gt;
Restarted dspserver and QtRadio sound started very distorted before it&lt;br /&gt;
settled down to reasonable.&lt;br /&gt;
&lt;br /&gt;
== Installing on ODROID-X and Pandaboard ==&lt;br /&gt;
&lt;br /&gt;
There are 2 Ubuntu images downloadable from hardkernel.com&lt;br /&gt;
&lt;br /&gt;
odroidx_20120906-linaro-precise-ubuntu-desktop_with_HDMI.img.gz&lt;br /&gt;
&lt;br /&gt;
odroidx_20120906-linaro-precise-ubuntu-desktop_with_LCD.img.gz&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The image needs to be decompressed e.g:-&lt;br /&gt;
&amp;quot;gzip -d odroidx_20120906-linaro-precise-ubuntu-desktop_with_HDMI.img.gz&amp;quot; then burned on to a SD card (full size or microSD with a full size adaptor).&lt;br /&gt;
&lt;br /&gt;
&amp;quot;dmesg&amp;quot; will tell you what it&#039;s called when you attach the reader with the SD card inserted to a USB port,e.g /dev/sdb, /dev/sdc, etc.&lt;br /&gt;
&lt;br /&gt;
&amp;quot;dd if=odroidx_20120906-linaro-precise-ubuntu-desktop_with_HDMI.img of=/dev/sdc bs=1M&amp;quot;&lt;br /&gt;
&lt;br /&gt;
When it completes, insert the SD card into the ODROID-X and boot up - the ODROID-X has a power on and a reset switch on board.&lt;br /&gt;
&lt;br /&gt;
There is a way to prepare the SD card using Windows but I don&#039;t do Windows, consult http://beagleboard.org/demo/angstrom/ for a link to &amp;quot;dd&amp;quot; for Windows.&lt;br /&gt;
&lt;br /&gt;
I use the HDMI.img as I have a spare HDMI port on one of my monitors - it requires a micro HDMI cable, standard HDMI on the monitor end and micro HDMI on the ODROID-X board.&lt;br /&gt;
&lt;br /&gt;
When you have the ODROID-X all up and running and installed the pre-req packages for ghpsdr3-alex - there are a lot of them as is the case with any Ubuntu or other distribution, the build instructions are as follows:-&lt;br /&gt;
&lt;br /&gt;
$ git clone git://github.com/alexlee188/ghpsdr3-alex.git&lt;br /&gt;
&lt;br /&gt;
$ cd ghpsdr3-alex&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then I run a script to remove -msse and friends, the script I call &amp;quot;rm_words&amp;quot; made executable and put in /usr/local/bin&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
find ./ -type f | xargs sed -i &#039;s/-msse3//g&#039;&lt;br /&gt;
&lt;br /&gt;
find ./ -type f | xargs sed -i &#039;s/-msse//g&#039;&lt;br /&gt;
&lt;br /&gt;
find ./ -type f | xargs sed -i &#039;s/-ffast-math//g&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
autoreconf -i&lt;br /&gt;
&lt;br /&gt;
source set_Qt-5.0.0_path.src&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
set_Qt-5.0.0_path.src contains &amp;quot;export PATH=/opt/qt5/bin:$PATH&amp;quot; and I&#039;m using the qt5-daily from edgers.&lt;br /&gt;
&lt;br /&gt;
http://ppa.launchpad.net/canonical-qt5-edgers/qt5-daily/ubuntu precise main&lt;br /&gt;
&lt;br /&gt;
The configure script I call &amp;quot;alex-config&amp;quot; made executable and put in /usr/local/bin&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
./configure CFLAGS=&#039;-O3 -pipe -mfpu=neon -fno-tree-vectorize -fopenmp&#039; CXXFLAGS=&#039;-O3 -pipe -mfpu=neon -fno-tree-vectorize -fopenmp&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
$ make -j 4 all&lt;br /&gt;
&lt;br /&gt;
$ sudo make -j 4 all install&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The ODROID-X is treated the same as the Pandaboard and the Raspberry Pi when building ghpsdr3-alex, except the Pandaboard uses  the normal Ubuntu ARM distribution while the ODROID-X uses the linaro Ubuntu ARM distribution built especially for it. The Raspberry Pi uses the debian raspbian distribution.&lt;br /&gt;
 &lt;br /&gt;
The distributions are all Ubuntu ARM and packages are updated, upgraded and installed in exactly the same manner as Ubuntu for x86/x86_64 so there is no learning curve involved if you already know Ubuntu. &lt;br /&gt;
&lt;br /&gt;
I use 32GB Class 10 (the fastest) SD cards but recommend at least 16GB to give ample space to install and build other software.&lt;br /&gt;
SD cards can either be full size or microSD in a full size adaptor.&lt;br /&gt;
&lt;br /&gt;
I have been running hiqsdr-server, dspserver and QtRadio on the ODROID-X for a few weeks 24/7.&lt;br /&gt;
&lt;br /&gt;
&amp;quot;dsploop&amp;quot; by Alex has stopped the dspserver crashes that periodically occurred on all platforms.&lt;/div&gt;</summary>
		<author><name>G3vbv</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=Talk:QtRadio_Installation&amp;diff=601</id>
		<title>Talk:QtRadio Installation</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=Talk:QtRadio_Installation&amp;diff=601"/>
		<updated>2012-10-13T22:10:09Z</updated>

		<summary type="html">&lt;p&gt;G3vbv: /* Installing on ODROID-X and Pandaboard */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Installing ghpsdr3-alex on Raspberry Pi&#039;&#039;&#039; &lt;br /&gt;
---------------------------------------------&lt;br /&gt;
I recommend installing either the raspbian or raspbian pisces distributions as there is no Ubuntu release to date.&lt;br /&gt;
&lt;br /&gt;
All the pre-req packages mentioned for the Ubuntu installation are also needed for the Raspberry Pi and are available using &amp;quot;apt-get install&amp;quot; as usual.&lt;br /&gt;
&lt;br /&gt;
** The RasPi USB subsystem is sensitive to power supply voltage levels - A supply of 5.25V at 2A is recommended. With +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. Increasing the voltage to +5.27V solved the problem.&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;
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 1GHz:-&lt;br /&gt;
&lt;br /&gt;
Keyboard, mouse, usb sound card and Ethernet fully operational using the 7-port USB hub.&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 050d:0307 Belkin Components USB 2.0 - 7 ports Hub [FSU307]&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 005: ID 04f3:0103 Elan Microelectronics Corp.&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 006: ID 041e:3040 Creative Technology, Ltd SoundBlaster Live! 24-bit External SB0490&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 007: ID 0fe6:8101 Kontron (Industrial Computer Source / ICS Advent) DM9601 Fast Ethernet Adapter&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 008: ID 047d:1022 Kensington Orbit Optical&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# ifconfig&lt;br /&gt;
eth0      Link encap:Ethernet  HWaddr b8:27:eb:2c:07:c9&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;
          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;
          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;
root@pisces:~# cat /proc/asound/cards&lt;br /&gt;
 0 [External       ]: USB-Audio - SB Live! 24-bit External&lt;br /&gt;
                      Creative Technology SB Live! 24-bit External at usb-bcm2708_usb-1.3.3, full spe&lt;br /&gt;
 1 [ALSA           ]: BRCM bcm2835 ALSbcm2835 ALSA - bcm2835 ALSA&lt;br /&gt;
                      bcm2835 ALSA&lt;br /&gt;
I had originally forgotten to add snd-bcm2835 to /etc/modules which is why the SB Live! 24 is card 0. Rebooting with just the on-board sound card then adding the SB Live! 24 USB changed the on-board to card 0 and the SB Live! 24 USB is now card 1.&lt;br /&gt;
I have further tests to do, mainly with sound, but now the Rpi is looking much healthier.&lt;br /&gt;
&lt;br /&gt;
It&#039;s running at 1GHz 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=1000&lt;br /&gt;
&lt;br /&gt;
core_freq=500&lt;br /&gt;
&lt;br /&gt;
sdram_freq=50&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# cat /etc/network/interfaces&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;
# /etc/modules: kernel modules to load at boot time.&lt;br /&gt;
#&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;
== Headline text == * SOFTWARE *&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.&lt;br /&gt;
What follows is a blow by blow account of how I did it for the iw0hdv branch which supports my HiQSDR+Preselector.&lt;br /&gt;
&lt;br /&gt;
Subject: [n2adr-sdr] Raspberry Pi running ghpsdr3-alex&lt;br /&gt;
 &lt;br /&gt;
I did a fresh clone and changed to the iw0hdv branch from the default master branch.&lt;br /&gt;
# git checkout iw0hdv&lt;br /&gt;
&lt;br /&gt;
Removed all traces of -msse, -msse3 and -ffast-math from Makefile.am and Makefile.in where appropriate in the subdirectories.&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;
&lt;br /&gt;
# make all &amp;amp;&amp;amp; make all install&lt;br /&gt;
&lt;br /&gt;
Running hiqsdr-server at 48K/96K and dspserver (built with qt4) as qt5 is not yet available. &lt;br /&gt;
There are instructions for building qt5 but following them bullet by bullet it failed not far along.&lt;br /&gt;
The instructions are for building on i386 - I have put out a request for .deb packages or at least built tarballs to the Raspberry Pi forum. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
QtRadio running on another box using the connection from the server list.&lt;br /&gt;
Sound is a touch distorted, quite distorted on start up of QtRadio and&lt;br /&gt;
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&lt;br /&gt;
waterfall were OK but no sound.&lt;br /&gt;
&lt;br /&gt;
Just now a client using glSDR (5) is attempting to change frequency,&lt;br /&gt;
sound went quite distorted then dspserver crashed.&lt;br /&gt;
&lt;br /&gt;
Restarted dspserver and QtRadio sound started very distorted before it&lt;br /&gt;
settled down to reasonable.&lt;br /&gt;
&lt;br /&gt;
== Installing on ODROID-X and Pandaboard ==&lt;br /&gt;
&lt;br /&gt;
There are 2 Ubuntu images downloadable from hardkernel.com&lt;br /&gt;
&lt;br /&gt;
odroidx_20120906-linaro-precise-ubuntu-desktop_with_HDMI.img.gz&lt;br /&gt;
&lt;br /&gt;
odroidx_20120906-linaro-precise-ubuntu-desktop_with_LCD.img.gz&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The image needs to be decompressed e.g:-&lt;br /&gt;
&amp;quot;gzip -d odroidx_20120906-linaro-precise-ubuntu-desktop_with_HDMI.img.gz&amp;quot; then burned on to a SD card (full size or microSD with a full size adaptor).&lt;br /&gt;
&lt;br /&gt;
&amp;quot;dmesg&amp;quot; will tell you what it&#039;s called when you attach the reader with the SD card inserted to a USB port,e.g /dev/sdb, /dev/sdc, etc.&lt;br /&gt;
&lt;br /&gt;
&amp;quot;dd if=odroidx_20120906-linaro-precise-ubuntu-desktop_with_HDMI.img of=/dev/sdc bs=1M&amp;quot;&lt;br /&gt;
&lt;br /&gt;
When it completes, insert the SD card into the ODROID-X and boot up - the ODROID-X has a power on and a reset switch on board.&lt;br /&gt;
&lt;br /&gt;
There is a way to prepare the SD card using Windows but I don&#039;t do Windows, consult http://beagleboard.org/demo/angstrom/ for a link to &amp;quot;dd&amp;quot; for Windows.&lt;br /&gt;
&lt;br /&gt;
I use the HDMI.img as I have a spare HDMI port on one of my monitors - it requires a micro HDMI cable, standard HDMI on the monitor end and micro HDMI on the ODROID-X board.&lt;br /&gt;
&lt;br /&gt;
When you have the ODROID-X all up and running and installed the pre-req packages for ghpsdr3-alex - there are a lot of them as is the case with any Ubuntu or other distribution, the build instructions are as follows:-&lt;br /&gt;
&lt;br /&gt;
$ git clone git://github.com/alexlee188/ghpsdr3-alex.git&lt;br /&gt;
&lt;br /&gt;
$ cd ghpsdr3-alex&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then I run a script to remove -msse and friends, the script I call &amp;quot;rm_words&amp;quot; made executable and put in /usr/local/bin&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
find ./ -type f | xargs sed -i &#039;s/-msse3//g&#039;&lt;br /&gt;
&lt;br /&gt;
find ./ -type f | xargs sed -i &#039;s/-msse//g&#039;&lt;br /&gt;
&lt;br /&gt;
find ./ -type f | xargs sed -i &#039;s/-ffast-math//g&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
autoreconf -i&lt;br /&gt;
&lt;br /&gt;
source set_Qt-5.0.0_path.src&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
set_Qt-5.0.0_path.src contains &amp;quot;export PATH=/opt/qt5/bin:$PATH&amp;quot; and I&#039;m using the qt5-daily from edgers.&lt;br /&gt;
&lt;br /&gt;
http://ppa.launchpad.net/canonical-qt5-edgers/qt5-daily/ubuntu precise main&lt;br /&gt;
&lt;br /&gt;
The configure script I call &amp;quot;alex-config&amp;quot; made executable and put in /usr/local/bin&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
./configure CFLAGS=&#039;-O3 -pipe -mfpu=neon -fno-tree-vectorize -fopenmp&#039; CXXFLAGS=&#039;-O3 -pipe -mfpu=neon -fno-tree-vectorize -fopenmp&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
$ make -j 4 all&lt;br /&gt;
&lt;br /&gt;
$ sudo make -j 4 all install&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The ODROID-X is treated the same as the Pandaboard and the Raspberry Pi when building ghpsdr3-alex, except the Pandaboard uses  the normal Ubuntu ARM distribution while the ODROID-X uses the linaro Ubuntu ARM distribution built especially for it. The Raspberry Pi uses the debian raspbian distribution.&lt;br /&gt;
 &lt;br /&gt;
The distributions are all Ubuntu ARM and packages are updated, upgraded and installed in exactly the same manner as Ubuntu for x86/x86_64 so there is no learning curve involved if you already know Ubuntu. &lt;br /&gt;
&lt;br /&gt;
I use 32GB Class 10 (the fastest) SD cards but recommend at least 16GB to give ample space to install and build other software.&lt;br /&gt;
SD cards can either be full size or microSD in a full size adaptor.&lt;br /&gt;
&lt;br /&gt;
I have been running hiqsdr-server, dspserver and QtRadio on the ODROID-X for a few weeks 24/7.&lt;br /&gt;
&lt;br /&gt;
&amp;quot;dsploop&amp;quot; by Alex has stopped the dspserver crashes that periodically occurred.&lt;/div&gt;</summary>
		<author><name>G3vbv</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=Talk:QtRadio_Installation&amp;diff=600</id>
		<title>Talk:QtRadio Installation</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=Talk:QtRadio_Installation&amp;diff=600"/>
		<updated>2012-10-13T22:04:35Z</updated>

		<summary type="html">&lt;p&gt;G3vbv: /* Installing on ODROID-X and Pandaboard */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Installing ghpsdr3-alex on Raspberry Pi&#039;&#039;&#039; &lt;br /&gt;
---------------------------------------------&lt;br /&gt;
I recommend installing either the raspbian or raspbian pisces distributions as there is no Ubuntu release to date.&lt;br /&gt;
&lt;br /&gt;
All the pre-req packages mentioned for the Ubuntu installation are also needed for the Raspberry Pi and are available using &amp;quot;apt-get install&amp;quot; as usual.&lt;br /&gt;
&lt;br /&gt;
** The RasPi USB subsystem is sensitive to power supply voltage levels - A supply of 5.25V at 2A is recommended. With +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. Increasing the voltage to +5.27V solved the problem.&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;
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 1GHz:-&lt;br /&gt;
&lt;br /&gt;
Keyboard, mouse, usb sound card and Ethernet fully operational using the 7-port USB hub.&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 050d:0307 Belkin Components USB 2.0 - 7 ports Hub [FSU307]&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 005: ID 04f3:0103 Elan Microelectronics Corp.&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 006: ID 041e:3040 Creative Technology, Ltd SoundBlaster Live! 24-bit External SB0490&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 007: ID 0fe6:8101 Kontron (Industrial Computer Source / ICS Advent) DM9601 Fast Ethernet Adapter&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 008: ID 047d:1022 Kensington Orbit Optical&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# ifconfig&lt;br /&gt;
eth0      Link encap:Ethernet  HWaddr b8:27:eb:2c:07:c9&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;
          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;
          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;
root@pisces:~# cat /proc/asound/cards&lt;br /&gt;
 0 [External       ]: USB-Audio - SB Live! 24-bit External&lt;br /&gt;
                      Creative Technology SB Live! 24-bit External at usb-bcm2708_usb-1.3.3, full spe&lt;br /&gt;
 1 [ALSA           ]: BRCM bcm2835 ALSbcm2835 ALSA - bcm2835 ALSA&lt;br /&gt;
                      bcm2835 ALSA&lt;br /&gt;
I had originally forgotten to add snd-bcm2835 to /etc/modules which is why the SB Live! 24 is card 0. Rebooting with just the on-board sound card then adding the SB Live! 24 USB changed the on-board to card 0 and the SB Live! 24 USB is now card 1.&lt;br /&gt;
I have further tests to do, mainly with sound, but now the Rpi is looking much healthier.&lt;br /&gt;
&lt;br /&gt;
It&#039;s running at 1GHz 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=1000&lt;br /&gt;
&lt;br /&gt;
core_freq=500&lt;br /&gt;
&lt;br /&gt;
sdram_freq=50&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# cat /etc/network/interfaces&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;
# /etc/modules: kernel modules to load at boot time.&lt;br /&gt;
#&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;
== Headline text == * SOFTWARE *&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.&lt;br /&gt;
What follows is a blow by blow account of how I did it for the iw0hdv branch which supports my HiQSDR+Preselector.&lt;br /&gt;
&lt;br /&gt;
Subject: [n2adr-sdr] Raspberry Pi running ghpsdr3-alex&lt;br /&gt;
 &lt;br /&gt;
I did a fresh clone and changed to the iw0hdv branch from the default master branch.&lt;br /&gt;
# git checkout iw0hdv&lt;br /&gt;
&lt;br /&gt;
Removed all traces of -msse, -msse3 and -ffast-math from Makefile.am and Makefile.in where appropriate in the subdirectories.&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;
&lt;br /&gt;
# make all &amp;amp;&amp;amp; make all install&lt;br /&gt;
&lt;br /&gt;
Running hiqsdr-server at 48K/96K and dspserver (built with qt4) as qt5 is not yet available. &lt;br /&gt;
There are instructions for building qt5 but following them bullet by bullet it failed not far along.&lt;br /&gt;
The instructions are for building on i386 - I have put out a request for .deb packages or at least built tarballs to the Raspberry Pi forum. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
QtRadio running on another box using the connection from the server list.&lt;br /&gt;
Sound is a touch distorted, quite distorted on start up of QtRadio and&lt;br /&gt;
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&lt;br /&gt;
waterfall were OK but no sound.&lt;br /&gt;
&lt;br /&gt;
Just now a client using glSDR (5) is attempting to change frequency,&lt;br /&gt;
sound went quite distorted then dspserver crashed.&lt;br /&gt;
&lt;br /&gt;
Restarted dspserver and QtRadio sound started very distorted before it&lt;br /&gt;
settled down to reasonable.&lt;br /&gt;
&lt;br /&gt;
== Installing on ODROID-X and Pandaboard ==&lt;br /&gt;
&lt;br /&gt;
There are 2 Ubuntu images downloadable from hardkernel.com&lt;br /&gt;
&lt;br /&gt;
odroidx_20120906-linaro-precise-ubuntu-desktop_with_HDMI.img.gz&lt;br /&gt;
&lt;br /&gt;
odroidx_20120906-linaro-precise-ubuntu-desktop_with_LCD.img.gz&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The image needs to be decompressed e.g:-&lt;br /&gt;
&amp;quot;gzip -d odroidx_20120906-linaro-precise-ubuntu-desktop_with_HDMI.img.gz&amp;quot; then burned on to a SD card (full size or microSD with a full size adaptor).&lt;br /&gt;
&lt;br /&gt;
&amp;quot;dmesg&amp;quot; will tell you what it&#039;s called when you attach the reader with the SD card inserted to a USB port,e.g /dev/sdb, /dev/sdc, etc.&lt;br /&gt;
&lt;br /&gt;
&amp;quot;dd if=odroidx_20120906-linaro-precise-ubuntu-desktop_with_HDMI.img of=/dev/sdc bs=1M&amp;quot;&lt;br /&gt;
&lt;br /&gt;
When it completes, insert the SD card into the ODROID-X and boot up - the ODROID-X has a power on and a reset switch on board.&lt;br /&gt;
&lt;br /&gt;
There is a way to prepare the SD card using Windows but I don&#039;t do Windows, consult http://beagleboard.org/demo/angstrom/ for a link to &amp;quot;dd&amp;quot; for Windows.&lt;br /&gt;
&lt;br /&gt;
I use the HDMI.img as I have a spare HDMI port on one of my monitors - it requires a micro HDMI cable, standard HDMI on the monitor end and micro HDMI on the ODROID-X board.&lt;br /&gt;
&lt;br /&gt;
When you have the ODROID-X all up and running and installed the pre-req packages for ghpsdr3-alex - there are a lot of them as is the case with any Ubuntu or other distribution, the build instructions are as follows:-&lt;br /&gt;
&lt;br /&gt;
$ git clone git://github.com/alexlee188/ghpsdr3-alex.git&lt;br /&gt;
&lt;br /&gt;
$ cd ghpsdr3-alex&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then I run a script to remove -msse and friends, the script I call &amp;quot;rm_words&amp;quot; made executable and put in /usr/local/bin&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
find ./ -type f | xargs sed -i &#039;s/-msse3//g&#039;&lt;br /&gt;
&lt;br /&gt;
find ./ -type f | xargs sed -i &#039;s/-msse//g&#039;&lt;br /&gt;
&lt;br /&gt;
find ./ -type f | xargs sed -i &#039;s/-ffast-math//g&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
autoreconf -i&lt;br /&gt;
&lt;br /&gt;
source set_Qt-5.0.0_path.src&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
set_Qt-5.0.0_path.src contains &amp;quot;export PATH=/opt/qt5/bin:$PATH&amp;quot; and I&#039;m using the qt5-daily from edgers.&lt;br /&gt;
&lt;br /&gt;
http://ppa.launchpad.net/canonical-qt5-edgers/qt5-daily/ubuntu precise main&lt;br /&gt;
&lt;br /&gt;
The configure script I call &amp;quot;alex-config&amp;quot; made executable and put in /usr/local/bin&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
./configure CFLAGS=&#039;-O3 -pipe -mfpu=neon -fno-tree-vectorize -fopenmp&#039; CXXFLAGS=&#039;-O3 -pipe -mfpu=neon -fno-tree-vectorize -fopenmp&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
$ make -j 4 all&lt;br /&gt;
&lt;br /&gt;
$ sudo make -j 4 all install&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The ODROID-X is treated the same as the Pandaboard and the Raspberry Pi when building ghpsdr3-alex, except the Pandaboard uses  the normal Ubuntu ARM distribution while the ODROID-X uses the linaro Ubuntu ARM distribution built especially for it. The Raspberry Pi uses the debian raspbian distribution.&lt;br /&gt;
 &lt;br /&gt;
The distributions are all Ubuntu ARM and packages are updated, upgraded and installed in exactly the same manner as Ubuntu for x86/x86_64 so there is no learning curve involved if you already know Ubuntu. &lt;br /&gt;
&lt;br /&gt;
I use 32GB Class 10 (the fastest) SD cards but recommend at least 16GB to give ample space to install and build other software.&lt;br /&gt;
SD cards can either be full size or microSD in a full size adaptor.&lt;/div&gt;</summary>
		<author><name>G3vbv</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=Talk:QtRadio_Installation&amp;diff=599</id>
		<title>Talk:QtRadio Installation</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=Talk:QtRadio_Installation&amp;diff=599"/>
		<updated>2012-10-13T21:56:45Z</updated>

		<summary type="html">&lt;p&gt;G3vbv: /* Installing on ODROID-X and Pandaboard */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Installing ghpsdr3-alex on Raspberry Pi&#039;&#039;&#039; &lt;br /&gt;
---------------------------------------------&lt;br /&gt;
I recommend installing either the raspbian or raspbian pisces distributions as there is no Ubuntu release to date.&lt;br /&gt;
&lt;br /&gt;
All the pre-req packages mentioned for the Ubuntu installation are also needed for the Raspberry Pi and are available using &amp;quot;apt-get install&amp;quot; as usual.&lt;br /&gt;
&lt;br /&gt;
** The RasPi USB subsystem is sensitive to power supply voltage levels - A supply of 5.25V at 2A is recommended. With +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. Increasing the voltage to +5.27V solved the problem.&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;
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 1GHz:-&lt;br /&gt;
&lt;br /&gt;
Keyboard, mouse, usb sound card and Ethernet fully operational using the 7-port USB hub.&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 050d:0307 Belkin Components USB 2.0 - 7 ports Hub [FSU307]&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 005: ID 04f3:0103 Elan Microelectronics Corp.&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 006: ID 041e:3040 Creative Technology, Ltd SoundBlaster Live! 24-bit External SB0490&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 007: ID 0fe6:8101 Kontron (Industrial Computer Source / ICS Advent) DM9601 Fast Ethernet Adapter&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 008: ID 047d:1022 Kensington Orbit Optical&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# ifconfig&lt;br /&gt;
eth0      Link encap:Ethernet  HWaddr b8:27:eb:2c:07:c9&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;
          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;
          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;
root@pisces:~# cat /proc/asound/cards&lt;br /&gt;
 0 [External       ]: USB-Audio - SB Live! 24-bit External&lt;br /&gt;
                      Creative Technology SB Live! 24-bit External at usb-bcm2708_usb-1.3.3, full spe&lt;br /&gt;
 1 [ALSA           ]: BRCM bcm2835 ALSbcm2835 ALSA - bcm2835 ALSA&lt;br /&gt;
                      bcm2835 ALSA&lt;br /&gt;
I had originally forgotten to add snd-bcm2835 to /etc/modules which is why the SB Live! 24 is card 0. Rebooting with just the on-board sound card then adding the SB Live! 24 USB changed the on-board to card 0 and the SB Live! 24 USB is now card 1.&lt;br /&gt;
I have further tests to do, mainly with sound, but now the Rpi is looking much healthier.&lt;br /&gt;
&lt;br /&gt;
It&#039;s running at 1GHz 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=1000&lt;br /&gt;
&lt;br /&gt;
core_freq=500&lt;br /&gt;
&lt;br /&gt;
sdram_freq=50&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# cat /etc/network/interfaces&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;
# /etc/modules: kernel modules to load at boot time.&lt;br /&gt;
#&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;
== Headline text == * SOFTWARE *&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.&lt;br /&gt;
What follows is a blow by blow account of how I did it for the iw0hdv branch which supports my HiQSDR+Preselector.&lt;br /&gt;
&lt;br /&gt;
Subject: [n2adr-sdr] Raspberry Pi running ghpsdr3-alex&lt;br /&gt;
 &lt;br /&gt;
I did a fresh clone and changed to the iw0hdv branch from the default master branch.&lt;br /&gt;
# git checkout iw0hdv&lt;br /&gt;
&lt;br /&gt;
Removed all traces of -msse, -msse3 and -ffast-math from Makefile.am and Makefile.in where appropriate in the subdirectories.&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;
&lt;br /&gt;
# make all &amp;amp;&amp;amp; make all install&lt;br /&gt;
&lt;br /&gt;
Running hiqsdr-server at 48K/96K and dspserver (built with qt4) as qt5 is not yet available. &lt;br /&gt;
There are instructions for building qt5 but following them bullet by bullet it failed not far along.&lt;br /&gt;
The instructions are for building on i386 - I have put out a request for .deb packages or at least built tarballs to the Raspberry Pi forum. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
QtRadio running on another box using the connection from the server list.&lt;br /&gt;
Sound is a touch distorted, quite distorted on start up of QtRadio and&lt;br /&gt;
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&lt;br /&gt;
waterfall were OK but no sound.&lt;br /&gt;
&lt;br /&gt;
Just now a client using glSDR (5) is attempting to change frequency,&lt;br /&gt;
sound went quite distorted then dspserver crashed.&lt;br /&gt;
&lt;br /&gt;
Restarted dspserver and QtRadio sound started very distorted before it&lt;br /&gt;
settled down to reasonable.&lt;br /&gt;
&lt;br /&gt;
== Installing on ODROID-X and Pandaboard ==&lt;br /&gt;
&lt;br /&gt;
There are 2 Ubuntu images downloadable from hardkernel.com&lt;br /&gt;
&lt;br /&gt;
odroidx_20120906-linaro-precise-ubuntu-desktop_with_HDMI.img.gz&lt;br /&gt;
&lt;br /&gt;
odroidx_20120906-linaro-precise-ubuntu-desktop_with_LCD.img.gz&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The image needs to be decompressed e.g:-&lt;br /&gt;
&amp;quot;gzip -d odroidx_20120906-linaro-precise-ubuntu-desktop_with_HDMI.img.gz&amp;quot; then burned on to a SD card (full size or microSD with a full size adaptor).&lt;br /&gt;
&lt;br /&gt;
&amp;quot;dmesg&amp;quot; will tell you what it&#039;s called when you attach the reader with the SD card inserted to a USB port,e.g /dev/sdb, /dev/sdc, etc.&lt;br /&gt;
&lt;br /&gt;
&amp;quot;dd if=odroidx_20120906-linaro-precise-ubuntu-desktop_with_HDMI.img of=/dev/sdc bs=1M&amp;quot;&lt;br /&gt;
&lt;br /&gt;
When it completes, insert the SD card into the ODROID-X and boot up - the ODROID-X has a power on and a reset switch on board.&lt;br /&gt;
&lt;br /&gt;
There is a way to prepare the SD card using Windows but I don&#039;t do Windows, consult http://beagleboard.org/demo/angstrom/&lt;br /&gt;
&lt;br /&gt;
I use the HDMI.img as I have a spare HDMI port on one of my monitors - it requires a micro HDMI cable, standard HDMI on the monitor end and micro HDMI on the ODROID-X board.&lt;br /&gt;
&lt;br /&gt;
When you have the ODROID-X all up and running and installed the pre-req packages for ghpsdr3-alex - there are a lot of them as is the case with any Ubuntu or other distribution, the build instructions are as follows:-&lt;br /&gt;
&lt;br /&gt;
$ git clone git://github.com/alexlee188/ghpsdr3-alex.git&lt;br /&gt;
&lt;br /&gt;
$ cd ghpsdr3-alex&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then I run a script to remove -msse and friends, the script I call &amp;quot;rm_words&amp;quot; made executable and put in /usr/local/bin&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
find ./ -type f | xargs sed -i &#039;s/-msse3//g&#039;&lt;br /&gt;
&lt;br /&gt;
find ./ -type f | xargs sed -i &#039;s/-msse//g&#039;&lt;br /&gt;
&lt;br /&gt;
find ./ -type f | xargs sed -i &#039;s/-ffast-math//g&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
autoreconf -i&lt;br /&gt;
&lt;br /&gt;
source set_Qt-5.0.0_path.src&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
set_Qt-5.0.0_path.src contains &amp;quot;export PATH=/opt/qt5/bin:$PATH&amp;quot; and I&#039;m using the qt5-daily from edgers.&lt;br /&gt;
&lt;br /&gt;
http://ppa.launchpad.net/canonical-qt5-edgers/qt5-daily/ubuntu precise main&lt;br /&gt;
&lt;br /&gt;
The configure script I call &amp;quot;alex-config&amp;quot; made executable and put in /usr/local/bin&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
./configure CFLAGS=&#039;-O3 -pipe -mfpu=neon -fno-tree-vectorize -fopenmp&#039; CXXFLAGS=&#039;-O3 -pipe -mfpu=neon -fno-tree-vectorize -fopenmp&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
$ make -j 4 all&lt;br /&gt;
&lt;br /&gt;
$ sudo make -j 4 all install&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The ODROID-X is treated the same as the Pandaboard and the Raspberry Pi when building ghpsdr3-alex, except the Pandaboard uses  the normal Ubuntu ARM distribution while the ODROID-X uses the linaro Ubuntu ARM distribution built especially for it. The Raspberry Pi uses the debian raspbian distribution.&lt;br /&gt;
 &lt;br /&gt;
The distributions are all Ubuntu ARM and packages are updated, upgraded and installed in exactly the same manner as Ubuntu for x86/x86_64 so there is no learning curve involved if you already know Ubuntu. &lt;br /&gt;
&lt;br /&gt;
I use 32GB Class 10 (the fastest) SD cards but recommend at least 16GB to give ample space to install and build other software.&lt;br /&gt;
SD cards can either be full size or microSD in a full size adaptor.&lt;/div&gt;</summary>
		<author><name>G3vbv</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=Talk:QtRadio_Installation&amp;diff=598</id>
		<title>Talk:QtRadio Installation</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=Talk:QtRadio_Installation&amp;diff=598"/>
		<updated>2012-10-13T21:51:11Z</updated>

		<summary type="html">&lt;p&gt;G3vbv: /* Installing on ODROID-X and Pandaboard */ new section&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Installing ghpsdr3-alex on Raspberry Pi&#039;&#039;&#039; &lt;br /&gt;
---------------------------------------------&lt;br /&gt;
I recommend installing either the raspbian or raspbian pisces distributions as there is no Ubuntu release to date.&lt;br /&gt;
&lt;br /&gt;
All the pre-req packages mentioned for the Ubuntu installation are also needed for the Raspberry Pi and are available using &amp;quot;apt-get install&amp;quot; as usual.&lt;br /&gt;
&lt;br /&gt;
** The RasPi USB subsystem is sensitive to power supply voltage levels - A supply of 5.25V at 2A is recommended. With +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. Increasing the voltage to +5.27V solved the problem.&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;
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 1GHz:-&lt;br /&gt;
&lt;br /&gt;
Keyboard, mouse, usb sound card and Ethernet fully operational using the 7-port USB hub.&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 050d:0307 Belkin Components USB 2.0 - 7 ports Hub [FSU307]&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 005: ID 04f3:0103 Elan Microelectronics Corp.&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 006: ID 041e:3040 Creative Technology, Ltd SoundBlaster Live! 24-bit External SB0490&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 007: ID 0fe6:8101 Kontron (Industrial Computer Source / ICS Advent) DM9601 Fast Ethernet Adapter&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 008: ID 047d:1022 Kensington Orbit Optical&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# ifconfig&lt;br /&gt;
eth0      Link encap:Ethernet  HWaddr b8:27:eb:2c:07:c9&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;
          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;
          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;
root@pisces:~# cat /proc/asound/cards&lt;br /&gt;
 0 [External       ]: USB-Audio - SB Live! 24-bit External&lt;br /&gt;
                      Creative Technology SB Live! 24-bit External at usb-bcm2708_usb-1.3.3, full spe&lt;br /&gt;
 1 [ALSA           ]: BRCM bcm2835 ALSbcm2835 ALSA - bcm2835 ALSA&lt;br /&gt;
                      bcm2835 ALSA&lt;br /&gt;
I had originally forgotten to add snd-bcm2835 to /etc/modules which is why the SB Live! 24 is card 0. Rebooting with just the on-board sound card then adding the SB Live! 24 USB changed the on-board to card 0 and the SB Live! 24 USB is now card 1.&lt;br /&gt;
I have further tests to do, mainly with sound, but now the Rpi is looking much healthier.&lt;br /&gt;
&lt;br /&gt;
It&#039;s running at 1GHz 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=1000&lt;br /&gt;
&lt;br /&gt;
core_freq=500&lt;br /&gt;
&lt;br /&gt;
sdram_freq=50&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# cat /etc/network/interfaces&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;
# /etc/modules: kernel modules to load at boot time.&lt;br /&gt;
#&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;
== Headline text == * SOFTWARE *&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.&lt;br /&gt;
What follows is a blow by blow account of how I did it for the iw0hdv branch which supports my HiQSDR+Preselector.&lt;br /&gt;
&lt;br /&gt;
Subject: [n2adr-sdr] Raspberry Pi running ghpsdr3-alex&lt;br /&gt;
 &lt;br /&gt;
I did a fresh clone and changed to the iw0hdv branch from the default master branch.&lt;br /&gt;
# git checkout iw0hdv&lt;br /&gt;
&lt;br /&gt;
Removed all traces of -msse, -msse3 and -ffast-math from Makefile.am and Makefile.in where appropriate in the subdirectories.&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;
&lt;br /&gt;
# make all &amp;amp;&amp;amp; make all install&lt;br /&gt;
&lt;br /&gt;
Running hiqsdr-server at 48K/96K and dspserver (built with qt4) as qt5 is not yet available. &lt;br /&gt;
There are instructions for building qt5 but following them bullet by bullet it failed not far along.&lt;br /&gt;
The instructions are for building on i386 - I have put out a request for .deb packages or at least built tarballs to the Raspberry Pi forum. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
QtRadio running on another box using the connection from the server list.&lt;br /&gt;
Sound is a touch distorted, quite distorted on start up of QtRadio and&lt;br /&gt;
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&lt;br /&gt;
waterfall were OK but no sound.&lt;br /&gt;
&lt;br /&gt;
Just now a client using glSDR (5) is attempting to change frequency,&lt;br /&gt;
sound went quite distorted then dspserver crashed.&lt;br /&gt;
&lt;br /&gt;
Restarted dspserver and QtRadio sound started very distorted before it&lt;br /&gt;
settled down to reasonable.&lt;br /&gt;
&lt;br /&gt;
== Installing on ODROID-X and Pandaboard ==&lt;br /&gt;
&lt;br /&gt;
There are 2 Ubuntu images downloadable from hardkernel.com&lt;br /&gt;
odroidx_20120906-linaro-precise-ubuntu-desktop_with_HDMI.img.gz&lt;br /&gt;
odroidx_20120906-linaro-precise-ubuntu-desktop_with_LCD.img.gz&lt;br /&gt;
&lt;br /&gt;
The image needs to be decompressed e.g:-&lt;br /&gt;
&amp;quot;gzip -d odroidx_20120906-linaro-precise-ubuntu-desktop_with_HDMI.img.gz&amp;quot; then burned on to a SD card (full size or microSD with a full size adaptor).&lt;br /&gt;
&amp;quot;dmesg&amp;quot; will tell you what it&#039;s called when you attach the reader with the SD card inserted to a USB port,e.g /dev/sdb, /dev/sdc, etc.&lt;br /&gt;
&lt;br /&gt;
&amp;quot;dd if=odroidx_20120906-linaro-precise-ubuntu-desktop_with_HDMI.img of=/dev/sdc bs=1M&amp;quot;&lt;br /&gt;
When it completes, insert the SD card into the ODROID-X and boot up - the ODROID-X has a power on and a reset switch on board.&lt;br /&gt;
&lt;br /&gt;
There is a way to prepare the SD card using Windows but I don&#039;t do Windows, consult http://beagleboard.org/demo/angstrom/&lt;br /&gt;
&lt;br /&gt;
I use the HDMI.img as I have a spare HDMI port on one of my monitors - it requires a micro HDMI cable, standard HDMI on the monitor end and micro HDMI on the ODROID-X board.&lt;br /&gt;
&lt;br /&gt;
When you have the ODROID-X all up and running and installed the pre-req packages for ghpsdr3-alex - there are a lot of them as is the case with any Ubuntu or other distribution, the build instructions are as follows:-&lt;br /&gt;
&lt;br /&gt;
$ git clone git://github.com/alexlee188/ghpsdr3-alex.git&lt;br /&gt;
&lt;br /&gt;
$ cd ghpsdr3-alex&lt;br /&gt;
&lt;br /&gt;
Then I run a script to remove -msse and friends, the script I call &amp;quot;rm_words&amp;quot; made executable and put in /usr/local/bin&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
find ./ -type f | xargs sed -i &#039;s/-msse3//g&#039;&lt;br /&gt;
&lt;br /&gt;
find ./ -type f | xargs sed -i &#039;s/-msse//g&#039;&lt;br /&gt;
&lt;br /&gt;
find ./ -type f | xargs sed -i &#039;s/-ffast-math//g&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
autoreconf -i&lt;br /&gt;
&lt;br /&gt;
source set_Qt-5.0.0_path.src&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
set_Qt-5.0.0_path.src contains &amp;quot;export PATH=/opt/qt5/bin:$PATH&amp;quot; and I&#039;m using the qt5-daily from edgers.&lt;br /&gt;
&lt;br /&gt;
http://ppa.launchpad.net/canonical-qt5-edgers/qt5-daily/ubuntu precise main&lt;br /&gt;
&lt;br /&gt;
The configure script I call &amp;quot;alex-config&amp;quot; made executable and put in /usr/local/bin&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
./configure CFLAGS=&#039;-O3 -pipe -mfpu=neon -fno-tree-vectorize -fopenmp&#039; CXXFLAGS=&#039;-O3 -pipe -mfpu=neon -fno-tree-vectorize -fopenmp&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
$ make -j 4 all&lt;br /&gt;
&lt;br /&gt;
$ sudo make -j 4 all install&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The ODROID-X is treated the same as the Pandaboard and the Raspberry Pi when building ghpsdr3-alex, except the Pandaboard uses  the normal Ubuntu ARM distribution while the ODROID-X uses the linaro Ubuntu ARM distribution built especially for it. The Raspberry Pi uses the debian raspbian distribution.&lt;br /&gt;
 &lt;br /&gt;
The distributions are all Ubuntu ARM and packages are updated, upgraded and installed in exactly the same manner as Ubuntu for x86/x86_64 so there is no learning curve involved if you already know Ubuntu. &lt;br /&gt;
&lt;br /&gt;
I use 32GB SD cards but recommend at least 16GB to give ample space to install and build other software.&lt;br /&gt;
SD cards can either be full size or microSD with full size adaptor.&lt;/div&gt;</summary>
		<author><name>G3vbv</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=559</id>
		<title>QtRadio Installation</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=559"/>
		<updated>2012-09-09T13:31:51Z</updated>

		<summary type="html">&lt;p&gt;G3vbv: /* 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;
See: &lt;br /&gt;
&lt;br /&gt;
http://napan.ca/ghpsdr3/index.php/Developers_Documentation&lt;br /&gt;
&lt;br /&gt;
You will need qt5 to be installed as per the above.&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&lt;br /&gt;
cd codec2&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 branch. &lt;br /&gt;
This branch contains only RX capability and his client/server protocol is not compatible with that of rxtx-event branch. &lt;br /&gt;
&lt;br /&gt;
First off, download, compile and install the library libperseus-sdr:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install wget&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;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Next, install the other prerequisite library:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install libboost-all-dev&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 perseus server feature:&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 --enable-perseus=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;
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;
xterm -e &#039;dspserver --lo 0&#039; &amp;amp;&lt;br /&gt;
$(export QT_RADIO_NO_LOCAL_AUDIO=1 ; ./QtRadio ) &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;
NOTE:-******Remove all traces of -msse,-msse3 and -ffast-math from Makefile.am and Makefile.in where appropriate in the subdirectories as those are not for ARM architecture. Here is my script - make it executable and put it in your path, e.g /usr/local/bin/.&lt;br /&gt;
Formatting problem, #!/bin/sh is the first line of the script which is run in the ghpsdr3-alex directory.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
&lt;br /&gt;
find ./ -type f | xargs sed -i &#039;s/-msse3//g&#039;&lt;br /&gt;
&lt;br /&gt;
find ./ -type f | xargs sed -i &#039;s/-msse//g&#039;&lt;br /&gt;
&lt;br /&gt;
find ./ -type f | xargs sed -i &#039;s/-ffast-math//g&#039;&lt;br /&gt;
&lt;br /&gt;
&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>G3vbv</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=558</id>
		<title>QtRadio Installation</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=558"/>
		<updated>2012-09-09T12:22:37Z</updated>

		<summary type="html">&lt;p&gt;G3vbv: /* 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;
See: &lt;br /&gt;
&lt;br /&gt;
http://napan.ca/ghpsdr3/index.php/Developers_Documentation&lt;br /&gt;
&lt;br /&gt;
You will need qt5 to be installed as per the above.&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&lt;br /&gt;
cd codec2&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 branch. &lt;br /&gt;
This branch contains only RX capability and his client/server protocol is not compatible with that of rxtx-event branch. &lt;br /&gt;
&lt;br /&gt;
First off, download, compile and install the library libperseus-sdr:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install wget&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;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Next, install the other prerequisite library:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install libboost-all-dev&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 perseus server feature:&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 --enable-perseus=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;
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;
xterm -e &#039;dspserver --lo 0&#039; &amp;amp;&lt;br /&gt;
$(export QT_RADIO_NO_LOCAL_AUDIO=1 ; ./QtRadio ) &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;
NOTE:-******Remove all traces of -msse,-msse3 and -ffast-math from Makefile.am and Makefile.in where appropriate in the subdirectories as those are not for ARM architecture. Here is my script - make it executable and put it in your path, e.g /usr/local/bin/.&lt;br /&gt;
Formatting problem, #!/bin/sh is the first line of the script which is run in the ghpsdr3-alex directory.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
&lt;br /&gt;
find ./ -type f | xargs sed -i &#039;s/-msse3//g&#039;&lt;br /&gt;
&lt;br /&gt;
find ./ -type f | xargs sed -i &#039;s/-msse//g&#039;&lt;br /&gt;
&lt;br /&gt;
find ./ -type f | xargs sed -i &#039;s/-ffast-math//g&#039;&lt;br /&gt;
&lt;br /&gt;
&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;
Running hiqsdr-server at 48K/96K and dspserver (built with qt4) as qt5 is not yet available. There are instructions for building qt5 but following them bullet by bullet it failed not far along. The instructions are for building on i386 - I have put out a request for .deb packages or at least built tarballs to the Raspberry Pi forum.&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>G3vbv</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=557</id>
		<title>QtRadio Installation</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=557"/>
		<updated>2012-09-09T12:19:59Z</updated>

		<summary type="html">&lt;p&gt;G3vbv: /* 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;
See: &lt;br /&gt;
&lt;br /&gt;
http://napan.ca/ghpsdr3/index.php/Developers_Documentation&lt;br /&gt;
&lt;br /&gt;
You will need qt5 to be installed as per the above.&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&lt;br /&gt;
cd codec2&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 branch. &lt;br /&gt;
This branch contains only RX capability and his client/server protocol is not compatible with that of rxtx-event branch. &lt;br /&gt;
&lt;br /&gt;
First off, download, compile and install the library libperseus-sdr:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install wget&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;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Next, install the other prerequisite library:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install libboost-all-dev&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 perseus server feature:&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 --enable-perseus=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;
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;
xterm -e &#039;dspserver --lo 0&#039; &amp;amp;&lt;br /&gt;
$(export QT_RADIO_NO_LOCAL_AUDIO=1 ; ./QtRadio ) &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;
NOTE:-******Remove all traces of -msse,-msse3 and -ffast-math from Makefile.am and Makefile.in where appropriate in the subdirectories as those are not for ARM architecture. Here is my script - make it executable and put it in your path, e.g /usr/local/bin/.&lt;br /&gt;
Formatting problem, #!/bin/sh is the first line of the script which is run in the ghpsdr3-alex directory.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
&lt;br /&gt;
find ./ -type f | xargs sed -i &#039;s/-msse3//g&#039;&lt;br /&gt;
&lt;br /&gt;
find ./ -type f | xargs sed -i &#039;s/-msse//g&#039;&lt;br /&gt;
&lt;br /&gt;
find ./ -type f | xargs sed -i &#039;s/-ffast-math//g&#039;&lt;br /&gt;
&lt;br /&gt;
&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;
Running hiqsdr-server at 48K/96K and dspserver (built with qt4) as qt5 is not yet available. There are instructions for building qt5 but following them bullet by bullet it failed not far along. The instructions are for building on i386 - I have put out a request for .deb packages or at least built tarballs to the Raspberry Pi forum.&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>G3vbv</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=556</id>
		<title>QtRadio Installation</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=556"/>
		<updated>2012-09-09T12:18:57Z</updated>

		<summary type="html">&lt;p&gt;G3vbv: /* 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;
See: &lt;br /&gt;
&lt;br /&gt;
http://napan.ca/ghpsdr3/index.php/Developers_Documentation&lt;br /&gt;
&lt;br /&gt;
You will need qt5 to be installed as per the above.&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&lt;br /&gt;
cd codec2&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 branch. &lt;br /&gt;
This branch contains only RX capability and his client/server protocol is not compatible with that of rxtx-event branch. &lt;br /&gt;
&lt;br /&gt;
First off, download, compile and install the library libperseus-sdr:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install wget&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;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Next, install the other prerequisite library:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install libboost-all-dev&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 perseus server feature:&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 --enable-perseus=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;
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;
xterm -e &#039;dspserver --lo 0&#039; &amp;amp;&lt;br /&gt;
$(export QT_RADIO_NO_LOCAL_AUDIO=1 ; ./QtRadio ) &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 high these samplerates - I am running hiqsdr-server at 960K samplerate on a 8-core x84_64 box.&lt;br /&gt;
&lt;br /&gt;
NOTE:-******Remove all traces of -msse,-msse3 and -ffast-math from Makefile.am and Makefile.in where appropriate in the subdirectories as those are not for ARM architecture. Here is my script - make it executable and put it in your path, e.g /usr/local/bin/.&lt;br /&gt;
Formatting problem, #!/bin/sh is the first line of the script which is run in the ghpsdr3-alex directory.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
&lt;br /&gt;
find ./ -type f | xargs sed -i &#039;s/-msse3//g&#039;&lt;br /&gt;
&lt;br /&gt;
find ./ -type f | xargs sed -i &#039;s/-msse//g&#039;&lt;br /&gt;
&lt;br /&gt;
find ./ -type f | xargs sed -i &#039;s/-ffast-math//g&#039;&lt;br /&gt;
&lt;br /&gt;
&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;
Running hiqsdr-server at 48K/96K and dspserver (built with qt4) as qt5 is not yet available. There are instructions for building qt5 but following them bullet by bullet it failed not far along. The instructions are for building on i386 - I have put out a request for .deb packages or at least built tarballs to the Raspberry Pi forum.&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>G3vbv</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=555</id>
		<title>QtRadio Installation</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=555"/>
		<updated>2012-09-09T12:11:20Z</updated>

		<summary type="html">&lt;p&gt;G3vbv: /* 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;
See: &lt;br /&gt;
&lt;br /&gt;
http://napan.ca/ghpsdr3/index.php/Developers_Documentation&lt;br /&gt;
&lt;br /&gt;
You will need qt5 to be installed as per the above.&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&lt;br /&gt;
cd codec2&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 branch. &lt;br /&gt;
This branch contains only RX capability and his client/server protocol is not compatible with that of rxtx-event branch. &lt;br /&gt;
&lt;br /&gt;
First off, download, compile and install the library libperseus-sdr:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install wget&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;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Next, install the other prerequisite library:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install libboost-all-dev&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 perseus server feature:&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 --enable-perseus=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;
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;
xterm -e &#039;dspserver --lo 0&#039; &amp;amp;&lt;br /&gt;
$(export QT_RADIO_NO_LOCAL_AUDIO=1 ; ./QtRadio ) &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;
I did a fresh clone and changed to the iw0hdv branch from the default master branch.&lt;br /&gt;
&lt;br /&gt;
    git checkout iw0hdv &lt;br /&gt;
&lt;br /&gt;
NOTE:-******Remove all traces of -msse,-msse3 and -ffast-math from Makefile.am and Makefile.in where appropriate in the subdirectories as those are not for ARM architecture. Here is my script - make it executable and put it in your path, e.g /usr/local/bin/.&lt;br /&gt;
Formatting problem, #!/bin/sh is the first line of the script which is run in the ghpsdr3-alex directory.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
&lt;br /&gt;
find ./ -type f | xargs sed -i &#039;s/-msse3//g&#039;&lt;br /&gt;
&lt;br /&gt;
find ./ -type f | xargs sed -i &#039;s/-msse//g&#039;&lt;br /&gt;
&lt;br /&gt;
find ./ -type f | xargs sed -i &#039;s/-ffast-math//g&#039;&lt;br /&gt;
&lt;br /&gt;
&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;
Running hiqsdr-server at 48K/96K and dspserver (built with qt4) as qt5 is not yet available. There are instructions for building qt5 but following them bullet by bullet it failed not far along. The instructions are for building on i386 - I have put out a request for .deb packages or at least built tarballs to the Raspberry Pi forum.&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>G3vbv</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=554</id>
		<title>QtRadio Installation</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=554"/>
		<updated>2012-09-09T12:09:20Z</updated>

		<summary type="html">&lt;p&gt;G3vbv: /* 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;
See: &lt;br /&gt;
&lt;br /&gt;
http://napan.ca/ghpsdr3/index.php/Developers_Documentation&lt;br /&gt;
&lt;br /&gt;
You will need qt5 to be installed as per the above.&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&lt;br /&gt;
cd codec2&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 branch. &lt;br /&gt;
This branch contains only RX capability and his client/server protocol is not compatible with that of rxtx-event branch. &lt;br /&gt;
&lt;br /&gt;
First off, download, compile and install the library libperseus-sdr:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install wget&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;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Next, install the other prerequisite library:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install libboost-all-dev&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 perseus server feature:&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 --enable-perseus=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;
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;
xterm -e &#039;dspserver --lo 0&#039; &amp;amp;&lt;br /&gt;
$(export QT_RADIO_NO_LOCAL_AUDIO=1 ; ./QtRadio ) &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;
I did a fresh clone and changed to the iw0hdv branch from the default master branch.&lt;br /&gt;
&lt;br /&gt;
    git checkout iw0hdv &lt;br /&gt;
&lt;br /&gt;
NOTE:-******Remove all traces of -msse,-msse3 and -ffast-math from Makefile.am and Makefile.in where appropriate in the subdirectories as those are not for ARM architecture. Here is my script - make it executable and put it in your path, e.g /usr/local/bin/.&lt;br /&gt;
Formatting problem, #!/bin/sh is the first line of the script.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
&lt;br /&gt;
find ./ -type f | xargs sed -i &#039;s/-msse3//g&#039;&lt;br /&gt;
&lt;br /&gt;
find ./ -type f | xargs sed -i &#039;s/-msse//g&#039;&lt;br /&gt;
&lt;br /&gt;
find ./ -type f | xargs sed -i &#039;s/-ffast-math//g&#039;&lt;br /&gt;
&lt;br /&gt;
&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;
Running hiqsdr-server at 48K/96K and dspserver (built with qt4) as qt5 is not yet available. There are instructions for building qt5 but following them bullet by bullet it failed not far along. The instructions are for building on i386 - I have put out a request for .deb packages or at least built tarballs to the Raspberry Pi forum.&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>G3vbv</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=553</id>
		<title>QtRadio Installation</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=553"/>
		<updated>2012-09-09T12:06:02Z</updated>

		<summary type="html">&lt;p&gt;G3vbv: /* 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;
See: &lt;br /&gt;
&lt;br /&gt;
http://napan.ca/ghpsdr3/index.php/Developers_Documentation&lt;br /&gt;
&lt;br /&gt;
You will need qt5 to be installed as per the above.&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&lt;br /&gt;
cd codec2&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 branch. &lt;br /&gt;
This branch contains only RX capability and his client/server protocol is not compatible with that of rxtx-event branch. &lt;br /&gt;
&lt;br /&gt;
First off, download, compile and install the library libperseus-sdr:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install wget&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;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Next, install the other prerequisite library:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install libboost-all-dev&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 perseus server feature:&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 --enable-perseus=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;
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;
xterm -e &#039;dspserver --lo 0&#039; &amp;amp;&lt;br /&gt;
$(export QT_RADIO_NO_LOCAL_AUDIO=1 ; ./QtRadio ) &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;
I did a fresh clone and changed to the iw0hdv branch from the default master branch.&lt;br /&gt;
&lt;br /&gt;
    git checkout iw0hdv &lt;br /&gt;
&lt;br /&gt;
NOTE:-******Remove all traces of -msse,-msse3 and -ffast-math from Makefile.am and Makefile.in where appropriate in the subdirectories as those are not for ARM architecture. Here is my script - make it executable and put it in your path, e.g /usr/local/bin/.&lt;br /&gt;
Formatting problem, #!/bin/sh is the first line of the script.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
&lt;br /&gt;
find ./ -type f | xargs sed -i &#039;s/-msse3//g&#039;&lt;br /&gt;
&lt;br /&gt;
find ./ -type f | xargs sed -i &#039;s/i-msse//g&#039;&lt;br /&gt;
&lt;br /&gt;
find ./ -type f | xargs sed -i &#039;s/-ffast-math//g&#039;&lt;br /&gt;
&lt;br /&gt;
&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;
Running hiqsdr-server at 48K/96K and dspserver (built with qt4) as qt5 is not yet available. There are instructions for building qt5 but following them bullet by bullet it failed not far along. The instructions are for building on i386 - I have put out a request for .deb packages or at least built tarballs to the Raspberry Pi forum.&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>G3vbv</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=552</id>
		<title>QtRadio Installation</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=552"/>
		<updated>2012-09-09T02:30:46Z</updated>

		<summary type="html">&lt;p&gt;G3vbv: /* 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;
See: &lt;br /&gt;
&lt;br /&gt;
http://napan.ca/ghpsdr3/index.php/Developers_Documentation&lt;br /&gt;
&lt;br /&gt;
You will need qt5 to be installed as per the above.&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&lt;br /&gt;
cd codec2&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 branch. &lt;br /&gt;
This branch contains only RX capability and his client/server protocol is not compatible with that of rxtx-event branch. &lt;br /&gt;
&lt;br /&gt;
First off, download, compile and install the library libperseus-sdr:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install wget&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;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Next, install the other prerequisite library:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install libboost-all-dev&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 perseus server feature:&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 --enable-perseus=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;
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;
xterm -e &#039;dspserver --lo 0&#039; &amp;amp;&lt;br /&gt;
$(export QT_RADIO_NO_LOCAL_AUDIO=1 ; ./QtRadio ) &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.&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# uptime&lt;br /&gt;
&lt;br /&gt;
 03:28:59 up 2 days, 11:14,  8 users,  load average: 2.16, 2.04, 1.86&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;
I did a fresh clone and changed to the iw0hdv branch from the default master branch.&lt;br /&gt;
&lt;br /&gt;
    git checkout iw0hdv &lt;br /&gt;
&lt;br /&gt;
NOTE:-******Remove all traces of -msse,-msse3 and -ffast-math from Makefile.am and Makefile.in where appropriate in the subdirectories as those are not for ARM architecture. Here is my script - make it executable and put it in your path, e.g /usr/local/bin/.&lt;br /&gt;
Formatting problem, #!/bin/sh is the first line of the script.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
&lt;br /&gt;
find ./ -type f | xargs sed -i &#039;s/-msse3//g&#039;&lt;br /&gt;
&lt;br /&gt;
find ./ -type f | xargs sed -i &#039;s/i-msse//g&#039;&lt;br /&gt;
&lt;br /&gt;
find ./ -type f | xargs sed -i &#039;s/-ffast-math//g&#039;&lt;br /&gt;
&lt;br /&gt;
&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;
Running hiqsdr-server at 48K/96K and dspserver (built with qt4) as qt5 is not yet available. There are instructions for building qt5 but following them bullet by bullet it failed not far along. The instructions are for building on i386 - I have put out a request for .deb packages or at least built tarballs to the Raspberry Pi forum.&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>G3vbv</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=551</id>
		<title>QtRadio Installation</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=551"/>
		<updated>2012-09-09T01:29:03Z</updated>

		<summary type="html">&lt;p&gt;G3vbv: /* 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;
See: &lt;br /&gt;
&lt;br /&gt;
http://napan.ca/ghpsdr3/index.php/Developers_Documentation&lt;br /&gt;
&lt;br /&gt;
You will need qt5 to be installed as per the above.&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&lt;br /&gt;
cd codec2&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 branch. &lt;br /&gt;
This branch contains only RX capability and his client/server protocol is not compatible with that of rxtx-event branch. &lt;br /&gt;
&lt;br /&gt;
First off, download, compile and install the library libperseus-sdr:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install wget&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;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Next, install the other prerequisite library:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install libboost-all-dev&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 perseus server feature:&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 --enable-perseus=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;
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;
xterm -e &#039;dspserver --lo 0&#039; &amp;amp;&lt;br /&gt;
$(export QT_RADIO_NO_LOCAL_AUDIO=1 ; ./QtRadio ) &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;
Those 2 actions appears to have solved the lockup problems when additional USB devices are plugged into the powered USB hub.&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;
I did a fresh clone and changed to the iw0hdv branch from the default master branch.&lt;br /&gt;
&lt;br /&gt;
    git checkout iw0hdv &lt;br /&gt;
&lt;br /&gt;
NOTE:-******Remove all traces of -msse,-msse3 and -ffast-math from Makefile.am and Makefile.in where appropriate in the subdirectories as those are not for ARM architecture. Here is my script - make it executable and put it in your path, e.g /usr/local/bin/.&lt;br /&gt;
Formatting problem, #!/bin/sh is the first line of the script.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
&lt;br /&gt;
find ./ -type f | xargs sed -i &#039;s/-msse3//g&#039;&lt;br /&gt;
&lt;br /&gt;
find ./ -type f | xargs sed -i &#039;s/i-msse//g&#039;&lt;br /&gt;
&lt;br /&gt;
find ./ -type f | xargs sed -i &#039;s/-ffast-math//g&#039;&lt;br /&gt;
&lt;br /&gt;
&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;
Running hiqsdr-server at 48K/96K and dspserver (built with qt4) as qt5 is not yet available. There are instructions for building qt5 but following them bullet by bullet it failed not far along. The instructions are for building on i386 - I have put out a request for .deb packages or at least built tarballs to the Raspberry Pi forum.&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>G3vbv</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=550</id>
		<title>QtRadio Installation</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=550"/>
		<updated>2012-09-09T01:18:54Z</updated>

		<summary type="html">&lt;p&gt;G3vbv: /* 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;
See: &lt;br /&gt;
&lt;br /&gt;
http://napan.ca/ghpsdr3/index.php/Developers_Documentation&lt;br /&gt;
&lt;br /&gt;
You will need qt5 to be installed as per the above.&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&lt;br /&gt;
cd codec2&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 branch. &lt;br /&gt;
This branch contains only RX capability and his client/server protocol is not compatible with that of rxtx-event branch. &lt;br /&gt;
&lt;br /&gt;
First off, download, compile and install the library libperseus-sdr:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install wget&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;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Next, install the other prerequisite library:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install libboost-all-dev&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 perseus server feature:&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 --enable-perseus=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;
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;
xterm -e &#039;dspserver --lo 0&#039; &amp;amp;&lt;br /&gt;
$(export QT_RADIO_NO_LOCAL_AUDIO=1 ; ./QtRadio ) &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;
Those 2 actions appears to have solved the lockup problems when additional USB devices are plugged into the powered USB hub.&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;
I did a fresh clone and changed to the iw0hdv branch from the default master branch.&lt;br /&gt;
&lt;br /&gt;
    git checkout iw0hdv &lt;br /&gt;
&lt;br /&gt;
NOTE:-******Remove all traces of -msse,-msse2 -msse3 and -ffast-math from Makefile.am and Makefile.in where appropriate in the subdirectories as those are not for ARM architecture. Here is my script - make it executable and put it in your path, e.g /usr/local/bin/.&lt;br /&gt;
Formatting problem, #!/bin/sh is the first line of the script.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
&lt;br /&gt;
find ./ -type f | xargs sed -i &#039;s/msse3//g&#039;&lt;br /&gt;
&lt;br /&gt;
find ./ -type f | xargs sed -i &#039;s/msse//g&#039;&lt;br /&gt;
&lt;br /&gt;
find ./ -type f | xargs sed -i &#039;s/-ffast-math//g&#039;&lt;br /&gt;
&lt;br /&gt;
&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;
Running hiqsdr-server at 48K/96K and dspserver (built with qt4) as qt5 is not yet available. There are instructions for building qt5 but following them bullet by bullet it failed not far along. The instructions are for building on i386 - I have put out a request for .deb packages or at least built tarballs to the Raspberry Pi forum.&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>G3vbv</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=549</id>
		<title>QtRadio Installation</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=549"/>
		<updated>2012-09-09T01:17:09Z</updated>

		<summary type="html">&lt;p&gt;G3vbv: /* 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;
See: &lt;br /&gt;
&lt;br /&gt;
http://napan.ca/ghpsdr3/index.php/Developers_Documentation&lt;br /&gt;
&lt;br /&gt;
You will need qt5 to be installed as per the above.&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&lt;br /&gt;
cd codec2&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 branch. &lt;br /&gt;
This branch contains only RX capability and his client/server protocol is not compatible with that of rxtx-event branch. &lt;br /&gt;
&lt;br /&gt;
First off, download, compile and install the library libperseus-sdr:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install wget&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;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Next, install the other prerequisite library:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install libboost-all-dev&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 perseus server feature:&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 --enable-perseus=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;
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;
xterm -e &#039;dspserver --lo 0&#039; &amp;amp;&lt;br /&gt;
$(export QT_RADIO_NO_LOCAL_AUDIO=1 ; ./QtRadio ) &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;
Those 2 actions appears to have solved the lockup problems when additional USB devices are plugged into the powered USB hub.&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;
I did a fresh clone and changed to the iw0hdv branch from the default master branch.&lt;br /&gt;
&lt;br /&gt;
    git checkout iw0hdv &lt;br /&gt;
&lt;br /&gt;
NOTE:-******Remove all traces of -msse,-msse2 -msse3 and -ffast-math from Makefile.am and Makefile.in where appropriate in the subdirectories as those are not for ARM architecture. Here is my script - make it executable and put it in your path, e.g /usr/local/bin/.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
&lt;br /&gt;
find ./ -type f | xargs sed -i &#039;s/msse3//g&#039;&lt;br /&gt;
&lt;br /&gt;
find ./ -type f | xargs sed -i &#039;s/msse//g&#039;&lt;br /&gt;
&lt;br /&gt;
find ./ -type f | xargs sed -i &#039;s/-ffast-math//g&#039;&lt;br /&gt;
&lt;br /&gt;
&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;
Running hiqsdr-server at 48K/96K and dspserver (built with qt4) as qt5 is not yet available. There are instructions for building qt5 but following them bullet by bullet it failed not far along. The instructions are for building on i386 - I have put out a request for .deb packages or at least built tarballs to the Raspberry Pi forum.&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>G3vbv</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=548</id>
		<title>QtRadio Installation</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=548"/>
		<updated>2012-09-09T01:16:34Z</updated>

		<summary type="html">&lt;p&gt;G3vbv: /* 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;
See: &lt;br /&gt;
&lt;br /&gt;
http://napan.ca/ghpsdr3/index.php/Developers_Documentation&lt;br /&gt;
&lt;br /&gt;
You will need qt5 to be installed as per the above.&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&lt;br /&gt;
cd codec2&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 branch. &lt;br /&gt;
This branch contains only RX capability and his client/server protocol is not compatible with that of rxtx-event branch. &lt;br /&gt;
&lt;br /&gt;
First off, download, compile and install the library libperseus-sdr:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install wget&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;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Next, install the other prerequisite library:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install libboost-all-dev&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 perseus server feature:&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 --enable-perseus=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;
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;
xterm -e &#039;dspserver --lo 0&#039; &amp;amp;&lt;br /&gt;
$(export QT_RADIO_NO_LOCAL_AUDIO=1 ; ./QtRadio ) &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;
Those 2 actions appears to have solved the lockup problems when additional USB devices are plugged into the powered USB hub.&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;
I did a fresh clone and changed to the iw0hdv branch from the default master branch.&lt;br /&gt;
&lt;br /&gt;
    git checkout iw0hdv &lt;br /&gt;
&lt;br /&gt;
NOTE:-******Remove all traces of -msse,-msse2 -msse3 and -ffast-math from Makefile.am and Makefile.in where appropriate in the subdirectories as those are not for ARM architecture. Here is my script - make it executable and put it in your path, e.g /usr/local/bin/.&lt;br /&gt;
--------------------CUT-----------------------------&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
&lt;br /&gt;
find ./ -type f | xargs sed -i &#039;s/msse3//g&#039;&lt;br /&gt;
&lt;br /&gt;
find ./ -type f | xargs sed -i &#039;s/msse//g&#039;&lt;br /&gt;
&lt;br /&gt;
find ./ -type f | xargs sed -i &#039;s/-ffast-math//g&#039;&lt;br /&gt;
&lt;br /&gt;
-------------------CUT-----------------------------&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;
Running hiqsdr-server at 48K/96K and dspserver (built with qt4) as qt5 is not yet available. There are instructions for building qt5 but following them bullet by bullet it failed not far along. The instructions are for building on i386 - I have put out a request for .deb packages or at least built tarballs to the Raspberry Pi forum.&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>G3vbv</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=547</id>
		<title>QtRadio Installation</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=547"/>
		<updated>2012-09-09T01:16:01Z</updated>

		<summary type="html">&lt;p&gt;G3vbv: /* 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;
See: &lt;br /&gt;
&lt;br /&gt;
http://napan.ca/ghpsdr3/index.php/Developers_Documentation&lt;br /&gt;
&lt;br /&gt;
You will need qt5 to be installed as per the above.&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&lt;br /&gt;
cd codec2&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 branch. &lt;br /&gt;
This branch contains only RX capability and his client/server protocol is not compatible with that of rxtx-event branch. &lt;br /&gt;
&lt;br /&gt;
First off, download, compile and install the library libperseus-sdr:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install wget&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;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Next, install the other prerequisite library:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install libboost-all-dev&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 perseus server feature:&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 --enable-perseus=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;
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;
xterm -e &#039;dspserver --lo 0&#039; &amp;amp;&lt;br /&gt;
$(export QT_RADIO_NO_LOCAL_AUDIO=1 ; ./QtRadio ) &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;
Those 2 actions appears to have solved the lockup problems when additional USB devices are plugged into the powered USB hub.&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;
I did a fresh clone and changed to the iw0hdv branch from the default master branch.&lt;br /&gt;
&lt;br /&gt;
    git checkout iw0hdv &lt;br /&gt;
&lt;br /&gt;
NOTE:-******Remove all traces of -msse,-msse2 -msse3 and -ffast-math from Makefile.am and Makefile.in where appropriate in the subdirectories as those are not for ARM architecture. Here is my script - make it executable and put it in your path, e.g /usr/local/bin/.&lt;br /&gt;
--------------------CUT-----------------------------&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
&lt;br /&gt;
find ./ -type f | xargs sed -i &#039;s/msse3//g&#039;&lt;br /&gt;
&lt;br /&gt;
find ./ -type f | xargs sed -i &#039;s/msse//g&#039;&lt;br /&gt;
&lt;br /&gt;
find ./ -type f | xargs sed -i &#039;s/-ffast-math//g&#039;&lt;br /&gt;
-------------------CUT-----------------------------&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;
Running hiqsdr-server at 48K/96K and dspserver (built with qt4) as qt5 is not yet available. There are instructions for building qt5 but following them bullet by bullet it failed not far along. The instructions are for building on i386 - I have put out a request for .deb packages or at least built tarballs to the Raspberry Pi forum.&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>G3vbv</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=546</id>
		<title>QtRadio Installation</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=546"/>
		<updated>2012-09-09T01:15:37Z</updated>

		<summary type="html">&lt;p&gt;G3vbv: /* 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;
See: &lt;br /&gt;
&lt;br /&gt;
http://napan.ca/ghpsdr3/index.php/Developers_Documentation&lt;br /&gt;
&lt;br /&gt;
You will need qt5 to be installed as per the above.&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&lt;br /&gt;
cd codec2&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 branch. &lt;br /&gt;
This branch contains only RX capability and his client/server protocol is not compatible with that of rxtx-event branch. &lt;br /&gt;
&lt;br /&gt;
First off, download, compile and install the library libperseus-sdr:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install wget&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;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Next, install the other prerequisite library:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install libboost-all-dev&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 perseus server feature:&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 --enable-perseus=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;
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;
xterm -e &#039;dspserver --lo 0&#039; &amp;amp;&lt;br /&gt;
$(export QT_RADIO_NO_LOCAL_AUDIO=1 ; ./QtRadio ) &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;
Those 2 actions appears to have solved the lockup problems when additional USB devices are plugged into the powered USB hub.&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;
I did a fresh clone and changed to the iw0hdv branch from the default master branch.&lt;br /&gt;
&lt;br /&gt;
    git checkout iw0hdv &lt;br /&gt;
&lt;br /&gt;
NOTE:-******Remove all traces of -msse,-msse2 -msse3 and -ffast-math from Makefile.am and Makefile.in where appropriate in the subdirectories as those are not for ARM architecture. Here is my script - make it executable and put it in your path, e.g /usr/local/bin/.&lt;br /&gt;
--------------------CUT-----------------------------&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
&lt;br /&gt;
find ./ -type f | xargs sed -i &#039;s/msse3//g&#039;&lt;br /&gt;
find ./ -type f | xargs sed -i &#039;s/msse//g&#039;&lt;br /&gt;
find ./ -type f | xargs sed -i &#039;s/-ffast-math//g&#039;&lt;br /&gt;
-------------------CUT-----------------------------&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;
Running hiqsdr-server at 48K/96K and dspserver (built with qt4) as qt5 is not yet available. There are instructions for building qt5 but following them bullet by bullet it failed not far along. The instructions are for building on i386 - I have put out a request for .deb packages or at least built tarballs to the Raspberry Pi forum.&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>G3vbv</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=545</id>
		<title>QtRadio Installation</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=545"/>
		<updated>2012-09-09T01:14:55Z</updated>

		<summary type="html">&lt;p&gt;G3vbv: /* 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;
See: &lt;br /&gt;
&lt;br /&gt;
http://napan.ca/ghpsdr3/index.php/Developers_Documentation&lt;br /&gt;
&lt;br /&gt;
You will need qt5 to be installed as per the above.&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&lt;br /&gt;
cd codec2&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 branch. &lt;br /&gt;
This branch contains only RX capability and his client/server protocol is not compatible with that of rxtx-event branch. &lt;br /&gt;
&lt;br /&gt;
First off, download, compile and install the library libperseus-sdr:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install wget&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;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Next, install the other prerequisite library:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install libboost-all-dev&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 perseus server feature:&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 --enable-perseus=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;
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;
xterm -e &#039;dspserver --lo 0&#039; &amp;amp;&lt;br /&gt;
$(export QT_RADIO_NO_LOCAL_AUDIO=1 ; ./QtRadio ) &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;
Those 2 actions appears to have solved the lockup problems when additional USB devices are plugged into the powered USB hub.&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;
I did a fresh clone and changed to the iw0hdv branch from the default master branch.&lt;br /&gt;
&lt;br /&gt;
    git checkout iw0hdv &lt;br /&gt;
&lt;br /&gt;
NOTE:-******Remove all traces of -msse,-msse2 -msse3 and -ffast-math from Makefile.am and Makefile.in where appropriate in the subdirectories as those are not for ARM architecture. Here is my script - make it executable and put it in your path, e.g /usr/local/bin/.&lt;br /&gt;
--------------------CUT-----------------------------&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
&lt;br /&gt;
find ./ -type f | xargs sed -i &#039;s/msse3//g&#039;&lt;br /&gt;
&lt;br /&gt;
find ./ -type f | xargs sed -i &#039;s/msse//g&#039;&lt;br /&gt;
&lt;br /&gt;
find ./ -type f | xargs sed -i &#039;s/-ffast-math//g&#039;&lt;br /&gt;
-------------------CUT-----------------------------&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;
Running hiqsdr-server at 48K/96K and dspserver (built with qt4) as qt5 is not yet available. There are instructions for building qt5 but following them bullet by bullet it failed not far along. The instructions are for building on i386 - I have put out a request for .deb packages or at least built tarballs to the Raspberry Pi forum.&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>G3vbv</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=542</id>
		<title>QtRadio Installation</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=542"/>
		<updated>2012-09-04T00:57:55Z</updated>

		<summary type="html">&lt;p&gt;G3vbv: /* 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;
See: &lt;br /&gt;
&lt;br /&gt;
http://napan.ca/ghpsdr3/index.php/Developers_Documentation&lt;br /&gt;
&lt;br /&gt;
You will need qt5 to be installed as per the above.&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&lt;br /&gt;
cd codec2&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 branch. &lt;br /&gt;
This branch contains only RX capability and his client/server protocol is not compatible with that of rxtx-event branch. &lt;br /&gt;
&lt;br /&gt;
First off, download, compile and install the library libperseus-sdr:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install wget&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;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Next, install the other prerequisite library:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install libboost-all-dev&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 perseus server feature:&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 --enable-perseus=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;
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;
xterm -e &#039;dspserver --lo 0&#039; &amp;amp;&lt;br /&gt;
$(export QT_RADIO_NO_LOCAL_AUDIO=1 ; ./QtRadio ) &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;
Those 2 actions appears to have solved the lockup problems when additional USB devices are plugged into the powered USB hub.&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;
I did a fresh clone and changed to the iw0hdv branch from the default master branch.&lt;br /&gt;
&lt;br /&gt;
    git checkout iw0hdv &lt;br /&gt;
&lt;br /&gt;
NOTE:-******Remove all traces of -msse,-msse2 -msse3 and -ffast-math from Makefile.am and Makefile.in where appropriate in the subdirectories as those are not for ARM architecture.&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;
Running hiqsdr-server at 48K/96K and dspserver (built with qt4) as qt5 is not yet available. There are instructions for building qt5 but following them bullet by bullet it failed not far along. The instructions are for building on i386 - I have put out a request for .deb packages or at least built tarballs to the Raspberry Pi forum.&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>G3vbv</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=528</id>
		<title>QtRadio Installation</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=528"/>
		<updated>2012-09-01T23:30:03Z</updated>

		<summary type="html">&lt;p&gt;G3vbv: /* 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;
See: &lt;br /&gt;
&lt;br /&gt;
http://napan.ca/ghpsdr3/index.php/Developers_Documentation&lt;br /&gt;
&lt;br /&gt;
You will need qt5 to be installed as per the above.&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&lt;br /&gt;
cd codec2&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 branch. &lt;br /&gt;
This branch contains only RX capability and his client/server protocol is not compatible with that of rxtx-event branch. &lt;br /&gt;
&lt;br /&gt;
First off, download, compile and install the library libperseus-sdr:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install wget&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;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Next, install the other prerequisite library:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install libboost-all-dev&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 perseus server feature:&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 --enable-perseus=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;
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;
xterm -e &#039;dspserver --lo 0&#039; &amp;amp;&lt;br /&gt;
$(export QT_RADIO_NO_LOCAL_AUDIO=1 ; ./QtRadio ) &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 +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;
Increasing the voltage to +5.5V solved the problem. &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;
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 1GHz:-&lt;br /&gt;
&lt;br /&gt;
Keyboard, mouse, usb sound card and Ethernet fully operational using the 7-port USB hub. 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 050d:0307 Belkin Components USB 2.0 - 7 ports Hub [FSU307]&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 005: ID 04f3:0103 Elan Microelectronics Corp.&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 006: ID 041e:3040 Creative Technology, Ltd SoundBlaster Live! 24-bit External SB0490&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 007: ID 0fe6:8101 Kontron (Industrial Computer Source / ICS Advent) DM9601 Fast Ethernet Adapter&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 008: ID 047d:1022 Kensington Orbit Optical&lt;br /&gt;
&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;
&lt;br /&gt;
&lt;br /&gt;
0 [External       ]: USB-Audio - SB Live! 24-bit External&lt;br /&gt;
                     Creative Technology SB Live! 24-bit External at usb-bcm2708_usb-1.3.3, full spec&lt;br /&gt;
&lt;br /&gt;
1 [ALSA           ]: BRCM bcm2835 ALSbcm2835 ALSA - bcm2835 ALSA&lt;br /&gt;
                     bcm2835 ALSA&lt;br /&gt;
&lt;br /&gt;
I had originally forgotten to add snd-bcm2835 to /etc/modules which is why the SB Live! 24 is card 0. Rebooting with just the on-board sound card then adding the SB Live! 24 USB changed the on-board to card 0 and the SB Live! 24 USB is now card 1. I have further tests to do, mainly with sound, but now the Rpi is looking much healthier.&lt;br /&gt;
&lt;br /&gt;
It&#039;s running at 1GHz 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=1000&lt;br /&gt;
&lt;br /&gt;
core_freq=500&lt;br /&gt;
&lt;br /&gt;
sdram_freq=500&lt;br /&gt;
&lt;br /&gt;
*** Now running with &amp;quot;arm_freq=855&amp;quot; to see if the dspserver crashes are less frequent.&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;
== 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;
I did a fresh clone and changed to the iw0hdv branch from the default master branch.&lt;br /&gt;
&lt;br /&gt;
    git checkout iw0hdv &lt;br /&gt;
&lt;br /&gt;
NOTE:-******Remove all traces of -msse,-msse2 -msse3 and -ffast-math from Makefile.am and Makefile.in where appropriate in the subdirectories as those are not for ARM architecture.&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;
Running hiqsdr-server at 48K/96K and dspserver (built with qt4) as qt5 is not yet available. There are instructions for building qt5 but following them bullet by bullet it failed not far along. The instructions are for building on i386 - I have put out a request for .deb packages or at least built tarballs to the Raspberry Pi forum.&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>G3vbv</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=527</id>
		<title>QtRadio Installation</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=527"/>
		<updated>2012-08-30T20:03:55Z</updated>

		<summary type="html">&lt;p&gt;G3vbv: /* 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;
See: &lt;br /&gt;
&lt;br /&gt;
http://napan.ca/ghpsdr3/index.php/Developers_Documentation&lt;br /&gt;
&lt;br /&gt;
You will need qt5 to be installed as per the above.&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&lt;br /&gt;
cd codec2&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 branch. &lt;br /&gt;
This branch contains only RX capability and his client/server protocol is not compatible with that of rxtx-event branch. &lt;br /&gt;
&lt;br /&gt;
First off, download, compile and install the library libperseus-sdr:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install wget&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;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Next, install the other prerequisite library:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install libboost-all-dev&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 perseus server feature:&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 --enable-perseus=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;
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;
xterm -e &#039;dspserver --lo 0&#039; &amp;amp;&lt;br /&gt;
$(export QT_RADIO_NO_LOCAL_AUDIO=1 ; ./QtRadio ) &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 +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;
Increasing the voltage to +5.5V solved the problem. &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;
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 1GHz:-&lt;br /&gt;
&lt;br /&gt;
Keyboard, mouse, usb sound card and Ethernet fully operational using the 7-port USB hub. 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 050d:0307 Belkin Components USB 2.0 - 7 ports Hub [FSU307]&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 005: ID 04f3:0103 Elan Microelectronics Corp.&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 006: ID 041e:3040 Creative Technology, Ltd SoundBlaster Live! 24-bit External SB0490&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 007: ID 0fe6:8101 Kontron (Industrial Computer Source / ICS Advent) DM9601 Fast Ethernet Adapter&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 008: ID 047d:1022 Kensington Orbit Optical&lt;br /&gt;
&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;
&lt;br /&gt;
&lt;br /&gt;
0 [External       ]: USB-Audio - SB Live! 24-bit External&lt;br /&gt;
                     Creative Technology SB Live! 24-bit External at usb-bcm2708_usb-1.3.3, full spec&lt;br /&gt;
&lt;br /&gt;
1 [ALSA           ]: BRCM bcm2835 ALSbcm2835 ALSA - bcm2835 ALSA&lt;br /&gt;
                     bcm2835 ALSA&lt;br /&gt;
&lt;br /&gt;
I had originally forgotten to add snd-bcm2835 to /etc/modules which is why the SB Live! 24 is card 0. Rebooting with just the on-board sound card then adding the SB Live! 24 USB changed the on-board to card 0 and the SB Live! 24 USB is now card 1. I have further tests to do, mainly with sound, but now the Rpi is looking much healthier.&lt;br /&gt;
&lt;br /&gt;
It&#039;s running at 1GHz 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=1000&lt;br /&gt;
&lt;br /&gt;
core_freq=500&lt;br /&gt;
&lt;br /&gt;
sdram_freq=500&lt;br /&gt;
&lt;br /&gt;
*** Now running with &amp;quot;arm_freq=855&amp;quot; to see if the dspserver crashes are less frequent.&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;
== 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;
I did a fresh clone and changed to the iw0hdv branch from the default master branch.&lt;br /&gt;
&lt;br /&gt;
    git checkout iw0hdv &lt;br /&gt;
&lt;br /&gt;
NOTE:-******Remove all traces of -msse,-msse2 -msse3 and -ffast-math from Makefile.am and Makefile.in where appropriate in the subdirectories as those are not for ARM architecture.&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;
&lt;br /&gt;
    make all &amp;amp;&amp;amp; make all install &lt;br /&gt;
&lt;br /&gt;
Running hiqsdr-server at 48K/96K and dspserver (built with qt4) as qt5 is not yet available. There are instructions for building qt5 but following them bullet by bullet it failed not far along. The instructions are for building on i386 - I have put out a request for .deb packages or at least built tarballs to the Raspberry Pi forum.&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>G3vbv</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=526</id>
		<title>QtRadio Installation</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=526"/>
		<updated>2012-08-30T19:57:41Z</updated>

		<summary type="html">&lt;p&gt;G3vbv: /* 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;
See: &lt;br /&gt;
&lt;br /&gt;
http://napan.ca/ghpsdr3/index.php/Developers_Documentation&lt;br /&gt;
&lt;br /&gt;
You will need qt5 to be installed as per the above.&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&lt;br /&gt;
cd codec2&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 branch. &lt;br /&gt;
This branch contains only RX capability and his client/server protocol is not compatible with that of rxtx-event branch. &lt;br /&gt;
&lt;br /&gt;
First off, download, compile and install the library libperseus-sdr:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install wget&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;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Next, install the other prerequisite library:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install libboost-all-dev&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 perseus server feature:&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 --enable-perseus=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;
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;
xterm -e &#039;dspserver --lo 0&#039; &amp;amp;&lt;br /&gt;
$(export QT_RADIO_NO_LOCAL_AUDIO=1 ; ./QtRadio ) &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;
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 so it&#039;s necessary to follow the QtRadio-Installation document from the beginning &lt;br /&gt;
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 +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;
Increasing the voltage to +5.5V solved the problem. &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;
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 1GHz:-&lt;br /&gt;
&lt;br /&gt;
Keyboard, mouse, usb sound card and Ethernet fully operational using the 7-port USB hub. 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 050d:0307 Belkin Components USB 2.0 - 7 ports Hub [FSU307]&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 005: ID 04f3:0103 Elan Microelectronics Corp.&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 006: ID 041e:3040 Creative Technology, Ltd SoundBlaster Live! 24-bit External SB0490&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 007: ID 0fe6:8101 Kontron (Industrial Computer Source / ICS Advent) DM9601 Fast Ethernet Adapter&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 008: ID 047d:1022 Kensington Orbit Optical&lt;br /&gt;
&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;
&lt;br /&gt;
&lt;br /&gt;
0 [External       ]: USB-Audio - SB Live! 24-bit External&lt;br /&gt;
                     Creative Technology SB Live! 24-bit External at usb-bcm2708_usb-1.3.3, full spec&lt;br /&gt;
&lt;br /&gt;
1 [ALSA           ]: BRCM bcm2835 ALSbcm2835 ALSA - bcm2835 ALSA&lt;br /&gt;
                     bcm2835 ALSA&lt;br /&gt;
&lt;br /&gt;
I had originally forgotten to add snd-bcm2835 to /etc/modules which is why the SB Live! 24 is card 0. Rebooting with just the on-board sound card then adding the SB Live! 24 USB changed the on-board to card 0 and the SB Live! 24 USB is now card 1. I have further tests to do, mainly with sound, but now the Rpi is looking much healthier.&lt;br /&gt;
&lt;br /&gt;
It&#039;s running at 1GHz 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=1000&lt;br /&gt;
&lt;br /&gt;
core_freq=500&lt;br /&gt;
&lt;br /&gt;
sdram_freq=500&lt;br /&gt;
&lt;br /&gt;
*** Now running with &amp;quot;arm_freq=855&amp;quot; to see if the dspserver crashes are less frequent.&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;
== 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;
I did a fresh clone and changed to the iw0hdv branch from the default master branch.&lt;br /&gt;
&lt;br /&gt;
    git checkout iw0hdv &lt;br /&gt;
&lt;br /&gt;
NOTE:-******Remove all traces of -msse,-msse2 -msse3 and -ffast-math from Makefile.am and Makefile.in where appropriate in the subdirectories as those are not for ARM architecture.&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;
&lt;br /&gt;
    make all &amp;amp;&amp;amp; make all install &lt;br /&gt;
&lt;br /&gt;
Running hiqsdr-server at 48K/96K and dspserver (built with qt4) as qt5 is not yet available. There are instructions for building qt5 but following them bullet by bullet it failed not far along. The instructions are for building on i386 - I have put out a request for .deb packages or at least built tarballs to the Raspberry Pi forum.&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>G3vbv</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=525</id>
		<title>QtRadio Installation</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=525"/>
		<updated>2012-08-30T19:51:50Z</updated>

		<summary type="html">&lt;p&gt;G3vbv: /* 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;
See: &lt;br /&gt;
&lt;br /&gt;
http://napan.ca/ghpsdr3/index.php/Developers_Documentation&lt;br /&gt;
&lt;br /&gt;
You will need qt5 to be installed as per the above.&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&lt;br /&gt;
cd codec2&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 branch. &lt;br /&gt;
This branch contains only RX capability and his client/server protocol is not compatible with that of rxtx-event branch. &lt;br /&gt;
&lt;br /&gt;
First off, download, compile and install the library libperseus-sdr:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install wget&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;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Next, install the other prerequisite library:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install libboost-all-dev&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 perseus server feature:&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 --enable-perseus=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;
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;
xterm -e &#039;dspserver --lo 0&#039; &amp;amp;&lt;br /&gt;
$(export QT_RADIO_NO_LOCAL_AUDIO=1 ; ./QtRadio ) &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;
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 so it&#039;s necessary to follow the QtRadio-Installation document from the beginning &lt;br /&gt;
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 +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;
Increasing the voltage to +5.5V solved the problem. &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;
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 1GHz:-&lt;br /&gt;
&lt;br /&gt;
Keyboard, mouse, usb sound card and Ethernet fully operational using the 7-port USB hub. 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 050d:0307 Belkin Components USB 2.0 - 7 ports Hub [FSU307]&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 005: ID 04f3:0103 Elan Microelectronics Corp.&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 006: ID 041e:3040 Creative Technology, Ltd SoundBlaster Live! 24-bit External SB0490&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 007: ID 0fe6:8101 Kontron (Industrial Computer Source / ICS Advent) DM9601 Fast Ethernet Adapter&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 008: ID 047d:1022 Kensington Orbit Optical&lt;br /&gt;
&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;
&lt;br /&gt;
&lt;br /&gt;
0 [External       ]: USB-Audio - SB Live! 24-bit External&lt;br /&gt;
                     Creative Technology SB Live! 24-bit External at usb-bcm2708_usb-1.3.3, full spec&lt;br /&gt;
&lt;br /&gt;
1 [ALSA           ]: BRCM bcm2835 ALSbcm2835 ALSA - bcm2835 ALSA&lt;br /&gt;
                     bcm2835 ALSA&lt;br /&gt;
&lt;br /&gt;
I had originally forgotten to add snd-bcm2835 to /etc/modules which is why the SB Live! 24 is card 0. Rebooting with just the on-board sound card then adding the SB Live! 24 USB changed the on-board to card 0 and the SB Live! 24 USB is now card 1. I have further tests to do, mainly with sound, but now the Rpi is looking much healthier.&lt;br /&gt;
&lt;br /&gt;
It&#039;s running at 1GHz 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=1000&lt;br /&gt;
&lt;br /&gt;
core_freq=500&lt;br /&gt;
&lt;br /&gt;
sdram_freq=500&lt;br /&gt;
&lt;br /&gt;
*** Now running with &amp;quot;arm_freq=855&amp;quot; to see if the dspserver crashes are less frequent.&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;
== SOFTWARE == &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.&lt;br /&gt;
&lt;br /&gt;
Subject: [n2adr-sdr] Raspberry Pi running ghpsdr3-alex&lt;br /&gt;
&lt;br /&gt;
I did a fresh clone and changed to the iw0hdv branch from the default master branch.&lt;br /&gt;
&lt;br /&gt;
    git checkout iw0hdv &lt;br /&gt;
&lt;br /&gt;
NOTE:-******Remove all traces of -msse,-msse2 -msse3 and -ffast-math from Makefile.am and Makefile.in where appropriate in the subdirectories as those are not for ARM architecture.&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;
&lt;br /&gt;
    make all &amp;amp;&amp;amp; make all install &lt;br /&gt;
&lt;br /&gt;
Running hiqsdr-server at 48K/96K and dspserver (built with qt4) as qt5 is not yet available. There are instructions for building qt5 but following them bullet by bullet it failed not far along. The instructions are for building on i386 - I have put out a request for .deb packages or at least built tarballs to the Raspberry Pi forum.&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>G3vbv</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=524</id>
		<title>QtRadio Installation</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=524"/>
		<updated>2012-08-30T19:51:11Z</updated>

		<summary type="html">&lt;p&gt;G3vbv: /* 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;
See: &lt;br /&gt;
&lt;br /&gt;
http://napan.ca/ghpsdr3/index.php/Developers_Documentation&lt;br /&gt;
&lt;br /&gt;
You will need qt5 to be installed as per the above.&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&lt;br /&gt;
cd codec2&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 branch. &lt;br /&gt;
This branch contains only RX capability and his client/server protocol is not compatible with that of rxtx-event branch. &lt;br /&gt;
&lt;br /&gt;
First off, download, compile and install the library libperseus-sdr:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install wget&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;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Next, install the other prerequisite library:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install libboost-all-dev&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 perseus server feature:&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 --enable-perseus=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;
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;
xterm -e &#039;dspserver --lo 0&#039; &amp;amp;&lt;br /&gt;
$(export QT_RADIO_NO_LOCAL_AUDIO=1 ; ./QtRadio ) &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;
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 so it&#039;s necessary to follow the QtRadio-Installation document from the beginning &lt;br /&gt;
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 +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;
Increasing the voltage to +5.5V solved the problem. &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;
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 1GHz:-&lt;br /&gt;
&lt;br /&gt;
Keyboard, mouse, usb sound card and Ethernet fully operational using the 7-port USB hub. 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 050d:0307 Belkin Components USB 2.0 - 7 ports Hub [FSU307]&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 005: ID 04f3:0103 Elan Microelectronics Corp.&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 006: ID 041e:3040 Creative Technology, Ltd SoundBlaster Live! 24-bit External SB0490&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 007: ID 0fe6:8101 Kontron (Industrial Computer Source / ICS Advent) DM9601 Fast Ethernet Adapter&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 008: ID 047d:1022 Kensington Orbit Optical&lt;br /&gt;
&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;
&lt;br /&gt;
&lt;br /&gt;
0 [External       ]: USB-Audio - SB Live! 24-bit External&lt;br /&gt;
                     Creative Technology SB Live! 24-bit External at usb-bcm2708_usb-1.3.3, full spec&lt;br /&gt;
&lt;br /&gt;
1 [ALSA           ]: BRCM bcm2835 ALSbcm2835 ALSA - bcm2835 ALSA&lt;br /&gt;
                     bcm2835 ALSA&lt;br /&gt;
&lt;br /&gt;
I had originally forgotten to add snd-bcm2835 to /etc/modules which is why the SB Live! 24 is card 0. Rebooting with just the on-board sound card then adding the SB Live! 24 USB changed the on-board to card 0 and the SB Live! 24 USB is now card 1. I have further tests to do, mainly with sound, but now the Rpi is looking much healthier.&lt;br /&gt;
&lt;br /&gt;
It&#039;s running at 1GHz 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=1000&lt;br /&gt;
&lt;br /&gt;
core_freq=500&lt;br /&gt;
&lt;br /&gt;
sdram_freq=500&lt;br /&gt;
&lt;br /&gt;
*** Now running with &amp;quot;arm_freq=855&amp;quot; to see if the dspserver crashes are less frequent.&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;
== SOFTWARE == &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.&lt;br /&gt;
&lt;br /&gt;
Subject: [n2adr-sdr] Raspberry Pi running ghpsdr3-alex&lt;br /&gt;
&lt;br /&gt;
I did a fresh clone and changed to the iw0hdv branch from the default master branch.&lt;br /&gt;
&lt;br /&gt;
    git checkout iw0hdv &lt;br /&gt;
&lt;br /&gt;
NOTE:-******Remove all traces of -msse,-msse2 -msse3 and -ffast-math from Makefile.am and Makefile.in where appropriate in the subdirectories as those are not for ARM architecture.&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;
&lt;br /&gt;
    make all &amp;amp;&amp;amp; make all install &lt;br /&gt;
&lt;br /&gt;
Running hiqsdr-server at 48K/96K and dspserver (built with qt4) as qt5 is not yet available. There are instructions for building qt5 but following them bullet by bullet it failed not far along. The instructions are for building on i386 - I have put out a request for .deb packages or at least built tarballs to the Raspberry Pi forum.&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>G3vbv</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=523</id>
		<title>QtRadio Installation</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=523"/>
		<updated>2012-08-30T10:44:03Z</updated>

		<summary type="html">&lt;p&gt;G3vbv: /* 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;
See: &lt;br /&gt;
&lt;br /&gt;
http://napan.ca/ghpsdr3/index.php/Developers_Documentation&lt;br /&gt;
&lt;br /&gt;
You will need qt5 to be installed as per the above.&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&lt;br /&gt;
cd codec2&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 branch. &lt;br /&gt;
This branch contains only RX capability and his client/server protocol is not compatible with that of rxtx-event branch. &lt;br /&gt;
&lt;br /&gt;
First off, download, compile and install the library libperseus-sdr:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install wget&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;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Next, install the other prerequisite library:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install libboost-all-dev&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 perseus server feature:&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 --enable-perseus=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;
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;
xterm -e &#039;dspserver --lo 0&#039; &amp;amp;&lt;br /&gt;
$(export QT_RADIO_NO_LOCAL_AUDIO=1 ; ./QtRadio ) &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;
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-req packages mentioned for the Ubuntu installation are also needed for the Raspberry Pi and are available using &amp;quot;apt-get install&amp;quot; as usual.&lt;br /&gt;
&lt;br /&gt;
        The RasPi USB subsystem is sensitive to power supply voltage levels - A supply of 5.25V at 2A is recommended. &lt;br /&gt;
With +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;
Increasing the voltage to +5.27V solved the problem. &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;
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 1GHz:-&lt;br /&gt;
&lt;br /&gt;
Keyboard, mouse, usb sound card and Ethernet fully operational using the 7-port USB hub. 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 050d:0307 Belkin Components USB 2.0 - 7 ports Hub [FSU307]&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 005: ID 04f3:0103 Elan Microelectronics Corp.&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 006: ID 041e:3040 Creative Technology, Ltd SoundBlaster Live! 24-bit External SB0490&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 007: ID 0fe6:8101 Kontron (Industrial Computer Source / ICS Advent) DM9601 Fast Ethernet Adapter&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 008: ID 047d:1022 Kensington Orbit Optical&lt;br /&gt;
&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;
&lt;br /&gt;
&lt;br /&gt;
0 [External       ]: USB-Audio - SB Live! 24-bit External&lt;br /&gt;
                     Creative Technology SB Live! 24-bit External at usb-bcm2708_usb-1.3.3, full spec&lt;br /&gt;
&lt;br /&gt;
1 [ALSA           ]: BRCM bcm2835 ALSbcm2835 ALSA - bcm2835 ALSA&lt;br /&gt;
                     bcm2835 ALSA&lt;br /&gt;
&lt;br /&gt;
I had originally forgotten to add snd-bcm2835 to /etc/modules which is why the SB Live! 24 is card 0. Rebooting with just the on-board sound card then adding the SB Live! 24 USB changed the on-board to card 0 and the SB Live! 24 USB is now card 1. I have further tests to do, mainly with sound, but now the Rpi is looking much healthier.&lt;br /&gt;
&lt;br /&gt;
It&#039;s running at 1GHz 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=1000&lt;br /&gt;
&lt;br /&gt;
core_freq=500&lt;br /&gt;
&lt;br /&gt;
sdram_freq=500&lt;br /&gt;
&lt;br /&gt;
*** Now running with &amp;quot;arm_freq=855&amp;quot; to see if the dspserver crashes are less frequent.&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;
== SOFTWARE == &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.&lt;br /&gt;
&lt;br /&gt;
Subject: [n2adr-sdr] Raspberry Pi running ghpsdr3-alex&lt;br /&gt;
&lt;br /&gt;
I did a fresh clone and changed to the iw0hdv branch from the default master branch.&lt;br /&gt;
&lt;br /&gt;
    git checkout iw0hdv &lt;br /&gt;
&lt;br /&gt;
NOTE:-******Remove all traces of -msse,-msse2 -msse3 and -ffast-math from Makefile.am and Makefile.in where appropriate in the subdirectories as those are not for ARM architecture.&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;
&lt;br /&gt;
    make all &amp;amp;&amp;amp; make all install &lt;br /&gt;
&lt;br /&gt;
Running hiqsdr-server at 48K/96K and dspserver (built with qt4) as qt5 is not yet available. There are instructions for building qt5 but following them bullet by bullet it failed not far along. The instructions are for building on i386 - I have put out a request for .deb packages or at least built tarballs to the Raspberry Pi forum.&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>G3vbv</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=522</id>
		<title>QtRadio Installation</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=522"/>
		<updated>2012-08-28T23:14:35Z</updated>

		<summary type="html">&lt;p&gt;G3vbv: /* 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;
See: &lt;br /&gt;
&lt;br /&gt;
http://napan.ca/ghpsdr3/index.php/Developers_Documentation&lt;br /&gt;
&lt;br /&gt;
You will need qt5 to be installed as per the above.&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&lt;br /&gt;
cd codec2&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 branch. &lt;br /&gt;
This branch contains only RX capability and his client/server protocol is not compatible with that of rxtx-event branch. &lt;br /&gt;
&lt;br /&gt;
First off, download, compile and install the library libperseus-sdr:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install wget&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;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Next, install the other prerequisite library:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install libboost-all-dev&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 perseus server feature:&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 --enable-perseus=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;
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;
xterm -e &#039;dspserver --lo 0&#039; &amp;amp;&lt;br /&gt;
$(export QT_RADIO_NO_LOCAL_AUDIO=1 ; ./QtRadio ) &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;
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-req packages mentioned for the Ubuntu installation are also needed for the Raspberry Pi and are available using &amp;quot;apt-get install&amp;quot; as usual.&lt;br /&gt;
&lt;br /&gt;
        The RasPi USB subsystem is sensitive to power supply voltage levels - A supply of 5.25V at 2A is recommended. &lt;br /&gt;
With +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;
Increasing the voltage to +5.27V solved the problem. &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;
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 1GHz:-&lt;br /&gt;
&lt;br /&gt;
Keyboard, mouse, usb sound card and Ethernet fully operational using the 7-port USB hub. 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 050d:0307 Belkin Components USB 2.0 - 7 ports Hub [FSU307]&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 005: ID 04f3:0103 Elan Microelectronics Corp.&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 006: ID 041e:3040 Creative Technology, Ltd SoundBlaster Live! 24-bit External SB0490&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 007: ID 0fe6:8101 Kontron (Industrial Computer Source / ICS Advent) DM9601 Fast Ethernet Adapter&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 008: ID 047d:1022 Kensington Orbit Optical&lt;br /&gt;
&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;
&lt;br /&gt;
&lt;br /&gt;
0 [External       ]: USB-Audio - SB Live! 24-bit External&lt;br /&gt;
                     Creative Technology SB Live! 24-bit External at usb-bcm2708_usb-1.3.3, full spec&lt;br /&gt;
&lt;br /&gt;
1 [ALSA           ]: BRCM bcm2835 ALSbcm2835 ALSA - bcm2835 ALSA&lt;br /&gt;
                     bcm2835 ALSA&lt;br /&gt;
&lt;br /&gt;
I had originally forgotten to add snd-bcm2835 to /etc/modules which is why the SB Live! 24 is card 0. Rebooting with just the on-board sound card then adding the SB Live! 24 USB changed the on-board to card 0 and the SB Live! 24 USB is now card 1. I have further tests to do, mainly with sound, but now the Rpi is looking much healthier.&lt;br /&gt;
&lt;br /&gt;
It&#039;s running at 1GHz 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=1000&lt;br /&gt;
&lt;br /&gt;
core_freq=500&lt;br /&gt;
&lt;br /&gt;
sdram_freq=500&lt;br /&gt;
&lt;br /&gt;
*** Now running with &amp;quot;arm_freq=855&amp;quot; to see if the dspserver crashes are less frequent.&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;
== SOFTWARE == &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.&lt;br /&gt;
&lt;br /&gt;
Subject: [n2adr-sdr] Raspberry Pi running ghpsdr3-alex&lt;br /&gt;
&lt;br /&gt;
I did a fresh clone and changed to the iw0hdv branch from the default master branch.&lt;br /&gt;
&lt;br /&gt;
    git checkout iw0hdv &lt;br /&gt;
&lt;br /&gt;
Removed all traces of -msse, -msse3 and -ffast-math from Makefile.am and Makefile.in where appropriate in the subdirectories.&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;
&lt;br /&gt;
    make all &amp;amp;&amp;amp; make all install &lt;br /&gt;
&lt;br /&gt;
Running hiqsdr-server at 48K/96K and dspserver (built with qt4) as qt5 is not yet available. There are instructions for building qt5 but following them bullet by bullet it failed not far along. The instructions are for building on i386 - I have put out a request for .deb packages or at least built tarballs to the Raspberry Pi forum.&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>G3vbv</name></author>
	</entry>
</feed>