Set up a radio radio knows when it's plugged in, with radio configure --auto
check / lint-and-test (push) Successful in 3m57s
check / packages (push) Successful in 24s

A udev rule starts the hampack-radio-plugged user service when a USB serial
port appears, and it runs `radio configure --auto`. That sets up a radio
recognised by its USB serial number, unless the radio set up already is
plugged in, and says what it did in a desktop notification. It never asks a
radio what it is, since that may key the transmitter, and never asks for
sudo, so a running Graywolf is skipped.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
David Young
2026-11-28 16:32:05 -07:00
co-authored by Claude Opus 5.5
parent f2e29ab46d
commit 8d15d2c81e
11 changed files with 309 additions and 18 deletions
+2 -3
View File
@@ -8,9 +8,8 @@ keeps the record. Checks that need real radios are in `TEST.md`.
Find the radios plugged into USB and set up HamPack's programs for them.
Done: `radio detect` and `radio probe`, `radios.conf`, adding you to the uucp
group (6c76f94), and `radio configure` for each of HamPack's programs that
control a radio, with rigctld started when the radio is plugged in.
control a radio, with rigctld started when the radio is plugged in, and
`radio configure --auto` when a radio it knows is plugged in.
- [ ] Run `TEST.md` against real radios, and mark the `radios.conf` values
they confirm `# verified`. Fix or remove the ones they don't
- [ ] Later: run `radio configure` when a known radio is plugged in (a udev
rule starting a systemd user unit)