Start rigctld when the radio is plugged in, and stop it when it goes
systemd makes a device unit for each USB serial port and its /dev/serial/by-id link, so rigctld's user service is now wanted by and bound to the radio's port: it starts when the radio is plugged in or switched on (or at login if it's there already) and stops when it goes, instead of retrying every 5 seconds. reenable clears the login link earlier versions of the unit had. With --flrig, rigctld talks to flrig rather than the port, so it still starts at login. PLAN.md drops running more than one radio at once, for now. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
357f72583e
commit
fee5ce341a
@@ -8,20 +8,13 @@ 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.
|
||||
control a radio, with rigctld started when the radio 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
|
||||
- [ ] Tell Elecraft's radios apart. The K3, KX3, KX2 and K4 all answer `ID017;`,
|
||||
so `radio` lists all four. Find an Elecraft command whose reply names
|
||||
the model
|
||||
- [ ] `radio configure`, the rest. It writes the rigctld user service and
|
||||
points WSJT-X, JS8Call, Pat, fldigi, Dire Wolf, not1mm, QLog, POTACAT
|
||||
and Graywolf at it, or with --flrig, puts flrig in charge of the radio
|
||||
behind rigctld. Still to do:
|
||||
- [ ] More than one radio at once: a rigctld for each, on its own port
|
||||
- [ ] rigctld retries every 5 seconds while the radio is off or unplugged.
|
||||
Start it when the radio is plugged in instead (see hotplug below)
|
||||
- [ ] PTT through a CM108 sound card (Digirig, AIOC, SignaLink-style
|
||||
interfaces): a udev rule so you can open its `hidraw` device, for
|
||||
Dire Wolf and others
|
||||
|
||||
Reference in New Issue
Block a user