Hamlib/kit
Nate Bargmann 82e31653a1 Quell gcc 8.2.0 warning of uninitialized value
On Debian Buster gcc ((Debian 8.2.0-8) 8.2.0) was throwing the following
warnings:

  CC       funcube.lo
../../hamlib/kit/funcube.c: In function ‘funcubepro_get_level’:
../../hamlib/kit/funcube.c:783:87: warning: ‘au8BufOut[3]’ may be used uninitialized in this function [-Wmaybe-uninitialized]
     __func__, au8BufOut[0] & 0xFF, au8BufOut[1] & 0xFF, au8BufOut[2] & 0xFF, au8BufOut[3] & 0xFF);
                                                                              ~~~~~~~~~^~~
../../hamlib/kit/funcube.c:783:66: warning: ‘au8BufOut[2]’ may be used uninitialized in this function [-Wmaybe-uninitialized]
     __func__, au8BufOut[0] & 0xFF, au8BufOut[1] & 0xFF, au8BufOut[2] & 0xFF, au8BufOut[3] & 0xFF);
                                                         ~~~~~~~~~^~~
../../hamlib/kit/funcube.c:783:45: warning: ‘au8BufOut[1]’ may be used uninitialized in this function [-Wmaybe-uninitialized]
     __func__, au8BufOut[0] & 0xFF, au8BufOut[1] & 0xFF, au8BufOut[2] & 0xFF, au8BufOut[3] & 0xFF);
                                    ~~~~~~~~~^~~
../../hamlib/kit/funcube.c: In function ‘funcubepro_set_level’:
../../hamlib/kit/funcube.c:730:87: warning: ‘au8BufOut[3]’ may be used uninitialized in this function [-Wmaybe-uninitialized]
     __func__, au8BufOut[0] & 0xFF, au8BufOut[1] & 0xFF, au8BufOut[2] & 0xFF, au8BufOut[3] & 0xFF);
                                                                              ~~~~~~~~~^~~
../../hamlib/kit/funcube.c:730:66: warning: ‘au8BufOut[2]’ may be used uninitialized in this function [-Wmaybe-uninitialized]
     __func__, au8BufOut[0] & 0xFF, au8BufOut[1] & 0xFF, au8BufOut[2] & 0xFF, au8BufOut[3] & 0xFF);
                                                         ~~~~~~~~~^~~

Initialize au8BufOut and au8BufIn to 0 to quell the warning.
2018-10-25 20:44:59 -05:00
..
Android.mk Initial controls for the rs-hfiq sdr 2017-05-29 13:12:52 +02:00
Makefile.am Initial controls for the rs-hfiq sdr 2017-05-29 13:12:52 +02:00
README.funcubedongle Fundongle README from Wouter Weggelaar, PA3WEG 2011-04-20 09:29:54 -05:00
dds60.c Update LGPL header in kit source files. 2011-08-22 21:38:35 -05:00
drt1.c Update LGPL header in kit source files. 2011-08-22 21:38:35 -05:00
dwt.c Apply Linux C style 2016-02-21 14:56:44 -06:00
elektor304.c Changed some modules to LGPL in lieu of GPL 2016-10-31 11:05:24 -05:00
elektor507.c Apply Linux C style 2016-02-21 14:56:44 -06:00
fifisdr.c Add RIG_PASSBAND_NOCHANGE as possible set_{split_,split_freq_,}mode argument 2016-04-19 21:27:52 +01:00
funcube.c Quell gcc 8.2.0 warning of uninitialized value 2018-10-25 20:44:59 -05:00
funcube.h Adding correct get/set functions for LNA- Mixer- IF gain of the FuncubePro+ 2018-04-22 11:35:57 -05:00
hiqsdr.c HiQSDR: misc caps changes 2012-01-30 23:25:35 +01:00
kit.c Initial controls for the rs-hfiq sdr 2017-05-29 13:12:52 +02:00
kit.h Initial controls for the rs-hfiq sdr 2017-05-29 13:12:52 +02:00
miniVNA.c Update LGPL header in kit source files. 2011-08-22 21:38:35 -05:00
pcrotor.c Update LGPL header in kit source files. 2011-08-22 21:38:35 -05:00
rs_hfiq.c Switching from sprintf to snprintf to avoid possible seqfaults 2018-01-22 12:44:16 +01:00
si570avrusb.c Fix some endian issues in the si570/AVR SDR back ends 2017-02-12 18:17:24 +00:00
si570avrusb.h Update LGPL header in kit source files. 2011-08-22 21:38:35 -05:00
usrp.c Update LGPL header in kit source files. 2011-08-22 21:38:35 -05:00
usrp_impl.cc Update LGPL header in kit source files. 2011-08-22 21:38:35 -05:00
usrp_impl.h Update LGPL header in kit source files. 2011-08-22 21:38:35 -05:00

README.funcubedongle

+----------------------------------------+
|   Hamlib FUNcube dongle Win32 readme   |
|   Written by Wouter Weggelaar PA3WEG   |
|ISIS - Innovative Solutions In Space BV |
+----------------------------------------+

Note:  The following only applies for users running Win32 systems.

First of all, congratulations on obtaining a FUNcube dongle, the SDR
receiver ground segment for the FUNcube satellite! More info on this
exciting AMSAT-UK project can be found on http://funcube.org.uk/ more about
the dongle on http://www.funcubedongle.com/

The FUNcube dongle driver uses the USB kit backend in hamlib to interface to
the dongle via the USB HID interface. For this to work in hamlib, we need
LibUSB support (tested with 1.2.3.0 and 1.2.4.0) and LibUSB support compiled
into hamlib. This should be the case for all official hamlib releases
(hamlib-win32-1.2.13-2 tested).

You will need to download and install libusb-win32 from
http://sourceforge.net/projects/libusb-win32/ extract the zip archive to a
convenient location, change into this directory and run inf-wizard.exe
located in the bin directory.

Select the proper device in this wizard (Vendor ID 0x04D8, Product ID
0xFB56, interface 2) Click NEXT and accept the defaults, or change the
vendor name and product ID as you wish to see it appear in device manager.
I've changed this ID to reflect the vendor (hanlincrest ltd) and product
name (funcube dongle).

You can now suggest a location to store the driver (I suggest creating a
directory for this as the wizard creates more than one file).  Finally,
install the driver as suggested by the wizard.

You should be all set up now. Running hamlib from the command line using
rigctl -m 2513 -vvvv should provide something like below:

------------------------------------------
>rigctl.exe -m 2513 -v
Opened rig model 2513, 'FUNcube Dongle'

Rig command:
------------------------------------------
If you made it to here, you are all set up and ready to go.

**** PLEASE NOTE: by installing the LibUSB INF driver, other tools accessing
the dongle cannot find it anymore as they are looking for the windows HID
driver. Just uninstall the hamlib driver if you want to use those tools
again! HAMLIB or LibUSB DID NOT BREAK YOUR SYSTEM! ****

You could use hardware profiles to easily switch drivers.

Happy SDR-ing!

Wouter PA3WEG