linux getting started probs

General discussions
richard-g8jvm
Posts: 12
Joined: Fri Nov 16, 2018 9:40 pm

Re: linux getting started probs

Post by richard-g8jvm » Sun Nov 18, 2018 4:02 pm

Hi Franco
I just looked thru those steps and they were followed,
Including the section
f you want to change installation paths to something more specific, the cmake line could look like this:

cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr -DLIB_INSTALL_DIR:PATH=lib64 -DLIB_SUFFIX=64 -DSOAPY_SDR_ROOT=/usr ..
as when I found the install path was /usr/local/ , iI uninstalled and did it again installing in /usr

It doesn't help when the API gets installed in /usr/local/lib
and soapy looks in /usr/loca/lib64
I've fixed that, as

Code: Select all

$ SoapySDRUtil --info
######################################################
##     Soapy SDR -- the SDR abstraction library     ##
######################################################

Lib Version: v0.7.1-g33be191d
API Version: v0.7.0
ABI Version: v0.7
Install root: /usr
Search path:  /usr/lib64/SoapySDR/modules0.7                            (missing)
Search path:  /usr/local/lib64/SoapySDR/modules0.7
Module found: /usr/local/lib64/SoapySDR/modules0.7/libsdrPlaySupport.so (0.1.0-12c3db6)
Available factories... sdrplay
Available converters...
 -  CF32 -> [CF32, CS16, CS8, CU16, CU8]
 -  CS16 -> [CF32, CS16, CS8, CU16, CU8]
 -  CS32 -> [CS32]
 -   CS8 -> [CF32, CS16, CS8, CU16, CU8]
 -  CU16 -> [CF32, CS16, CS8]
 -   CU8 -> [CF32, CS16, CS8]
 -   F32 -> [F32, S16, S8, U16, U8]
 -   S16 -> [F32, S16, S8, U16, U8]
 -   S32 -> [S32]
 -    S8 -> [F32, S16, S8, U16, U8]
 -   U16 -> [F32, S16, S8]
 -    U8 -> [F32, S16, S8]


BUT

Code: Select all

$ SoapySDRUtil --probe="driver=sdrplay"
######################################################
##     Soapy SDR -- the SDR abstraction library     ##
######################################################

Probe device driver=sdrplay
Error probing device: map::at

I've now built
git clone https://gitlab.com/HB9FXQ/gr-sdrplay.git
and still nothing

Reason: No reason

richard-g8jvm
Posts: 12
Joined: Fri Nov 16, 2018 9:40 pm

Re: linux getting started probs

Post by richard-g8jvm » Sun Nov 18, 2018 5:10 pm

found another USB cable which also works finre with the HP printer, but its about 500mm shorter

Code: Select all

$ SoapySDRUtil --probe="driver=sdrplay"
######################################################
##     Soapy SDR -- the SDR abstraction library     ##
######################################################

Probe device driver=sdrplay

----------------------------------------------------
-- Device identification
----------------------------------------------------
  driver=SDRplay
  hardware=1807071393
  mir_sdr_api_version=2.130000
  mir_sdr_hw_version=255

----------------------------------------------------
-- Peripheral summary
----------------------------------------------------
  Channels: 1 Rx, 0 Tx
  Timestamps: NO
  Other Settings:
     * RF Gain Select - RF Gain Select
       [key=rfgain_sel, default=4, type=string, options=(0, 1, 2, 3, 4, 5, 6, 7, 8, 9)]
     * IF Mode - IF frequency in kHz
       [key=if_mode, default=Zero-IF, type=string, options=(Zero-IF, 450kHz, 1620kHz, 2048kHz)]
     * IQ Correction - IQ Correction Control
       [key=iqcorr_ctrl, default=true, type=bool]
     * AGC Setpoint - AGC Setpoint (dBfs)
       [key=agc_setpoint, default=-30, type=int, range=[-60, 0]]
     * BiasT Enable - BiasT Control
       [key=biasT_ctrl, default=true, type=bool]
     * RfNotch Enable - RF Notch Filter Control
       [key=rfnotch_ctrl, default=true, type=bool]
     * DabNotch Enable - DAB Notch Filter Control
       [key=dabnotch_ctrl, default=true, type=bool]

----------------------------------------------------
-- RX Channel 0
----------------------------------------------------
  Full-duplex: YES
  Supports AGC: YES
  Stream formats: CS16, CF32
  Native format: CS16 [full-scale=32767]
  Antennas: RX
  Corrections: DC removal
  Full gain range: [0, 48] dB
    IFGR gain range: [20, 59] dB
    RFGR gain range: [0, 9] dB
  Full freq range: [0.01, 2000] MHz
    RF freq range: [0.01, 2000] MHz
    CORR freq range:  MHz
  Sample rates: 0.25, 0.5, 1, 2, 2.048, 6, 7, 8, 9, 10 MSps
  Filter bandwidths: 0.2, 0.3, 0.6, 1.536, 5, 6, 7, 8 MHz
  $ SoapySDRUtil --probe="driver=sdrplay"
######################################################
##     Soapy SDR -- the SDR abstraction library     ##
######################################################

Probe device driver=sdrplay

----------------------------------------------------
-- Device identification
----------------------------------------------------
  driver=SDRplay
  hardware=1807071393
  mir_sdr_api_version=2.130000
  mir_sdr_hw_version=255

----------------------------------------------------
-- Peripheral summary
----------------------------------------------------
  Channels: 1 Rx, 0 Tx
  Timestamps: NO
  Other Settings:
     * RF Gain Select - RF Gain Select
       [key=rfgain_sel, default=4, type=string, options=(0, 1, 2, 3, 4, 5, 6, 7, 8, 9)]
     * IF Mode - IF frequency in kHz
       [key=if_mode, default=Zero-IF, type=string, options=(Zero-IF, 450kHz, 1620kHz, 2048kHz)]
     * IQ Correction - IQ Correction Control
       [key=iqcorr_ctrl, default=true, type=bool]
     * AGC Setpoint - AGC Setpoint (dBfs)
       [key=agc_setpoint, default=-30, type=int, range=[-60, 0]]
     * BiasT Enable - BiasT Control
       [key=biasT_ctrl, default=true, type=bool]
     * RfNotch Enable - RF Notch Filter Control
       [key=rfnotch_ctrl, default=true, type=bool]
     * DabNotch Enable - DAB Notch Filter Control
       [key=dabnotch_ctrl, default=true, type=bool]

----------------------------------------------------
-- RX Channel 0
----------------------------------------------------
  Full-duplex: YES
  Supports AGC: YES
  Stream formats: CS16, CF32
  Native format: CS16 [full-scale=32767]
  Antennas: RX
  Corrections: DC removal
  Full gain range: [0, 48] dB
    IFGR gain range: [20, 59] dB
    RFGR gain range: [0, 9] dB
  Full freq range: [0.01, 2000] MHz
    RF freq range: [0.01, 2000] MHz
    CORR freq range:  MHz
  Sample rates: 0.25, 0.5, 1, 2, 2.048, 6, 7, 8, 9, 10 MSps
  Filter bandwidths: 0.2, 0.3, 0.6, 1.536, 5, 6, 7, 8 MHz

$ SoapySDRUtil --find=sdrplay
######################################################
##     Soapy SDR -- the SDR abstraction library     ##
######################################################

Found device 0
  driver = sdrplay
  label = SDRplay Dev0 RSP1A 1807071393


  
still not seeing sdrplay listed on gqrx , and gqrx crashes with soapy=0,driver=sdrplay

Reason: No reason

fventuri
Posts: 37
Joined: Sun Dec 25, 2016 4:24 pm

Re: linux getting started probs

Post by fventuri » Sun Nov 18, 2018 5:24 pm

I am glad you found the problem with the bad USB cable.
How did you install 'gqrx'? From source or with a binary package?

Franco

Reason: No reason

richard-g8jvm
Posts: 12
Joined: Fri Nov 16, 2018 9:40 pm

Re: linux getting started probs

Post by richard-g8jvm » Sun Nov 18, 2018 5:35 pm

Hi Franco

I built from source , pulled from git
strange both cables wok fine with my printer.
just rebuilding gr-sdrplay in case it has to have a connected rsp when running qmake, doesn't make sense , but grasping at straws

Reason: No reason

richard-g8jvm
Posts: 12
Joined: Fri Nov 16, 2018 9:40 pm

Re: linux getting started probs

Post by richard-g8jvm » Sun Nov 18, 2018 7:50 pm

hi
It does look like gr-osmosdr must be built after soapySDR has found the RSP

Now I have gqrx working, but before until SoapySDRUtil had found the no modules appeared in GRC
not very impressed with the demod , but need to play a bit more ; demod from a 2.7KW transmitter 5 kms LOS from
here on Band 2 WBFM was not very good.

Reason: No reason

fventuri
Posts: 37
Joined: Sun Dec 25, 2016 4:24 pm

Re: linux getting started probs

Post by fventuri » Sun Nov 18, 2018 8:14 pm

I am really glad you got 'gqrx' to work.

Franco

Reason: No reason

richard-g8jvm
Posts: 12
Joined: Fri Nov 16, 2018 9:40 pm

Re: linux getting started probs

Post by richard-g8jvm » Sun Nov 18, 2018 8:42 pm

Hi Franco

So I'm I.
The install on linux really needs to be sorted out.
There are standards on all the versions of linux, and BSD, where libs put in directories dependent on their architecture, 32 or 64 bit.
It would help if theses were followed, and would have prevented a lot of the problems i encountered.
But at least now it looks like it working

Reason: No reason

Post Reply