The K3, K3S, KX2, KX3 and K4 all answer ID; with ID017;, so radio listed
them all. When a radio answers ID017;, the probe now asks OM; too, and
radio reads the model from its option modules as Hamlib 4.7's
elecraft_open() does: 0 then 1 or 2 last for a KX2 or KX3, S and 4 for
a K4, R for a K3S, else a K3. radios.conf's new elecraft= field names
each, and narrows the radios the answer could be. A radio that doesn't
answer OM; (a TS-570) is still listed as one of several.
radios.conf gets the K3S (Hamlib 2043), which flrig drives with its K3
driver.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Dire Wolf, Graywolf and others key a radio through a CM108-family sound
card (a Digirig, an AIOC) by setting a GPIO pin through its hidraw
device, which only root can open otherwise. Dire Wolf's own rule gives
it to the audio group, which most Arch users aren't in, and shouldn't
need to be. udev/70-hampack-cm108.rules tags those devices uaccess
instead, so whoever is at the desktop can use them, as they can the
sound card. It matches the devices Dire Wolf 1.8 treats as
CM108-compatible, and no other C-Media devices.
update.sh installs it in /etc/udev/rules.d when it changes, and reloads
and re-applies udev's rules; hampackremove removes it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
flrig can't reach a radio through rigctld, and the two can't share its
port, so `radio configure` leaves flrig alone and says why. With --flrig,
flrig gets the radio, its by-id port, the baud rate it answered at and
PTT by CAT, and rigctld runs Hamlib's FLRig backend (model 4) against
flrig's XML-RPC port, so every other program still talks to rigctld.
Running it again without --flrig gives the port back to rigctld.
flrig's settings are FLTK preferences files: flrig.prefs names the
radio, and <radio>.prefs (which flrig reads only with a version in it)
has its port, baud rate (as its place in flrig's list) and PTT. Long
values carry on in lines starting with +, as FLTK writes them. A
different radio or port you set is left alone unless --force.
radios.conf gets flrig's names for the radios, from flrig 2.0.12.
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>
`hampackcheck packages` (and `make check-packages`) checks that every
package in packages.conf is in the repos or on the AUR and every Flatpak
is on Flathub, and fails if any is missing or couldn't be checked. Names
only provided by another package pass with a note.
New tests cover hampackcheck's version comparisons and package check, and
check compile.conf, binaries.conf, packages.conf and the desktop files for
missing or misspelt fields and paths that don't exist.
A Gitea workflow runs lint and tests on every push and pull request, and
the package check on those and weekly.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>