Janne
(Jan Ohlsson)
12 February 2025 14:40
1
Server is 1.63 on PI, client is 2.04 on Pi. Radio is Icom 7300, connections are ethernet and fiber. After radio power down and disconnecting/reconnecting, often the radio does not come up at the client, or it comes up without waterfall, or without sound.
Rebooting the client does not help, and also not rebooting the server via Win Remote Desktop. But rebooting the server Pi always solves the problem.
I also have a linear amplifier by the radio, with remote control from a client PC at the client location. This does show that the radio indeed is turned on by the command from the client Wfview. But no Wfview connection to the radio, or not with sound or waterfall.
When this happened today, I collected two tmp logs from the server Pi. I will send the two logs on following messages. I hope this will give some insight in the reason for the lost connection. The connection is lost completely or partly more often than it is working, after the radio beeing turned off and the connection beeing off for a day or more.
Janne
(Jan Ohlsson)
12 February 2025 14:41
2
2025-02-12 14:51:24.690 INF udp.server: "::ffff:78.82.103.238" : Received token request
2025-02-12 14:51:24.690 INF udp.server: "::ffff:78.82.103.238" ( "Control" ): Sending Token response for type: 5
2025-02-12 14:52:24.689 INF udp.server: "::ffff:78.82.103.238" : Received token request
2025-02-12 14:52:24.689 INF udp.server: "::ffff:78.82.103.238" ( "Control" ): Sending Token response for type: 5
2025-02-12 14:53:07.793 INF udp.server: "::ffff:78.82.103.238" ( "Control" Large seq number gap detected, previous highest: "0xffff" current: "0x1"
2025-02-12 14:53:19.706 INF udp.server: "::ffff:78.82.103.238" ( "Audio" Large seq number gap detected, previous highest: "0xffff" current: "0x1"
2025-02-12 14:53:24.690 INF udp.server: "::ffff:78.82.103.238" : Received token request
2025-02-12 14:53:24.690 INF udp.server: "::ffff:78.82.103.238" ( "Control" ): Sending Token response for type: 5
2025-02-12 14:54:24.689 INF udp.server: "::ffff:78.82.103.238" : Received token request
2025-02-12 14:54:24.689 INF udp.server: "::ffff:78.82.103.238" ( "Control" ): Sending Token response for type: 5
2025-02-12 14:55:24.689 INF udp.server: "::ffff:78.82.103.238" : Received token request
2025-02-12 14:55:24.690 INF udp.server: "::ffff:78.82.103.238" ( "Control" ): Sending Token response for type: 5
2025-02-12 14:56:24.690 INF udp.server: "::ffff:78.82.103.238" : Received token request
2025-02-12 14:56:24.690 INF udp.server: "::ffff:78.82.103.238" ( "Control" ): Sending Token response for type: 5
2025-02-12 14:57:24.690 INF udp.server: "::ffff:78.82.103.238" : Received token request
2025-02-12 14:57:24.690 INF udp.server: "::ffff:78.82.103.238" ( "Control" ): Sending Token response for type: 5
2025-02-12 14:58:24.689 INF udp.server: "::ffff:78.82.103.238" : Received token request
2025-02-12 14:58:24.690 INF udp.server: "::ffff:78.82.103.238" ( "Control" ): Sending Token response for type: 5
2025-02-12 14:58:40.244 INF serial: Opened port: "/dev/IC7300"
2025-02-12 14:58:42.252 WRN default: "Stream error: Entitet dödad"
2025-02-12 14:58:42.252 WRN default: QString::arg: Argument missing: Failed to get sink information: %s, Ingen sådan entitet
2025-02-12 14:58:42.252 WRN default: "Failed to get sink information: %s"
2025-02-12 14:58:42.270 WRN default: "pa_stream_peek() failed: Ogiltigt argument"
2025-02-12 14:58:42.326 WRN default: "pa_stream_peek() failed: Ogiltigt argument"
2025-02-12 14:58:42.382 WRN default: "pa_stream_peek() failed: Ogiltigt argument"
2025-02-12 14:58:42.438 WRN default: "pa_stream_peek() failed: Ogiltigt argument"
2025-02-12 14:58:42.494 WRN default: "pa_stream_peek() failed: Ogiltigt argument"
2025-02-12 14:58:42.550 WRN default: "pa_stream_peek() failed: Ogiltigt argument"
2025-02-12 14:58:42.606 WRN default: "pa_stream_peek() failed: Ogiltigt argument"
2025-02-12 14:58:42.662 WRN default: "pa_stream_peek() failed: Ogiltigt argument"
2025-02-12 14:58:42.718 WRN default: "pa_stream_peek() failed: Ogiltigt argument"
2025-02-12 14:58:42.755 INF serial: Could not open serial port "/dev/IC7300" , please restart.
2025-02-12 14:58:42.755 INF rig: Error using port "/dev/IC7300" message: "Could not open port. Please restart."
2025-02-12 14:58:42.755 WRN default: QIODevice::write (QSerialPort): device not open
2025-02-12 14:58:42.755 INF serial: Closing serial port: "IC7300"
2025-02-12 14:58:42.774 WRN default: "pa_stream_peek() failed: Ogiltigt argument"
2025-02-12 14:58:42.830 WRN default: "pa_stream_peek() failed: Ogiltigt argument"
Janne
(Jan Ohlsson)
12 February 2025 14:41
3
2025-02-12 14:59:35.988 INF system: "wfview version: 1.63 (Git:54b00b9 on Jun 6 2023 at 14:34:21 by pi@raspberrypi). Operating System: Raspbian GNU/Linux 10 (buster) (arm). Build Qt Version 5.11.3. Current Qt Version: 5.11.3"
2025-02-12 14:59:36.176 INF system: Loading settings from "/home/pi/.config/wfview/wfview.conf"
2025-02-12 14:59:36.228 INF rigctld: could not start on port 4532
2025-02-12 14:59:36.229 INF gui: Got Audio Output from Settings: "default"
2025-02-12 14:59:36.230 INF gui: Got Audio Input from Settings: "default"
2025-02-12 14:59:36.253 INF cw: "Sidetone Output: alsa_output.platform-bcm2835_audio.digital-stereo (volume: 0 rate: 44100 size: 16 type: 1)"
2025-02-12 14:59:36.254 INF audio: Audio device(s) found (*=default)
2025-02-12 14:59:36.461 INF audio: * ( 0 ) Input Device : "default"
2025-02-12 14:59:36.461 INF audio: ( 1 ) Input Device : "jack"
2025-02-12 14:59:36.462 INF audio: ( 2 ) Input Device : "pulse"
2025-02-12 14:59:36.462 INF audio: ( 3 ) Input Device : "usbstream:CARD=b1"
2025-02-12 14:59:36.462 INF audio: ( 4 ) Input Device : "usbstream:CARD=Headphones"
2025-02-12 14:59:36.463 INF audio: ( 5 ) Input Device : "alsa_output.platform-bcm2835_audio.digital-stereo.monitor"
2025-02-12 14:59:36.463 INF audio: ( 6 ) Input Device : "alsa_output.platform-bcm2835_audio.analog-stereo.monitor"
2025-02-12 14:59:36.886 INF audio: * ( 0 ) Output Device : "default"
2025-02-12 14:59:36.886 INF audio: ( 1 ) Output Device : "jack"
2025-02-12 14:59:36.887 INF audio: ( 2 ) Output Device : "pulse"
2025-02-12 14:59:36.887 INF audio: ( 3 ) Output Device : "sysdefault:CARD=b1"
2025-02-12 14:59:36.887 INF audio: ( 4 ) Output Device : "dmix:CARD=b1,DEV=0"
2025-02-12 14:59:36.887 INF audio: ( 5 ) Output Device : "dsnoop:CARD=b1,DEV=0"
2025-02-12 14:59:36.887 INF audio: ( 6 ) Output Device : "hw:CARD=b1,DEV=0"
2025-02-12 14:59:36.887 INF audio: ( 7 ) Output Device : "plughw:CARD=b1,DEV=0"
2025-02-12 14:59:36.888 INF audio: ( 8 ) Output Device : "usbstream:CARD=b1"
2025-02-12 14:59:36.888 INF audio: ( 9 ) Output Device : "sysdefault:CARD=Headphones"
2025-02-12 14:59:36.888 INF audio: ( 10 ) Output Device : "dmix:CARD=Headphones,DEV=0"
2025-02-12 14:59:36.888 INF audio: ( 11 ) Output Device : "dsnoop:CARD=Headphones,DEV=0"
2025-02-12 14:59:36.888 INF audio: ( 12 ) Output Device : "hw:CARD=Headphones,DEV=0"
2025-02-12 14:59:36.889 INF audio: ( 13 ) Output Device : "plughw:CARD=Headphones,DEV=0"
2025-02-12 14:59:36.889 INF audio: ( 14 ) Output Device : "usbstream:CARD=Headphones"
2025-02-12 14:59:36.889 INF audio: ( 15 ) Output Device : "alsa_output.platform-bcm2835_audio.digital-stereo"
2025-02-12 14:59:36.889 INF audio: ( 16 ) Output Device : "alsa_output.platform-bcm2835_audio.analog-stereo"
2025-02-12 14:59:36.889 INF default: Looking for inputs
2025-02-12 14:59:36.893 INF audio: "Client Audio input device default found! "
2025-02-12 14:59:36.893 INF default: Looking for outputs
2025-02-12 14:59:36.895 INF audio: "Client Audio output device default found! "
2025-02-12 14:59:36.900 INF audio: "Server Audio input device alsa_input.usb-Burr-Brown_from_TI_USB_Audio_CODEC-00.analog-stereo Not found: Selecting found USB device usbstream:CARD=Headphones"
2025-02-12 14:59:36.900 INF audio: "Server Audio output device alsa_output.usb-Burr-Brown_from_TI_USB_Audio_CODEC-00.analog-stereo Not found: Selecting found USB device usbstream:CARD=Headphones"
2025-02-12 14:59:37.361 INF system: Cannot prepare WF view without rigCaps. Waiting on this.
2025-02-12 14:59:37.379 INF rig: creating instance of rigCommander()
2025-02-12 14:59:37.380 INF serial: Could not open serial port "/dev/IC7300" , please restart.
2025-02-12 14:59:37.381 INF cluster: starting dxClusterClient()
2025-02-12 14:59:37.382 INF udp.server: Starting udp server
2025-02-12 14:59:37.382 INF audio: Audio Input device "usbstream:CARD=Headphones"
2025-02-12 14:59:37.382 INF audio: Audio Output device "usbstream:CARD=Headphones"
2025-02-12 14:59:37.385 INF udp.server: My IP Address: "0.0.0.0"
2025-02-12 14:59:37.385 INF udp.server: Server Binding Control to: 50001
2025-02-12 14:59:37.386 INF udp.server: Server Binding CIV to: 50002
2025-02-12 14:59:37.386 INF udp.server: Server Binding Audio to: 50003
2025-02-12 14:59:37.797 INF system: Received CommReady!!
2025-02-12 14:59:37.797 INF system: Delay command interval timing: 75 ms
2025-02-12 14:59:37.798 INF default: Setting rig state for wfmain
2025-02-12 14:59:37.798 INF default: Setting rig state
2025-02-12 14:59:37.798 WRN default: QIODevice::write (QSerialPort): device not open
2025-02-12 14:59:37.909 WRN default: QIODevice::write (QSerialPort): device not open
2025-02-12 14:59:38.025 WRN default: QIODevice::write (QSerialPort): device not open
2025-02-12 14:59:38.175 WRN default: QIODevice::write (QSerialPort): device not open
2025-02-12 14:59:38.325 WRN default: QIODevice::write (QSerialPort): device not open
2025-02-12 14:59:38.476 WRN default: QIODevice::write (QSerialPort): device not open
2025-02-12 14:59:38.625 WRN default: QIODevice::write (QSerialPort): device not open
2025-02-12 14:59:38.775 WRN default: QIODevice::write (QSerialPort): device not open
2025-02-12 14:59:38.926 WRN default: QIODevice::write (QSerialPort): device not open
2025-02-12 14:59:39.076 WRN default: QIODevice::write (QSerialPort): device not open
2025-02-12 14:59:39.225 WRN default: QIODevice::write (QSerialPort): device not open
2025-02-12 14:59:39.376 WRN default: QIODevice::write (QSerialPort): device not open
2025-02-12 14:59:39.675 WRN default: QIODevice::write (QSerialPort): device not open
2025-02-12 14:59:39.825 WRN default: QIODevice::write (QSerialPort): device not open
2025-02-12 14:59:39.976 WRN default: QIODevice::write (QSerialPort): device not open
2025-02-12 14:59:40.027 INF serial: Could not open serial port "/dev/IC7300" , please restart.
2025-02-12 14:59:40.027 INF rig: Error using port "/dev/IC7300" message: "Could not open port. Please restart."
2025-02-12 14:59:40.028 INF serial: Closing serial port: "IC7300"
eliggett
(Elliott Liggett)
14 February 2025 20:45
4
Hi Janne,
The issue is here:
2025-02-12 14:58:42.755 INF rig: Error using port "/dev/IC7300" message: "Could not open port. Please restart."
If the operating system cannot see the radio, then wfview also cannot see the radio.
Please confirm:
/dev/IC7300 is the correct serial port. Verify that this device exists. Also check /dev/ttyUSB0 just to see if perhaps the device symlink isn’t working.
Verify that the USB cable is definitely shielded. Some inexpensive USB cables are not made to spec and they will drop the serial connection when around a lot of RF – even 100W is enough to cause this to happen.
You may wish to use the radio scan script on your Pi to help debug the presence of the 7300.
https://gitlab.com/eliggett/scripts/-/blob/master/radioscan.sh?ref_type=heads
Download the script.
cd ~/Downloads
chmod 755 radioscan.sh
./radioscan.sh
Per your issue with power down and power up, the 7300 will allow for remote power on/off. You must put the 7300 in “standy for remote” when powering down (versus completely off). I may have the exact text of their standby mode incorrect but when you long-press Power, it should ask you for shutdown or standby.
–E
de W6EL
Janne
(Jan Ohlsson)
14 February 2025 21:53
5
Thanks Elliot, for the useful information. It seems likely that my problem is related to the radio-pi USB connection, as you suggest. I have another USB connection to the pi, my SPE linear amp. That is why I made the symlink rule, before this the amp and the radio competed for the device ports when starting the pi.
But perhaps there is some competition anyway, that would explain that the only cure is rebooting the pi. When the pi starts up again, the symlink rule is applied, and my problem disappears.
I wonder if the amp somehow grabs the USB device port for the radio when the radio is in off mode. I will try to investigate this with the software you pointed to.
Not shure what I could do though, if that is the case. A separate pi fot the amp would be a possibility, but that would be a bit clumsy.
73
Janne