Dire Wolf, Graywolf and others key a radio through a CM108-family sound card (a Digirig, an AIOC) by setting a GPIO pin through its hidraw device, which only root can open otherwise. Dire Wolf's own rule gives it to the audio group, which most Arch users aren't in, and shouldn't need to be. udev/70-hampack-cm108.rules tags those devices uaccess instead, so whoever is at the desktop can use them, as they can the sound card. It matches the devices Dire Wolf 1.8 treats as CM108-compatible, and no other C-Media devices. update.sh installs it in /etc/udev/rules.d when it changes, and reloads and re-applies udev's rules; hampackremove removes it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
35 lines
1.7 KiB
Markdown
35 lines
1.7 KiB
Markdown
# 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.
|
|
|
|
- [ ] 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
|
|
- [ ] Use PTT through a CM108 sound card in `radio configure` for an
|
|
interface whose radio has no CAT (a Digirig or AIOC on a handheld):
|
|
Dire Wolf's `PTT CM108`, Graywolf's cm108 method. HamPack's udev rule
|
|
already lets you open the card's `hidraw` device
|
|
- [ ] Check that the WSJT-X and QLog Flatpaks can open serial ports
|
|
(`--device=all`), in `hampackcheck` or the smoketest
|
|
- [ ] List USB sound cards with no serial port (SignaLink USB, VOX-keyed
|
|
interfaces). `radio` shows only devices with a serial port, so these
|
|
don't appear
|
|
- [ ] Later: run `radio configure` when a known radio is plugged in (a udev
|
|
rule starting a systemd user unit)
|
|
|
|
## Other
|
|
|
|
- [ ] Graywolf's setup (`install_graywolf_service` in `update.sh`) creates a
|
|
`dialout` group, which nothing on Arch uses. Its service runs as you,
|
|
so it already has your uucp membership. Drop the `groupadd`
|