Intermittent RX

I have Wfview configured on a Windows 10 box in server mode. I have tested it with two differnt laptops as network clients and it works GREAT!. I have created a settings file for this configuration on the clients so I can come back to it.

After disconnecting the USB cable from the pc and connecting it to a Raspberry Pi 4 I have set up a new server and new settings files on the clients. Everything seems to work as it should except there is an intermittent click in the radio as if a momentary PTT. This makes RX audio drop out and I believe causes the choppy tx audio I have had as reported by qso’s.

I would really like to switch to the RPI since I have node red running on it controlling some power supply relays and monitoring other radios temp and TXpower, etc. Any thoughts on the intermittent “PTT” interruptions?

Thanks for the help.

Terry Dalby
N8BIF

Please check the log and make sure there is not excessive packet loss. Just press “Log” to see it.

On your server, you can try switching the audio system from QtAudio to Port Audio or RT Audio. When you switch audio systems, you will have to re-select the radio’s USB audio device from the menus in the wfview server settings. (They change names with differetn systems.) Sometimes one audio system will work a lot better than another.

You can also try some things on the client side:

  • Lower the sample rate to 16k
  • Try Opus 1ch as the codec, followed by uLaw 8

Let us know if any of that helps.

–E
de W6EL

Thanks for the quick response. Log monitoring is your friend. When I watch the log window I see the following:

2025-01-18 11:24:34.034 INF serial: Opened port: “/dev/ttyUSB0”
2025-01-18 11:24:44.853 INF serial: Opened port: “/dev/ttyUSB0”
2025-01-18 11:24:57.248 INF serial: Opened port: “/dev/ttyUSB0”

Each line entry coincides with the interruption. Every 10 seconds there is a new line entry. I have seen the same behavior on all three audio options. By the way, I took this log snippet from the server connected by USB.

Thanks
N8BIF

This is quite strange!

Can you fill us in on your setup? Software version, radio, etc? Which thing had that serial opening log message, server or client?

Thanks,

–E
de W6EL

My environment:
Raspberry Pi 4B
OS - Raspbian GNU/Linux 12 (bookworm)
Wfview version - 2.03
Radio - IC-7300
Log snippit is from the RPI (server)
No clients connected

Hope this helps.

N8BIF

Can you send us the entire log file?

https://wfview.org/wfview-user-manual/how-to-send-a-logfile/

–E
de W6EL

Log sent. BTW, I tried all of the audio selections and returned it to the original. Also, I noted that disconnecting from the radio stops the problem.

Thanks,

N8BIF

Please follow all the directions in the link. I do not have your log file.

My bad.

https://termbin.com/aw5t

N8BIF

Got it, thanks. Can you also send over this file:

“/home/tdalby/.config/wfview/wfview.conf”

cat /home/tdalby/.config/wfview/wfview.conf | nc termbin.com 9999

(and then give us the URL that is returned) If you don’t have netcat installed, install it, or just attach the file on our support forum in a reply.

Thanks,

–E

Copied and pasted the command and it returned:

https://termbin.com/wrhx

Thanks,

N8BIF

Thank you, Terry.

I’m stumped. Maybe @phil can figure it out.

–E
de W6EL

Can you try the command:

dmesg

It looks to me like the rig USB port may be disconnecting and then immediately reconnecting. This is a common symptom that the power supply to the Pi is under-voltage or not able to supply sufficient current.

If this is the case, you should see those disconnects/reconnects in dmesg

Phil

You can also try the command:

udevadm monitor

This will allow you to monitor the USB device status in realtime.

I tried the udevadm monitor and saw tons of stuff when I unplugged and plugged the USB cable into the RPi. I monitored it and could see the port reopen statements in wfview log, but there were no corresponding entries (or any entries) in the udevadm window.

Out of frustration, I reverted the wfview config to factory and configured the Radio access. After restartng the app there was no problem - in the audio, the wfview log, or the udevadm window. I went back and reconfigured the server window, restarted wfview, and still no problem. Tested from a laptop and all seems great. I swear I have tried that before, but I am not going to complain that it worked. :slightly_smiling_face:

Thanks for the help. I love wfview. I have RS-BA1 but it does not have the features that wfview does and is much more difficult to configure. I hope to get more experience with wfview before our next trip so that I can work remotely.

Terry Dalby
N8BIF

I guess I spoke too soon. After a reboot, the problem is back. Still no entries in the udevadm window but 2025-01-18 16:08:59.504 INF serial: Opened port: “/dev/ttyUSB0” in the wfview log.

N8BIF