No computer audio Tx/Rx via USB IC7300 Linux

Hello Wfview dev team,

First of all let me say a big THANK YOU for this software. It is a awesome to have computer based GUI rig control and a waterfall on a linux system. I have downloaded and installed Wfview on my Ubuntu 22.04 OS and connected it to my IC7300 via USB. I am able to see the waterfall and change frequencies as well as trigger transmit and tune on the desktop. I would like the audio to come through my desktop speakers instead of the rig and be able to use my computer USB mic to transmit. The secondary Meter Selection is set to TxRxAudio and I am not seeing any activity on receive or transmit. I have the USB audio/mic gain to mid on the GUI view and there is still no audio activity during receive or attempted transmit. The audio devices I am using are the same I use for WSJTX with the exception of the Logitech USB audio input and the settings work well in WSJTX. Radio settings Mod input is set to USB. My log file output is below. Any advice would be appreciated…
Thank you and 73 - Marc N9WIB


2022-12-03 11:04:24.477 INF system: “wfview version: 1.53 (Git:9367d60 on Nov 30 2022 at 16:44:56 by marc@mab-core)\nOperating System: Ubuntu 22.04.1 LTS (x86_64)\nBuild Qt Version 5.15.3. Current Qt Version: 5.15.3\n”

2022-12-03 11:04:24.490 INF default: setState 1

2022-12-03 11:04:24.490 INF default: setState 0

2022-12-03 11:04:24.490 INF default: setState 1

2022-12-03 11:04:24.506 INF system: Loading settings from “/home/marc/.config/wfview/wfview.conf”

2022-12-03 11:04:24.545 INF rigctld: started on port 4533

2022-12-03 11:04:24.545 INF gui: Got Audio Output from Settings: “alsa_output.usb-Burr-Brown_from_TI_USB_Audio_CODEC-00.analog-stereo”

2022-12-03 11:04:24.545 INF gui: Got Audio Input from Settings: “alsa_input.usb-046d_Logitech_Webcam_C925e_C8CC2BAF-02.iec958-stereo”

2022-12-03 11:04:27.783 INF gui: Found Audio Input Device: “alsa_input.usb-046d_Logitech_Webcam_C925e_C8CC2BAF-02.iec958-stereo”

2022-12-03 11:04:27.783 INF gui: Found Audio Output Device: “alsa_output.usb-Burr-Brown_from_TI_USB_Audio_CODEC-00.analog-stereo”

2022-12-03 11:04:27.783 INF gui: Got Server Audio Input: “alsa_input.usb-046d_Logitech_Webcam_C925e_C8CC2BAF-02.iec958-stereo”

2022-12-03 11:04:27.783 INF gui: Got Server Audio Output: “alsa_output.usb-Burr-Brown_from_TI_USB_Audio_CODEC-00.analog-stereo”

2022-12-03 11:04:27.949 INF system: Cannot prepare WF view without rigCaps. Waiting on this.

2022-12-03 11:04:27.949 INF system: Cannot prepare WF view without rigCaps. Waiting on this.

2022-12-03 11:04:27.954 INF rig: creating instance of rigCommander()

2022-12-03 11:04:27.955 INF cluster: starting dxClusterClient()

2022-12-03 11:04:27.955 INF udp.server: Starting udp server

2022-12-03 11:04:27.955 INF audio: Audio Input device “alsa_input.usb-046d_Logitech_Webcam_C925e_C8CC2BAF-02.iec958-stereo”

2022-12-03 11:04:27.955 INF audio: Audio Output device “alsa_output.usb-Burr-Brown_from_TI_USB_Audio_CODEC-00.analog-stereo”

2022-12-03 11:04:27.957 INF udp.server: My IP Address: “0.0.0.0”

2022-12-03 11:04:27.957 INF udp.server: Server Binding Control to: 50001

2022-12-03 11:04:27.957 INF udp.server: Server Binding CIV to: 50002

2022-12-03 11:04:27.957 INF udp.server: Server Binding Audio to: 50003

2022-12-03 11:04:27.960 INF serial: Opened port: “/dev/ttyUSB0”

2022-12-03 11:04:28.025 INF system: Received CommReady!!

2022-12-03 11:04:28.025 INF system: Delay command interval timing: 75 ms

2022-12-03 11:04:28.026 INF default: Setting rig state for wfmain

2022-12-03 11:04:28.026 INF default: Setting rig state

2022-12-03 11:04:28.029 INF rig: Using incomingCIVAddr: (int): 148 hex: “0x94”

2022-12-03 11:04:28.029 INF serial: Received rigCapabilities for “IC-7300”

2022-12-03 11:04:28.029 INF rig: Have rig ID: decimal: 148

2022-12-03 11:04:28.047 INF rigctld: Got rigcaps for: “IC-7300”

2022-12-03 11:04:28.052 INF system: Delay command interval timing: 25 ms

2022-12-03 11:04:29.697 INF rig: Received 0x15 center span data: for frequency 250000

Hi Marc,

Thanks for the compliments!

wfview does not use the USB audio from the radio unless you are running the built in radio server. And in that case you would then access the radio and radio audio from a second computer.

So in your case, wfview does nothing with the audio.

If you want to redirect your mic into the radio’s USB audio device, you’ll have to create a loopback device and then connect it up. Our audio configuration page gives a method of creating two loopback devices, but I am not sure how you patch the audio through them for mic to USB and speaker to USB. To be clear, the method will work with wfview closed — it is completely independent of wfview.

If you find out how to do it, let us know and we can add it to the manual as it is a frequent request.

—E
de W6EL

Hi Elliott,

Thank you so much for your prompt reply. I have a dedicated linux server at home and this may be a good excuse to install wfview on it and try to run it in the background. Linux audio is a big trip down the rabbit hole! :
73
Marc - N9WIB

Another great feature if audio Tx/Rx is eventually incorporated into the primary program would be to toggle transmit by holding down one of the function keys and ending transmission once released. Keep up the great work

Hi Marc,

You will enjoy running a wfview server, it’s super convenient and suddenly you can access your rig anywhere around the house (or beyond, should you decided to forward three ports).

For PTT, here are the options we have right now:

  1. Control-T and Control-R to toggle it on and off, not too difficult there, especially if you have one of those small macro keyboard pads. Perhaps not the easiest key stroke though.
  2. If you enable the rigctld server built-in to wfview, you can telnet in and send the command “T0” and “T1” to turn on and off the transmit function. A user of this forum has written a neat script to monitor his USB serial port adapter’s “CTS” or “DTR” pin. And the end result is that he has a hardware-toggle button (or switch, I don’t actually know) which sends commands to wfview. Here is the source code. I have not tried it yet, but I use a similar trick to sync the tuning between radios.

With that said, @phil is working on support for controllers such as the ShuttlePro and ShuttleXpress, as well as standard HID-compliant game controllers. The shuttle controllers are amazing since you get a genuine jog wheel for tuning the radio. They’re a bit expensive though (but not as much as an RC-28). On the other hand, you can get basic Nintendo-style USB game controllers on amazon for about $20, and they could be used as nice dedicated controllers, or, you could cut one up and build something more radio-like. The controller options this will open up will be quite significant, keep your eyes peeled for updates.

–E
de W6EL