Locked Re: Help: Ubuntu 20.04 Audio settings for IC7300 and IC9700 #linux

Bill Somerville

Hi John, Richard, and Stewart,

have any of you tried something like the answer to this question:

It seems the ID_PATH_TAG variable available to udev rules can be used to name audio devices according to the physical hub and port paths where they are plugged in.


On 21/02/2021 02:12, John N9ZL wrote:

Hi Richard,

I run 3 radios at once, an IC-7600, an IC-7300 and an IC-9700 in 3 different instances of WSJT-X 2.4.0-rc1 with Linux Mint 20.1 (based on Ubuntu).  I use the --rig-name option on the command line as explained in the manual for running multiple instances.  The radios are all USB connected.

I have lots of problems managing the sound devices.  They change names, configs that worked fine for days suddenly stop working, sound cards disappear from the list, the 2m IC-7900 instance will suddenly start displaying the same 40m audio that the IC-7600 is displaying after having worked fine for hours.  Weirdness like that.  Sometimes they work fine all day.

Part of the config confusion is due to how linux manages USB audio devices.  The names WSJT uses for the audio devices will vary depending on the order in which the devices are discovered by the OS.  So depending on what order you plug them in, the audio names will move around between different radios.  They should always get discovered after a reboot the same order, so make sure everything is plugged in and turned on before rebooting.

I've tried using the Burr-Brown settings you listed below but I find after a while they will sometimes suddenly stop working, and then go missing in WSJT-X even after a reboot. 

I have better luck with the hw:CARD=CODEC,DEV=0 entries for both transmit and receive.  But the system volume control doesn't appear to change the levels on those devices.  That can be a problem on the IC-7600 since output USB level can't be changed on the radio so the level stays in the red, but it seems to work.   I change the USB levels in the other radios themselves where possible.  The CODEC card name changes for each radio.  CODEC for the first, CODEC_1 for the second, CODEC_2 for the third.

"head -1 /proc/asound/CODEC/stream0"  "head -1 /proc/asound/CODEC_1/stream0" and "head -1 /proc/asound/CODEC_2/stream0" is useful to me in figuring out which USB port is assigned to which sound device when using the hw:CARD=CODEC,DEV=0 device.

Also, a hint for reliable CAT control on linux Mint/Ubuntu, use the names in /dev/serial/by-id for the CAT control.  These entries have the model of the radio in the name, and they link to the correct /dev/tty devices even when they get reordered.

73, John N9ZL

On 2/20/21 2:43 PM, Pa3gcu wrote:

Hi Stewart.

I have been playing with different radios and devices on linux this week, i find that things change every time one reboots,
However i have found that my IC705 which i have to define as a IC7300 (at least with wsjtx 2.1.2 and 2.2.2) works well
with the following devices;
Input; = alsa_input.usb-Burr-Brown_from_TI_USB_AUDIO_CODEC-00.analog-sterio
Output = als_output.usb-Burr-Brown_from_TI_USB_AUDIO_CODEC-00.analog-sterio

You may well see a difference from Jim's (VE4CY) possibly because he has a IC-9700 or he uses some or other
sound configuration device.
On another note, i see you mention 2 different radio's, i wonder do you run both at the same time under 20.04??.
If so i would be very interested to hear just how you configure the system as i have enormous trouble when i try to
run my FT950 together with a Microham MKIII keyer and the IC705 using it's internal codec's.

Anyway hope this help's.
Regards Richard PA3GCU.


Stewart Wilkinson via groups.io schreef op 20 feb '21:

Can anyone point in me in the direction of some guidance for setting up the audio with either IC7300 or IC9700 in Ubuntu 20.04 ?

I don't seem to be able to get it behaving - I either get the Tx audio coming out the LapTop speakers or none at all.

Also Linux keeps changing the system sound to use the Radio devices each time I plug them in.

Join main@WSJTX.groups.io to automatically receive all group messages.