This Blog is AD Driven, if you enjoy the technical notes please help out and click a link or two.

Sunday, September 20, 2009

Nightly Ubuntu 9.10 Builds

Nightly builds of 9.10 do include:

libhamlib2 1.2.9-1ubuntu1 Run-time library to control radio transceive
fldigi 3.11.4-1 Digital modem program for hamradio operators

Ubuntu 9.10 to ship in October 2009

Hopefully the new release will have libhamlib2 1.2.9 included.

Wednesday, September 9, 2009

Quickie Build of XDX 2.4.2 on Ubuntu 9.04 x64

Download: xdx-2.4.2-build.sh

#!/bin/bash
# Ubuntu 9.04 comes with XDX 2.4.1
# Upgrading to 2.4.2 gets you:
# Improved gnuplot script for proper use of time format for the x-axis.


# Login as Root.
# sudo bash
# [sudo] password for motokilljoy:

# root@trident:~# id
# uid=0(root) gid=0(root) groups=0(root)

# Change to a working directory.
cd /usr/local/src/

# Download the newer version.
wget http://www.qsl.net/p/pg4i/download/xdx-2.4.2.tar.gz

# Extract the source code.
tar -zxf xdx-2.4.2.tar.gz

# Install some of the needed software dependencies.
# libgtk2.0-dev - Development files for the GTK+ library
# libgksu2-dev - library providing su and sudo functionality (development files)
# sox - Swiss army knife of sound processing
apt-get install libgtk2.0-dev libgksu2-dev sox

# Locate some of the needed libraries.
export PATH=$PATH:/usr/include/libgksu/

cd xdx-2.4.2/
./configure
make; make install

# Run the new version of XDX.
/usr/local/bin/xdx

# Setup XDX to use Hamlib preferences.
# Settings -> Preferences -> Enable hamlib checkbox: checked

# For Yaesu FT-2000/D VFO-A control.
# /usr/local/bin/rigctl -m 129 -r /dev/ttyUSB0 set_freq %d
# Double Clicking on a DXers QRG will automatically tune VFO-A to His or Hers frequency.

Friday, September 4, 2009

HowTo Install FLDigi from source code on Ubuntu 9.04 x86_64 for the Yaesu FT-2000/D Part 2

Download: linuxhamdev2.sh

#!/bin/bash

# Authored for linuxhamdev.blogspot.com by k6***
# Use at your own risk, no warranty at all.

# The Fldigi install:
# The configure option can make a big difference to fldigi.
# This is my basic configuration, yes to all sound subsystems with no CPU optimizations.

# Run the fldigi configure.
cd /usr/local/src/fldigi-3.12.4
./configure

#Configuration summary:
# Version ..................... 3.12.4
# Static linking .............. no
# CPU optimizations ........... none
# Debugging ................... no
# fldigi ...................... yes
# flarq ....................... yes
# i18n ........................ yes
# fldigi build options:
# sndfile ..................... yes
# oss ......................... yes
# portaudio ................... yes
# pulseaudio .................. yes
# hamlib ...................... yes
# xmlrpc ...................... yes

echo "Please review the Fldigi Configuration summary before continuing on."
echo " "
echo "Hit Enter to continue."
read page

# Build and install fldigi.
make; make install

# Step two has finished, hopefully you have a working fldigi install
# To remove the fldigi install do the following.
# cd /usr/local/src/fldigi-3.12.4
# make uninstall

echo "Fldigi installed"

Thursday, September 3, 2009

HowTo Install FLDigi from source code on Ubuntu 9.04 x86_64 for the Yaesu FT-2000/D Part 1

+

Download:
linuxhamdev1.sh

#!/bin/bash

# Authored for linuxhamdev.blogspot.com by k6***
# Use at your own risk, no warranty at all.

# My Hardware configuration:
#
# Ubuntu Server 9.04 X64 on a Dell Precision Workstation 380.
# CPU: Intel Pentium D CPU 2.80GHz-HT
# RAM: 1.5GB
#
# Yaesu FT-2000 HF+50MHz
#
# Interfaces:
# 1 PCI Creative Labs SB Live
# * 05:04.1 Input device controller: Creative Labs SB Live! Game Port (rev 07)
#
# 2 Port PCI Lava Serial port card.
# * 05:05.0 Serial controller: Lava Computer mfg Inc Lava Port Plus
#
# 1 RigBlaster Nomic
#
# 2 USB-to-Serial Adapters.
# * ID 050d:0109 Belkin Components F5U109/F5U409 PDA Adapter
#
#
#
# The software install:
#
# login in as the ROOT User with sudo.
#
# linuxhamdev@linux-box:~$ sudo bash
# [sudo] password for linuxhamdev:

echo "This script should be run from the root account. try: sudo bash"

# Confirm that the login worked.
#
# root@linux-box:~# id
# uid=0(root) gid=0(root) groups=0(root)
echo " "
echo "Your account ID is:"
id
echo " "
echo "Hit Control-c if your not uid=0 and login as root"

# Hit Enter to continue.
read page


# Get the needed software for hamlib and fldigi.
# Ubuntu's version of hamlib does not support the Yaesu FT-2000/D.
# So we need to download the latest one from SourceForge.net.

# Change to the /usr/local/src directory to download and install the source code.
cd /usr/local/src

# Download HamLib
wget http://downloads.sourceforge.net/hamlib/hamlib-1.2.9.tar.gz

# Download Fldigi source code with wget.
# http://www.w1hkj.com/fldigi-distro/
wget http://www.w1hkj.com/fldigi-distro/fldigi-3.12.4.tar.gz

# Extract the source code.
tar -zxf hamlib-1.2.9.tar.gz

# Extract the source code.
tar -zxf fldigi-3.12.4.tar.gz

echo "After reading the configure output for hamlib, I have determined"
echo "that I need to add the following software."
echo " "
echo " * libxml2-dev - Development files for the GNOME XML library"
echo " * tcl - The Tool Command Language (default version) - run-time files"
echo " * tcl-dev - The Tool Command Language (default version) - development files"
echo " * libfltk1.1-dev - Fast Light Toolkit - development files"
echo " * libxmlrpc-c3-dev - A lightweight RPC library based on XML and HTTP for C and C++"
echo " * pulseaudio - PulseAudio sound server"
echo " * libpulse-dev - PulseAudio client development headers and libraries"
echo " * portaudio19-dev - Portable audio I/O - development files"
echo " * libsndfile1-dev - Library for reading/writing audio files"
echo " * libpng12-dev - PNG library - development"
echo " * libjpeg62-dev - Development files for the IJG JPEG library"
echo " * libsamplerate0-dev - Development files for audio rate conversion (libsamplerate)"
echo " * libusb++-dev - userspace USB programming library development files"
echo " "
echo " Hit Enter to install some basic software dependencies"
read page

# Install the software all-in-one shot with the apt-get command.
apt-get -y install libxml2-dev tcl tcl-dev libfltk1.1-dev libxmlrpc-c3-dev \
pulseaudio libpulse-dev portaudio19-dev libsndfile1-dev libpng12-dev \
libjpeg62-dev libsamplerate0-dev libusb++-dev

# Symbolically Link the python includes directory so Hamlib can find it.
# The standard Ubuntu install does not have the needed python link by default.
ln -s /usr/include/python2.5/ /usr/include/python

# The above sections address some of the basic software dependencies and
# path issues raised by configure for Hamlib.
# If you find some features to be missing or unwanted, you will need
# to reconfigure and reinstall Hamlib.
cd /usr/local/src/hamlib-1.2.9
./configure

# Build and install HamLib all-in-one shot.
make; make install

# Step one has finished, hopefully you have a working Hamlib install.
# To remove the hamlib install do the following.
# cd /usr/local/src/hamlib-1.2.9
# make uninstall
# Just remember hamlib is a dependency for Fldigi.
echo " "
echo "Hamlib installed"