Files
HamPack/PLAN.md
T
David YoungandClaude Opus 5.5 e71f1e59c2
check / lint-and-test (push) Successful in 1m55s
check / packages (push) Successful in 23s
Plan radio autoconfiguration, and list the checks that need real radios
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

2.0 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 in 6c76f94: radio detect and radio probe, radios.conf, and adding you to the uucp group.

  • 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: one rig controller, everything else pointed at it. Write a rigctld systemd user service for the radio, using its /dev/serial/by-id port, Hamlib model and the baud rate it answered at. Then point each program at rigctld (localhost:4532) and at the radio's sound card: WSJT-X, JS8Call, fldigi, flrig, Dire Wolf, Pat, QLog, not1mm, POTACAT and Graywolf. Only fill in settings that are empty, keep a .bak of each file changed, and test against sample config files
  • 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