CW with K3NG not working with Alpha_(137)

2 posts / 0 new
Last post
PB4PT
CW with K3NG not working with Alpha_(137)

Recently upgrade my RPi 4 -> 5.
Decided to move from cqrlog 2.5.2 to "latest": Version Alpha_(137)_

After fixing dependencies, building went smooth and as expected.
I like all new functionality, and I can appreciate all the good work that has gone into this!!!

Detail that is not working: CW interface to my K3NG keyer which is used for both configured radios (FT991/FTDX10).

I wonder if this is related to configuration, as logging seems to miss some details?
My configured port for the K3NG keyer is /dev/ttyACM0 (115200 8N1), but that seems not been used?

Cqrlog Ver:Alpha_(137)_Gtk2 Build:1 Date:2025-07-01

Cqrlog Ver:Alpha_(137)_Gtk2 Date:2025-07-01
**** DEBUG LEVEL -8 ****

OS:
Linux version 6.12.34+rpt-rpi-2712 (serge@raspberrypi.com) (aarch64-linux-gnu-gcc-12 (Debian 12.2.0-14+deb12u1) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #1 SMP PREEMPT Debian 1:6.12.34-1+rpt1~bookworm (2025-06-26)
/usr/local/bin/mysqld
Radio1 CW settings:
CW init keyer type:3
Device:
Last error nr: 9
Last error desc:Bad file number
18
CW keyer reloaded by TRControl radio1 change

A snippet from .config/cqrlog/overall_config.ini:

[CW]
Type=0
wk_port=
PotSpeed=0
wk_speed=30
cw_address=localhost
cw_port=6789
cw_speed=30
wk_min=5
wk_max=30
K3NGPort=/dev/ttyACM0
K3NGSerSpeed=115200
K3NGSpeed=18
HamLibSpeed=18

I hope someone can give me some pointers/advise as how to approach this issue.

oh1kh
CW with K3NG not working with Alpha_(137)

Hi!

You can debug only TRX and CW by starting cqrlog from command console:
cqrlog --debug=-8

(try "cqrlog --help" from command console for other debug numbers)

It looks like your device definition is not ok. There is no text after debug line "Device:"

Question: What is file .config/cqrlog/overall_config.ini ?? Never seen that name before! Is this an exported ini file?

Ini files should exist as log numbers only when cqrlog is running. When stopped they are saved to database with other log data:
.config/cqrlog/3cqrlog.cfg
.config/cqrlog/3local.cfg

Ini file for log #3 and local computer based settings (if any) for log #3

From #cqrlog.cfg ini file you should find sections based on rig number(s):
[TRX1]
poll=200
Desc=IC7300
CWR=0

... and so on for Rig #1

[CW1]
Type=4
NoReset=0
wk_port=/dev/cwkeyer
PotSpeed=0
wk_speed=60

... and so on for CW keying for Rig #1

Same kind of sections for all defined rig numbers should exist.

From section [CW] you should find settings for CW memory keys:
[CW]
F1=CQ cq de %mc %mc k
F2=%c %h tu %xrs in %ml
F3=%c %xrs %ml
F4=%xrs
F5=%xns%xm
F6=%mc
F7=tu %xrs
F8=%ml
F9=nr nr
F10=%c de %mc
CapF1=F1-Cq 2x

.... and so on

You can clean up ini files by opening cqrlog to "Database connect" window (at very beginning). There select log in question, do NOT open it but press "Utils" and select "configuration export"
After exported configuration to file you can open it with plain text editor (nano, vi, leafpad .. etc) seek sections "[TRX" and "[CW" and delete them.
Save edited ini to different name (to keep original export as backup)
After that in "Database connect" window select log in question, do NOT open it but press "Utils" and select "configuration import" and choose edited file.

Once done open the log in question and you should see that TRX and CW settings are default (empty). All other settings should keep their values as before.

Reconfigure rig(s) and their keyer(s) and see if that helps.

--
Saku
OH1KH