Start radio configure: rigctld for the radio, with WSJT-X, JS8Call and Pat on it
`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>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
e71f1e59c2
commit
eddd363e86
@@ -110,6 +110,16 @@ remove() {
|
||||
grep -qx uucp "$FAKE_GROUPS"
|
||||
}
|
||||
|
||||
@test "stops and removes the rigctld service radio configure set up" {
|
||||
local unit="$HOME/.config/systemd/user/hampack-rigctld.service"
|
||||
mkdir -p "$(dirname "$unit")"
|
||||
echo "[Service]" > "$unit"
|
||||
remove
|
||||
[ "$status" -eq 0 ]
|
||||
grep -qx "systemctl --user disable --now hampack-rigctld" "$STUB_LOG"
|
||||
[ ! -e "$unit" ]
|
||||
}
|
||||
|
||||
@test "does nothing unless confirmed" {
|
||||
mark_installed fldigi
|
||||
mkdir -p "$HAMPACK_STATE"
|
||||
|
||||
Reference in New Issue
Block a user