WSJT-X with the mcHF via USB

I wanted to use the WSJT-X software with an mcHF QRP radio. Specifically, I wanted to operate the FT8 mode and I wanted to use the mcHF's USB interface for CAT control and audio. An of course, I wanted to do all this on Linux Mint (18.3 Sylvia, MATE).

I downloaded the .deb for WSJT-X from the site linked above, and installed it without any issues. Connecting the mcHF I could see the new serial port /dev/ttyAMA0 and assumed the sound stuff was good to go as well. I started configuring mcHF per this document, as well as this video. The issue I ran into was that WSJT-X was giving me a pair of errors when I selected mcHF as my input and output audio devices:

Error in Sound Input
Requested input audio format is not supported on device.

Error in Sound Output
Requested output audio format is not supported on device.

First I installed all the prerequisites listed in the WSJT-X User Guide. I was missing a couple. Unfortunately that didn't fix it. Finally, after much searching and troubleshooting, I stumbled across this, which stated:

Add the following two lines into /etc/pulse/default.pa and reboot:

load-module module-alsa-source device=plughw:2,1
load-module module-alsa-sink device=plughw:2,0

Unfortunately this didn't work for me. It actually prevented Pulse from starting. While following another rabbit trail of troubleshooting from another post I installed Qsstv, which worked just fine, but also gave me some clues. It referred to the sound devices as hw:2,1 and hw:2,0. I tweaked my /etc/pulse/default.pa to match and voila, new audio devices! I was able to select the new devices in WSJT-X and see my RX audio on the waterfall.

TL;DR

Add the following two lines into /etc/pulse/default.pa and reboot:

load-module module-alsa-source device=hw:2,1
load-module module-alsa-sink device=hw:2,0

Tags : amateurradiolinuxwsjt-xmchfpulseaudio

Published on  June 20th, 2017