Know twin interfaces by their USB socket, and say so
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>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
d910982ea7
commit
7697a785d3
@@ -14,8 +14,10 @@ unconfigure` to undo it.
|
||||
|
||||
- [ ] Run `TEST.md` against real radios, and mark the `radios.conf` values
|
||||
they confirm `# verified`. Fix or remove the ones they don't
|
||||
- [ ] Two interfaces of the same kind with no serial number (two AIOCs, two
|
||||
CM108 cables): `radio` names their PTT devices by USB socket
|
||||
(`/dev/input/by-path`), and their sound cards by ALSA card id, so they
|
||||
stay right only while each stays in its socket. Find a name that
|
||||
follows the interface, or say so when you set one up
|
||||
- [ ] Two interfaces of the same kind with no serial number: `radio` knows
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user