pentoo / pentoo-overlay

Gentoo overlay for security tools as well as the heart of the Pentoo Livecd
317 stars 90 forks source link

Update plugins path for sdr++ sdrpp #1513

Closed boyobejamin closed 11 months ago

boyobejamin commented 1 year ago

Description: sdr++ plugins are not in the expected directory after installing from testing. Expected directory is /usr/lib/sdrpp/plugins/ the installed directory is /usr/lib64/sdrpp/plugins

Hotfix: A temporary workaround for needy folks like me could be as follows:

user01@pentoo~ $ sudo ln -s /usr/lib64/sdrpp /usr/lib/
user01@pentoo ~ $ sdrpp
...
[2023-05-01 23:19:41.407] [warning] Module directory /usr/lib/sdrpp/plugins does not exist, not loading modules from directory
[2023-05-01 23:19:41.416] [error] Module 'airspy_source' doesn't exist
[2023-05-01 23:19:41.432] [error] Module 'airspyhf_source' doesn't exist
[2023-05-01 23:19:41.449] [error] Module 'audio_sink' doesn't exist
[2023-05-01 23:19:41.465] [error] Module 'bladerf_source' doesn't exist
[2023-05-01 23:19:41.482] [error] Module 'file_source' doesn't exist
[2023-05-01 23:19:41.499] [error] Module 'frequency_manager' doesn't exist
[2023-05-01 23:19:41.515] [error] Module 'hackrf_source' doesn't exist
[2023-05-01 23:19:41.532] [error] Module 'limesdr_source' doesn't exist
[2023-05-01 23:19:41.549] [error] Module 'network_sink' doesn't exist
[2023-05-01 23:19:41.565] [error] Module 'plutosdr_source' doesn't exist
[2023-05-01 23:19:41.582] [error] Module 'rtl_sdr_source' doesn't exist
[2023-05-01 23:19:41.599] [error] Module 'rtl_tcp_source' doesn't exist
[2023-05-01 23:19:41.615] [error] Module 'radio' doesn't exist
[2023-05-01 23:19:41.632] [error] Module 'recorder' doesn't exist
[2023-05-01 23:19:41.649] [error] Module 'rigctl_server' doesn't exist
[2023-05-01 23:19:41.665] [error] Module 'sdrplay_source' doesn't exist
[2023-05-01 23:19:41.682] [error] Module 'soapy_source' doesn't exist
[2023-05-01 23:19:41.699] [error] Module 'spyserver_source' doesn't exist
...
user01@pentoo ~ $ ls -la /usr/lib/sdrpp
ls: cannot access '/usr/lib/sdrpp': No such file or directory

jelly@pentoo ~ $ ls -la /usr/lib64/sdrpp/
total 0
drwxr-xr-x 1 root root     14 May  1 21:24 .
drwxr-xr-x 1 root root 140818 May  1 22:04 ..
drwxr-xr-x 1 root root    348 May  1 22:01 plugins
user01@pentoo ~ $ sdrpp
[2023-05-01 23:19:41.015] [info] SDR++ v1.0.4
[2023-05-01 23:19:41.016] [info] Loading config
[2023-05-01 23:19:41.209] [info] Using OpenGL 3.0
[2023-05-01 23:19:41.374] [info] Loading icons
[2023-05-01 23:19:41.395] [info] Loading band plans
[2023-05-01 23:19:41.399] [info] Loading band plans color table
[2023-05-01 23:19:41.407] [info] Loading modules
[2023-05-01 23:19:41.407] [warning] Module directory /usr/lib/sdrpp/plugins does not exist, not loading modules from directory
[2023-05-01 23:19:41.407] [info] Initializing Airspy Source (airspy_source)
[2023-05-01 23:19:41.416] [error] Module 'airspy_source' doesn't exist
[2023-05-01 23:19:41.416] [info] Initializing AirspyHF+ Source (airspyhf_source)
[2023-05-01 23:19:41.432] [error] Module 'airspyhf_source' doesn't exist
[2023-05-01 23:19:41.432] [info] Initializing Audio Sink (audio_sink)
[2023-05-01 23:19:41.449] [error] Module 'audio_sink' doesn't exist
[2023-05-01 23:19:41.449] [info] Initializing BladeRF Source (bladerf_source)
[2023-05-01 23:19:41.465] [error] Module 'bladerf_source' doesn't exist
[2023-05-01 23:19:41.465] [info] Initializing File Source (file_source)
[2023-05-01 23:19:41.482] [error] Module 'file_source' doesn't exist
[2023-05-01 23:19:41.482] [info] Initializing Frequency Manager (frequency_manager)
[2023-05-01 23:19:41.499] [error] Module 'frequency_manager' doesn't exist
[2023-05-01 23:19:41.499] [info] Initializing HackRF Source (hackrf_source)
[2023-05-01 23:19:41.515] [error] Module 'hackrf_source' doesn't exist
[2023-05-01 23:19:41.515] [info] Initializing LimeSDR Source (limesdr_source)
[2023-05-01 23:19:41.532] [error] Module 'limesdr_source' doesn't exist
[2023-05-01 23:19:41.532] [info] Initializing Network Sink (network_sink)
[2023-05-01 23:19:41.549] [error] Module 'network_sink' doesn't exist
[2023-05-01 23:19:41.549] [info] Initializing PlutoSDR Source (plutosdr_source)
[2023-05-01 23:19:41.565] [error] Module 'plutosdr_source' doesn't exist
[2023-05-01 23:19:41.566] [info] Initializing RTL-SDR Source (rtl_sdr_source)
[2023-05-01 23:19:41.582] [error] Module 'rtl_sdr_source' doesn't exist
[2023-05-01 23:19:41.582] [info] Initializing RTL-TCP Source (rtl_tcp_source)
[2023-05-01 23:19:41.599] [error] Module 'rtl_tcp_source' doesn't exist
[2023-05-01 23:19:41.599] [info] Initializing Radio (radio)
[2023-05-01 23:19:41.615] [error] Module 'radio' doesn't exist
[2023-05-01 23:19:41.615] [info] Initializing Recorder (recorder)
[2023-05-01 23:19:41.632] [error] Module 'recorder' doesn't exist
[2023-05-01 23:19:41.632] [info] Initializing Rigctl Server (rigctl_server)
[2023-05-01 23:19:41.649] [error] Module 'rigctl_server' doesn't exist
[2023-05-01 23:19:41.649] [info] Initializing SDRplay Source (sdrplay_source)
[2023-05-01 23:19:41.665] [error] Module 'sdrplay_source' doesn't exist
[2023-05-01 23:19:41.665] [info] Initializing SoapySDR Source (soapy_source)
[2023-05-01 23:19:41.682] [error] Module 'soapy_source' doesn't exist
[2023-05-01 23:19:41.682] [info] Initializing SpyServer Source (spyserver_source)
[2023-05-01 23:19:41.699] [error] Module 'spyserver_source' doesn't exist
[2023-05-01 23:19:41.715] [info] Loading color maps
[2023-05-01 23:19:41.732] [info] Loading /usr/share/sdrpp/colormaps/websdr.json
[2023-05-01 23:19:41.749] [info] Loading /usr/share/sdrpp/colormaps/viridis.json
[2023-05-01 23:19:41.765] [info] Loading /usr/share/sdrpp/colormaps/turbo.json
[2023-05-01 23:19:41.782] [info] Loading /usr/share/sdrpp/colormaps/plasma.json
[2023-05-01 23:19:41.799] [info] Loading /usr/share/sdrpp/colormaps/magma.json
[2023-05-01 23:19:41.815] [info] Loading /usr/share/sdrpp/colormaps/inferno.json
[2023-05-01 23:19:41.832] [info] Loading /usr/share/sdrpp/colormaps/greyscale.json
[2023-05-01 23:19:41.849] [info] Loading /usr/share/sdrpp/colormaps/gqrx.json
[2023-05-01 23:19:41.866] [info] Loading /usr/share/sdrpp/colormaps/electric.json
[2023-05-01 23:19:41.882] [info] Loading /usr/share/sdrpp/colormaps/classic_green.json
[2023-05-01 23:19:41.899] [info] Loading /usr/share/sdrpp/colormaps/classic.json
[2023-05-01 23:19:41.921] [info] New DSP samplerate: 8000000.0 (source samplerate is 8000000.0)
[2023-05-01 23:19:41.921] [info] Updating FFT DSP settings: Keep: 65536, Skip: 334464
[2023-05-01 23:19:41.942] [info] Updating FFT DSP settings: Keep: 65536, Skip: 334464
[2023-05-01 23:19:41.943] [info] Updating FFT DSP settings: Keep: 65536, Skip: 334464
[2023-05-01 23:19:41.946] [info] Updating FFT DSP settings: Keep: 65536, Skip: 334464
[2023-05-01 23:19:41.947] [info] Ready.
gr120994 commented 1 year ago

My recommended fix is to edit ~/.config/sdrpp/config.json and change "usr/lib/sdrpp/plugins" to "/usr/lib64/sdrpp/plugins".

Thank you for maintaining this repository. Gary

ZeroChaos- commented 11 months ago

this package has been removed from Pentoo