Giter VIP home page Giter VIP logo

pihpsdr's Introduction

pihpsdr

Raspberry Pi 3/4 standalone code for HPSDR

Supports both the old and new ethernet protocols.

See the Wiki (https://github.com/g0orx/pihpsdr/wiki) for more information about building and running piHPSDR.

Note: The latest source now code has the gpiod branch merged in and also reuqires the latest version of wdsp.

pihpsdr's People

Contributors

dl1ycf avatar g0orx avatar jancona avatar markusgrosser avatar pa3gsb avatar ra1nb0w avatar sq8mvy avatar tmiw avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pihpsdr's Issues

No IQ data transfer after update

Hello,
i am using Pihpsdr together with Pavel Denim's HPSDR-Simulation on RedPitaya for about 2 years with great fun. After the update to the latest version of PIHPSDR and the corresponding SW from Pavel, i am no more able to use my transciever. The Ethernet connection is established. The reciever does not work, it seems like the system hangs. I think the transfer of IQ-data is not working. I already had this effect with the old combination but this could be mented by a restart.
Does anyone have a solution??
Regards
Herko, DK3HU

/home/kc7noaa/Downloads/pihpsdr/receiver.c:805: undefined reference to `RXASetNC'

how soon is too soon to post an error

receiver.o: In function create_receiver': /home/kc7noaa/Downloads/pihpsdr/receiver.c:805: undefined reference to RXASetNC'
/home/kc7noaa/Downloads/pihpsdr/receiver.c:806: undefined reference to RXASetMP' transmitter.o: In function create_transmitter':
/home/kc7noaa/Downloads/pihpsdr/transmitter.c:420: undefined reference to TXASetNC' /home/kc7noaa/Downloads/pihpsdr/transmitter.c:421: undefined reference to TXASetMP'
collect2: error: ld returned 1 exit status
Makefile:363: recipe for target 'pihpsdr' failed
make: *** [pihpsdr] Error 1

PiHPSDR Rig control IO Error

Running v1.2.3 with daily N0NB hamlib to get rigcontrol working with fldigi. Getting initialization failure in fldigi. To debug I tried the following -

pi@raspberrypi:~ $ rigctl -l | grep -i hpsdr
240 OpenHPSDR PiHPSDR 20170121 Beta

pi@raspberrypi:~ $ sudo rigctl -m 240 -r localhost:19090 f
rig_open: error = IO error

also tried running pihpsdr under sudo - no joy.

Backed up to v1.2.1 - still fails.

Compile error with psk

Hello John,

Thanks for the next step in the radio. I am not sure if you are aware of the following error when compiling with PSK_INCLUDE=PSK uncommented. I could not find a pskcoresdr.h anywhere.

gcc -g -D x86 -D FREEDV -D PSK -D GIT_DATE='"2016-08-05"' -D GIT_VERSION='"v1.0.0-beta-2-g5d54683-dirty"' -O3 pkg-config --cflags gtk+-3.0 -c -o freedv.o freedv.c
gcc -g -D x86 -D FREEDV -D PSK -D GIT_DATE='"2016-08-05"' -D GIT_VERSION='"v1.0.0-beta-2-g5d54683-dirty"' -O3 pkg-config --cflags gtk+-3.0 -c -o gpio.o gpio.c
gcc -g -D x86 -D FREEDV -D PSK -D GIT_DATE='"2016-08-05"' -D GIT_VERSION='"v1.0.0-beta-2-g5d54683-dirty"' -O3 pkg-config --cflags gtk+-3.0 -c -o psk.o psk.c
psk.c:5:24: fatal error: pskcoresdr.h: No such file or directory
#include <pskcoresdr.h>
^
compilation terminated.
make: *** [psk.o] Error 1
gvj@gvj-Mint ~/Programs/pihpsdr $

73, Graeme ZL2APV

CW

Hi John

I built your latest code and find it super to be able to use my RPi 3 with Hermes.

I wanted to let you know that there are a couple of things on cw that make it difficult to use:

  • There is no offset on cw when transmitting. ie the cw is being sent at 0 Hz offset rather than at the sidetone offset.
  • There is a short buzz on the receive audio when switching back to receive from transmit on cw.
  • The weighting on cw between the dashes and dots is too short. I did not see a control for this setting. Can you hard code the value to 50 if you are not going to put in a setting adjustment for it.

If you point me in the right direction I will try and make the changes to the code myself.

73

Rick ve3mm

LimeSDR displayed bandwidth too wide for Odroid-C2

LimeSDR displayed bandwidth too wide for Odroid-C2 and id like to know where to change the decimation and input samples per second(input bandwidth)

Im thinking in one of the lime_protocol files ...

gpio configure error --- but gpio is remed out ....

GPIO is remed out in Makefile

kc7noaa@odroid64:~/Downloads/pihpsdr$ make
rm -f version.o
gcc -g -Wno-deprecated-declarations -D odroid -D LIMESDR -D SHORT_FRAMES -D GIT_DATE='"2017-02-22"' -D GIT_VERSION='"v1.1.3-beta"' -O3 pkg-config --cflags gtk+-3.0 -c -o version.o version.c
gcc -o pihpsdr audio.o band.o configure.o frequency.o discovered.o discovery.o filter.o version.o main.o new_menu.o rx_menu.o exit_menu.o radio_menu.o ant_menu.o display_menu.o dsp_menu.o pa_menu.o cw_menu.o oc_menu.o xvtr_menu.o equalizer_menu.o step_menu.o meter_menu.o band_menu.o bandstack_menu.o mode_menu.o filter_menu.o noise_menu.o agc_menu.o vox_menu.o diversity_menu.o freqent_menu.o tx_menu.o vfo_menu.o test_menu.o meter.o mode.o old_discovery.o new_discovery.o old_protocol.o new_protocol.o new_protocol_programmer.o rx_panadapter.o tx_panadapter.o property.o radio.o receiver.o rigctl.o toolbar.o transmitter.o sliders.o vfo.o waterfall.o button_text.o vox.o update.o store.o store_menu.o memory.o led.o lime_discovery.o lime_protocol.o -lrt -lm -lwdsp -lpthread -lasound pkg-config --libs gtk+-3.0 -lSoapySDR
configure.o: In function save_cb': /home/kc7noaa/Downloads/pihpsdr/configure.c:108: undefined reference to ENABLE_VFO_ENCODER'
/home/kc7noaa/Downloads/pihpsdr/configure.c:108: undefined reference to ENABLE_VFO_ENCODER' /home/kc7noaa/Downloads/pihpsdr/configure.c:109: undefined reference to VFO_ENCODER_A'
/home/kc7noaa/Downloads/pihpsdr/configure.c:109: undefined reference to VFO_ENCODER_A' /home/kc7noaa/Downloads/pihpsdr/configure.c:110: undefined reference to VFO_ENCODER_B'
/home/kc7noaa/Downloads/pihpsdr/configure.c:110: undefined reference to VFO_ENCODER_B' /home/kc7noaa/Downloads/pihpsdr/configure.c:111: undefined reference to ENABLE_VFO_PULLUP'
/home/kc7noaa/Downloads/pihpsdr/configure.c:111: undefined reference to ENABLE_VFO_PULLUP' /home/kc7noaa/Downloads/pihpsdr/configure.c:113: undefined reference to ENABLE_E1_ENCODER'
/home/kc7noaa/Downloads/pihpsdr/configure.c:113: undefined reference to ENABLE_E1_ENCODER' /home/kc7noaa/Downloads/pihpsdr/configure.c:114: undefined reference to E1_ENCODER_A'
/home/kc7noaa/Downloads/pihpsdr/configure.c:114: undefined reference to E1_ENCODER_A' /home/kc7noaa/Downloads/pihpsdr/configure.c:115: undefined reference to E1_ENCODER_B'
/home/kc7noaa/Downloads/pihpsdr/configure.c:115: undefined reference to E1_ENCODER_B' /home/kc7noaa/Downloads/pihpsdr/configure.c:116: undefined reference to ENABLE_E1_PULLUP'
/home/kc7noaa/Downloads/pihpsdr/configure.c:116: undefined reference to ENABLE_E1_PULLUP' /home/kc7noaa/Downloads/pihpsdr/configure.c:118: undefined reference to ENABLE_E2_ENCODER'
/home/kc7noaa/Downloads/pihpsdr/configure.c:118: undefined reference to ENABLE_E2_ENCODER' /home/kc7noaa/Downloads/pihpsdr/configure.c:119: undefined reference to E2_ENCODER_A'
/home/kc7noaa/Downloads/pihpsdr/configure.c:119: undefined reference to E2_ENCODER_A' /home/kc7noaa/Downloads/pihpsdr/configure.c:120: undefined reference to E2_ENCODER_B'
/home/kc7noaa/Downloads/pihpsdr/configure.c:120: undefined reference to E2_ENCODER_B' /home/kc7noaa/Downloads/pihpsdr/configure.c:121: undefined reference to ENABLE_E2_PULLUP'
/home/kc7noaa/Downloads/pihpsdr/configure.c:121: undefined reference to ENABLE_E2_PULLUP' /home/kc7noaa/Downloads/pihpsdr/configure.c:123: undefined reference to ENABLE_E3_ENCODER'
/home/kc7noaa/Downloads/pihpsdr/configure.c:123: undefined reference to ENABLE_E3_ENCODER' /home/kc7noaa/Downloads/pihpsdr/configure.c:124: undefined reference to E3_ENCODER_A'
/home/kc7noaa/Downloads/pihpsdr/configure.c:124: undefined reference to E3_ENCODER_A' /home/kc7noaa/Downloads/pihpsdr/configure.c:125: undefined reference to E3_ENCODER_B'
/home/kc7noaa/Downloads/pihpsdr/configure.c:125: undefined reference to E3_ENCODER_B' /home/kc7noaa/Downloads/pihpsdr/configure.c:126: undefined reference to ENABLE_E3_PULLUP'
/home/kc7noaa/Downloads/pihpsdr/configure.c:126: undefined reference to ENABLE_E3_PULLUP' /home/kc7noaa/Downloads/pihpsdr/configure.c:128: undefined reference to ENABLE_MOX_BUTTON'
/home/kc7noaa/Downloads/pihpsdr/configure.c:128: undefined reference to ENABLE_MOX_BUTTON' /home/kc7noaa/Downloads/pihpsdr/configure.c:129: undefined reference to MOX_BUTTON'
/home/kc7noaa/Downloads/pihpsdr/configure.c:129: undefined reference to MOX_BUTTON' /home/kc7noaa/Downloads/pihpsdr/configure.c:131: undefined reference to ENABLE_S1_BUTTON'
/home/kc7noaa/Downloads/pihpsdr/configure.c:131: undefined reference to ENABLE_S1_BUTTON' /home/kc7noaa/Downloads/pihpsdr/configure.c:132: undefined reference to S1_BUTTON'
/home/kc7noaa/Downloads/pihpsdr/configure.c:132: undefined reference to S1_BUTTON' /home/kc7noaa/Downloads/pihpsdr/configure.c:134: undefined reference to ENABLE_S2_BUTTON'
/home/kc7noaa/Downloads/pihpsdr/configure.c:134: undefined reference to ENABLE_S2_BUTTON' /home/kc7noaa/Downloads/pihpsdr/configure.c:135: undefined reference to S2_BUTTON'
/home/kc7noaa/Downloads/pihpsdr/configure.c:135: undefined reference to S2_BUTTON' /home/kc7noaa/Downloads/pihpsdr/configure.c:137: undefined reference to ENABLE_S3_BUTTON'
/home/kc7noaa/Downloads/pihpsdr/configure.c:137: undefined reference to ENABLE_S3_BUTTON' /home/kc7noaa/Downloads/pihpsdr/configure.c:138: undefined reference to S3_BUTTON'
/home/kc7noaa/Downloads/pihpsdr/configure.c:138: undefined reference to S3_BUTTON' /home/kc7noaa/Downloads/pihpsdr/configure.c:140: undefined reference to ENABLE_S4_BUTTON'
/home/kc7noaa/Downloads/pihpsdr/configure.c:140: undefined reference to ENABLE_S4_BUTTON' /home/kc7noaa/Downloads/pihpsdr/configure.c:141: undefined reference to S4_BUTTON'
/home/kc7noaa/Downloads/pihpsdr/configure.c:141: undefined reference to S4_BUTTON' /home/kc7noaa/Downloads/pihpsdr/configure.c:143: undefined reference to ENABLE_S5_BUTTON'
/home/kc7noaa/Downloads/pihpsdr/configure.c:143: undefined reference to ENABLE_S5_BUTTON' /home/kc7noaa/Downloads/pihpsdr/configure.c:144: undefined reference to S5_BUTTON'
/home/kc7noaa/Downloads/pihpsdr/configure.c:144: undefined reference to S5_BUTTON' /home/kc7noaa/Downloads/pihpsdr/configure.c:146: undefined reference to ENABLE_S6_BUTTON'
/home/kc7noaa/Downloads/pihpsdr/configure.c:146: undefined reference to ENABLE_S6_BUTTON' /home/kc7noaa/Downloads/pihpsdr/configure.c:147: undefined reference to S6_BUTTON'
/home/kc7noaa/Downloads/pihpsdr/configure.c:147: undefined reference to S6_BUTTON' /home/kc7noaa/Downloads/pihpsdr/configure.c:149: undefined reference to ENABLE_FUNCTION_BUTTON'
/home/kc7noaa/Downloads/pihpsdr/configure.c:149: undefined reference to ENABLE_FUNCTION_BUTTON' /home/kc7noaa/Downloads/pihpsdr/configure.c:150: undefined reference to FUNCTION_BUTTON'
/home/kc7noaa/Downloads/pihpsdr/configure.c:150: undefined reference to FUNCTION_BUTTON' /home/kc7noaa/Downloads/pihpsdr/configure.c:156: undefined reference to gpio_save_state'
configure.o: In function configure_gpio': /home/kc7noaa/Downloads/pihpsdr/configure.c:170: undefined reference to gpio_restore_state'
/home/kc7noaa/Downloads/pihpsdr/configure.c:181: undefined reference to ENABLE_VFO_ENCODER' /home/kc7noaa/Downloads/pihpsdr/configure.c:181: undefined reference to ENABLE_VFO_ENCODER'
/home/kc7noaa/Downloads/pihpsdr/configure.c:190: undefined reference to VFO_ENCODER_A' /home/kc7noaa/Downloads/pihpsdr/configure.c:190: undefined reference to VFO_ENCODER_A'
/home/kc7noaa/Downloads/pihpsdr/configure.c:199: undefined reference to VFO_ENCODER_B' /home/kc7noaa/Downloads/pihpsdr/configure.c:199: undefined reference to VFO_ENCODER_B'
/home/kc7noaa/Downloads/pihpsdr/configure.c:204: undefined reference to ENABLE_VFO_PULLUP' /home/kc7noaa/Downloads/pihpsdr/configure.c:204: undefined reference to ENABLE_VFO_PULLUP'
/home/kc7noaa/Downloads/pihpsdr/configure.c:212: undefined reference to ENABLE_E1_ENCODER' /home/kc7noaa/Downloads/pihpsdr/configure.c:212: undefined reference to ENABLE_E1_ENCODER'
/home/kc7noaa/Downloads/pihpsdr/configure.c:221: undefined reference to E1_ENCODER_A' /home/kc7noaa/Downloads/pihpsdr/configure.c:221: undefined reference to E1_ENCODER_A'
/home/kc7noaa/Downloads/pihpsdr/configure.c:230: undefined reference to E1_ENCODER_B' /home/kc7noaa/Downloads/pihpsdr/configure.c:230: undefined reference to E1_ENCODER_B'
/home/kc7noaa/Downloads/pihpsdr/configure.c:235: undefined reference to ENABLE_E1_PULLUP' /home/kc7noaa/Downloads/pihpsdr/configure.c:235: undefined reference to ENABLE_E1_PULLUP'
/home/kc7noaa/Downloads/pihpsdr/configure.c:243: undefined reference to ENABLE_E2_ENCODER' /home/kc7noaa/Downloads/pihpsdr/configure.c:243: undefined reference to ENABLE_E2_ENCODER'
/home/kc7noaa/Downloads/pihpsdr/configure.c:252: undefined reference to E2_ENCODER_A' /home/kc7noaa/Downloads/pihpsdr/configure.c:252: undefined reference to E2_ENCODER_A'
/home/kc7noaa/Downloads/pihpsdr/configure.c:261: undefined reference to E2_ENCODER_B' /home/kc7noaa/Downloads/pihpsdr/configure.c:261: undefined reference to E2_ENCODER_B'
/home/kc7noaa/Downloads/pihpsdr/configure.c:266: undefined reference to ENABLE_E2_PULLUP' /home/kc7noaa/Downloads/pihpsdr/configure.c:266: undefined reference to ENABLE_E2_PULLUP'
/home/kc7noaa/Downloads/pihpsdr/configure.c:274: undefined reference to ENABLE_E3_ENCODER' /home/kc7noaa/Downloads/pihpsdr/configure.c:274: undefined reference to ENABLE_E3_ENCODER'
/home/kc7noaa/Downloads/pihpsdr/configure.c:283: undefined reference to E3_ENCODER_A' /home/kc7noaa/Downloads/pihpsdr/configure.c:283: undefined reference to E3_ENCODER_A'
/home/kc7noaa/Downloads/pihpsdr/configure.c:292: undefined reference to E3_ENCODER_B' /home/kc7noaa/Downloads/pihpsdr/configure.c:292: undefined reference to E3_ENCODER_B'
/home/kc7noaa/Downloads/pihpsdr/configure.c:297: undefined reference to ENABLE_E3_PULLUP' /home/kc7noaa/Downloads/pihpsdr/configure.c:297: undefined reference to ENABLE_E3_PULLUP'
/home/kc7noaa/Downloads/pihpsdr/configure.c:305: undefined reference to ENABLE_MOX_BUTTON' /home/kc7noaa/Downloads/pihpsdr/configure.c:305: undefined reference to ENABLE_MOX_BUTTON'
/home/kc7noaa/Downloads/pihpsdr/configure.c:314: undefined reference to MOX_BUTTON' /home/kc7noaa/Downloads/pihpsdr/configure.c:314: undefined reference to MOX_BUTTON'
/home/kc7noaa/Downloads/pihpsdr/configure.c:321: undefined reference to ENABLE_S1_BUTTON' /home/kc7noaa/Downloads/pihpsdr/configure.c:321: undefined reference to ENABLE_S1_BUTTON'
/home/kc7noaa/Downloads/pihpsdr/configure.c:330: undefined reference to S1_BUTTON' /home/kc7noaa/Downloads/pihpsdr/configure.c:330: undefined reference to S1_BUTTON'
/home/kc7noaa/Downloads/pihpsdr/configure.c:338: undefined reference to ENABLE_S2_BUTTON' /home/kc7noaa/Downloads/pihpsdr/configure.c:338: undefined reference to ENABLE_S2_BUTTON'
/home/kc7noaa/Downloads/pihpsdr/configure.c:347: undefined reference to S2_BUTTON' /home/kc7noaa/Downloads/pihpsdr/configure.c:347: undefined reference to S2_BUTTON'
/home/kc7noaa/Downloads/pihpsdr/configure.c:354: undefined reference to ENABLE_S3_BUTTON' /home/kc7noaa/Downloads/pihpsdr/configure.c:354: undefined reference to ENABLE_S3_BUTTON'
/home/kc7noaa/Downloads/pihpsdr/configure.c:363: undefined reference to S3_BUTTON' /home/kc7noaa/Downloads/pihpsdr/configure.c:363: undefined reference to S3_BUTTON'
/home/kc7noaa/Downloads/pihpsdr/configure.c:370: undefined reference to ENABLE_S4_BUTTON' /home/kc7noaa/Downloads/pihpsdr/configure.c:370: undefined reference to ENABLE_S4_BUTTON'
/home/kc7noaa/Downloads/pihpsdr/configure.c:379: undefined reference to S4_BUTTON' /home/kc7noaa/Downloads/pihpsdr/configure.c:379: undefined reference to S4_BUTTON'
/home/kc7noaa/Downloads/pihpsdr/configure.c:386: undefined reference to ENABLE_S5_BUTTON' /home/kc7noaa/Downloads/pihpsdr/configure.c:386: undefined reference to ENABLE_S5_BUTTON'
/home/kc7noaa/Downloads/pihpsdr/configure.c:395: undefined reference to S5_BUTTON' /home/kc7noaa/Downloads/pihpsdr/configure.c:395: undefined reference to S5_BUTTON'
/home/kc7noaa/Downloads/pihpsdr/configure.c:402: undefined reference to ENABLE_S6_BUTTON' /home/kc7noaa/Downloads/pihpsdr/configure.c:402: undefined reference to ENABLE_S6_BUTTON'
/home/kc7noaa/Downloads/pihpsdr/configure.c:411: undefined reference to S6_BUTTON' /home/kc7noaa/Downloads/pihpsdr/configure.c:411: undefined reference to S6_BUTTON'
/home/kc7noaa/Downloads/pihpsdr/configure.c:418: undefined reference to ENABLE_FUNCTION_BUTTON' /home/kc7noaa/Downloads/pihpsdr/configure.c:418: undefined reference to ENABLE_FUNCTION_BUTTON'
/home/kc7noaa/Downloads/pihpsdr/configure.c:427: undefined reference to FUNCTION_BUTTON' /home/kc7noaa/Downloads/pihpsdr/configure.c:427: undefined reference to FUNCTION_BUTTON'
collect2: error: ld returned 1 exit status
Makefile:363: recipe for target 'pihpsdr' failed
make: *** [pihpsdr] Error 1

might be a push issue ? or odroid's version of the python gpio wrapper needs installed .. not sure

V1.2 Compile error

Hi,
I copied the source code in /home/pi/pihpsdr120
I get the following error after make:
/home/pi/pihpsdr120/about_menu.c:120: undefined reference to 'GetWDSPVersion'

73
Uli
DF5SF

Odroid-X2 Ubuntu 16.04 32bit

I get an error building .. and should be the same OS image as the C2/C2 ..MATE ..

kc7noaodroid@odroid:~/Downloads/pihpsdr$ make
rm -f version.o
gcc -g -Wno-deprecated-declarations -D odroid -D SHORT_FRAMES -D GIT_DATE='"2017-02-18"' -D GIT_VERSION='"v1.1.1-beta"' -O3 pkg-config --cflags gtk+-3.0 -c -o audio.o audio.c
Package gtk+-3.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-3.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-3.0' found
audio.c:21:21: fatal error: gtk/gtk.h: No such file or directory
compilation terminated.
Makefile:366: recipe for target 'audio.o' failed
make: *** [audio.o] Error 1

Bluetooth audio

How can I use Bluetooth audio? Paired Anker Soundcube. See no entry on a play -l or on RX config to select it, only USB audio dongle. This may be a stretch issue as well, in that I can select the paired device but get no default audio from it.

full_rx_buffer: id=0 fexchange0: error=-2 when starting

full_rx_buffer: id=0 fexchange0: error=-2
full_rx_buffer: id=0 fexchange0: error=-2
full_rx_buffer: id=0 fexchange0: error=-2
full_rx_buffer: id=0 fexchange0: error=-2
full_rx_buffer: id=0 fexchange0: error=-2
full_rx_buffer: id=0 fexchange0: error=-2
full_rx_buffer: id=0 fexchange0: error=-2
full_rx_buffer: id=0 fexchange0: error=-2
full_rx_buffer: id=0 fexchange0: error=-2

I cant seem to clear this when it happens ....

Force a CTRL-C and run pihpsdr again ...

after some set up stuff ... this fills the terminal window

full_rx_buffer: id=0 fexchange0: error=-2
full_rx_buffer: id=0 fexchange0: error=-2
full_rx_buffer: id=0 fexchange0: error=-2
full_rx_buffer: id=0 fexchange0: error=-2

Filter and Noise reduction choices are global

It is clear that the optimal noise reduction for SSB is not the optimal one for CW. Therefore, when choosing a proper noise reduction in USB and switching to CW, you have to re-adjust. The same applies to the filters: selecting the 250 Hz filter in CW, switching to USB and selecting the 2.7k filter, you will not have the 250Hz filter when switching back to CW.

This suggests to have the filter and noise reduction settings stored individually for each mode.

This is especially important for DIGU and DIGL, where you usually want a wide filter and no noise reduction. It would be nice once you have adjusted the settings to your needs, you get your favourite setup for a mode as soon as you switch to that mode.

This is not all too difficult to implement, what I want do get discussed is what we really want. For the moment, switching to DIGU/DIGL in my local version forces a 5k filter and no noise reduction WITHOUT changing the settings for the "other" modes, but CW/USB/LSB still share filter and mode settings.

So, which behaviour do we want? If this is clear, I volunteer to get this into the code.

install issue ...

im not sure if i caused this because i built and ran sudo make install from /Downloads/pihpsdr/

kc7noaodroid@odroid:/Downloads/pihpsdr$ sudo make install
[sudo] password for kc7noaodroid:
cp pihpsdr ../pihpsdr
cp: 'pihpsdr' and '../pihpsdr/pihpsdr' are the same file
Makefile:374: recipe for target 'install' failed
make: *** [install] Error 1
kc7noaodroid@odroid:
/Downloads/pihpsdr$

full_rx_buffer error=-2 in V1.2.2

Hello,

what is the meaning of
fexchange0: doit=0 r2_hvcesamps=0 out_size=1024
full_rx_buffer: id=1 fexchange0: error=-2

I get this coincidentally, but found no reason.
Is this a severe error ?

73
Uli
DF5SF

S-Meter - needle versus bar-graph

An install I did in early October of build date 2019-08-14 showed a normal needle S meter - the build I just loaded, build 2019-10-25, shows a bar graph type S meter. Both build show up as Version 2.0.0.

How do I get back to the needle S meter in the latest builds?
When did it change?

Thank you
Joe
V51JN

PiHPSDR fldigi/wsjt-x not transmitting

I have download and compiled your latest version of piHPSDR (V1.1.3-beta with FFT) and also the latest version of wdsp. All works fine.
Now I installed fldigi (V3.x) and wsjt-x(V1.7.0) on the raspberry. The “audio link” between piHPSDR and fldigi/wsjt-x works in receive mode (with modprobe snd-aloop). But I have no luck with transmitting.
Any suggestions or is this not just yet implemented ?
TRX is RedPitaya.

Thanks
Uli, DF5SF
PROBLEM is solved with Fldigi V4.0.2

CW offsets

Hi John,

Sorry to say there are still problems with the CW offset. All tests are made in CW mode.

  1. Rx is working perfectly i.e. setting the vfo to say 14.02 and transmitting from another radio on 14.02 the signal is set exactly in the centre of the passband.
  2. On pihpsdr setting the Tune to max (255) and vfo to 14.02 the tx tone is at 14.02 plus the 700 Hz tone offset, 14.0207. Of course it should have been at 14.02
  3. I started to reduce the Tune level while looking at the spectrum from my Hermes-Lite it immediately produced a string of spurious products which went back to a single tone when I raised the output level back to 255.
  4. After a time the carrier shifted to +400 Hz and the spurs disappeared when adjusting the tune level but the control became less effective and eventually the signal level dropped by about 40 dB.
  5. I figured that the radio had got into a tangle and restarted pihpsdr whereupon everything returned to condition 1 so something is not stable plus the cw Tx has the same offset as the Rx.

I compiled using N=x86 in the Makefile but will try using N=up and report if there is any change. Another thing I need to check is that as I was using Quisk with HiQSDR for monitoring pihpsdr and it was running on the same computer as pihpsdr and there could have been some interaction so I will repeat the tests with different computers.

I just tried going to AM and keying the Tx. First key I got the spectrum with the line of spurs and going back to Rx gave me the buzz we get on CW. After that AM behaved normally each time I triggered it to Tx. I was using MOX rather than tune for this test. Tried going to CW and back to am but fault did not repeat.

Hermes-Lite does not have the CW lines set up yet so I have been using tune rather than MOX to get my transmit tone. Of course if you have an offset on tune then my findings are invalid apart from the spectrum spurs. Hope this is of some help.

73, Graeme ZL2APV

Pursignal problem

The pihpsdr is excellent program for newbee like me..
I learnt so many lessons by following the code.. We are using Apache labs Orion Mk-2 card with old protocol.. We took a branch of pihpsdr code way in the year 2016-17 and included other hardware variants to include the interfacing with our customized PA and HF modem hardware. The program is working fine. Recently we started with Puresignal interface by following recent pihpsdr release. We did all the necessary modifications in our program as per this new release. The algorithm is started working the screen shows "feedbk" level to green but the "correcting" is still black colour only. The status information of puresignal shows the following: cor.cnt is continuosly increasing, the STATUS is changing from RESET, COLLECT, MOXDELAY etc.. the sln.chk is reaching a value of 20 and stays there only. We used the default parameters of the program.
We need support to overcome this problem

Compile error

Hello John,

When compiling the following error pops up

gvj@gvj-Mint ~/Programs/pihpsdr $ make
rm -f version.o
gcc -g -D x86 -D FREEDV -D PSK -D GIT_DATE='"2016-08-23"' -D GIT_VERSION='"v1.0.0-beta-18-g84a142c-dirty"' -O3 pkg-config --cflags gtk+-3.0 -c -o audio.o audio.c
In file included from audio.c:35:0:
radio.h:42:1: error: unknown type name ‘DISCOVERED’
extern DISCOVERED radio;
^
make: *
* [audio.o] Error 1
gvj@gvj-Mint ~/Programs/pihpsdr $

Looking for instances of DISCOVERED

gvj@gvj-Mint ~/Programs/pihpsdr $ grep -r DISCOVERED
main.c: DISCOVERED d=&discovered[selected_device];
main.c: DISCOVERED
d;
discovered.h:struct _DISCOVERED {
discovered.h:typedef struct _DISCOVERED DISCOVERED;
discovered.h:extern DISCOVERED discovered[MAX_DEVICES];
new_protocol_programmer.c: DISCOVERED* d=&discovered[selected_device];
discovered.c:DISCOVERED discovered[MAX_DEVICES];
radio.c:DISCOVERED *radio;
radio.h:extern DISCOVERED *radio;
Binary file release/pihpsdr/pihpsdr matches
Binary file release/pihpsdr.tar matches
gvj@gvj-Mint ~/Programs/pihpsdr $

The structure seems to be defined OK and I can't see any problems with the code but then I am no programmer. Hope you can help.

73, Graeme zl2apv

V1.2 CW fault(?)

Hi John,

My settings: CW-Keyer Mode B, Drive=100, Tune use driver = 100%, CWL and RedPitaya
I use no VOX/PTT or something like this.
After key-down (dot or dash), it starts not every time to send HF. It is like gambling.

My version: build 2017-11-12 v1.2 installed from .tar file

Pihpsdr compilation

Good afternoon, dear colleagues!
I apologize for the bad English.
I program a little in VB, C #, assembler. But I have never worked with Linux and with the Raspberri Pi. Please tell me what I need from the software to compile pihpsdr from open source? I want to try changing the program interface a bit so that it becomes more convenient and bright, such as RaSDR. Font sizes, layout of controls. This is a great program, many thanks to G0ORX for this wonderful product!

V1.2 pin assotiation for encoders corrupted

Hi, thank you for this wonderful program. I updated from a former verion to 1.2 and deleted the props first. so i started from scratch. But now the encoder pins seems to be corrupted: The VFO knob doesn't work any more. I have 3 other Encoders. they do crazy thing when i operate then. Everything worked fine on the former version. Any idea?

CTUN mode does not add offset on CW Rx

Hello John,

The CTUN mode is one of the best features of the radio when using it for things like contesting etc. as it doesn't change the relative position of signals when tuning around and allows you to keep the spectrum picture in your head.

When clicking on a CW signal the carrier frequency snaps to the click position rather than the centre of the audio passband as it does in normal mode and requires tweaking the frequency for each frequency click.

It is not a high priority as the mode is still very usable. The radio is coming along really well and is now matching most of its big brothers for features you really need and use - I am so impressed.

73, Graeme ZL2APV

X86 compile error

Hi John,

Looks like you are part way through a section and would be expecting this but fyi there is a compile error on x86 associated with no gpio.

main.o: In function gpio_cb': /home/gvj/Programs/pihpsdr/main.c:332: undefined reference to configure_gpio'
collect2: error: ld returned 1 exit status
make: *** [pihpsdr] Error 1
gvj@gvj-Mint ~/Programs/pihpsdr $

73, Graeme zl2apv

pihpsdr

Hi all,

I use the radioberry in combination with pihpsdr this work very nice, however I like to use it as a standalone unit in cobination with a 7" touchscreen. I prever this .... start the rpi and final I see the pihpsdr, the start button for choosing a network must be removed in my case.
Hope someone can help with that.....
Best regards,
Johan Holstein

Low power output on anan 10E

Hi I have built pihpsdr on both pi 3 and a desktop with Linux mint with the same result works fine in every aspect except transmit has very low power output mostly unusable pa adjustments do nothing on any band

GPIO menu not visible

Hi,

According to the manual there should be a menu that allows me to change pin numbers for GPIO (encoders etc).
However I cannot find this in the software. I uncommented the GPIO line:

# uncomment the line below to include GPIO
GPIO_INCLUDE=GPIO

and recompiled but I still can't find the menu.

Any help really appreciated !

-ben

FreeDV Compile Error

meter.c: In function ‘meter_update’:
meter.c:326:25: error: ‘RECEIVER {aka struct _receiver}’ has no member named ‘mode’
if(active_receiver->mode==modeFREEDV) {
^~
Makefile:367: recipe for target 'meter.o' failed
make: *** [meter.o] Error 1

GtK Critical Error in V1.2.2

Hello,
if unchecking "Display Waterfall" following error occurs:
pihpsdr (1673) : Gtk-CRITICAL **: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

piphsdr: V1.2.2 build 2017-12-05
GtK+: V3.22.11

73
Uli
DF5SF

install error

Hi John,

I have a Pi 3 board, and I try to install this nice and very useful software but, an error message make this impossible:
cannot create regular file /root/.local/share/applications
I am log in as user pi ,make command sudo ./install.sh but the same result

please some tips to finish the install

my best regards,

     de yo2ldk.

PSK Compile Error

psk_waterfall.c: In function ‘psk_waterfall_update’:
psk_waterfall.c:203:20: error: ‘data’ undeclared (first use in this function)
sample=data[i];
^~~~
psk_waterfall.c:203:20: note: each undeclared identifier is reported only once for each function it appears in
Makefile:367: recipe for target 'psk_waterfall.o' failed
make: *** [psk_waterfall.o] Error 1

Please consider renaming and generalizing the LimeSDR support for all SoapySDR devices.

I saw your project and was intrigued by the SoapySDR support for the LimeSDR. Using your code, I was able to get pihpsdr to compile and run under Mac OS X (El Capitan) and use it with my SDRPlay. It's still rough, and I'm running into an error with the miri SoapySDR driver setting a hardware register incorrectly, but I expect to be able to solve it.

Most of your code in lime_protocol.c and lime_discovery.c is pretty generic SoapySDR code. In fact, early on I had pointed to the wrong SoapySDR device and discovered that pihpsdr had opened and was using the SoapySDR support for the built-in mic on my Mac.

Please consider renaming and generalizing the LimeSDR support for all SoapySDR devices.

-Freeman

I2C Compilation Error

Hello friends,
I have a problem with compilation, see bellow:

Peace of terminal report
/usr/bin/ld: i2c.o: in function read_word_data': /home/pi/git/pihpsdr/i2c.c:106: undefined reference to i2c_smbus_read_word_data'

I have installed all libraries, but I have founded, that i2c-dev.h doesn't include declaration of i2c_smbus_read_word_data or i2c_smbus_write_word_data.

Could you give me any advice, what can I do? Uncle google doesn't help me yet.

Thanks Martin OK2MTW

x86 version no sound

I've got pihpsdr compiled and running on Debian Stretch/Sid.
My problem is I have no sound output.
audio_get_cards
output_device: plughw:0,3 HDA ATI HDMI
input_device: plughw:1,0 HD-Audio Generic
output_device: plughw:1,0 HD-Audio Generic
output_device: plughw:1,1 HD-Audio Generic
input_device: plughw:1,2 HD-Audio Generic
input_device: plughw:2,0 USB PC Camera
input_device: plughw:3,0 Xonar DGX
output_device: plughw:3,0 Xonar DGX
input_device: plughw:3,1 Xonar DGX
output_device: plughw:3,1 Xonar DGX
name=dmix:CARD=HDMI,DEV=3 descr=HDA ATI HDMI, HDMI 0
Direct sample mixing device io=Output
output_device: dmix:CARD=HDMI,DEV=3
name=dmix:CARD=Generic,DEV=0 descr=HD-Audio Generic, ALC887-VD Analog
Direct sample mixing device io=(null)
output_device: dmix:CARD=Generic,DEV=0
name=dmix:CARD=Generic,DEV=1 descr=HD-Audio Generic, ALC887-VD Digital
Direct sample mixing device io=Output
output_device: dmix:CARD=Generic,DEV=1
name=dmix:CARD=Generic,DEV=2 descr=HD-Audio Generic, ALC887-VD Alt Analog
Direct sample mixing device io=Input
output_device: dmix:CARD=Generic,DEV=2
name=dmix:CARD=Camera,DEV=0 descr=USB PC Camera, USB Audio
Direct sample mixing device io=Input
output_device: dmix:CARD=Camera,DEV=0
name=dmix:CARD=DGX,DEV=0 descr=Xonar DGX, Multichannel
Direct sample mixing device io=(null)
output_device: dmix:CARD=DGX,DEV=0
name=dmix:CARD=DGX,DEV=1 descr=Xonar DGX, Digital
Direct sample mixing device io=(null)
output_device: dmix:CARD=DGX,DEV=1

I can reach this list in the menu but changing devices and checking with pulse audio shows no audio signal.

Using a small 4.3" display / Button can't be reached

I try to use a BeagleBlack board with a small 4.3" pluged in display.
The display has 480x272 pixel.
The compilation and start went well. The SDR is discovered but I'm not able to press the button, since it is out of the display.
The size is recognized right:
sysname: Linux
nodename: beaglebone
release: 3.8.13-bone50
version: #1 SMP Tue May 13 13:24:52 UTC 2014
machine: armv7l
width=480 height=272
display_width=480 display_height=272
create top level window.

Regards

73, Marcus, DM6TT

CW delay Key down Angelia, Alex, 10W PA

Hi John,
I am using pihpsdr with a homemade equipment Angelia, Alex, 20W PA. I miss a possibility to adjust CW delay at key down. I don´t know why but my system tooks about 100ms of delay in openhpsdr that the first "." comes with full power. With pihpsdr with semi breakin the first "." and first "-" no power output.
I need the possibity to adjust the delay. Otherwise I can´t use it on CW.
Please can you implement this in a future release.

Thank you very much if you can help me

best regards
Frank, DL2GRF

Waterfall shift not matching graph frequency shift on mouse click

Hello John

When clicking on the spectrum display the frequency shifts correctly to the bandpass under all conditions but the waterfall only shifts correctly at 48000 sample rate. At all other sample rates the step is too small depending on sample rate selected.

BTW is Tx audio meant to work on the desktop compile? I get an output on tune but nothing from the microphone but maybe I am trying to get ahead of your coding.

73, Graeme zl2apv

STEMLAB compile fails

In the instructions in the C25-SDR pihpsdr recommends installing avahi and cURL for STEMLAB. "sudo apt-get install avahi" results in no package found.

Uncommenting the STEMLAB_DISCOVERY=STEMLAB_DISCOVERY option in the pihpsdr Makefile causes a compilation error.

x86 version

I've been trying to run pihpsdr on my desktop 64bit mint machine. It compiles and runs except when I try to execute the MENU RX button, I get the following segmentation fault as identified in GDB:

Thread 1 "pihpsdr" received signal SIGSEGV, Segmentation fault.
strlen () at ../sysdeps/x86_64/strlen.S:106
106 ../sysdeps/x86_64/strlen.S: No such file or directory.
and bt gives the following:

(gdb) bt
#0 strlen () at ../sysdeps/x86_64/strlen.S:106
#1 0x00007ffff54544e3 in g_strdup ()
from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x00007ffff5736e5c in ?? ()
from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#3 0x00007ffff571415b in g_object_new_valist ()
from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#4 0x00007ffff5714521 in g_object_new ()
from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#5 0x00007ffff69a5c97 in gtk_radio_button_new_with_label ()
from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#6 0x000000000040ce74 in rx_menu (parent=) at rx_menu.c:306
#7 0x000000000040b632 in rx_cb (widget=,
event=, data=) at new_menu.c:102
#8 0x00007ffff6947fac in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#9 0x00007ffff570cfa5 in g_closure_invoke ()
from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#10 0x00007ffff571efc1 in ?? ()
from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#11 0x00007ffff57277f9 in g_signal_emit_valist ()
from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#12 0x00007ffff572808f in g_signal_emit ()
from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
---Type to continue, or q to quit---
#13 0x00007ffff6a85c3c in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#14 0x00007ffff69453be in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#15 0x00007ffff69471bc in gtk_main_do_event ()
from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#16 0x00007ffff64b4d92 in ?? () from /usr/lib/x86_64-linux-gnu/libgdk-3.so.0
#17 0x00007ffff5436197 in g_main_context_dispatch ()
from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#18 0x00007ffff54363f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#19 0x00007ffff543649c in g_main_context_iteration ()
from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#20 0x00007ffff59fdd7d in g_application_run ()
from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#21 0x000000000040749f in main (argc=1, argv=0x7fffffffe058) at main.c:266

[RFC] Rig Control

I'm wondering if the plan for rig control is to use only TS-2000 commands? I'm looking at hamlib and currently the TS-2000 backend only supports Serial port. However, just tweaking it to support Network seems to work with piHPSDR. The reason for the question is that if piHPSDR is going to extend the standard TS-2000 ICD, then it makes sense to name the backend "HPSDR" or something like it.

Thanks,
Jae K5JAE

Segfault on MOX or TUNE

Hi John,

I get a segfault on MOX or TUNE which has happened since you changed to pulse. This is running on Linux Mint not a Raspberry Pi using a Hermes-Lite. Details below.

73, Graeme zl2apv

gvj@gvj-Mint /Programs/pihpsdr $ ./pihpsdr
Build: 2016-11-05 v1.0.0-beta-53-g3dbafa2-dirty
sysname: Linux
nodename: gvj-Mint
release: 3.19.0-32-generic
version: #37
14.04.1-Ubuntu SMP Thu Oct 22 09:41:40 UTC 2015
machine: x86_64
width=1920 height=1080
display_width=800 display_height=480
init
output_device: plughw:0,0 HDA NVidia
output_device: plughw:0,1 HDA NVidia
input_device: plughw:0,0 HDA NVidia
input_device: plughw:0,2 HDA NVidia
old_discovery
discover: looking for HPSDR devices on eth0
discover: bound to eth0
discover_receive_thread
discovered: received 60 bytes
discovery: found device=6 software_version=31 status=2 address=192.168.1.108 (00:1C:C0:A2:22:5D) on eth0
discovery: bytes read -1
discovery: recvfrom socket failed for discover_receive_thread: Resource temporarily unavailable
discovery: exiting discover_receive_thread
discover: exiting discover for eth0
discovery found 1 devices
discovery: found device=6 software_version=31 status=2 address=192.168.1.108 (00:1C:C0:A2:22:5D) on eth0
new_discover: looking for HPSDR devices on eth0
new_discover: bound to eth0 192.168.1.50 255.255.252.0
new_discover: bytes read -1
new_discover: recvfrom socket failed for discover_receive_thread: Resource temporarily unavailable
new_discover: exiting new_discover_receive_thread
new_discover: exiting discover for eth0
new_discovery found 1 devices
discovery: found protocol=0 device=6 software_version=31 status=2 address=192.168.1.108 (00:1C:C0:A2:22:5D) on eth0
./pihpsdr: found 1 devices.
0x65f460 protocol=0 name=Hermes Lite
start_cb: 0x65f460
selected radio=0x65f460 device=6
loadProperties: 00-1C-C0-A2-22-5D.props
wdsp_init: rx=0 pixels=800 protocol=0
OpenChannel 0 buffer_size=1024 fft_size=4096 sample_rate=48000 dspRate=48000 outputRate=48000
OpenChannel 8 buffer_size=1024 fft_size=4096 sample_rate=48000 dspRate=48000 outputRate=48000
XCreateAnalyzer 0
SetAnalyzer channel=0 buffer_size=1024
SetAnalyzer channel=8 buffer_size=1024
SetRXAMode: rx=0 mode=0
SetTXAMode: tx=8 mode=0
SetAnalyzer channel=11 buffer_size=1024
old_protocol_init
audio_open_output: selected=0:plughw:0,0 HDA NVidia
audio_open_input: selected=0:plughw:0,0 HDA NVidia
old_protocol starting receive thread: buffer_size=1024 output_buffer_size=1024
old_protocol_init: prime radio
old_protocol: receive_thread
FPGA firmware version: 3.1
vfo_height=60
vfo_init: width=400 height=60
vfo_init: set Frequency,Mode,Filter
setMode: mode=0 m=1
setMode: 0 mode=0
SetRXAMode: rx=0 mode=1
setMode: 8 mode=0
SetTXAMode: tx=8 mode=1
setFilter: 150 2550
setFilter: filterLow=150 filterHigh=2550
setFilter: fl=150.000000 fh=2550.000000
menu_height=60
menu_init: width=200 height=60
input_device: plughw:0,0 HDA NVidia
input_device: plughw:0,2 HDA NVidia
output_device: plughw:0,0 HDA NVidia
output_device: plughw:0,1 HDA NVidia
meter_height=60
meter_init: width=200 height=60
panadapter_height=120
waterfall_height=180
sliders_height=90
sliders_init: width=800 height=90
toolbar_height=30
toolbar_init: width=800 height=30 button_width=100
vfo_configure_event_cb: width=400 height=60
meter_configure_event_cb: width=200 height=60
panadapter_configure_event_cb: width:800 height:120
full_tx_buffer: gain=32767.000000
full_tx_buffer: gain=32767.000000
full_tx_buffer: gain=32767.000000
full_tx_buffer: gain=32767.000000
full_tx_buffer: gain=32767.000000
full_tx_buffer: gain=32767.000000
full_tx_buffer: gain=32767.000000
full_tx_buffer: gain=32767.000000
full_tx_buffer: gain=32767.000000
full_tx_buffer: gain=32767.000000
full_tx_buffer: gain=32767.000000
full_tx_buffer: gain=32767.000000
full_tx_buffer: gain=32767.000000
full_tx_buffer: gain=32767.000000
full_tx_buffer: gain=32767.000000
full_tx_buffer: gain=32767.000000
full_tx_buffer: gain=32767.000000
full_tx_buffer: gain=32767.000000
full_tx_buffer: gain=32767.000000
full_tx_buffer: gain=32767.000000
full_tx_buffer: gain=32767.000000
full_tx_buffer: gain=32767.000000
full_tx_buffer: gain=32767.000000
full_tx_buffer: gain=32767.000000
full_tx_buffer: gain=32767.000000
full_tx_buffer: gain=32767.000000
full_tx_buffer: gain=32767.000000
full_tx_buffer: gain=32767.000000
full_tx_buffer: gain=32767.000000
full_tx_buffer: gain=32767.000000
full_tx_buffer: gain=32767.000000
Segmentation fault
gvj@gvj-Mint ~/Programs/pihpsdr $

USB soundcard almost always busy Odroid-C2 Ubuntu16.04

I use a usb sound device CM108 and to pihpsdr its almost always not available or busy ...

I have rebooted and first launched from terminal was

pasuspender -- ./pihpsdr
to pause the pulseaudio server but still same issue

Ubuntu16.04-64bit wdsp error,

libfftw3-3 is installed ...

kc7noaa@odroid64:~/Downloads/pihpsdr$ make
rm -f version.o
gcc -g -Wno-deprecated-declarations -D odroid -D LIMESDR -D SHORT_FRAMES -D GIT_DATE='"2017-02-22"' -D GIT_VERSION='"v1.1.3-beta"' -O3 pkg-config --cflags gtk+-3.0 -c -o version.o version.c
gcc -g -Wno-deprecated-declarations -D odroid -D LIMESDR -D SHORT_FRAMES -D GIT_DATE='"2017-02-22"' -D GIT_VERSION='"v1.1.3-beta"' -O3 pkg-config --cflags gtk+-3.0 -c -o main.o main.c
main.c:42:18: fatal error: wdsp.h: No such file or directory
compilation terminated.
Makefile:366: recipe for target 'main.o' failed
make: *** [main.o] Error 1

Problems using Beaglebone Black (with 7" display)

Hi folks,
I switched the display of my beaglebone to a 7" (1024x600.)
Compiling the code was no problem, but when I start, I get full_rx_buffer errors and the waterfall / spectrum of the program is not displayed.
The Button/sliders can be seen, but one core is completely busy.

I use a debian system: $ uname -a
Linux beaglebone 3.8.13 #1 SMP Sat Aug 9 11:31:19 CST 2014 armv7l GNU/Linux

The SDR is a redpitaya. This works fine with the same pihpsdr version compiled on x86 and a raspy3.

Here is the console log from the beaglebone:

Build: 2017-03-10 v1.1.3-beta
sysname: Linux
nodename: beaglebone
release: 3.8.13
version: #1 SMP Sat Aug 9 11:31:19 CST 2014
machine: armv7l
width=2560 height=1024
display_width=800 display_height=480
create top level window
create grid
add grid
create image
add image to grid
create pi label
add pi label to grid
create build label
add build label to grid
create status
add status to grid
init
audio_get_cards
input_device: plughw:0,0 DA830 EVM
output_device: plughw:0,0 DA830 EVM
discovery
old_discovery
discover: looking for HPSDR devices on eth0
discover: bound to eth0
discover_receive_thread
discovered: received 60 bytes
discovery: found device=0 software_version=21 status=3 address=192.168.10.70 (00:26:32:F0:12:D8) on eth0
discovery: bytes read -1
discovery: recvfrom socket failed for discover_receive_thread: Resource temporarily unavailable
discovery: exiting discover_receive_thread
discover: exiting discover for eth0
discovery found 1 devices
discovery: found device=0 software_version=21 status=3 address=192.168.10.70 (00:26:32:F0:12:D8) on eth0
new_discover: looking for HPSDR devices on eth0
new_discover: bound to eth0 192.168.10.167 255.255.255.0
new_disovery: thread_id=0x68ec0
new_discover: bytes read -1
new_discover: recvfrom socket failed for discover_receive_thread: Resource temporarily unavailable
new_discover: exiting new_discover_receive_thread
new_discover: exiting discover for eth0
new_discovery found 1 devices
discovery: found protocol=0 device=0 software_version=21 status=3 address=192.168.10.70 (00:26:32:F0:12:D8) on eth0
discovery: found 1 devices
0x42344 protocol=0 name=Metis
showing device dialog
discovery
old_discovery
discover: looking for HPSDR devices on eth0
discover: bound to eth0
discover_receive_thread
discovered: received 60 bytes
discovery: found device=0 software_version=21 status=3 address=192.168.10.70 (00:26:32:F0:12:D8) on eth0
discovery: bytes read -1
discovery: recvfrom socket failed for discover_receive_thread: Resource temporarily unavailable
discovery: exiting discover_receive_thread
discover: exiting discover for eth0
discovery found 1 devices
discovery: found device=0 software_version=21 status=3 address=192.168.10.70 (00:26:32:F0:12:D8) on eth0
new_discover: looking for HPSDR devices on eth0
new_discover: bound to eth0 192.168.10.167 255.255.255.0
new_disovery: thread_id=0x1508f0
new_discover: bytes read -1
new_discover: recvfrom socket failed for discover_receive_thread: Resource temporarily unavailable
new_discover: exiting new_discover_receive_thread
new_discover: exiting discover for eth0
new_discovery found 1 devices
discovery: found protocol=0 device=0 software_version=21 status=3 address=192.168.10.70 (00:26:32:F0:12:D8) on eth0
discovery: found 1 devices
0x42344 protocol=0 name=Metis
showing device dialog
discovery
old_discovery
discover: looking for HPSDR devices on eth0
discover: bound to eth0
discover_receive_thread
discovered: received 60 bytes
discovery: found device=0 software_version=21 status=2 address=192.168.10.70 (00:26:32:F0:12:D8) on eth0
discovery: bytes read -1
discovery: recvfrom socket failed for discover_receive_thread: Resource temporarily unavailable
discovery: exiting discover_receive_thread
discover: exiting discover for eth0
discovery found 1 devices
discovery: found device=0 software_version=21 status=2 address=192.168.10.70 (00:26:32:F0:12:D8) on eth0
new_discover: looking for HPSDR devices on eth0
new_discover: bound to eth0 192.168.10.167 255.255.255.0
new_disovery: thread_id=0x150a60
new_discover: bytes read -1
new_discover: recvfrom socket failed for discover_receive_thread: Resource temporarily unavailable
new_discover: exiting new_discover_receive_thread
new_discover: exiting discover for eth0
new_discovery found 1 devices
discovery: found protocol=0 device=0 software_version=21 status=2 address=192.168.10.70 (00:26:32:F0:12:D8) on eth0
discovery: found 1 devices
0x42344 protocol=0 name=Metis
showing device dialog
start_cb: 0x42344
start_radio: selected radio=0x42344 device=0
radioRestoreState: 00-26-32-F0-12-D8.props
loadProperties: 00-26-32-F0-12-D8.props
bandRestoreState: restore bands
memRestoreState: restore memory
RESTORE: index=0 title=10
RESTORE MEM:Mem 0=FreqA 28010000
RESTORE: index=0 mode=4
RESTORE: index=0 filter=0
RESTORE: index=1 title=10
RESTORE MEM:Mem 1=FreqA 28010000
RESTORE: index=1 mode=4
RESTORE: index=1 filter=0
RESTORE: index=2 title=10
RESTORE MEM:Mem 2=FreqA 28010000
RESTORE: index=2 mode=4
RESTORE: index=2 filter=0
RESTORE: index=3 title=10
RESTORE MEM:Mem 3=FreqA 28010000
RESTORE: index=3 mode=4
RESTORE: index=3 filter=0
RESTORE: index=4 title=10
RESTORE MEM:Mem 4=FreqA 28010000
RESTORE: index=4 mode=4
RESTORE: index=4 filter=0
radio: vfo_init
vfo_init: width=525 height=60
radio: meter_init
meter_init: width=200 height=60
Create 2 receivers: height=150
create_receiver: id=0 buffer_sizeuild: 2017-03-10 v1.1.3-beta
sysname: Linux
nodename: beaglebone
release: 3.8.13
version: #1 SMP Sat Aug 9 11:31:19 CST 2014
machine: armv7l
width=2560 height=1024
display_width=800 display_height=480
create top level window
create grid
add grid
create image
add image to grid
create pi label
add pi label to grid
create build label
add build label to grid
create status
add status to grid
init
audio_get_cards
input_device: plughw:0,0 DA830 EVM
output_device: plughw:0,0 DA830 EVM
discovery
old_discovery
discover: looking for HPSDR devices on eth0
discover: bound to eth0
discover_receive_thread
discovered: received 60 bytes
discovery: found device=0 software_version=21 status=3 address=192.168.10.70 (00:26:32:F0:12:D8) on eth0
discovery: bytes read -1
discovery: recvfrom socket failed for discover_receive_thread: Resource temporarily unavailable
discovery: exiting discover_receive_thread
discover: exiting discover for eth0
discovery found 1 devices
discovery: found device=0 software_version=21 status=3 address=192.168.10.70 (00:26:32:F0:12:D8) on eth0
new_discover: looking for HPSDR devices on eth0
new_discover: bound to eth0 192.168.10.167 255.255.255.0
new_disovery: thread_id=0x68ec0
new_discover: bytes read -1
new_discover: recvfrom socket failed for discover_receive_thread: Resource temporarily unavailable
new_discover: exiting new_discover_receive_thread
new_discover: exiting discover for eth0
new_discovery found 1 devices
discovery: found protocol=0 device=0 software_version=21 status=3 address=192.168.10.70 (00:26:32:F0:12:D8) on eth0
discovery: found 1 devices
0x42344 protocol=0 name=Metis
showing device dialog
discovery
old_discovery
discover: looking for HPSDR devices on eth0
discover: bound to eth0
discover_receive_thread
discovered: received 60 bytes
discovery: found device=0 software_version=21 status=3 address=192.168.10.70 (00:26:32:F0:12:D8) on eth0
discovery: bytes read -1
discovery: recvfrom socket failed for discover_receive_thread: Resource temporarily unavailable
discovery: exiting discover_receive_thread
discover: exiting discover for eth0
discovery found 1 devices
discovery: found device=0 software_version=21 status=3 address=192.168.10.70 (00:26:32:F0:12:D8) on eth0
new_discover: looking for HPSDR devices on eth0
new_discover: bound to eth0 192.168.10.167 255.255.255.0
new_disovery: thread_id=0x1508f0
new_discover: bytes read -1
new_discover: recvfrom socket failed for discover_receive_thread: Resource temporarily unavailable
new_discover: exiting new_discover_receive_thread
new_discover: exiting discover for eth0
new_discovery found 1 devices
discovery: found protocol=0 device=0 software_version=21 status=3 address=192.168.10.70 (00:26:32:F0:12:D8) on eth0
discovery: found 1 devices
0x42344 protocol=0 name=Metis
showing device dialog
discovery
old_discovery
discover: looking for HPSDR devices on eth0
discover: bound to eth0
discover_receive_thread
discovered: received 60 bytes
discovery: found device=0 software_version=21 status=2 address=192.168.10.70 (00:26:32:F0:12:D8) on eth0
discovery: bytes read -1
discovery: recvfrom socket failed for discover_receive_thread: Resource temporarily unavailable
discovery: exiting discover_receive_thread
discover: exiting discover for eth0
discovery found 1 devices
discovery: found device=0 software_version=21 status=2 address=192.168.10.70 (00:26:32:F0:12:D8) on eth0
new_discover: looking for HPSDR devices on eth0
new_discover: bound to eth0 192.168.10.167 255.255.255.0
new_disovery: thread_id=0x150a60
new_discover: bytes read -1
new_discover: recvfrom socket failed for discover_receive_thread: Resource temporarily unavailable
new_discover: exiting new_discover_receive_thread
new_discover: exiting discover for eth0
new_discovery found 1 devices
discovery: found protocol=0 device=0 software_version=21 status=2 address=192.168.10.70 (00:26:32:F0:12:D8) on eth0
discovery: found 1 devices
0x42344 protocol=0 name=Metis
showing device dialog
start_cb: 0x42344
start_radio: selected radio=0x42344 device=0
radioRestoreState: 00-26-32-F0-12-D8.props
loadProperties: 00-26-32-F0-12-D8.props
bandRestoreState: restore bands
memRestoreState: restore memory
RESTORE: index=0 title=10
RESTORE MEM:Mem 0=FreqA 28010000
RESTORE: index=0 mode=4
RESTORE: index=0 filter=0
RESTORE: index=1 title=10
RESTORE MEM:Mem 1=FreqA 28010000
RESTORE: index=1 mode=4
RESTORE: index=1 filter=0
RESTORE: index=2 title=10
RESTORE MEM:Mem 2=FreqA 28010000
RESTORE: index=2 mode=4
RESTORE: index=2 filter=0
RESTORE: index=3 title=10
RESTORE MEM:Mem 3=FreqA 28010000
RESTORE: index=3 mode=4
RESTORE: index=3 filter=0
RESTORE: index=4 title=10
RESTORE MEM:Mem 4=FreqA 28010000
RESTORE: index=4 mode=4
RESTORE: index=4 filter=0
radio: vfo_init
vfo_init: width=525 height=60
radio: meter_init
meter_init: width=200 height=60
Create 2 receivers: height=150
create_receiver: id=0 buffer_size=4096 fft_size=2048 pixels=800 fps=10
create_receiver: id=0 default adc=0
receiver_restore_state: id=0
create_receiver: id=0 output_samples=2048
create_receiver: id=0 after restore adc=0
create_receiver: OpenChannel id=0 buffer_size=4096 fft_size=2048 sample_rate=96000
create_panel: channel=0 run=1 gain1=4.000000 gain2I=1.000000 gain2Q=1.000000
RXASetNC 2048
RXASetMP 0
SetAnalyzer id=0 buffer_size=4096 overlap=0
receiver: create_visual: id=0 width=800 height=150
receiver: panadapter_init: height=75 y=0
receiver: waterfall_init: height=75 y=75
receiver 0: height=150 y=60
create_receiver: id=1 buffer_size=4096 fft_size=2048 pixels=800 fps=10
create_receiver: id=1 default adc=0
receiver_restore_state: id=1
create_receiver: id=1 output_samples=4096
create_receiver: id=1 after restore adc=0
create_receiver: OpenChannel id=1 buffer_size=4096 fft_size=2048 sample_rate=48000
create_panel: channel=1 run=1 gain1=4.000000 gain2I=1.000000 gain2Q=1.000000
RXASetNC 2048
RXASetMP 0
SetAnalyzer id=1 buffer_size=4096 overlap=3392
receiver: create_visual: id=1 width=800 height=150
receiver: panadapter_init: height=75 y=0
receiver: waterfall_init: height=75 y=75
receiver 1: height=150 y=210
Create transmitter
create_transmitter: id=8 buffer_size=4096 mic_sample_rate=48000 mic_dsp_rate=48000 iq_output_rate=48000 output_samples=4096 fps=10
transmitter: allocate buffers: mic_input_buffer=4096 iq_output_buffer=4096 pixels=800
create_transmitter: OpenChannel id=8 buffer_size=4096 fft_size=2048 sample_rate=48000 dspRate=48000 outputRate=48000
create_txa: 8
create_panel: channel=8 run=1 gain1=1.000000 gain2I=1.000000 gain2Q=1.000000
TXASetNC: 2048
TXASetMP: 0
SetAnalyzer id=8 buffer_size=4096 overlap=3392
transmitter: create_visual: id=8
old_protocol_init
old_protocol starting receive thread: buffer_size=4096 output_buffer_size=0
receive_thread: id=0x150b80
old_protocol_init: prime radio
create sliders
sliders_init: width=800 height=90
old_protocol: receive_thread
Mercury Software version: 33 (0x21)
Penelope Software version: 17 (0x11)
FPGA firmware version: 2.1
toolbar_init: width=800 height=30 button_width=100
start save timer
LAUNCHING RIGCTL!!
set cursor
start_radio: vfo 0 band=5 bandstack=0 frequency=14010000 mode=4 filter=6 rit=0 lo=0 offset=0
start_radio: vfo 1 band=5 bandstack=0 frequency=14010000 mode=4 filter=6 rit=0 lo=0 offset=0
full_rx_buffer: id=1 fexchange0: error=-2
RIGCTL: Socket created
RIGCTL: Bind done on port 19092
RIGCTL: Waiting for incoming connections...
RIGCTL: Socket created
RIGCTL: Bind done on port 19090
RIGCTL: Waiting for incoming connections...
RIGCTL: Socket created
RIGCTL: Bind done on port 19091
RIGCTL: Waiting for incoming connections...
full_rx_buffer: id=0 fexchange0: error=-2
full_rx_buffer: id=1 fexchange0: error=-2
full_rx_buffer: id=0 fexchange0: error=-2
full_rx_buffer: id=1 fexchange0: error=-2
full_rx_buffer: id=0 fexchange0: error=-2
full_rx_buffer: id=1 fexchange0: error=-2
full_rx_buffer: id=0 fexchange0: error=-2
full_rx_buffer: id=1 fexchange0: error=-2
...
...

I also tried to forward the display to my x86 machine, to exclude problems with the 7" display. The same effect there, only the sliders and menus, without waterfall/sprectrum is shown. The error messages are the same.

What can be the reason?

Thanks
73, Marcus, DM6TT

full-rx_buffer: id=0 fexchange0: error=-2

Dear John,
Dear all,
I'm building an SDR Receiver based on Raspberry PI 3 and RTL-SDR v2 by using the SOAPY SDR lib.

After modifying the Makefile (# uncomment the line below for SoapySDR) and completing the make process I could start the pihpsdr software and select the SOAPY device (rtlsdr (Protocol SOAPY_SDR) on USB). After that the pihpsdr window starts with the lower part including the sliders. But the upper part of the window is black. By clicking on the menue button another empty black window comes up.

In parallel the terminal screen shows several similar error messages with the following text:
full-rx_buffer: id=0 fexchange0: error=-2

My software setup:
Raspbian GNU/Linux 10 (buster)
SOAPY libsoapysdr-dev (0.6.1-4)
pihpsdr version 2.07 Beta

Would did I made wrong? Any tip or hint would be helpfull.

many thanks in advance and best regards
Karl-Heinz
-DB7BN-
[email protected]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.