`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>
2.3 KiB
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.mdagainst real radios, and mark theradios.confvalues 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;, soradiolists 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 and Pat at it. Still to do:- fldigi (Hamlib NET rigctl model 2 at 127.0.0.1:4532), Dire Wolf
(
PTT RIG 2 localhost:4532), QLog, not1mm (its rigctld setting innot1mm.json), 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
- 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)
- fldigi (Hamlib NET rigctl model 2 at 127.0.0.1:4532), Dire Wolf
(
- PTT through a CM108 sound card (Digirig, AIOC, SignaLink-style
interfaces): a udev rule so you can open its
hidrawdevice, for Dire Wolf and others - Check that the WSJT-X and QLog Flatpaks can open serial ports
(
--device=all), inhampackcheckor the smoketest - List USB sound cards with no serial port (SignaLink USB, VOX-keyed
interfaces).
radioshows only devices with a serial port, so these don't appear - Later: run
radio configurewhen a known radio is plugged in (a udev rule starting a systemd user unit)
Other
- Graywolf's setup (
install_graywolf_serviceinupdate.sh) creates adialoutgroup, which nothing on Arch uses. Its service runs as you, so it already has your uucp membership. Drop thegroupadd