`radio configure` asks the radio what it is and the baud rate it answers at, then runs rigctld for it as the hampack-rigctld systemd user service on 127.0.0.1:4532, using the port's /dev/serial/by-id name. WSJT-X (the Flatpak) and JS8Call get Hamlib NET rigctl with PTT by CAT; Pat gets a "hampack" rig, used by ARDOP and VARA where they had none. Rig settings you've set are left alone unless --force, each file is backed up first, and programs that are running are skipped. With several radios, give the number `radio` now lists; --model sets the Hamlib model for a radio it can't tell apart from others. Sound cards are left for you to choose. hampackremove stops and removes the service. PLAN.md lists the programs still to do; TEST.md has the checks on a real radio. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
4.0 KiB
4.0 KiB
Manual tests
Checks that need real hardware or a real login, which the bats tests' fakes
can't do. make test covers the rest; the smoketest covers installs on a VM.
Record each result in the tables below, with the date and the HamPack commit.
The uucp group
- On a machine where you're not in uucp (
groupsdoesn't list it), runupdate. It should say it added you to the uucp group and that you need to log out. - Before logging out, plug in a radio and run
radio probe /dev/ttyUSB0. It should say to log out and back in, not to runusermod. - Log out and back in.
groupslists uucp, andradio probecan open the port. - Run
updateagain. It doesn't add you a second time. - Run
hampackremove.groups(after logging in again) no longer lists uucp. Repeat on a machine where you were in uucp before HamPack: you stay in it.
| Date | Commit | Result |
|---|---|---|
Finding radios
For each radio:
- Put it on a dummy load or an antenna, and switch it on. Quit anything that uses its port (WSJT-X, flrig, rigctld, fldigi).
- Run
radio. Check the serial ports and sound card it lists are the radio's. Compare withls -l /dev/serial/by-id/,lsusb -tandcat /proc/asound/cards. - Run
radio detect --probe. Watch the radio's TX indicator: probing should not key it. If it does, even for a moment, note the interface. - Check the model and Hamlib model number are right, and note the baud rate it answered at.
- If it was recognised, mark its values in
radios.conf# verified. If not, note whatradio detect --probeprinted.
Interfaces to try, as well as radios with built-in USB: a Digirig (CP2102 and CM108 behind its own hub, RTS keys PTT), an FTDI CAT cable, and an Icom CI-V cable.
| Date | Commit | Radio | Interface | Recognised by | Right model? | Sound card paired? | Baud | Keyed TX? | Notes |
|---|---|---|---|---|---|---|---|---|---|
radio configure
With the radio on a dummy load or an antenna, and WSJT-X, JS8Call and Pat quit:
- Run
radio configure. It should name the radio, its by-id port and a baud rate, and say what it did for each program. systemctl --user status hampack-rigctldis running, andrigctl -m 2 -r 127.0.0.1:4532 fprints the radio's frequency.- Open WSJT-X. Settings > Radio shows "Hamlib NET rigctl", 127.0.0.1:4532
and PTT by CAT. "Test CAT" turns green, and "Test PTT" keys the radio.
Note whether WSJT-X kept the PTT setting, which
radio configurewrites in Qt's own format; if it shows VOX, that format is wrong. - The same in JS8Call.
- In Pat,
pat connect ardop:///...(or the web UI) changes the radio's frequency through rigctld. - Run
radio configureagain: each program is "already set up", and rigctld restarts. - With a rig set by hand in WSJT-X,
radio configureleaves it alone, and--forcereplaces it. The.bak-copy has the old settings. - Unplug the radio, plug it in again, and check rigctld reconnects within a few seconds. Reboot and check it starts at login.
| Date | Commit | Radio | rigctld | WSJT-X | JS8Call | Pat | Notes |
|---|---|---|---|---|---|---|---|
Pairing radios with sound cards
- Two radios plugged in at once: each gets its own sound card.
- A radio plugged in through an external USB hub, with other devices on that
hub: note whether the sound card is still paired.
radioonly pairs a port and a sound card on a hub that has nothing else on it, so it shouldn't be. - A USB sound card on its own, plugged in next to a serial-only radio: it shouldn't be paired with the radio.
| Date | Commit | Setup | Result |
|---|---|---|---|