ha7ilm / openwebrx

Open source, multi-user SDR receiver software with a web interface
https://sdr.hu/openwebrx
GNU Affero General Public License v3.0
986 stars 471 forks source link

No waterfall - no audio #35

Closed la3rk closed 8 years ago

la3rk commented 8 years ago

Trying out openwebsdr with my single channel AFEDRI-SDR. Plan is to locate at summerhouse, ie location with low rf noise. Software (server) is running on RaspberryPi3. Startupsequence including connection to Firefox via local home net is as follows;

pi@SdrPi:~/openwebrx $ bash start_afedri.sh sdr_commander v.1.23 SDR IP=10.0.0.217:50000 SO_KEEPALIVE is OFF The new sample rate was set in SDR: 1536000 (Hz) ACK rprt=28, cmd=8 RF gain 17dB => 72 ACK rprt=28, cmd=48 The new multichannel mode is Single Channel sdr_commander v.1.23 SDR IP=10.0.0.217:50000 SO_KEEPALIVE is OFF RX Frequency 3518000 (Hz) for the channel 0

OpenWebRX - Open Source SDR Web App for Everyone! | for license see LICENSE fil e in the package



Author contact info: Andras Retzler, HA7ILM randras@sdr.hu

[openwebrx-main] Configuration script not specified. I will use: "config_webrx.p y" [openwebrx-import] Found plugin: plugins.dsp.csdr.plugin Ncat: Version 6.47 ( http://nmap.org/ncat ) [openwebrx-main] Started rtl_thread: ./sdr_split -i10.0.0.217 -u50000 -O -s19200 0 -f3515000 | nc -vvl -p 8888| ncat -4l 4951 -k --send-only --allow 127.0.0.1 [openwebrx-main] Waiting for I/Q server to start... Listening on [0.0.0.0](family 0, port 8888) SDR Split 1.12 will use next parameters Starting in network mode SDR IP=10.0.0.217:50000 1 RX IQ channels data stream. Split to 1 channels... Playback device is stdin Channel sample rate 192000 SO_KEEPALIVE is OFF UDP socket receive buffer size 262144 Any address on port 50000 [openwebrx-main] I/Q server started. [openwebrx-main] Starting watchdog threads. [openwebrx-main] Starting spectrum thread. [openwebrx-spectrum] Spectrum thread initialized successfully. [openwebrx-dsp-plugin:csdr] Command = ncat -v 127.0.0.1 4951 | csdr converts16 f | csdr fft_cc 4096 21333 | csdr logpower_cf -70 | csdr fft_exchange_sides_ff 4 096 | csdr compress_fft_adpcm_f_u8 4096 [openwebrx-main] Starting HTTP server. [openwebrx-spectrum] Spectrum thread started. Ncat: Version 6.47 ( http://nmap.org/ncat ) Ncat: Connected to 127.0.0.1:4951. 10.0.0.189 - - [26/Mar/2016 10:09:03] "GET / HTTP/1.1" 200 - [openwebrx-httpd] client 10.0.0.189#4d2ccf3aea6a4102e4978c766f5113bc :: client a dded. Clients now: 1 10.0.0.189 - - [26/Mar/2016 10:09:04] "GET /sdr.js HTTP/1.1" 200 - 10.0.0.189 - - [26/Mar/2016 10:09:04] "GET /openwebrx.js HTTP/1.1" 200 - 10.0.0.189 - - [26/Mar/2016 10:09:04] "GET /openwebrx.css HTTP/1.1" 200 - 10.0.0.189 - - [26/Mar/2016 10:09:04] "GET /favicon.ico HTTP/1.1" 200 - 10.0.0.189 - - [26/Mar/2016 10:09:04] "GET /favicon.ico HTTP/1.1" 200 - 10.0.0.189 - - [26/Mar/2016 10:09:05] "GET /favicon.ico HTTP/1.1" 200 - 10.0.0.189 - - [26/Mar/2016 10:09:05] "GET /favicon.ico HTTP/1.1" 200 - [openwebrx-httpd:ws,0] command: SET output_rate=12000 action=start [openwebrx-dsp-plugin:csdr] Command = ncat -v 127.0.0.1 4951 | csdr converts16 f | csdr shift_addition_cc --fifo /tmp/openwebrx_pipe_1986677216_shift | csdr fi r_decimate_cc 15 0.01 HAMMING | csdr bandpass_fir_fft_cc --fifo /tmp/openwebrx_p ipe_1986677216_bpf 0.025 HAMMING | csdr squelch_and_smeter_cc --fifo /tmp/openwe brx_pipe_1986677216_squelch --outfifo /tmp/openwebrx_pipe_1986677216_smeter 5 1 | csdr fmdemod_quadri_cf | csdr limit_ff | csdr fractional_decimator_ff 1.066666 66667 | csdr deemphasis_nfm_ff 11025 | csdr fastagc_ff 1024 | csdr convert_f_i16 | csdr encode_ima_adpcm_i16_u8 fir_decimate_cc: taps_length = 401 Ncat: Version 6.47 ( http://nmap.org/ncat ) taps_length = 401 padded_taps_length = 408 taps = 145e018 taps = 145e020 fractional_decimator_ff: window = HAMMING fractional_decimator_ff: taps_length = 133 csdr: fifo control mode on csdr: fifo control mode on csdr: fifo control mode on squelch_and_power_cc: initial squelch level is 0 Ncat: Connected to 127.0.0.1:4951. bandpass_fir_fft_cc: (fft_size = 512) = (taps_length = 159) + (input_size = 354)

I fail to see any errors in the above, still the waterfall is empty and no audio, only the frequency scale, rx info, status, logs etc is shown.

The JS console shows the following; Unknown property '-moz-border-radius'. Declaration dropped. openwebrx.css:509:19 Unknown property '-moz-border-radius'. Declaration dropped. openwebrx.css:530:19 Error in parsing value for 'background'. Declaration dropped. openwebrx.css:535:12 Unknown property 'user-select'. Declaration dropped. openwebrx.css:537:12 Unknown property 'user-select'. Declaration dropped. openwebrx.css:636:12 audio_calculate_resampling() :: 4, 12000 openwebrx.js:1111:2 Error in parsing value for 'max-height'. Declaration dropped. 10.0.0.113:8073 Error in parsing value for 'height'. Declaration dropped.

Only errors seems related to layout of page. Client log on page itself shows; OpenWebRX client log Author: András Retzler, HA7ILM You can support OpenWebRX development via PayPal! WebSocket opened to ws://10.0.0.113:8073/ws/ Acknowledged WebSocket connection: CLIENT DE SERVER openwebrx.py Audio stream is compressed. FFT stream is compressed.

Any suggestions are welcome. Would love to get this software to run. Need access to a low noise RX site. Home QTH is to noisy for serious DX work on 80 m.

73 de Olaf - LA3RK

la3rk commented 8 years ago

Problem solved. As easy as running as root. Sample rate was also different in the setups 1536000 in one file and 19200 in another.