Two interfaces with the same vendor, product and serial number (none, often) share a /dev/serial/by-id name, which udev points at whichever came last, so their serial ports are named by /dev/serial/by-path instead. radio and radio configure say when an interface has a twin, and that its sound card goes by the order the two came up. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1.2 KiB
1.2 KiB
Plan
What's left to do in HamPack. Delete an item once it's done; git history
keeps the record. Checks that need real radios are in TEST.md.
Radio autoconfiguration
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, and
radio configure --auto when a radio it knows is plugged in, and radio unconfigure to undo it.
- Run
TEST.mdagainst real radios, and mark theradios.confvalues they confirm# verified. Fix or remove the ones they don't - Two interfaces of the same kind with no serial number:
radioknows their serial ports and PTT by USB socket, and says so, but their sound cards by the order they came up (ALSA's card id, PipeWire's node name), which may change between boots. A udev rule could give the ALSA card an id by socket, for Dire Wolf and Graywolf; PipeWire's names would still go by order. Decide whether that's worth a rule per radio, installed with sudo