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
@@ -119,8 +119,14 @@ Dire Wolf, not1mm, QLog and POTACAT quit:
|
||||
1.4.5's preferences format.
|
||||
14. With a rig set by hand in WSJT-X, `radio configure` leaves it alone, and
|
||||
`--force` replaces it. The `.bak-` copy has the old settings.
|
||||
15. Unplug the radio, plug it in again, and check rigctld reconnects within
|
||||
a few seconds. Reboot and check it starts at login.
|
||||
15. Unplug the radio (or switch it off, if that takes its USB away):
|
||||
`systemctl --user status hampack-rigctld` shows it stopped. Plug it in
|
||||
again: rigctld is running again within a few seconds, without
|
||||
`radio configure`. Log out with the radio unplugged, log in, and plug it
|
||||
in: rigctld starts then. Log in with it plugged in: rigctld starts at
|
||||
login. If rigctld doesn't start on its own, check
|
||||
`systemctl --user list-units --type=device | grep serial` lists the
|
||||
radio's port: rigctld is started by that device unit.
|
||||
|
||||
| Date | Commit | Radio | rigctld | WSJT-X | JS8Call | Pat | fldigi | Dire Wolf | not1mm | QLog | POTACAT | Graywolf | flrig | Notes |
|
||||
|------|--------|-------|---------|--------|---------|-----|--------|-----------|--------|------|---------|----------|-------|-------|
|
||||
|
||||
Reference in New Issue
Block a user