Set fldigi's sound card in radio configure
fldigi gets PortAudio as its audio system, with the radio's card for capture and playback. It opens devices by name, so radio lists PortAudio's devices through the system library, as fldigi does, and picks PipeWire's names for the card (through PortAudio's JACK support) where just one device has them, or else ALSA's, with the card's number. Devices that are unset, a default, or the same card under an old number are replaced; a device you chose, or fldigi on PulseAudio or OSS, is left alone unless --force. not1mm now uses the same device list, instead of asking its own Python's sounddevice, which reads the same library. POTACAT is the only program whose sound card is left for you to choose. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
c2cb2bc2f4
commit
8020cdc061
@@ -67,9 +67,9 @@ Probing opens the port, which raises its DTR and RTS lines for a moment before `
|
||||
|
||||
`radio configure` sets up the radio for HamPack's programs. It asks the radio what it is and at what baud rate it answers. Then it runs Hamlib's rigctld for it, as the `hampack-rigctld` systemd user service on 127.0.0.1:4532, and points WSJT-X, JS8Call, Pat, fldigi, Dire Wolf, not1mm, QLog, POTACAT and Graywolf at rigctld, with PTT through it. QLog gets a rig profile named HamPack in its log, which is backed up first. Graywolf's channels that transmit get PTT through rigctld; it's stopped for that with sudo, and started again. They then share the radio through rigctld, without fighting over its serial port. Quit them first, since they save their settings when they quit.
|
||||
|
||||
It also gives WSJT-X, JS8Call, Dire Wolf and not1mm's voice keyer the radio's sound card. WSJT-X and JS8Call get it as PipeWire names it, so PipeWire must be running. not1mm gets PipeWire's name for it too where it can, since ALSA's name for it has a card number that can change between boots; if it does, run `radio configure` again. If Graywolf has no channels yet, it gets one on the radio's sound card, for 1200 baud APRS.
|
||||
It also gives WSJT-X, JS8Call, fldigi, Dire Wolf and not1mm's voice keyer the radio's sound card. WSJT-X and JS8Call get it as PipeWire names it, so PipeWire must be running. fldigi and not1mm get PipeWire's name for it too where PortAudio lists it (through PipeWire's JACK support), since ALSA's name for it has a card number that can change between boots; if it does, run `radio configure` again. If Graywolf has no channels yet, it gets one on the radio's sound card, for 1200 baud APRS.
|
||||
|
||||
`radio configure` only fills in rig and sound settings you haven't set (a sound device of "default" or "pipewire" counts as not set). `radio configure --force` replaces them, and every file it changes is backed up first. With more than one radio plugged in, give the number `radio` lists for it: `radio configure 2`. For a radio it can't tell apart from others, give its Hamlib model number: `radio configure --model 2045`. Choose the radio's sound card yourself in fldigi and POTACAT; `radio configure` says which it is.
|
||||
`radio configure` only fills in rig and sound settings you haven't set (a sound device of "default" or "pipewire" counts as not set). `radio configure --force` replaces them, and every file it changes is backed up first. With more than one radio plugged in, give the number `radio` lists for it: `radio configure 2`. For a radio it can't tell apart from others, give its Hamlib model number: `radio configure --model 2045`. Choose the radio's sound card yourself in POTACAT; `radio configure` says which it is.
|
||||
|
||||
The radios it knows are in `radios.conf`. If your radio isn't recognised, or answers with something `radio` doesn't know, please open an issue with what `radio detect --probe` printed.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user