This will enable CAT control on your Mac running WSJT-X with the (tr)uSDX and possibly other USDX rigs as well. WSJT-X uses Hamlib to connecto to and manage CAT on different radios. The problem (thanks to Guido PE1NNZ for identifying), is that Hamlib resets the port when it connects. This causes the radio to reset and then it's not yet available when Hamlib tries to connect. We can work around that by blocking the ability for Hamlib to reset the port. The simplest way to do that is to have the port already in use when Hamlib starts up.
I was not able to achieve that using the Hamlib built into WSJT-X. However, by installing Hamlib separately, and running it in TCP server mode (acts like a network server), I was able to get this all to work.
You need to install hamlib
with brew install hamlib
. If you don't have brew
already, then you will need
to either install it, or use a different method for installing hamlib
. Once that is installed, you should
be able to run rigtctld
on its own.
- Connect the (tr)USDX to external power first
- Connect the USB cable to the rig
- Copy the shell script above into your path (e.g.
/usr/local/bin
) - Run
chmod 755 <where you put it>
to make it executable - Run the script with
urig
if it's in your path or./urig
if it's in the current directory
Once that says 'rigctld' running
, you can start WSJT-X. Configure WSJT-X like the screenshot included in
this gist.
It was the baud rate. I have version 2.00 of the (tr)uSDX firmware, which now uses 115200 baud. I updated your script, and it seems to be working now. (Though not entirely reliably. I'll futz with it some more.)