not1mm's voice keyer gets the radio's sound card, named exactly as the
sounddevice library in not1mm's own Python lists it: its settings dialog
finds the device by exact name, and falls back to the first one listed.
PipeWire's name for the card, through PortAudio's JACK support, comes
first, since it stays the same from boot to boot. Without it, or with two
cards of the same name, it's ALSA's, which has the card's number in it;
a number radio wrote before is updated when the card's number changes.
The closing message now leaves only fldigi and POTACAT for you to set.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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>
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>
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>
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>
`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>
`radio` lists each radio plugged into USB: its serial ports, the sound
card that came with it (the same USB device, or behind the radio's own
hub), and its model and Hamlib model number. Icoms are recognised by
their USB serial number. `radio detect --probe` asks the others with the
CAT ID; command or Icom's CI-V transceiver ID, at the usual baud rates,
on ports no other program has open; `radio probe PORT` asks one port.
It drops DTR and RTS as soon as a port opens. The radios it knows are
in radios.conf.
update.sh links ~/.local/bin/radio to the clone, unless a different
radio is already there, and adds you to uucp, which owns serial ports on
Arch. hampackremove removes the link, and takes you out of uucp only if
HamPack put you in.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>