Commit Graph
7 Commits
Author SHA1 Message Date
David YoungandClaude Opus 5.5 4053664d77 Set the radio's sound card in radio configure
WSJT-X and JS8Call get the radio's sound card as PipeWire names it: radio
asks pactl for the input and output nodes on the radio's ALSA card.
WSJT-X (Qt 5, through Qt's PulseAudio plugin) keeps the node names in
SoundInName and SoundOutName; JS8Call (Qt 6) keeps them in SoundInId and
SoundOutId, with PipeWire's descriptions, quoted as Qt writes them, in
SoundInName and SoundOutName. A setting that's empty or a default
("default", "pipewire") is replaced; a device you chose is left alone
unless --force.

If Graywolf has no channels, it gets input and output devices on
plughw:CARD=...,DEV=0 and a channel named after the radio, with its
defaults (1200 baud AFSK, APRS) and PTT through rigctld, in the same
stop and start as the PTT change.

fldigi, not1mm and POTACAT name sound cards in ways radio can't write,
so the closing message names them and says which card to choose.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 13:06:17 -07:00
David YoungandClaude Opus 5.5 04d973039a Point POTACAT and Graywolf at rigctld in radio configure
POTACAT gets a "rigctld Network" rig at 127.0.0.1:4532 in My Rigs, made
the active rig, with the connection written where POTACAT reads it: the
global settings, or the operator's profile once there is one. It's left
alone if it has a radio set up, unless --force.

Graywolf's web API needs its password, so its database gets the change:
PTT through rigctld on each channel that transmits and has none. It's
checked first without writing; only if something changes is Graywolf
stopped with sudo, its database backed up through SQLite, and Graywolf
started again. If sudo is refused, or no channel transmits, it says what
to set in the web UI instead.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 12:56:14 -07:00
David YoungandClaude Opus 5.5 892bfb9df0 Point not1mm and QLog at rigctld in radio configure
not1mm gets rigctld at 127.0.0.1:4532, with flrig and TCI off, unless it
has rig control set up already.

QLog keeps rig profiles in its log database, so it gets a "HamPack"
profile there (Hamlib NET rigctl, 127.0.0.1:4532), selected, with the
values QLog 0.54.2's own form gives a new profile. It's added only if
there are no profiles yet, or with --force, and only when QLog isn't
running and its log has the columns it needs. The log is backed up first
through SQLite, so the backup includes what's still in qlog.db-wal.

The probe tests' python3 stub now fakes only the probe, so QLog's step
runs against a real SQLite log.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 12:43:27 -07:00
David YoungandClaude Opus 5.5 a02fa0cc85 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>
2026-11-28 12:36:17 -07:00
David YoungandClaude Opus 5.5 eddd363e86 Start radio configure: rigctld for the radio, with WSJT-X, JS8Call and Pat on it
`radio configure` asks the radio what it is and the baud rate it answers
at, then runs rigctld for it as the hampack-rigctld systemd user service
on 127.0.0.1:4532, using the port's /dev/serial/by-id name. WSJT-X (the
Flatpak) and JS8Call get Hamlib NET rigctl with PTT by CAT; Pat gets a
"hampack" rig, used by ARDOP and VARA where they had none. Rig settings
you've set are left alone unless --force, each file is backed up first,
and programs that are running are skipped. With several radios, give the
number `radio` now lists; --model sets the Hamlib model for a radio it
can't tell apart from others. Sound cards are left for you to choose.

hampackremove stops and removes the service. PLAN.md lists the programs
still to do; TEST.md has the checks on a real radio.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 12:22:16 -07:00
David YoungandClaude Opus 5.5 e71f1e59c2 Plan radio autoconfiguration, and list the checks that need real radios
check / lint-and-test (push) Successful in 1m55s
check / packages (push) Successful in 23s
PLAN.md lists what's left: checking radios.conf against real radios,
telling Elecraft's radios apart, `radio configure`, CM108 PTT, the
Flatpaks' serial access, and dropping graywolf's unused dialout group.
TEST.md lists the checks the fakes can't do, with tables for results:
the uucp group, finding each radio, and pairing radios with sound cards.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 12:14:04 -07:00
David YoungandClaude Opus 5.5 48d94ca432 Add an empty PLAN.md
check / lint-and-test (push) Successful in 1m37s
check / packages (push) Successful in 23s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 04:59:40 -07:00