Tips & Tricks - foldynl/QLog GitHub Wiki
This chapter is dedicated to helping to get the Tips & Tricks related to QLog. The chapter is aimed not only at beginners.
Table of Contents
- Distance Unit
- Device ID and Path for Rig/ Rotor Control
- CSN S.A.T. Support
- HamAward / HamConnect Connection
- Controlling Icom 7300 via Flrig
Distance Unit
The distance unit used by QLog is determined automatically based on system's locale settings, specifically the LC_MEASUREMENT
environment variable.
If locale uses the metric system (e.g., most European countries), distances will be shown in kilometers (km).otherwise in miles.
How to check your current setting:
Open a terminal and run:
locale | grep LC_MEASUREMENT
result:
LC_MEASUREMENT="en_US.UTF-8"
In this example, en_US
indicates the United States, so distances will be shown in miles.
How to override the setting (temporarily):
Start QLog with a different measurement locale like this:
LC_MEASUREMENT=cs_CZ.UTF-8 ./qlog
This will show distances in kilometers, regardless of your default system settings.
Device ID and Path for Rig/ Rotor Control
Originally published via QLog's email list. Published with the permission of the author: Adam VK4IM.
If you are like me and have recently moved to Linux, or are transitioning away from MS Windows, you would have noticed there are some differences with regards to USB ports. You can no longer use “COM#” as an entry. It won't work.
You can use “ttyUSB#”, but as Ladislav mentioned in this post https://groups.io/g/qlog/message/428 “It's not a very good practice to use ttyUSB# devices. These device files can change during disconnection or reboot."
I have found a couple of ways to determine the correct "Device ID" and "Path" to use: The Terminal Shell method (Alias: console, or command prompt) or the Graphical method.
Note: Both methods described below relate to Linux Mint 22 Cinnamon. It may, or may not, be the same for your flavor of Linux, but should give you a clue on where to look.
Terminal Shell:
For the purists and those wanting to learn a little about the Terminal Shell.
Add Yourself To The "dialout" Group
-
Open "Terminal" from the menu… right click the Linux logo in the bottom left corner and type "Terminal" in the search bar and click the "Terminal".
-
Type
groups <your username>
-
The result is a list of all your groups
<your username> : adm tty dialout cdrom sudo ...
-
If you do not see "dialout" listed type the following:
sudo adduser <your username> dialout
- Enter your Administrator Password and hit enter.
-
Logout/Login or Reboot the computer to changes to take effect
Find the Device ID
-
Open a Terminal Shell
-
Type
ls /dev/serial/by-id
-
The result is a list of all serial devices currently connected
TODO
-
In this example
usb-FTDI...
is my rotator controller and theUSB-Silicone_Labs...
is my Icom IC-7300. -
In your terminal, select/ highlight the Device ID you want to use, right click and select copy
-
Append the Device ID to the file path:
/dev/serial/by-id/
.- Like:
/dev/serial/by-id/
PLUSusb-Silicon_Labs_CP2102_USB_to_UART_Bridge_Controller_IC-7300_02027024-if00-port0
- NOTE: The Device ID “numbering” will be different for your situation. You must use the exact same Device ID as listed in you terminal screen.
- Like:
-
Paste the file name into the Port section under Rigs (or as appropriate) in your setup screen in QLOG.
-
Click “Modify” and “Save”
-
In the Menu bar click "Equipment" and then "Connect"
-
If all is correct your device should connect and keep the same path between reboots.
Graphical Method:
Add Yourself To The "dialout" Group
-
Open
Users and Groups
from the menu… right click the Linux logo in the bottom left corner and typeUsers and Groups
in the search bar and click theUsers and Groups
. -
Enter your Administrator Password and hit enter
-
Select the user to update
-
If you do not see
dialout
listed under theGroups
section, left click on the red highlighted area to open theGroups
section. -
Put a tick in the box for "dialout" and click OK
- Click 'X" to close and then reboot the computer for changes to take effect
Find the Device ID
This method may be more intuitive than the Terminal Shell method mentioned above if you are coming from MS Windows. I'd encourage you to try the Terminal Shell method as it can be quicker and easier.
- Open your favorite "Files Explorer" from the menu… right click the Linux logo in the bottom left corner and type "Files" in the search bar and click the "Files Explorer".
- Make sure you are in the root directory. Type “/” in the search bar at the top
- Right click on the device you need and select properties.
- At the top under name hover over the “Name” of the file and right click to select all.
- Right click over the name again and select copy
- From here, refer to point 5 in the "Terminal Shell Method" under "Find the Device ID" above
CSN S.A.T. Support
Published with the permission of the author: Michael AA5SH.
QLog can receive QSOs from CSN S.A.T.
In the S.A.T. web interface open the Location settings panel. Choose MacLogger
from the QSO Log Type setting. In QSO LOG IP, enter the IP address of the computer that is running QLog. The default port number is 2237
and should be entered for you automatically.
HamAward / HamConnect Connection
HamConnect is a bridge which allows to transfer QSOs from QLog to HamAward. Below are the steps you need to take to connect.
- Download and install HamConnect from HamAward.
- Check if HamConnect is started.
- Click on "Connect to HamConnect" on the HamAward site.
- Added IP address
127.0.0.1:12060
toFile
→Settings
→Network
→QSO Changes
as below.
Controlling Icom 7300 via Flrig
In addition to using Hamlib for rig control, it is also possible to control certain rigs via FLRig. This chapter explains how to connect an Icom IC-7300 using FLRig.
- Open QLog's Menu
File
→Settings
→Equipment
→Rigs
, and create a new rig entry.- Select the
FLRig
interface. - Set the
Host Name
(usuallylocalhost
) and thePort
used by the FLRig XMLRPC server. - The port number can be found in the FLRig application under
Config
→Server
.
- Select the
- Assign a CW key to the rig if needed – the FLRig interface also supports all type of Keyers including
Morse Over CAT
- If you plan to use
Morse over CAT
, additional configuration is required in both FLRig and the rig itself:- In the FLRig application, open the
Keyer
→Config
menu. - Enable the
Use CAT
option. - Select the
Keyline
eitherRTS
orDTR
. ⚠️ The same option must also be selected on the Icom IC-7300 inSet
→Connectors
→USB SEND/Keying
→USB Keying (CW)
- In the FLRig application, open the