20.04 server audio ic-705

I compiled the current version and works fine as a client. Am using a wifi dongle hotspot on the server box for the 705 to connect to. usb headset is the default audio.

no luck on setting up the server function, though. There are no options in the dropdowns for server audio and I can only assume I have missed a step in the setup. A loopback device?

Remote client gets the wf ok.

Ross

Hi Ross,

Try changing the audio back end to one of the other three choices. This is currently done under the “Radio Access” portion of the settings, but it actually does change the back-end for the server too. The back-end change happens right away.

–E
de W6EL

tnx Elliot, I have tried that with no luck so far. Does the client need to be using the same backend?

Hi Ross,

The client need not use the same back-end. Use whatever works best at each side.

Check your log file, we log a lot of audio information. /tmp/wfview.log.

–E
de W6EL

Here is the log of starting the server and then logging in from a win7 client.

linux audio is a dark art to me…

2022-06-11 18:24:41.843 INF system: “wfview version: 1.2e (Git:5dcb081 on Jun 11 2022 at 17:31:16 by ross@ubuntu-remote)\nOperating System: Ubuntu 20.04.4 LTS (x86_64)\nBuild Qt Version 5.12.8. Current Qt Version: 5.12.8\n”
2022-06-11 18:24:41.943 INF default: setState 1
2022-06-11 18:24:41.944 INF default: setState 0
2022-06-11 18:24:41.944 INF default: setState 1
2022-06-11 18:24:41.974 INF system: Loading settings from “/home/ross/.config/wfview/wfview.conf”
2022-06-11 18:24:42.072 INF rigctld: started on port 4533
2022-06-11 18:24:42.072 INF gui: Got Audio Output from Settings: “default”
2022-06-11 18:24:42.072 INF gui: Got Audio Input from Settings: “default”
2022-06-11 18:24:42.074 INF audio: RtAudio Version “5.0.0”
2022-06-11 18:24:42.074 INF audio: Compiled APIs:
2022-06-11 18:24:42.074 INF audio: “Jack Client”
2022-06-11 18:24:42.074 INF audio: “Linux ALSA”
2022-06-11 18:24:42.074 INF audio: “Linux PulseAudio”
2022-06-11 18:24:42.074 INF audio: Current API: “Linux ALSA”
2022-06-11 18:24:42.079 INF audio: Found 6 audio device(s) *=default
2022-06-11 18:24:42.249 INF audio: ( 1 ) Input Device : “hw:HD-Audio Generic,0”
2022-06-11 18:24:42.250 INF audio: ( 1 ) Output Device : “hw:HD-Audio Generic,0”
2022-06-11 18:24:42.250 INF audio: ( 2 ) Output Device : “hw:HD-Audio Generic,1”
2022-06-11 18:24:42.251 INF audio: ( 3 ) Input Device : “hw:HD-Audio Generic,2”
2022-06-11 18:24:42.262 INF audio: ( 5 ) Input Device : “default”
2022-06-11 18:24:42.262 INF audio: ( 5 ) Output Device : “default”
2022-06-11 18:24:42.262 INF gui: Got Server Audio Input: “default”
2022-06-11 18:24:42.262 INF gui: Got Server Audio Output: “”
2022-06-11 18:24:42.440 INF system: Cannot prepare WF view without rigCaps. Waiting on this.
2022-06-11 18:24:42.440 INF rig: creating instance of rigCommander()
2022-06-11 18:24:42.441 INF udp.server: Starting udp server
2022-06-11 18:24:42.441 INF udp: Starting udpHandler user: “ve6ars” rx latency: 30 tx latency: 30 rx sample rate: 8000 rx codec: 128 tx sample rate: 8000 tx codec: 64
2022-06-11 18:24:42.442 INF udp.server: My IP Address: “0.0.0.0”
2022-06-11 18:24:42.442 INF udp.server: Server Binding Control to: 60001
2022-06-11 18:24:42.443 INF udp.server: Server Binding CIV to: 60002
2022-06-11 18:24:42.443 INF udp.server: Server Binding Audio to: 60003
2022-06-11 18:24:42.443 INF udp: UDP Stream bound to local port: 37370 remote port: 50001
2022-06-11 18:24:42.471 INF system: Received CommReady!!
2022-06-11 18:24:42.471 INF default: Setting rig state for wfmain
2022-06-11 18:24:42.471 INF default: Setting rig state
2022-06-11 18:24:42.998 INF udp: udpHandler : Received I am here from: QHostAddress("::ffff:10.42.0.243")
2022-06-11 18:24:42.998 INF udp: udpHandler : Received I am here
2022-06-11 18:24:43.098 INF udp: udpHandler : Received I am ready
2022-06-11 18:24:43.098 INF udp: udpHandler : Sending login packet
2022-06-11 18:24:43.139 INF udp: Got connection type: “FTTH”
2022-06-11 18:24:43.139 INF udp: udpHandler : Received matching token response to our request
2022-06-11 18:24:43.139 INF rig: Error using port “UDP” message: “Opus codec not supported, forcing LPCM16”
2022-06-11 18:24:43.139 INF udp: udpHandler : Detected connection speed FTTH
2022-06-11 18:24:43.139 INF system: wfmain: received serial port error for port: “UDP” with message: “Opus codec not supported, forcing LPCM16”
2022-06-11 18:24:43.150 INF udp: udpHandler Received radio capabilities, Name: IC-705 ve6ars Audio: ICOM_VAUDIO CIV: “0xa4” MAC: 0 : 144 : 199 : 15 : 32 : 222 CAPF 20481
2022-06-11 18:24:43.157 INF udp: Got Connection status for: IC-705 ve6ars Busy: 0 Computer IP “0.0.0.0”
2022-06-11 18:24:43.157 INF udp: Got Radio 0
2022-06-11 18:24:43.157 INF udp: Find available local ports
2022-06-11 18:24:43.157 INF default: Received serial port baud rate from remote server: 19200
2022-06-11 18:24:43.158 INF system: Delay command interval timing: 75 ms
2022-06-11 18:24:43.165 INF udp: Starting udpCivData
2022-06-11 18:24:43.165 INF udp: UDP Stream bound to local port: 55859 remote port: 50002
2022-06-11 18:24:43.165 INF udp: Starting udpAudio
2022-06-11 18:24:43.165 INF udp: UDP Stream bound to local port: 40372 remote port: 50003
2022-06-11 18:24:43.165 INF audio: Input RTAudio handler starting: “default”
2022-06-11 18:24:43.166 INF udp: udpHandler Got serial and audio request success, device name: “IC-705 ve6ars”
2022-06-11 18:24:43.166 INF audio: Output RTAudio handler starting: “default”
2022-06-11 18:24:43.196 INF audio: Output “default” ( 5 ) successfully probed
2022-06-11 18:24:43.197 INF audio: Preferred sample rate: 48000
2022-06-11 18:24:43.197 INF audio: Channels: 32
2022-06-11 18:24:43.198 INF audio: Input “default” ( 5 ) successfully probed
2022-06-11 18:24:43.198 INF audio: Preferred sample rate: 48000
2022-06-11 18:24:43.198 INF audio: Channels: 32
2022-06-11 18:24:43.226 INF audioconverter: Starting audioConverter() Input: 2 Channels of “audio/pcm” 48000 Float 32 Output: 1 Channels of “audio/pcm” 8000 SignedInt 16
2022-06-11 18:24:43.226 INF audioconverter: wf_resampler_init() returned: 0 resampleRatio: 0.166667
2022-06-11 18:24:43.227 INF udp: Got Connection status for: IC-705 ve6ars Busy: 1 Computer ubuntu-r-wfview IP “10.42.0.1”
2022-06-11 18:24:43.227 INF udp: udpCivData : Received I am here
2022-06-11 18:24:43.227 INF udp: udpAudio : Received I am here
2022-06-11 18:24:43.228 INF audio: Input device successfully opened
2022-06-11 18:24:43.229 INF audio: Input detected latency: 0
2022-06-11 18:24:43.229 INF audio: Input setVolume: 255 ( 1 )
2022-06-11 18:24:43.243 INF audio: Output device successfully opened
2022-06-11 18:24:43.243 INF audio: Output detected latency: 0
2022-06-11 18:24:43.243 INF audio: Output setVolume: 226 ( 0.74402 )
2022-06-11 18:24:43.243 INF audioconverter: Starting audioConverter() Input: 1 Channels of “audio/pcm” 8000 SignedInt 16 Output: 2 Channels of “audio/pcm” 48000 Float 32
2022-06-11 18:24:43.243 INF audioconverter: wf_resampler_init() returned: 0 resampleRatio: 6
2022-06-11 18:24:43.284 INF udp: udpCivData Large seq number gap detected, previous highest: “0x2998” current: “0x1”
2022-06-11 18:24:43.293 INF rig: Using incomingCIVAddr: (int): 164 hex: “0xa4”
2022-06-11 18:24:43.293 INF serial: Received rigCapabilities for “IC-705”
2022-06-11 18:24:43.293 INF rig: Have rig ID: decimal: 164
2022-06-11 18:24:43.293 INF rigctld: Got rigcaps for: “IC-705”
2022-06-11 18:24:43.295 INF system: Delay command interval timing: 25 ms
2022-06-11 18:24:45.018 INF rig: Received 0x15 center span data: for frequency 50000
2022-06-11 18:25:14.229 INF udp.server: “::ffff:10.0.0.126” : New Control connection created
2022-06-11 18:25:14.230 INF udp.server: “::ffff:10.0.0.126” ( “Control” ): Received ‘are you there’
2022-06-11 18:25:14.230 INF udp.server: “::ffff:10.0.0.126” ( “Control” ): Received ‘Are you ready’
2022-06-11 18:25:14.231 INF udp.server: “::ffff:10.0.0.126” : Received ‘login’
2022-06-11 18:25:14.231 INF udp.server: “::ffff:10.0.0.126” : User “ve6ars” login OK
2022-06-11 18:25:14.231 INF udp.server: “::ffff:10.0.0.126” ( “Control” ): Sending Login response: 1
2022-06-11 18:25:14.232 INF udp.server: “::ffff:10.0.0.126” : Received create token request
2022-06-11 18:25:14.232 INF udp.server: “::ffff:10.0.0.126” ( “Control” ): Sending Capabilities : 2 for “IC-705”
2022-06-11 18:25:14.232 INF udp.server: “::ffff:10.0.0.126” ( “Control” ): Client will have TX audio
2022-06-11 18:25:14.232 INF udp.server: “::ffff:10.0.0.126” ( “Control” ): Sending ConnectionInfo : 3
2022-06-11 18:25:14.234 INF udp.server: “::ffff:10.0.0.126” : Received request for radio connection
2022-06-11 18:25:14.234 INF udp.server: “::ffff:10.0.0.126” ( “Control” ): Sending Status
2022-06-11 18:25:14.234 INF udp.server: “::ffff:10.0.0.126” ( “Control” ): Sending ConnectionInfo : 5
2022-06-11 18:25:14.234 INF udp.server: “::ffff:10.0.0.126” : rxCodec: 128 txCodec: 64 rxSampleRate 8000 txSampleRate 8000 txBufferLen 500
2022-06-11 18:25:14.235 INF udp.server: “::ffff:10.0.0.126” ( “CIV” ): New connection created
2022-06-11 18:25:14.235 INF udp.server: “::ffff:10.0.0.126” ( “CIV” ): Received ‘are you there’
2022-06-11 18:25:14.235 INF udp.server: “::ffff:10.0.0.126” ( “Audio” ): New connection created
2022-06-11 18:25:14.235 INF udp.server: “::ffff:10.0.0.126” ( “Audio” ): Received ‘are you there’
2022-06-11 18:25:14.236 INF udp.server: “::ffff:10.0.0.126” ( “Audio” ): Received ‘Are you ready’
2022-06-11 18:25:14.236 INF udp.server: “::ffff:10.0.0.126” ( “CIV” ): Received ‘Are you ready’
2022-06-11 18:25:14.394 INF rig: Have rig ID: decimal: 164
2022-06-11 18:25:16.521 INF rig: Received 0x15 center span data: for frequency 50000

Hi Ross.

That log looks like you are connecting to the IC705 via WiFi and then attempting to use the wfview server to re-share it?

This isn’t (currently) supported, the wfview server only supports USB connected rigs (as there is functionally very little difference between the wfview server and the server built-in to the IC705)

73 Phil M0VSE

Ah, ok, thanks Phil and Elliot, that makes sense. My apologies, I think I knew that once.

In any event, the Ubuntu clent does work very well. Good work!

Ross