Point fldigi and Dire Wolf at rigctld in radio configure

fldigi gets Hamlib rig control through rigctld (NET rigctl at
127.0.0.1:4532) with PTT by Hamlib, and its other rig control modes
turned off, unless it has rig control set up already. It's skipped until
fldigi has made its settings, so its first-run wizard still appears.

Dire Wolf gets PTT RIG 2 127.0.0.1:4532 and the radio's sound card as
plughw:CARD=...,DEV=0, replacing only the values HamPack ships with.
Settings you've changed are left alone unless --force.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
David Young
2026-11-28 12:36:17 -07:00
co-authored by Claude Opus 5.5
parent eddd363e86
commit a02fa0cc85
5 changed files with 286 additions and 25 deletions
+17 -7
View File
@@ -45,7 +45,8 @@ cable.
## radio configure
With the radio on a dummy load or an antenna, and WSJT-X, JS8Call and Pat quit:
With the radio on a dummy load or an antenna, and WSJT-X, JS8Call, Pat, fldigi
and Dire Wolf quit:
1. Run `radio configure`. It should name the radio, its by-id port and a baud
rate, and say what it did for each program.
@@ -58,16 +59,25 @@ With the radio on a dummy load or an antenna, and WSJT-X, JS8Call and Pat quit:
4. The same in JS8Call.
5. In Pat, `pat connect ardop:///...` (or the web UI) changes the radio's
frequency through rigctld.
6. Run `radio configure` again: each program is "already set up", and
6. Open fldigi (after running it once, so it has settings). Configure >
Rig Control > Hamlib shows rig control on, "Hamlib NET rigctl",
127.0.0.1:4532 and "PTT via Hamlib command". The frequency follows the
radio, and T/R keys it. The settings were checked against fldigi 4.1's
source; Arch has 4.2, so note anything it doesn't pick up.
7. Run Dire Wolf with `direwolf -c ~/.local/state/HamPack/conf.d/direwolf.conf`.
It should open plughw:CARD=...,DEV=0 and not complain about
"PTT RIG 2 127.0.0.1:4532". If it says RIG needs hamlib support, its
build didn't find Hamlib. Send a beacon and check it keys the radio.
8. Run `radio configure` again: each program is "already set up", and
rigctld restarts.
7. With a rig set by hand in WSJT-X, `radio configure` leaves it alone, and
9. With a rig set by hand in WSJT-X, `radio configure` leaves it alone, and
`--force` replaces it. The `.bak-` copy has the old settings.
8. Unplug the radio, plug it in again, and check rigctld reconnects within
10. Unplug the radio, plug it in again, and check rigctld reconnects within
a few seconds. Reboot and check it starts at login.
| Date | Commit | Radio | rigctld | WSJT-X | JS8Call | Pat | Notes |
|------|--------|-------|---------|--------|---------|-----|-------|
| | | | | | | | |
| Date | Commit | Radio | rigctld | WSJT-X | JS8Call | Pat | fldigi | Dire Wolf | Notes |
|------|--------|-------|---------|--------|---------|-----|--------|-----------|-------|
| | | | | | | | | | |
## Pairing radios with sound cards