Originally posted May 24, 2016 on old blog.
This project got started when another Ham, (also a Linux Mint enthusiast), asked me to take a look at a package called “CQRLOG”. I did, and after lots of research plus trial and error – have got it working, also have a growing love for CQRLOG.
I am currently running Linux Mint 17.3 Cinnamon (64 bit), and CQRLOG 2.0.1-1 (64 bit) on a 4 year old Toshiba laptop.
NOTE: I will continue to update this page as I make new discoveries about CQRLOG v/s IC-718
Before we get started, lets pay attention to the rig itself. We need to access the IC-718 initial start menus – turn the radio off, press and hold the “Set” button on the radio while turning it back on. You should now see the menus – use the “Up | Down” buttons to navigate through the menu, and turn the main knob to change a setting on the menu. I most strongly recommend you do *NOT* change anything, except those listed below, at this point – just use the “Up | Down” buttons to find the:
You should now be able to turn the radio off and those settings will be remembered by your rig.
Note: These are the settings that are currently working for me – and, following the list below, I now have rock-solid control over my rig with CQRLOG v. 2.0.1-1 (of course that applies as I write this – your mileage may vary). 🙂
Let’s tackle the software!
The first step is to assure your Linux account has access to the serial ports, (this has to be set in Mint and other Debian Linux derivatives/forks):
Even if you are using an FTDI USB-serial cable purchased for the purpose, (as I am) – you still have to be in the appropriate Linux “group”…
Added my account name to the “dialout” group via Menu | Administration | Users and groups
Click on your account, then in the right click on the groups you are currently a member of – a list will pop-up and all you have to do is put a check mark next to the “dialout” group
Why the group name “dialout”? Every file in linux has a security setting for access in terms of read/write/execute “permissions”. You are either the owner, member of a group, or “other” – the owner of most things in the system is “root”, but you should never use root as your normal user within linux to avoid accidents and security problems. So – the next best thing is to be member of the group that has rights on the item you want to use. For instance, in this case we want to access/control the ttyUSBx port. (Probably ttyUSB0, [“zero”], but it may be 1, 2 or 3 depending upon your computer/peripherals).
Back in the ’80s and early ’90s, most of us hooked up a telephone modem, which is a serial device, so they named the group given control over serial devices “dialout”. Know it seems a weird name today, but that is how it came about and it still is in use. Adding your account to Group dialout will give you the desired rights/control over serial communication on Linux, including ttyUSBx (usually ttyUSB0).
Second Step – let’s download and install those “other” packages for associated software programs you may eventually want to use in conjunction with CQRLOG and get them set up to automatically get updated with system updates by enabling their PPA repositories where we can, that way they will be “ready” when you are.
Use Administration | Synaptic Package Manager to install the following:
In filter type xplanet and then select the xplanet and xplanet-images (Mark for install) go ahead and Apply (install).. Then delete the xplanet from filter box.
In left column click on Ham Radio Universe and mark the following for installation:
Chirp (if not already installed – very handy if you have a uhf/vhf radio – not applicable to CQRLOG)
FLdigi (if not already installed)
TrustedQSL (need this if you use Logbook of the World)
xdx
Go ahead and “Apply”/install the packages then close Synaptic Package Manager
Note: We skipped over wsjt – will get that later by other means rather than old package
Open a terminal – we will be installing PPA Updates one line at a time Terminal;
sudo rm -f /etc/apt/sources.list.d/ubuntu-hams-ppa-*
# type your password when prompted
sudo apt-add-repository ppa:ubuntu-hams-updates/ppa
# press ENTER when prompted
sudo apt-get update
# wait for the “$” prompt to reappear
That’s it, now Linux Mint will keep all your Ham Apps up to date automatically. You can refresh updates, and all the latest updates will be installed.
sudo add-apt-repository ppa:kamalmostafa/hamlib
# press ENTER when prompted
sudo apt-get update
# wait for the “$” prompt to reappear
———-
Now for WSJTX: The version in the software center is way out of date, so you will want to add the PPA for this as well, If you already installed, no worry, this will update that version. Open termial, copy and paste: again one line at a time and hit enter, follow prompts.
sudo add-apt-repository ppa:ki7mt/wsjtx
sudo apt-get update
sudo apt-get install wsjtx
Now you will want to install the Encoder:
sudo add-apt-repository ppa:ki7mt/kvasd-installer
sudo apt-get update
sudo apt-get install kvasd-installer
TO RUN
– Open A terminal and type: kvasd-installer
– Then, select Install decoder from the menu.
If you have difficulty with WJSTx, as far as selecting the sound card, you will need to install this as well. Open Terminal:
sudo apt-get install libqt5multimediawidgets5 libqt5multimedia5-plugins
libqt5multimedia5
Note copied from K8WDX blog: Then set it up, and you should be good to go. more info on future releases can be found here: https://launchpad.net/~ki7mt I strongly suggest going to this site and reading through it, there are a couple of things to do to get the latest updates as well and info about the future of WJSTX. I just like to wait until the versions are out of the development stage before I take the plunge.
NOTE: Most of the above are for the newer digital communication modes – something I will eventually want to get into and investigate.
Third Step – if you haven’t already done so, let’s install the latest CQRLOG package:
I’ve previously describe how to do so in the post entitled:
OK, you can finally close terminal – open Update Manager, click on Refresh, then Install the new packages it found. Because you added the PPAs above, Update Manager will check and install updates to your Ham programs.
Its finally time to run CQRLOG! (You will find it in your menu system, I recommend right-clicking on that menu item and pinning it to your panel). When the program opens you will see the “Database Connection” window, which contains a default log file #1 entry. (You can edit the log name and add new logs later on). For now, click on the default log to highlight it, then click “Open”. The system “should” ask you to agree to download/install a couple of necessary databases – click Yes for each of them. (It will check for updates each time you open the program after we get it configured). The Database Connection window will close and the “New QSO” window will open.
Configuring CQRLOG
In New QSO click on File | Preferences which will open the Preferences window to start your configuration of CQRLOG. Down the left side of Preferences is a vertical column of tabs which lead to pages of settings. I won’t cover all of them but here are my current recommendations for some of the more important stuff – you will have to play with them to suit your own desires – but pay particular attention to the TRX control stuff below:
Program tab:
Station tab:
New QSO tab: (These are in addition to the defaults – some may now be new defaults in the latest version)
Visible Columns tab:
Bands tab:
TRX control tab:
You should not need any additional arguments added for rigctld. CQRLOG will start it with the rig model number, (mine is -m 313), and that automatically sets it up for that specific radio
ROT control tab:
Modes tab:
QTH profiles tab:
Export tab:
DXCluster tab:
Fonts tab:
WAZ, ITU zones tab:
IOTA tab:
Membership tab:
Bandmap Tab:
xplanet support tab:
Zip code tracking tab:
LoTW/eQSL support tab:
CW interface tab:
fldigi/wsjt interface tab:
Auto backup tab: I consider this one to be IMPORTANT!
External viewers tab:
Callbook support tab:
RBN support tab:
Online log upload tab:
Propagation tab:
I spent over a week, frustrated with a situation where the TRX control window would lose communication with the rig after about 20 seconds – after which I would be forced to refresh the rigctld process. It would regain comms only to fail again. In that week I tried varying each and every setting on both the rig’s initial setup menu and in the preferences – but kept having this feeling I was missing something obvious. Finally determined some other (unknown) process was periodically interfering with comms on device ttyUSB0, so I simply did a completely fresh install of Linux Mint 17.3 Cinnamon, then ran through the procedures above. CQRLOG has been running quite well and controlling our IC-718 rig very happily ever since.
A ton of credit for what you find on this page goes to K8WDX – his work, although on a previous version of CQRLOG and a different radio, inspired me to pursue installing everything needed now and for future work with those “other” digital modes. Many thanks to K8WDX for sharing his own experiences.
I will be counting on help from a good friend, an experienced Ham who has done many years of DX, then will revisit the Log specific stuff, including LoTW/QSL settings, etc. Have a lot to learn about that arena myself.
REFERENCE LINKS:
Linux Ham apps, install | K8WDX
CQRLOG configure <–YouTube video on a previous version of CQRLOG also by K8WDX