Connecting cqrlog to Radio (KX3)

2 posts / 0 new
Last post
Connecting cqrlog to Radio (KX3)

Hi -
This is not a question, just the result of my solution to a problem that I could find a direct answer to. I am running UBUNTU 20.10 on a Dell Inspiron 11-3162 using an Elecraft KX3. The problem I was having seemed to be that the USB port number changed on re-boot. Flrig never seemed to have any trouble, but it was being a real headache for me with cqrlog. If there is a way in the program to solve this issue, I never found it and would be appreciative of a comment telling me how it is supposed to work.

My solution was to search for a way to assign the radio to a port or device name that would not change on re-boot. Here is what I found:

Find the device vendor & product numbers:
$ lsusb
which returns several lines including:
Bus 001 Device 006: ID 0403:6001 Future Technology Devices International, Ltd FT232 Serial (UART) IC

Knowing what devices I had plugged into the USB port, I decided that the above line was describing the serial interface for my Elecraft KX3.

I used that information to assign the it to a device name. I chose RADIO, but a name of your choice could v=be used instead.

$ sudo gedit /etc/udev/rules.d/50-usb.rules
using your favorite editor, to include the line:
SUBSYSTEM=="tty", ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6001", SYMLINK+="RADIO", MODE="0666"

If you want non-root users to be able to use these, then add
, MODE="0666"
to the end of the line.

Now, in cqrlog I set my device to
and all of the radio parameters to "default"

After a reboot, communication is solid.

Connecting cqrlog to Radio (KX3)


Thanks for sharing your knowledge about making symlink(s) to usb devices! It is the most common way to get rid of always changing serial port names.

If you have one of latest hamlib versions (>= 4.0) you can also try using device id for serial port. It is unique and can be found from "/dev/serial/by-id"-folder without doing anything.
For example my icom 7300 shows out there as "/dev/serial/by-id/usb-Silicon_Labs_CP2102_USB_to_UART_Bridge_Controller_IC-7300_03003483-if00-port0"