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
+2 -2
View File
@@ -65,9 +65,9 @@ Controlling a radio means opening its serial port, and on Arch only members of t
Probing opens the port, which raises its DTR and RTS lines for a moment before `radio` drops them. Interfaces that key the transmitter with DTR or RTS may key it briefly, so probe with the radio on a dummy load or an antenna.
`radio configure` sets up the radio for HamPack's programs. It asks the radio what it is and at what baud rate it answers. Then it runs Hamlib's rigctld for it, as the `hampack-rigctld` systemd user service on 127.0.0.1:4532, and points WSJT-X, JS8Call and Pat at rigctld, with PTT by CAT. All three then share the radio through rigctld, without fighting over its serial port. Quit them first, since they save their settings when they quit.
`radio configure` sets up the radio for HamPack's programs. It asks the radio what it is and at what baud rate it answers. Then it runs Hamlib's rigctld for it, as the `hampack-rigctld` systemd user service on 127.0.0.1:4532, and points WSJT-X, JS8Call, Pat, fldigi and Dire Wolf at rigctld, with PTT through it. Dire Wolf also gets the radio's sound card. They then share the radio through rigctld, without fighting over its serial port. Quit them first, since they save their settings when they quit.
`radio configure` only fills in rig settings you haven't set. `radio configure --force` replaces them, and every file it changes is backed up first. With more than one radio plugged in, give the number `radio` lists for it: `radio configure 2`. For a radio it can't tell apart from others, give its Hamlib model number: `radio configure --model 2045`. Choose the radio's sound card in each program yourself; `radio configure` says which it is.
`radio configure` only fills in rig settings you haven't set. `radio configure --force` replaces them, and every file it changes is backed up first. With more than one radio plugged in, give the number `radio` lists for it: `radio configure 2`. For a radio it can't tell apart from others, give its Hamlib model number: `radio configure --model 2045`. Choose the radio's sound card in the other programs yourself; `radio configure` says which it is.
The radios it knows are in `radios.conf`. If your radio isn't recognised, or answers with something `radio` doesn't know, please open an issue with what `radio detect --probe` printed.