Files
HamPack/PLAN.md
T
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

2.3 KiB

Plan

What's left to do in HamPack. Delete an item once it's done; git history keeps the record. Checks that need real radios are in TEST.md.

Radio autoconfiguration

Find the radios plugged into USB and set up HamPack's programs for them. Done: radio detect and radio probe, radios.conf, adding you to the uucp group (6c76f94), and the start of radio configure.

  • Run TEST.md against real radios, and mark the radios.conf values they confirm # verified. Fix or remove the ones they don't
  • Tell Elecraft's radios apart. The K3, KX3, KX2 and K4 all answer ID017;, so radio lists all four. Find an Elecraft command whose reply names the model
  • radio configure, the rest. Started: it writes the rigctld user service and points WSJT-X, JS8Call, Pat, fldigi, Dire Wolf, not1mm and QLog at it. Still to do:
    • POTACAT and Graywolf
    • Sound cards. Each program saves its sound device under a name from its audio backend (WSJT-X saved "pipewire" here), so find what each saves for a USB codec on a real machine before writing it. Dire Wolf is done: it takes ALSA names
    • flrig can't use rigctld, so it can't run alongside it. Say so, or offer flrig as the controller instead
    • More than one radio at once: a rigctld for each, on its own port
    • rigctld retries every 5 seconds while the radio is off or unplugged. Start it when the radio is plugged in instead (see hotplug below)
  • PTT through a CM108 sound card (Digirig, AIOC, SignaLink-style interfaces): a udev rule so you can open its hidraw device, for Dire Wolf and others
  • Check that the WSJT-X and QLog Flatpaks can open serial ports (--device=all), in hampackcheck or the smoketest
  • List USB sound cards with no serial port (SignaLink USB, VOX-keyed interfaces). radio shows only devices with a serial port, so these don't appear
  • Later: run radio configure when a known radio is plugged in (a udev rule starting a systemd user unit)

Other

  • Graywolf's setup (install_graywolf_service in update.sh) creates a dialout group, which nothing on Arch uses. Its service runs as you, so it already has your uucp membership. Drop the groupadd