Hamlib
A library for radio and rig control.
https://github.com/Hamlib/Hamlib
Grig
Grig is an app for controlling rigs and rotators.
Getting started I want to set up Grig + the Kenwood TM-D710A on Plover (Ubuntu Linux), so that I can test Hamlib with that radio
I am trying to use it in my Svxlink projects.
I need the latest versions of things to work on Plover, so I am building them from source code. I want to try building in Docker so that I can keep the changes to Plover contained.
Build Hamlib in Docker
It comes with instructions, here: https://github.com/Hamlib/Hamlib/tree/master/docker-build This will build and install hamlib in /usr/local/hamlib-alpha/.
cd ~/docker https://github.com/Hamlib/Hamlib.git cd Hamlib/docker-build/ # Install the toolchain in an image docker buildx build -t hamlib-build . cd .. # Use the toolchain to actually compile and install hamlib on the host. docker run --rm -ti -u root -v $(pwd):/home/hamlib/build -v /usr/local/hamlib-alpha:/usr/local/hamlib-alpha hamlib-build /usr/local/hamlib-alpha/bin/rigctl
That gives me a command line program rigctl. Use a "?" to get a list of commands. Now I need to plug in a rig to ctl. Here's a man page for it. https://www.mankier.com/1/rigctl
Other commands installed include ampctl ampctld rigctlcom rigctld rigctlsync rigctltcp rigmem rigsmtr rigswr rigtestlibusb rotctl rotctld
I am trying my Kenwood TH-D74 because it's sitting right next to me. Also, it has a built-in USB port. Very modern.
On Plover it looks like it's showing up on /dev/ttyACM0
rigctl -l | grep TH-D74 rigctl -m 2042 -r /dev/ttyACM0