Set up older Yaesus with radio configure --model, without asking them

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>
This commit is contained in:
David Young
2026-11-29 13:06:27 -07:00
co-authored by Claude Opus 5.5
parent 4794c186ee
commit d910982ea7
7 changed files with 149 additions and 14 deletions
+34 -1
View File
@@ -14,11 +14,14 @@
# modules) says: K3, K3S, KX2, KX3 or K4. They all answer ID;
# alike, so radio asks OM; too, and reads the model from it
# as Hamlib 4.7's elecraft.c does
# baud= - the radio's CAT rate as it comes, for a radio `radio` can't
# ask what it is, set up with `radio configure --model`
# flrig= - flrig's name for the radio, for `radio configure --flrig`
# (flrig 2.0.12's rigs/ sources). Left out where flrig has
# no driver for it, or several (the TS-480's HX and SAT)
#
# A radio needs usb_serial=, cat_id= or civ=, or `radio` can't recognise it.
# A radio needs usb_serial=, cat_id= or civ=, or `radio` can't recognise it;
# one with none of them needs baud=, and is set up with --model alone.
# The Hamlib model numbers were checked against Hamlib 4.6 (the IC-7851,
# IC-7600, IC-9100, Xiegus and Lab599 against 4.7.2). The other values
# come from the radios' CAT manuals and Hamlib's tables; mark one "# verified"
@@ -162,6 +165,36 @@ hamlib=1046
flrig=FT-450D
cat_id=0241
# Older Yaesus, whose CAT has no ID command: every five bytes they're sent is
# a command, keying the transmitter or writing to their EEPROM among them, so
# radio doesn't ask them anything. `radio configure --model 1020` sets one
# up, at the CAT rate (menu CAT RATE) they come with, or --baud's
[Yaesu FT-817]
hamlib=1020
flrig=FT-817
baud=4800
[Yaesu FT-818]
hamlib=1041
flrig=FT-818ND
baud=4800
[Yaesu FT-857]
hamlib=1022
flrig=FT-857D
baud=4800
[Yaesu FT-897]
hamlib=1023
flrig=FT-897D
baud=4800
[Yaesu FT-897D]
hamlib=1043
flrig=FT-897D
baud=4800
# Kenwood
[Kenwood TS-2000]