Add radio, which finds radios on USB, and put you in the uucp group
`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>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
48d94ca432
commit
6c76f94ac6
+136
@@ -0,0 +1,136 @@
|
||||
# radios.conf - The radios `radio` recognises
|
||||
#
|
||||
# Each [section] is a radio, named as `radio` shows it. Fields:
|
||||
# hamlib= - Hamlib model number, as `rigctl -l` lists it (required)
|
||||
# usb_serial= - pattern (as in a shell `case`) matching the serial number of
|
||||
# the radio's USB serial chip, for radios that put their model
|
||||
# there. Recognises the radio without talking to it
|
||||
# cat_id= - the digits of the radio's reply to the Kenwood-style CAT
|
||||
# command ID; (Kenwood, Yaesu and Elecraft). Several radios
|
||||
# may give the same reply
|
||||
# civ= - the radio's default CI-V address in hex (Icom). The radio
|
||||
# gives it in its reply to "read transceiver ID"
|
||||
#
|
||||
# A radio needs usb_serial=, cat_id= or civ=, or `radio` can't recognise it.
|
||||
# The Hamlib model numbers were checked against Hamlib 4.6. The other values
|
||||
# come from the radios' CAT manuals and Hamlib's tables; mark one "# verified"
|
||||
# once a real radio has answered with it.
|
||||
|
||||
# Icom
|
||||
|
||||
[Icom IC-7300]
|
||||
hamlib=3073
|
||||
usb_serial=IC-7300 *
|
||||
civ=94
|
||||
|
||||
[Icom IC-705]
|
||||
hamlib=3085
|
||||
usb_serial=IC-705 *
|
||||
civ=A4
|
||||
|
||||
[Icom IC-7610]
|
||||
hamlib=3078
|
||||
usb_serial=IC-7610 *
|
||||
civ=98
|
||||
|
||||
[Icom IC-9700]
|
||||
hamlib=3081
|
||||
usb_serial=IC-9700 *
|
||||
civ=A2
|
||||
|
||||
[Icom IC-7100]
|
||||
hamlib=3070
|
||||
usb_serial=IC-7100 *
|
||||
civ=88
|
||||
|
||||
[Icom IC-905]
|
||||
hamlib=3090
|
||||
usb_serial=IC-905 *
|
||||
civ=AC
|
||||
|
||||
# Yaesu. Their USB serial chips (CP2105) carry no model, so they're recognised
|
||||
# by asking them, with `radio detect --probe`
|
||||
|
||||
[Yaesu FT-991A]
|
||||
hamlib=1035
|
||||
cat_id=0670
|
||||
|
||||
[Yaesu FT-991]
|
||||
hamlib=1035
|
||||
cat_id=0570
|
||||
|
||||
[Yaesu FT-891]
|
||||
hamlib=1036
|
||||
cat_id=0650
|
||||
|
||||
[Yaesu FTDX10]
|
||||
hamlib=1042
|
||||
cat_id=0761
|
||||
|
||||
[Yaesu FTDX101D]
|
||||
hamlib=1040
|
||||
cat_id=0681
|
||||
|
||||
[Yaesu FTDX101MP]
|
||||
hamlib=1044
|
||||
cat_id=0682
|
||||
|
||||
[Yaesu FT-710]
|
||||
hamlib=1049
|
||||
cat_id=0800
|
||||
|
||||
[Yaesu FTDX3000]
|
||||
hamlib=1037
|
||||
cat_id=0460
|
||||
|
||||
[Yaesu FT-950]
|
||||
hamlib=1028
|
||||
cat_id=0310
|
||||
|
||||
[Yaesu FT-450D]
|
||||
hamlib=1046
|
||||
cat_id=0241
|
||||
|
||||
# Kenwood
|
||||
|
||||
[Kenwood TS-2000]
|
||||
hamlib=2014
|
||||
cat_id=019
|
||||
|
||||
[Kenwood TS-480]
|
||||
hamlib=2028
|
||||
cat_id=020
|
||||
|
||||
[Kenwood TS-590S]
|
||||
hamlib=2031
|
||||
cat_id=021
|
||||
|
||||
[Kenwood TS-990S]
|
||||
hamlib=2039
|
||||
cat_id=022
|
||||
|
||||
[Kenwood TS-590SG]
|
||||
hamlib=2037
|
||||
cat_id=023
|
||||
|
||||
[Kenwood TS-890S]
|
||||
hamlib=2041
|
||||
cat_id=024
|
||||
|
||||
# Elecraft. They all answer ID; as a Kenwood TS-570 would
|
||||
|
||||
[Elecraft K3]
|
||||
hamlib=2029
|
||||
cat_id=017
|
||||
|
||||
[Elecraft KX3]
|
||||
hamlib=2045
|
||||
cat_id=017
|
||||
|
||||
[Elecraft KX2]
|
||||
hamlib=2044
|
||||
cat_id=017
|
||||
|
||||
[Elecraft K4]
|
||||
hamlib=2047
|
||||
cat_id=017
|
||||
Reference in New Issue
Block a user