Skip to content

Tips & Tricks

Ladislav Foldyna edited this page Nov 24, 2024 · 2 revisions

This chapter is dedicated to helping to get the Tips & Tricks related to QLog. The chapter is aimed not only at beginners

12/24 Time Format

In general, the time/date format in QLog is controlled by the OS settings (not by Gnome or KDE settings, but through LC variables). If you wish to change the format, you can adjust these settings.

For example, to use a 24-hour time format, you can use the following settings (note that the date format will be YYYY/MM/DD):

for Linux: LC_TIME=en_ZA.UTF-8 ./qlog

for Windows: SET LC_TIME=en_ZA.UTF-8 qlog.exe

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/428It'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

  1. 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".

  2. Type

    groups <your username>

  3. The result is a list of all your groups

    <your username> : adm tty dialout cdrom sudo ...

  4. If you do not see "dialout" listed type the following:

    • sudo adduser <your username> dialout
    • Enter your Administrator Password and hit enter.
  5. Logout/Login or Reboot the computer to changes to take effect

Find the Device ID

  1. Open a Terminal Shell

  2. Type

    ls /dev/serial/by-id

  3. The result is a list of all serial devices currently connected

    TODO

  4. In this example usb-FTDI... is my rotator controller and the USB-Silicone_Labs... is my Icom IC-7300.

  5. In your terminal, select/ highlight the Device ID you want to use, right click and select copy

  6. Append the Device ID to the file path: /dev/serial/by-id/.

    • Like: /dev/serial/by-id/ PLUS usb-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.
  7. Paste the file name into the Port section under Rigs (or as appropriate) in your setup screen in QLOG.

    QLog Setting

  8. Click “Modify” and “Save”

  9. In the Menu bar click "Equipment" and then "Connect"

  10. If all is correct your device should connect and keep the same path between reboots.

Graphical Method:

Add Yourself To The "dialout" Group

  1. Open Users and Groups from the menu… right click the Linux logo in the bottom left corner and type Users and Groups in the search bar and click the Users and Groups.

  2. Enter your Administrator Password and hit enter

  3. Select the user to update

    QLog Setting

  4. If you do not see dialout listed under the Groups section, left click on the red highlighted area to open the Groups section.

  5. Put a tick in the box for "dialout" and click OK

QLog Setting

  1. 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.

  1. 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".
  2. Make sure you are in the root directory. Type “/” in the search bar at the top

QLog Setting

  1. Right click on the device you need and select properties.
  2. At the top under name hover over the “Name” of the file and right click to select all.

QLog Setting

  1. Right click over the name again and select copy
  2. From here, refer to point 5 in the "Terminal Shell Method" under "Find the Device ID" above
Clone this wiki locally