---------------------------------------------------------
Installing Sigmira 1t7    2011/5/12

--------------------------------------------------------
GENERAL

Sigmira was developed on Ubuntu 9.04 (Jaunty).
(Kernel 2.6.28-19-generic.)

It uses the native libusb USB driver and ALSA sound interface.
No other drivers (such as libftd2xx, libftdi, etc.) are needed.
If you are using an SDR-IQ or SDR-14 it maybe necessary to disable
ftdi_sio.  See the MODULES/DRIVERS section.

Some have reported a lack of the libgtkglext1 library.  Yes, Sigmira
needs that.  It can be intalled with something like:
  sudo apt-get install gtkglext1

--------------------------------------
INSTALLING

Unzip the distribution .zip file in the location of your choice.
The result is a simple tree structure of about 5 directories and
20 files.  The main directories of interest are the bin, doc, and
examples directories.  The executable, "sigmira", is in the bin
directory.

(This is crude for now but it works.  It will be made slicker later.)

You can alway launch Sigmira by double clicking on the executable
in <sigmira_install_root>/bin.  Or you can launch it from a shell command
line by typing:
   cd <sigmira_install_root>/bin
   sigmira

To make Sigmira more convenient to start you can put a launching script
in /usr/bin.  An an example script "sigmira.sh" is included at
<sigmira_install_root>/sigmira.sh.  To install it do the following from
the shell:
  cd <sigmira_install_root>
  vi sigmira.sh    (and fill in your actual installation root path.)
  sudo cp sigmira.sh /usr/bin/sigmira
  sudo chmod 755 /usr/bin/sigmira

A desktop short-cut is also included in the disribution
as <sigmira_install_root>/sigmira.desktop.
It uses the just above described launching script.
You may also want to edit it to point to the icon .bmp image file.
(<sigmira_install_root>/share/pixmaps/i3.bmp)

----------------------------------------
MODULES/DRIVERS

To enable the USB interface to communicate with the SDR-IQ or SDR-14
there are two things to do: add a udev rule and disable the
the ftdi_sio module if it is active.  No additional drivers need 
to be installed.

------

The udev rules file opens up permissions for regular users to access
the FTDI USB chip through the Linux USB driver.  An appropriate rules
file is included in <sigmira_install_root>/drivers.  Install it by
issuing the following command at a shell prompt:
   sudo cp <sigmira_install_root>/drivers/40-sdriq-ftdi.rules \
       /etc/udev/rules.d
It is necessary to reboot the computer for the rule to take effect.

------

Ubuntu ships with the ftdi_sio module installed.  The ftdi_sio module 
(and "usbserial" module) grab any FTDI USB chip and prepare it for
use as an old fashioned serial port.  The SDR-IQ/SDR-14 USB interface
is an FTDI chip.  So ftdi_sio grabs the SDR-IQ/14 and blocks access
from Sigmira.  To see if the ftdio_sio module is active
you can type the following at a shell prompt:
  lsmod | grep ftdi_sio

The ftdi_sio module can be disabled temporarily with the modprobe
command.  At a shell prompt type:
  sudo modprobe -r ftdio_sio
  sudo modprobe -r usbserial

(A script to do that, <sigmira_install_root>/bin/s_rmmod_ftdi_sio, is
included in the distribution.)

If no other steps are taken ftdi_sio will reappear at every reboot.
In order to durably disable ftdi_sio make an entry in
the /etc/modprobe.d/blacklist.conf file.  That file is edited with
the command:
  sudo vi /etc/modprobe.d/blacklist.conf
The entry should be made something like:
  # <today's date>  ftdi_sio grabs the sdriq away from other valid uses.
  blacklist ftdi_sio

Similar interference has been noticed with a module named "brltty",
(braille tty).  Similar modprobe and blacklist measures should be
effective.


------------------------------------------
COMMENTS

The font size is not totally optimal.

It takes longer (about 5 seconds) to start the SDR-IQ/14 up with
the Linux version.

