The FT-817, FT-818, FT-857 and FT-897 have no ID command, and take every
five bytes they're sent as a command, so radio doesn't probe them: --model
sets one up on its only serial port, at the CAT rate it comes with
(baud= in radios.conf), or --baud's. Where nothing answered, radio says so.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Their Hamlib models, CI-V addresses or ID; replies and flrig names, from
Hamlib 4.7.2 and flrig 2.0.12. Xiegus share their addresses with Icoms, and
the TX-500 answers as a TS-2000 does, so a probe lists both.
The probe takes a CI-V ID of two bytes, as some Xiegus answer, and
`radio probe` capitalises "One of".
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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>
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>